/* AiFlowin v3: one connection, three ways the network moves work forward. */
.narrative-v3 [hidden] { display:none!important; }
.hero-pillars { display:flex; align-items:center; justify-content:center; gap:18px; margin-top:18px; color:#7311c8; font-size:12px; font-weight:550; }
.hero-pillars i { font-style:normal; color:#c2a6d7; }
.hero-pillars a:hover { text-decoration:underline; text-underline-offset:5px; }
.hero-clients { display:block; margin-top:12px; }
.hero-network-details .hero-pillars { margin-top:0; }
.narrative-v3 .network-story-bottom>span { margin-top:12px; }
/* The links hang below the button so the button keeps its height above the fold. */
.network-story-bottom .hero-network-details { position:absolute; top:100%; left:0; right:0; }
.narrative-v3 #posts { background:#faf8fd; }
.posts-caption { display:flex; justify-content:space-between; gap:20px; margin-bottom:18px; font-size:9px; color:#a18aaf; line-height:1.6; }
.posts-caption>span:first-child { color:#806494; letter-spacing:.05em; }
.post-reuse { display:inline-flex; align-items:center; gap:8px; background:none; padding:10px 0; color:#7311c8; font-size:12px; font-weight:550; text-align:left; }
.post-reuse .icon { width:16px; height:16px; }
.post-reuse:hover { text-decoration:underline; text-underline-offset:4px; }
.post-reuse-demo { border-top:1px solid #ded4e8; margin-top:32px; padding-top:10px; scroll-margin-top:100px; }
.post-reuse-demo>summary { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 0; list-style:none; cursor:pointer; }
.post-reuse-demo>summary::-webkit-details-marker { display:none; }
.post-reuse-demo>summary>span { display:flex; align-items:center; gap:12px; font-size:16px; color:#614174; }
.post-reuse-demo>summary>span:last-child { font-size:12px; color:#9174a3; }
.post-reuse-demo>summary .icon { width:18px; height:18px; }
.post-reuse-demo>summary b { display:block; font-size:21px; letter-spacing:-.025em; font-weight:550; }
.post-reuse-demo>summary small { display:block; color:#7a6b85; margin-top:8px; font-size:13px; }
.post-reuse-demo>summary>.icon { color:#7311c8; transition:transform .25s; }
.post-reuse-demo[open]>summary>.icon { transform:rotate(45deg); }
.post-reuse-intro { display:flex; justify-content:space-between; align-items:center; gap:32px; padding:0 0 24px; }
.post-reuse-intro p { max-width:650px; font-size:14px; line-height:1.7; color:#796b85; }
.post-reuse-intro .text-button { flex:none; font-size:12px; }
.experience-note { margin-top:20px; font-size:11px; line-height:1.7; color:#85758e; text-align:center; }
.experience-kicker { display:block; color:#806493; font-size:10px; font-weight:550; letter-spacing:.08em; line-height:1.6; }
.development-section { background:#fff; }
.experience-tabs { display:flex; gap:8px; margin-bottom:24px; padding:6px; background:#f3f0f6; border-radius:100px; width:fit-content; max-width:100%; }
.experience-tabs button { padding:13px 22px; border-radius:100px; background:none; color:#7a6c84; font-size:13px; white-space:nowrap; }
.experience-tabs button span { color:#a593b0; font-size:10px; margin-right:10px; }
.experience-tabs button[aria-selected=true] { background:#fff; color:#7311c8; box-shadow:0 3px 12px #30213e0d; }
.development-panel { scroll-margin-top:100px; }
.brief-workbench,.plan-workbench { display:grid; grid-template-columns:1fr 1fr; border:1px solid #e5dce9; border-radius:24px; overflow:hidden; box-shadow:0 18px 60px -35px #5a287b40; min-height:550px; }
.brief-conversation,.plan-choices { padding:38px 42px; background:#faf8fc; }
.brief-conversation h3,.plan-choices h3 { font-size:34px; line-height:1.13; letter-spacing:-.045em; font-weight:550; margin-top:16px; }
.brief-prompt { border-left:2px solid #b895d7; margin-top:24px; padding:2px 0 2px 17px; font-size:16px; line-height:1.65; color:#634478; }
.brief-conversation>p,.plan-choices>p { color:#7a6c85; font-size:14px; line-height:1.7; margin:17px 0 20px; }
#brief-form { display:grid; gap:9px; }
#brief-form label { font-size:11px; color:#71607e; margin-top:7px; }
#brief-form select { width:100%; min-width:0; padding:12px 30px 12px 13px; border:1px solid #ddd1e6; border-radius:9px; color:#4f365f; background:#fff; font-size:13px; }
#brief-form .button,.plan-choices>.button { width:fit-content; margin-top:17px; font-size:12px; }
.brief-document { min-width:0; background:#fff; border-left:1px solid #e5dce9; }
.document-chrome { display:flex; align-items:center; gap:18px; padding:20px 24px; border-bottom:1px solid #eee7f3; color:#8a7698; font:10px ui-monospace,SFMono-Regular,monospace; }
.document-chrome>span:nth-child(2) { flex:1; }
.document-chrome>span:last-child { font-size:8px; letter-spacing:.06em; }
#brief-result,.plan-result { padding:35px 38px; outline-offset:-5px; }
.document-status { display:inline-flex; align-items:center; gap:7px; background:#f2eafa; color:#7d479e; padding:6px 10px; border-radius:30px; font-size:10px; margin-bottom:20px; }
.experience-document-title { font-size:26px; line-height:1.2; letter-spacing:-.035em; font-weight:550; color:#442653; margin-bottom:12px; }
.document-lead { font-size:14px; line-height:1.7; color:#877293; }
.document-block { padding-top:19px; margin-top:19px; border-top:1px solid #ede6f2; }
.document-block h4 { font-size:10px; letter-spacing:.06em; color:#937ba2; font-weight:550; text-transform:uppercase; margin-bottom:9px; }
.document-block p,.document-block li { font-size:13px; line-height:1.75; color:#624e70; }
.document-block ol,.document-block ul { padding-left:19px; margin:0; }
.document-links { display:flex; gap:15px; flex-wrap:wrap; margin-top:23px; }
.document-links button { font-size:11px; }
.plan-choices fieldset { border:0; margin:0; padding:0; display:grid; gap:9px; }
.plan-choices legend { font-size:10px; color:#8a7297; margin-bottom:10px; }
.plan-choices label { display:flex; align-items:center; gap:12px; border:1px solid #e2d7ea; border-radius:10px; padding:13px 15px; cursor:pointer; background:#fff; }
.plan-choices label:has(:checked) { border-color:#ab78ce; background:#f4eafb; }
.plan-choices input { accent-color:#7311c8; }
.plan-choices label b { display:block; font-size:12px; color:#624773; }
.plan-choices label small { display:block; font-size:10px; color:#897098; margin-top:4px; line-height:1.5; }
.plan-result { border-left:1px solid #e5dce9; background:linear-gradient(135deg,#fff,#faf6fe); }
.plan-steps { list-style:none; padding:0; margin:23px 0; display:grid; gap:15px; counter-reset:steps; }
.plan-steps li { display:flex; gap:13px; color:#715583; font-size:13px; line-height:1.6; counter-increment:steps; }
.plan-steps li::before { content:counter(steps,decimal-leading-zero); flex:none; color:#b38acb; font-size:11px; padding-top:2px; }
.plan-steps b { display:block; font-weight:550; }
.plan-steps small { display:block; font-size:11px; color:#8e759d; margin-top:4px; }
.exchange-section { position:relative; isolation:isolate; color:#f8f2ff; background:radial-gradient(ellipse at 80% 5%,#55217b 0,transparent 44%),radial-gradient(ellipse at 5% 80%,#32134f 0,transparent 48%),#180d25; }
.exchange-heading { text-align:center; max-width:850px; margin:0 auto 49px; }
.exchange-heading .eyebrow { justify-content:center; color:#c3a3df; margin-bottom:25px; }
.exchange-heading h2 { font-size:clamp(43px,4.8vw,68px); color:#fff; }
.exchange-heading h2 span { color:#c09ae7; }
.exchange-heading>p:last-child { color:#b8a2c8; line-height:1.75; font-size:16px; margin:24px auto 0; max-width:640px; }
.exchange-workbench { border:1px solid #9773b15c; border-radius:24px; overflow:hidden;  color:#3d2b49; box-shadow:0 35px 110px #0a031f55; }
/* Same dark window bar as the platform demo in section 03. */
.exchange-chrome { position:relative; display:flex; align-items:center; justify-content:space-between; gap:20px; height:60px; padding:0 20px; background:#17111e; color:#f4eff9; }
.exchange-chrome-brand { position:absolute; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:9px; white-space:nowrap; font-size:15px; letter-spacing:-.04em; font-weight:600; }
.exchange-chrome-brand img { filter:brightness(0) invert(1); }
.exchange-chrome-brand>span { font-size:11px; color:#a49aaa; letter-spacing:0; font-weight:400; }
.exchange-chrome>span:last-child { font:8px ui-monospace,SFMono-Regular,monospace; letter-spacing:.06em; color:#a797b5; }
.exchange-tabs { display:flex; gap:8px; padding:18px 27px; border-bottom:1px solid #e9e0f0; background:#fff; }
.exchange-tabs button { flex:1; display:flex; align-items:center; justify-content:center; gap:10px; border-radius:10px; padding:14px 10px; background:none; color:#887192; font-size:13px; font-weight:550; }
.exchange-tabs button span { font-size:7px; font-weight:500; letter-spacing:.06em; color:#a08aaa; }
.exchange-tabs button[aria-selected=true] { color:#7311c8; background:#f1e6fa; }
.exchange-layout { background-color: white;display:grid; grid-template-columns:minmax(0,1fr) 320px; }
#exchange-panel { min-width:0; padding:32px; min-height:620px; }
.exchange-panel-top { display:flex; gap:12px; align-items:center; margin-bottom:23px; }
.exchange-panel-top>div { flex:1; }
.exchange-panel-top b { display:block; font-size:14px; }
.exchange-panel-top small { display:block; color:#927ba0; font-size:10px; margin-top:5px; }
.exchange-panel-top>span:last-child { color:#8d5ca8; font-size:10px; background:#f8f2fc; border:1px solid #ead9f5; padding:7px 10px; border-radius:30px; white-space:nowrap; }
.exchange-task { margin-bottom:19px; }
.exchange-task h3 { color:#4e315e; font-size:25px; font-weight:550; letter-spacing:-.035em; line-height:1.2; }
.exchange-task p { color:#86718f; font-size:12px; line-height:1.7; margin-top:9px; max-width:570px; }
.portfolio-preview { background:#eee9e3; padding:23px; border-radius:12px; border:1px solid #e4ded7; color:#4f4a45; }
.portfolio-preview-nav { display:flex; justify-content:space-between; align-items:center; padding-bottom:20px; font-size:11px; }
.portfolio-preview-nav b { font-family:Georgia,serif; font-size:19px; letter-spacing:-1px; }
.portfolio-preview-nav span { font-size:8px; text-transform:uppercase; letter-spacing:.1em; }
.portfolio-projects { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.portfolio-projects button { background:#f7f3ee; color:#5b5149; text-align:left; border-radius:5px; overflow:hidden; padding:0; }
.exchange-art { display:flex; align-items:center; justify-content:center; height:120px; background:#bfc3b6; position:relative; overflow:hidden; }
.exchange-art::before { content:""; width:60%; height:120%; background:#e5dfce; transform:rotate(-25deg) translateY(30px); box-shadow:20px 20px 0 #7e856e; }
.exchange-art.north { background:#b6adb1; }
.exchange-art.north::before { width:55%; height:80%; transform:rotate(10deg) translateY(30px); border-radius:50% 50% 0 0; background:#e3d7c5; box-shadow:15px 8px 0 #93868c; }
.portfolio-projects b { display:flex; justify-content:space-between; padding:12px; font-size:11px; font-weight:500; }
.portfolio-projects button:hover .exchange-art { filter:brightness(1.04); }
.portfolio-detail { display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:center; }
.portfolio-detail .exchange-art { border-radius:5px; height:145px; }
.portfolio-detail h4 { font:23px Georgia,serif; }
.portfolio-detail p { font-size:10px; line-height:1.8; margin:12px 0; }
.portfolio-back { background:none; color:#584a60; padding:6px 0; font-size:11px; text-decoration:underline; text-underline-offset:4px; }
.exchange-progress { display:flex; gap:16px; margin:14px 0 18px; color:#a695af; font-size:10px; }
.exchange-progress .done { color:#5b826c; }
.exchange-feedback { display:grid; gap:7px; }
.exchange-feedback label { font-size:10px; color:#8a709b; }
.exchange-feedback select { padding:11px; border:1px solid #e2d5eb; border-radius:8px; color:#725781; background:#fff; min-width:0; width:100%; font-size:12px; }
.exchange-submit { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:13px; margin-top:18px; }
.exchange-submit button { font-size:11px; min-height:42px; }
.exchange-submit small { color:#927f9e; font-size:10px; }
.exchange-section button:disabled { opacity:.43; cursor:not-allowed; transform:none; }
.exchange-wallet { padding:29px 25px; background:linear-gradient(160deg,#faf6fd,#f2e9fa); border-left:1px solid #e5d7f0; }
.exchange-wallet>.experience-kicker { font-size:8px; }
.wallet-heading { display:flex; align-items:center; gap:12px; margin-top:24px; }
.wallet-heading b { display:block; font-size:12px; color:#5f3a75; }
.wallet-heading small { display:block; margin-top:4px; font-size:9px; line-height:1.5; color:#927aa1; }
.wallet-balance { display:flex; align-items:baseline; gap:9px; margin-top:29px; color:#7311c8; }
.wallet-balance strong { font-size:64px; line-height:1; letter-spacing:-.06em; font-weight:550; }
.wallet-balance span { font-size:11px; color:#997bad; }
.exchange-wallet>p { font-size:12px; line-height:1.75; color:#846695; margin-top:14px; }
.credit-ledger { display:grid; gap:9px; padding:21px 0; margin-top:4px; border-bottom:1px solid #decce9; }
.credit-ledger>div { display:flex; justify-content:space-between; gap:12px; color:#9c82aa; font-size:10px; line-height:1.5; }
.credit-ledger>div.earned { color:#6d4986; }
.credit-ledger b { font-weight:550; white-space:nowrap; }
.wallet-reputation { display:flex; gap:10px; margin:22px 0; color:#986cb5; }
.wallet-reputation .icon { width:17px; height:17px; }
.wallet-reputation b { display:block; font-size:11px; font-weight:550; }
.wallet-reputation small { display:block; color:#a087ad; font-size:9px; line-height:1.6; margin-top:5px; }
.return-request { border:1px solid #ddc4ed; border-radius:13px; padding:16px; background:#ffffff8f; }
.return-request b { display:block; font-size:12px; color:#694183; line-height:1.5; }
.return-request p { font-size:10px; color:#9a7ca8; line-height:1.7; margin:6px 0 13px; }
.return-request button { background:#7311c8; color:#fff; width:100%; padding:12px 8px; border-radius:8px; font-size:10px; }
.return-request small { display:block; color:#9a7da8; font-size:9px; margin-top:9px; }
.exchange-wallet>.text-button { font-size:11px; margin-top:14px; }
.exchange-foot { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 26px; border-top:1px solid #e9dff0; background:#f8f5fb; font-size:9px; color:#a189ad; }
.exchange-foot button { background:none; padding:6px 0; color:#7f5c95; font-size:10px; }
.exchange-after { display:grid; grid-template-columns:1.1fr 1fr; gap:100px; align-items:center; margin-top:54px; }
.exchange-after>p { font-size:30px; letter-spacing:-.04em; line-height:1.25; color:#f5eaff; }
.exchange-after>p>span { color:#b793d0; }
.exchange-after>div>b { display:block; font-size:13px; font-weight:550; color:#d3bfe2; }
.exchange-after>div>span { display:block; margin-top:10px; font-size:12px; line-height:1.8; color:#a187b2; }
.exchange-section>.shell>.experience-note { margin-top:35px; color:#9276a5; }
.agent-review-code { margin:0; padding:22px; background:#261831; color:#d9bde9; border-radius:12px; font:12px/1.9 ui-monospace,SFMono-Regular,monospace; overflow:auto; }
.exchange-checks { display:grid; gap:10px; margin:20px 0; }
.exchange-checks>div { display:flex; gap:10px; align-items:flex-start; padding:12px 14px; border-radius:9px; background:#f9f6fb; color:#846992; font-size:11px; line-height:1.6; }
.exchange-checks b { color:#6c987d; font-size:10px; }
.exchange-proof { padding:16px; background:#f4eefa; color:#7f5a97; font-size:12px; line-height:1.7; border-radius:10px; margin-top:20px; }
.exchange-build-preview { border:1px solid #e2d6e9; border-radius:12px; padding:20px; margin-top:20px; background:#faf8fc; }
.exchange-build-preview h4 { font-size:17px; letter-spacing:-.02em; color:#674776; }
.exchange-build-preview p { font-size:12px; line-height:1.7; color:#8e769b; margin:12px 0 18px; }
.observer-wallet { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:20px; border:1px solid #dfcaee; border-radius:12px; background:#f5ecfc; margin-bottom:18px; }
.observer-wallet strong { color:#7311c8; font-size:29px; letter-spacing:-.04em; }
.observer-wallet span,.observer-wallet small { display:block; font-size:11px; line-height:1.6; color:#9976ac; }
.observer-wallet b { font-size:12px; font-weight:550; color:#724b88; }
.observer-experience-record p { margin-top:9px; }
.observer-experience-record .social-button { margin-top:16px; }
@media(max-width:1000px) {
  .brief-conversation,.plan-choices { padding:30px; }
  #brief-result,.plan-result { padding:30px; }
  .exchange-layout { grid-template-columns:minmax(0,1fr) 280px; }
  #exchange-panel { padding:26px; }
  .exchange-wallet { padding:27px 22px; }
  .exchange-tabs { padding-inline:18px; }
  .exchange-tabs button { font-size:12px; gap:7px; }
  .exchange-tabs button span { font-size:6px; }
  .exchange-after { gap:50px; }
}
@media(max-width:760px) {
  .posts-caption { flex-direction:column; gap:5px; }
  .post-reuse-demo>summary { flex-direction:column; align-items:flex-start; gap:12px; }
  .post-reuse-demo>summary>span { font-size:14px; }
  .hero-pillars { font-size:10px; gap:12px; margin-top:12px; }
  .post-reuse-intro { display:block; }
  .post-reuse-intro .text-button { margin-top:9px; }
  .experience-tabs { width:100%; border-radius:14px; gap:3px; }
  .experience-tabs button { flex:1; font-size:10px; padding:13px 7px; border-radius:10px; white-space:normal; }
  .experience-tabs button span { display:block; margin:0 0 4px; font-size:9px; }
  .brief-workbench,.plan-workbench { grid-template-columns:1fr; border-radius:18px; }
  .brief-document,.plan-result { border-left:0; border-top:1px solid #e5dce9; }
  .brief-conversation h3,.plan-choices h3 { font-size:32px; }
  #brief-result,.plan-result { min-height:390px; }
  .exchange-heading h2 { font-size:43px; }
  .exchange-heading>p:last-child { font-size:14px; }
  .exchange-layout { grid-template-columns:1fr; }
  #exchange-panel { min-height:0; }
  .exchange-wallet { border-left:0; border-top:1px solid #e5d7f0; }
  .exchange-wallet { display:grid; grid-template-columns:1fr 1fr; column-gap:25px; }
  .exchange-wallet>.experience-kicker { grid-column:1 / -1; }
  .wallet-heading { margin-top:14px; }
  .wallet-balance { margin-top:14px; justify-self:end; }
  .wallet-balance strong { font-size:46px; }
  .exchange-wallet>p,.credit-ledger,.wallet-reputation,.return-request,.exchange-wallet>.text-button { grid-column:1 / -1; }
  .wallet-reputation { margin:18px 0; }
  .exchange-tabs button { flex-direction:column; gap:6px; padding:12px 7px; font-size:11px; }
  .exchange-tabs button span { font-size:7px; }
  .exchange-chrome { gap:14px; height:51px; padding:0 13px; }
  .exchange-chrome-brand { font-size:13px; }
  .exchange-chrome-brand img { width:22px; }
  .exchange-chrome>span:last-child { font-size:6px; }
  .exchange-after { grid-template-columns:1fr; gap:25px; margin-top:35px; }
  .exchange-after>p { font-size:29px; }
  .exchange-foot { align-items:flex-start; padding:15px 20px; font-size:8px; line-height:1.7; }
  .exchange-foot button { flex:none; font-size:9px; padding:0; }
}
@media(max-width:400px) {
  .brief-conversation,.plan-choices,#brief-result,.plan-result { padding:25px 20px; }
  .document-chrome { padding:18px; gap:12px; font-size:9px; }
  .document-chrome>span:last-child { display:none; }
  .exchange-heading h2 { font-size:37px; }
  #exchange-panel { padding:24px 18px; }
  .exchange-tabs { padding:12px 8px; gap:1px; }
  .exchange-tabs button { font-size:10px; }
  .exchange-chrome>span:last-child { display:none; }
  .exchange-panel-top { flex-wrap:wrap; }
  .exchange-panel-top>span:last-child { font-size:9px; }
  .portfolio-preview { padding:16px; }
  .portfolio-detail { gap:13px; }
  .portfolio-detail h4 { font-size:19px; }
  .portfolio-projects b { font-size:10px; padding:10px; }
  .wallet-balance { display:block; }
  .wallet-balance span { display:block; margin-top:5px; }
  .experience-tabs button { font-size:9px; }
}
@media(max-height:750px) and (min-width:761px) {
  .narrative-v3 .network-story-bottom p { font-size:13px; margin-bottom:10px; }
  .hero-pillars { margin-top:10px; }
  .narrative-v3 .network-story-bottom>span { margin-top:8px; }
}
@media(prefers-reduced-motion:reduce) {
  .post-reuse-demo>summary>.icon { transition:none; }
}
