/* Fanout Studio — styles
   Palette: paper, ink, cobalt (blue pencil), non-photo blue wash. */
:root {
  --paper: #F3F5F8;
  --surface: #FFFFFF;
  --ink: #14161C;
  --ink-2: #2A2F3A;
  --muted: #4F5666;
  --rule: #D5DAE3;
  --cobalt: #1D3FD8;
  --cobalt-deep: #142FA8;
  --wash: #CDEBF7;
  --wash-2: #E7F4FB;
  --ok: #0F7A4B;
  --error: #B42318;
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 2px; }
.on-cobalt :focus-visible { outline-color: #fff; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; align-items: baseline; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 850; font-size: 22px; letter-spacing: -0.01em; line-height: 1; }
.wordmark .wm span { display: inline-block; }
.wordmark .wm span:nth-child(1) { font-variation-settings: "wdth" 62; }
.wordmark .wm span:nth-child(2) { font-variation-settings: "wdth" 75; }
.wordmark .wm span:nth-child(3) { font-variation-settings: "wdth" 88; }
.wordmark .wm span:nth-child(4) { font-variation-settings: "wdth" 101; }
.wordmark .wm span:nth-child(5) { font-variation-settings: "wdth" 113; }
.wordmark .wm span:nth-child(6) { font-variation-settings: "wdth" 125; }
.wordmark .studio { font-weight: 450; font-size: 0.72em; color: var(--muted); font-variation-settings: "wdth" 100; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(243,245,248,0.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--cobalt); }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 6px; background: var(--cobalt); color: #fff; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s; white-space: nowrap; }
.btn:hover { background: var(--cobalt-deep); text-decoration: none; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.on-cobalt .btn { background: #fff; color: var(--cobalt-deep); }
.on-cobalt .btn:hover { background: var(--wash); }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 4.5vw, 56px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.headline { font-weight: 850; line-height: 0.92; letter-spacing: -0.02em; margin-bottom: clamp(24px, 3vw, 40px); }
.headline .l1 { display: block; font-size: clamp(56px, 9.6vw, 138px); font-variation-settings: "wdth" 62; }
.headline .l2 { display: block; font-size: clamp(34px, 5.6vw, 82px); font-variation-settings: "wdth" 125; color: var(--cobalt); margin-top: 0.12em; letter-spacing: -0.015em; }
@media (prefers-reduced-motion: no-preference) {
  .js .headline .l2 { animation: widen 1.1s cubic-bezier(.2,.7,.1,1) .15s both; }
  @keyframes widen { from { font-variation-settings: "wdth" 62; opacity: .0; } 30% { opacity: 1; } to { font-variation-settings: "wdth" 125; } }
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 34em; margin-bottom: 28px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Lead form ---------- */
.lead-form { display: grid; gap: 12px; max-width: 520px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 650; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid #AEB6C4; border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; font-size: 17px; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #687083; }
.field input:hover { border-color: var(--ink-2); }
.field input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(29,63,216,.22); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field .err { color: var(--error); font-size: 14px; font-weight: 550; min-height: 0; }
.field .err:empty { display: none; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }
.lead-form .btn { width: 100%; min-height: 54px; font-size: 17px; margin-top: 4px; }
.form-note { font-size: 14px; color: var(--muted); margin: 2px 0 0; }
.form-alert { border-radius: 6px; padding: 12px 14px; font-size: 15px; background: #FDECEA; color: #7A1A12; border: 1px solid #F3B8B1; }
.form-alert:empty { display: none; }
.form-success { max-width: 520px; padding: 22px 22px 20px; border-radius: 8px; background: var(--surface); border: 1.5px solid var(--cobalt); }
.form-success h3 { font-size: 22px; font-variation-settings: "wdth" 110; margin-bottom: 8px; }
.form-success p { margin: 0; color: var(--ink-2); }
.form-success .check { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cobalt); color: #fff; margin-bottom: 12px; }
.on-cobalt .field label { color: #fff; }
.on-cobalt .field .opt { color: #D6DDFB; }
.on-cobalt .field input { border-color: transparent; }
.on-cobalt .field input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.6); }
.on-cobalt .field .err { color: #fff; background: #8E1B12; padding: 4px 8px; border-radius: 4px; justify-self: start; }
.on-cobalt .form-note { color: #D6DDFB; }
.on-cobalt .form-success { color: var(--ink); border-color: #fff; }

/* ---------- Fan ---------- */
.fan-stage { position: relative; height: clamp(440px, 36vw, 520px); margin-top: -36px; --cw: clamp(176px, 14.6vw, 218px); --sw: clamp(150px, 12.2vw, 180px); }
.fan { position: absolute; left: 50%; bottom: 84px; width: 0; height: 0; }
.fan .card { position: absolute; left: 0; bottom: 0; width: var(--cw); aspect-ratio: 4 / 5; margin-left: calc(var(--cw) / -2); transform-origin: 50% 100%; border-radius: 10px; overflow: hidden; background: var(--surface); box-shadow: 0 1px 2px rgba(20,22,28,.08), 0 18px 40px -16px rgba(20,22,28,.4); transform: translateX(var(--x)) translateY(var(--y, 0px)) rotate(var(--r)); }
.fan .card img { width: 100%; height: 100%; object-fit: cover; }
.fan .card.mini { display: flex; flex-direction: column; overflow: hidden; }
.fan .card.story { aspect-ratio: 9 / 16; width: var(--sw); margin-left: calc(var(--sw) / -2); }
.fan .c1 { --x: -96%; --r: -16deg; --y: 22px; z-index: 1; }
.fan .c2 { --x: -54%; --r: -8deg; --y: 4px; z-index: 2; }
.fan .c3 { --x: 0%; --r: 0deg; --y: -6px; z-index: 5; }
.fan .c4 { --x: 52%; --r: 8deg; --y: 4px; z-index: 3; }
.fan .c5 { --x: 94%; --r: 16deg; --y: 22px; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .js .fan .card { animation: fanout 1.1s cubic-bezier(.2,.75,.15,1) both; }
  .js .fan .c1, .js .fan .c5 { animation-delay: .25s; }
  .js .fan .c2, .js .fan .c4 { animation-delay: .18s; }
  @keyframes fanout { from { transform: translateX(0) translateY(24px) rotate(0deg); } }
}
.mini { padding: 14px 14px 12px; display: flex; flex-direction: column; font-size: 11.5px; line-height: 1.42; color: var(--ink); }
.mini .who { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mini .av { width: 26px; height: 26px; border-radius: 50%; background: #2A2F3A; color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; flex: none; }
.mini .nm { font-weight: 700; font-size: 12px; line-height: 1.1; }
.mini .pf { color: var(--muted); font-size: 10.5px; }
.mini p { margin: 0 0 7px; }
.mini .fade { margin-top: auto; height: 22px; background: linear-gradient(transparent, #fff); margin-top: -22px; position: relative; }
.mini-x { font-size: 13px; line-height: 1.38; }
.fan-source { text-decoration: none; color: var(--ink); position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 8px 14px 8px 8px; width: max-content; max-width: 100%; z-index: 6; box-shadow: 0 6px 20px -10px rgba(20,22,28,.3); }
.fan-source:hover .t { color: var(--cobalt); }
.fan-source .t { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.fan-source img { width: 40px; height: 48px; object-fit: cover; border-radius: 4px; flex: none; }
.fan-source .t { font-family: var(--serif); font-size: 15px; line-height: 1.25; }
.fan-source .k { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
@media (max-width: 960px) {
  .fan-stage { height: 470px; margin-top: 36px; }
}
@media (max-width: 520px) {
  .fan-stage { height: 290px; margin-top: 4px; --cw: 128px; --sw: 108px; }
  .fan { bottom: 78px; }
  .fan .c1 { --x: -86%; --r: -14deg; } .fan .c5 { --x: 86%; --r: 14deg; }
  .fan .c2 { --x: -52%; --r: -7deg; } .fan .c4 { --x: 52%; --r: 7deg; }
  .mini { padding: 9px; font-size: 8.5px; }
  .mini .who { margin-bottom: 6px; gap: 5px; }
  .mini .nm { font-size: 9px; } .mini .pf { font-size: 8px; }
  .mini .av { width: 18px; height: 18px; font-size: 7px; }
  .mini-x { font-size: 9.5px; }
  .fan-source .t { font-size: 13.5px; }
  .fan-source { width: calc(100% - 8px); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2, .h2 { font-size: clamp(34px, 4.6vw, 60px); font-variation-settings: "wdth" 112; font-weight: 820; letter-spacing: -0.02em; line-height: 1.0; margin-bottom: 18px; }
.section-head p { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 40em; margin: 0; }
.white { background: var(--surface); }

/* ---------- Showcase ---------- */
.showcase-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.article-card { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 14px 14px 20px; }
.article-card .src { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin: 2px 2px 12px; }
.article-card img { border-radius: 2px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.article-card .cap { font-size: 12.5px; color: var(--muted); margin: 6px 2px 14px; }
.article-card h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.15; letter-spacing: -0.005em; margin: 0 2px 8px; }
.article-card .by { font-size: 13.5px; color: var(--muted); margin: 0 2px 14px; }
.article-card blockquote { margin: 0 2px 14px; font-family: var(--serif); font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.article-card blockquote p { margin: 0 0 .8em; }
.article-card .read { font-size: 14.5px; font-weight: 600; margin-left: 2px; }
.fan-arrow { display: none; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.tab { appearance: none; border: 1.5px solid var(--rule); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 9px 16px 9px 16px; font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; display: inline-flex; gap: 8px; align-items: baseline; }
.tab .n { font-weight: 450; color: var(--muted); font-size: 13.5px; }
.tab:hover { border-color: var(--ink-2); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab[aria-selected="true"] .n { color: #C9CFDB; }
.panel[hidden] { display: none; }
.panel-note { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; max-width: 60ch; }

.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(236px, 270px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin: 0 -4px; scrollbar-width: thin; scrollbar-color: #AEB6C4 transparent; }
.strip:focus-visible { outline-offset: 0; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { border-radius: 6px; box-shadow: 0 0 0 1px rgba(20,22,28,.08); }
.strip figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.stories { grid-auto-columns: minmax(190px, 220px); }
.strip-hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }

.post { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 18px 20px; font-size: 15.5px; line-height: 1.5; }
.post .who { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.post .av { width: 40px; height: 40px; border-radius: 50%; background: #2A2F3A; color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; flex: none; }
.post .nm { font-weight: 700; line-height: 1.2; }
.post .pf { color: var(--muted); font-size: 13.5px; line-height: 1.2; }
.post .body p { margin: 0 0 .75em; }
.post .body p:last-child { margin-bottom: 0; }
.post .ph { margin: 14px -20px 0; }
.post .ph img { width: 100%; max-height: 360px; object-fit: cover; }
.post .comment { margin-top: 14px; padding: 12px 14px; background: var(--paper); border-radius: 10px; font-size: 14.5px; }
.post .comment b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.post .lnk { color: var(--cobalt); word-break: break-word; }
.posts-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 1180px) { .posts-2 { grid-template-columns: 1fr; } }
.post-x .body { font-size: 16px; }
.thread { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 6px 20px; max-width: 680px; }
.thread .t-item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 0; position: relative; }
.thread .t-item:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 60px; bottom: -14px; width: 2px; background: var(--rule); }
.thread .t-item .av { width: 40px; height: 40px; border-radius: 50%; background: #2A2F3A; color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.thread .t-item .nm { font-weight: 700; font-size: 15px; }
.thread .t-item .nm span { color: var(--muted); font-weight: 450; margin-left: 6px; }
.thread .t-item p { margin: 0 0 .6em; font-size: 15.5px; }
.thread .t-item p:last-child { margin-bottom: 0; }
.thread .t-item img { border-radius: 12px; margin-top: 10px; max-height: 300px; width: 100%; object-fit: cover; }
.sub-h { font-size: 15px; font-weight: 700; margin: 26px 0 10px; color: var(--ink-2); }
.caption-box { margin-top: 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; font-size: 15px; max-width: 760px; }
.caption-box b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.caption-box p { margin: 0; }

@media (max-width: 960px) {
  .showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .article-card { position: static; display: grid; grid-template-columns: 120px 1fr; gap: 0 16px; padding: 14px; }
  .article-card .src { grid-column: 1 / -1; }
  .article-card img { grid-row: span 3; aspect-ratio: 3 / 4; }
  .article-card .cap { display: none; }
  .article-card h3 { font-size: 19px; margin-top: 0; }
  .article-card blockquote { grid-column: 1 / -1; margin-top: 14px; font-size: 16px; }
  .article-card .read { grid-column: 1 / -1; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 20px; padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
}
@media (max-width: 520px) {
  .strip { grid-auto-columns: 78%; }
  .stories { grid-auto-columns: 64%; }
  .post { padding: 16px; font-size: 15px; }
  .post .ph { margin: 14px -16px 0; }
  .thread { padding: 4px 14px; }
  .thread .t-item { grid-template-columns: 34px 1fr; gap: 10px; }
  .thread .t-item .av { width: 34px; height: 34px; font-size: 12px; }
  .thread .t-item:not(:last-child)::before { left: 16px; top: 54px; }
}

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.steps li { padding: 22px 24px 8px 0; position: relative; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.steps .num { display: block; font-size: 56px; font-weight: 850; line-height: 1; font-variation-settings: "wdth" 62; color: var(--cobalt); margin-bottom: 18px; }
.steps h3 { font-size: 21px; font-variation-settings: "wdth" 106; margin-bottom: 10px; line-height: 1.15; }
.steps p { font-size: 16px; color: var(--ink-2); margin: 0; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 18px; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li, .steps li:nth-child(3) { padding: 20px 0 20px 64px; border-left: 0; margin-top: 0; }
  .steps li + li { border-top: 1px solid var(--rule); }
  .steps .num { position: absolute; left: 0; top: 18px; font-size: 44px; margin: 0; }
}

/* ---------- Pack contents ---------- */
.pack { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pack .section-head { margin-bottom: 0; }
.pack-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.pack-list li { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.pack-list .k { font-weight: 750; font-size: 17px; font-variation-settings: "wdth" 108; }
.pack-list .v { color: var(--ink-2); font-size: 16.5px; }
@media (max-width: 960px) { .pack { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pack-list li { grid-template-columns: 1fr; gap: 4px; } }

/* tally from the example */
.tally { margin-top: 36px; }
.tally-h { font-size: 14.5px; font-weight: 650; color: var(--muted); margin: 0 0 6px; }
.tally dl { margin: 0; }
.tally dl div { display: grid; grid-template-columns: 74px 1fr; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.tally dt { font-size: 34px; font-weight: 850; line-height: 1; font-variation-settings: "wdth" 62; color: var(--cobalt); }
.tally dd { margin: 0; font-size: 16px; color: var(--ink-2); }

/* ---------- Quality ---------- */
.quality { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.checks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 26px; }
.checks h3 { font-size: 19px; font-variation-settings: "wdth" 106; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.checks h3 svg { flex: none; color: var(--cobalt); }
.checks p { margin: 0; color: var(--ink-2); font-size: 16px; }
.proofs-head { font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.proofs { display: grid; gap: 16px; }
.proof { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 20px 22px; display: grid; gap: 14px; }
.proof .tag { justify-self: start; font-size: 13px; font-weight: 650; color: var(--cobalt-deep); background: var(--wash); padding: 3px 9px; border-radius: 3px; }
.proof .lbl { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
.proof .draft { font-size: 17px; text-decoration: line-through; text-decoration-color: var(--cobalt); text-decoration-thickness: 2px; color: #5E6576; margin: 0; }
.proof .source { font-family: var(--serif); font-size: 17px; line-height: 1.5; margin: 0; padding-left: 14px; border-left: 3px solid var(--wash); color: var(--ink-2); }
.proof .pub { font-size: 17px; margin: 0; font-weight: 600; }
.proof .pub mark { background: linear-gradient(transparent 55%, var(--wash) 55%); color: inherit; padding: 0 1px; }
.proof.with-img { grid-template-columns: 1fr 156px; column-gap: 20px; }
.proof.with-img > :not(img) { grid-column: 1; }
.proof.with-img img { grid-column: 2; grid-row: 1 / span 4; border-radius: 4px; box-shadow: 0 0 0 1px var(--rule); align-self: start; }
@media (max-width: 960px) { .quality { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .proof { padding: 16px; } .proof.with-img { grid-template-columns: 1fr 84px; } }

/* ---------- Portal ---------- */
.portal-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.app { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(20,22,28,.45); }
.app-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--rule); font-size: 14px; font-weight: 650; }
.app-bar .dots { display: flex; gap: 6px; }
.app-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); display: block; }
.app-bar .ttl { margin-left: 6px; }
.app-bar .meta { margin-left: auto; font-weight: 450; color: var(--muted); font-size: 13px; }
.app-body { display: grid; grid-template-columns: 250px 1fr; }
.queue { list-style: none; margin: 0; padding: 8px; border-right: 1px solid var(--rule); background: #FAFBFC; }
.queue li { padding: 10px 10px; border-radius: 8px; font-size: 13.5px; line-height: 1.35; }
.queue li + li { margin-top: 2px; }
.queue .pl { font-weight: 700; font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; margin-bottom: 3px; }
.queue .sel { background: var(--wash-2); box-shadow: inset 3px 0 0 var(--cobalt); }
.status { font-weight: 650; font-size: 12px; padding: 1px 7px; border-radius: 3px; white-space: nowrap; }
.s-ok { color: var(--ok); background: #E3F4EC; }
.s-wait { color: var(--cobalt-deep); background: var(--wash); }
.s-chg { color: #8A4B00; background: #FCEFD9; }
.s-sch { color: #3E4656; background: #E8EBF0; }
.detail { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.detail .d-pl { font-size: 13px; color: var(--muted); font-weight: 600; }
.detail .d-body { font-size: 14.5px; line-height: 1.5; border: 1px solid var(--rule); border-radius: 8px; padding: 12px 14px; }
.detail .d-body p { margin: 0 0 .5em; } .detail .d-body p:last-child { margin: 0; }
.detail .d-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.detail .fake-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 6px; font-size: 14px; font-weight: 700; }
.fake-btn.pri { background: var(--cobalt); color: #fff; }
.fake-btn.sec { box-shadow: inset 0 0 0 1.5px var(--rule); color: var(--ink); }
.detail .d-sched { font-size: 13px; color: var(--muted); }
.app-cap { font-size: 13px; color: var(--muted); margin: 10px 2px 0; }
.modes { display: grid; gap: 22px; margin-top: 28px; }
.mode { padding-left: 18px; border-left: 3px solid var(--rule); }
.mode.on { border-left-color: var(--cobalt); }
.mode h3 { font-size: 18px; font-variation-settings: "wdth" 106; margin-bottom: 6px; }
.mode p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 960px) { .portal-grid { grid-template-columns: 1fr; } .portal-grid .app-wrap { order: 2; } }
@media (max-width: 640px) {
  .app-body { grid-template-columns: 1fr; }
  .queue { border-right: 0; border-bottom: 1px solid var(--rule); }
  .queue li:nth-child(n+3) { display: none; }
  .app-bar .meta { display: none; }
}

/* ---------- Pricing ---------- */
.pricing-frame { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--ink); border-radius: 4px; background: var(--surface); }
.tier { padding: 30px 28px 30px; display: flex; flex-direction: column; position: relative; }
.tier + .tier { border-left: 1px solid var(--rule); }
.tier.featured { background: var(--wash-2); box-shadow: inset 0 5px 0 var(--cobalt); }
.tier .flag { position: absolute; top: -13px; left: 26px; background: var(--cobalt); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 3px; }
.tier h3 { font-size: 24px; font-variation-settings: "wdth" 112; margin-bottom: 6px; }
.tier .pitch { color: var(--ink-2); font-size: 16px; margin: 0 0 18px; min-height: 2.9em; }
.tier .price, .plan .price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 22px; }
.tier .amt, .plan .amt { font-size: 80px; font-weight: 850; line-height: .9; font-variation-settings: "wdth" 70; letter-spacing: -0.02em; }
.tier .per, .plan .per { color: var(--muted); font-size: 16px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: 15.5px; }
.tier li { padding-left: 26px; position: relative; line-height: 1.45; }
.tier li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 12px; height: 7px; border-left: 2.5px solid var(--cobalt); border-bottom: 2.5px solid var(--cobalt); transform: rotate(-45deg); }
.tier li.inherit { font-weight: 650; }
.tier .btn { margin-top: auto; width: 100%; }
.pricing-foot { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) {
  .pricing-frame { grid-template-columns: 1fr; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--rule); }
  .tier .pitch { min-height: 0; }
  .tier.featured { order: -1; }
  .tier.featured + .tier { border-top: 0; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: 18.5px; font-variation-settings: "wdth" 104; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--cobalt); }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }
.faq .a p:last-child { margin-bottom: 0; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.final { background: var(--cobalt); color: #fff; padding: clamp(72px, 9vw, 120px) 0; }
.final-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.final h2 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 850; line-height: .95; letter-spacing: -0.02em; margin-bottom: 20px; }
.final h2 .w1 { display: block; font-variation-settings: "wdth" 62; font-size: 1.3em; }
.final h2 .w2 { display: block; font-variation-settings: "wdth" 125; }
.final p { color: #E4E9FD; font-size: 18px; max-width: 34em; }
@media (max-width: 960px) { .final-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 48px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; align-items: center; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-2); }

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0 96px; }
.legal .inner { max-width: 720px; }
.legal h1 { font-size: clamp(38px, 5vw, 56px); font-variation-settings: "wdth" 112; margin-bottom: 12px; }
.legal h2 { font-size: 22px; font-variation-settings: "wdth" 106; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal-flag { background: #FCEFD9; border: 1px solid #EBC98F; color: #5C3300; border-radius: 6px; padding: 14px 16px; margin: 20px 0 28px; font-size: 15.5px; }
