/* /design-for/ pages. Same tokens and section patterns as the home page (index.html), minus its JS effects. */
:root {
  --paper: #ffffff;
  --ink: #0b0b0c;
  --ink-2: #4a4a50;
  --muted: #6b6b73;
  --line: #e7e7ea;
  --accent: #f05a28;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --gutter: clamp(20px, 5vw, 80px);
  --max: 1440px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
[id] { scroll-margin-top: 88px; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
.display em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.h-xl { font-size: clamp(2.6rem, 7.4vw, 7.4rem); }
.h-lg { font-size: clamp(2.2rem, 5vw, 5rem); }
.h-md { font-size: clamp(1.7rem, 3.2vw, 3rem); letter-spacing: -0.025em; line-height: 1.06; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.45; color: var(--ink-2); max-width: 40ch; text-wrap: pretty; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.prose { color: var(--ink-2); font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.5; max-width: 44ch; text-wrap: pretty; }
.prose + .prose { margin-top: 1.2em; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.04em; }
.brand-mark { width: 22px; height: 22px; color: var(--ink); }
.foot-mark { width: 18px; height: 18px; color: var(--ink); flex: none; }
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
@media (max-width: 720px) { .nav-links { gap: 20px; font-size: 14px; } .nav-links .hide-m { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font-family: var(--body); font-size: 15px; font-weight: 600; border: 1px solid var(--ink); cursor: pointer; transition: background .2s ease, color .2s ease; }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: #222; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn svg { width: 14px; height: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- breadcrumbs ---------- */
.crumbs { padding-top: 20px; font-size: 13px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: #b9b9c2; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 8vh, 110px); padding-bottom: clamp(56px, 9vh, 120px); }
.hero .eyebrow { margin-bottom: clamp(18px, 3vh, 36px); }
.hero h1 { max-width: 17ch; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: clamp(28px, 5vh, 64px); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-audience { margin-top: clamp(40px, 7vh, 88px); border-top: 1px solid var(--line); padding-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; }
.hero-audience p:last-child { color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
@media (max-width: 860px) { .hero-foot { flex-direction: column; align-items: flex-start; } .hero-audience { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- section shell ---------- */
.section { padding-top: clamp(64px, 11vh, 140px); padding-bottom: clamp(64px, 11vh, 140px); border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: end; }
.split .eyebrow { margin-bottom: 16px; }
.split .lede { max-width: 42ch; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; align-items: start; gap: 20px; } }

/* ---------- rows (pain points, deliverables) ---------- */
.rows { list-style: none; margin: clamp(36px, 5vh, 64px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr 1fr; align-items: baseline; gap: 24px; padding: clamp(20px, 3vh, 32px) 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row-name { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(1.45rem, 2.6vw, 2.4rem); line-height: 1.04; text-wrap: balance; }
.row-desc { color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- platform limits ---------- */
.limits { margin-top: clamp(48px, 7vh, 88px); }
.limits-head { max-width: 62ch; }
.limits-head h3 { margin-bottom: 12px; }
.limits-head p { color: var(--ink-2); }
.limits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(28px, 4vh, 44px); }
.limits-col { border-top: 1px solid var(--ink); padding-top: 18px; }
.limits-col h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.limits-col ul { list-style: none; margin: 0; padding: 0; }
.limits-col li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.limits-col li:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 960px) { .limits-grid { grid-template-columns: 1fr; } }

/* ---------- sample / before and after ---------- */
.sample-box { margin-top: clamp(32px, 5vh, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); }
.sample-pane { aspect-ratio: 4 / 3; border: 1px dashed #c9c9d1; border-radius: 6px; background: #fafafb; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 2.4vw, 32px); }
.sample-pane b { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2.2rem); letter-spacing: -0.03em; line-height: 1; }
.sample-pane span { font-size: 14px; color: var(--muted); max-width: 34ch; }
.sample-note { margin-top: 20px; color: var(--ink-2); max-width: 62ch; }
.sample-note a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
@media (max-width: 640px) { .sample-box { grid-template-columns: 1fr; } .sample-pane { aspect-ratio: 16 / 9; } }

/* ---------- why / founder ---------- */
.founder-grid { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.founder-photo { aspect-ratio: 1159 / 1357; overflow: hidden; border-radius: 6px; background: #f2f2f4; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-copy .eyebrow { margin-bottom: 20px; }
.founder-copy h2 { margin-bottom: clamp(28px, 4vh, 48px); }
.founder-copy p a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.facts { list-style: none; margin: clamp(32px, 5vh, 48px) 0 0; padding: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); max-width: 640px; }
.facts strong { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; font-variant-numeric: lining-nums tabular-nums; }
.facts span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } .founder-photo { max-width: 320px; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.steps { list-style: none; margin: clamp(40px, 6vh, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
.step { padding-top: 24px; }
.step-num { display: block; font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; margin-bottom: clamp(24px, 4vh, 52px); }
.step-name { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1.04; margin-bottom: 14px; text-wrap: balance; }
.step-desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; text-wrap: pretty; }
@media (max-width: 960px) { .steps, .steps.steps-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps, .steps.steps-3 { grid-template-columns: 1fr; gap: 0; } .step { border-bottom: 1px solid var(--line); padding-bottom: 28px; } .step:last-child { border-bottom: 0; } .step-num { margin-bottom: 16px; } }

/* ---------- switching offer (inverted band) ---------- */
.switching { --paper: #0b0b0c; --ink: #ffffff; --ink-2: #c6c6cd; --muted: #8d8d96; --line: #2b2b30; background: var(--paper); color: var(--ink); border-top: 0; }
.switching .eyebrow { margin-bottom: 24px; }
.switch-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 120px); align-items: end; }
.switch-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.switch-list li { padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.7vw, 1.5rem); letter-spacing: -0.02em; }
.switch-copy { margin-top: 28px; }
.switching .btn { margin-top: 32px; }
.switch-note { margin-top: 20px; font-size: 13px; color: var(--muted); max-width: 52ch; }
.switching .btn-solid { background: #fff; color: #0b0b0c; border-color: #fff; }
.switching .btn-solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.switching :focus-visible { outline-color: #fff; }
@media (max-width: 960px) { .switch-grid { grid-template-columns: 1fr; align-items: start; } }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 32px); margin-top: clamp(36px, 5vh, 64px); }
.price { border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; }
.price h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.1vw, 2rem); letter-spacing: -0.03em; line-height: 1.04; }
.price-desc { margin-top: 10px; color: var(--ink-2); max-width: 40ch; text-wrap: pretty; }
.price-from { margin-top: 28px; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.price-amount { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-size: clamp(2.6rem, 5vw, 4.4rem); font-variant-numeric: lining-nums tabular-nums; margin-top: 6px; }
.price-amount.todo { color: var(--accent); outline: 2px dashed var(--accent); outline-offset: 6px; border-radius: 4px; width: fit-content; }
.price ul { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.price li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.price li:last-child { border-bottom: 0; padding-bottom: 0; }
.price-note { margin-top: 24px; color: var(--muted); font-size: 15px; max-width: 62ch; }
.price-grid-one { grid-template-columns: minmax(0, 720px); }
@media (max-width: 760px) { .price-grid, .price-grid-one { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.faq-grid .eyebrow { margin-bottom: 16px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: -0.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-weight: 400; font-size: 1.6rem; color: var(--muted); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { color: var(--ink-2); max-width: 56ch; padding-bottom: 24px; margin-top: -6px; text-wrap: pretty; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- cards (related platforms, hubs, index) ---------- */
.cards { list-style: none; margin: clamp(32px, 5vh, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.card { display: flex; flex-direction: column; height: 100%; min-height: 200px; border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 2.2vw, 30px); transition: border-color .2s ease, background .2s ease; }
.card:hover { border-color: var(--ink); background: #fafafb; }
.card .eyebrow { margin-bottom: 14px; }
.card b { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.3vw, 2.2rem); letter-spacing: -0.03em; line-height: 1; }
.card p { margin-top: 12px; font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
.card .go { margin-top: auto; padding-top: 22px; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.card .go svg { width: 13px; height: 13px; transition: transform .2s ease; }
.card:hover .go svg { transform: translateX(4px); }
.cat-block + .cat-block { margin-top: clamp(56px, 8vh, 96px); }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.contact-side .eyebrow { margin-bottom: 16px; }
.contact-side .lede { margin-top: 24px; }
.contact-side .email { display: inline-block; margin-top: 32px; font-weight: 500; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; }
.field label { font-size: 13px; color: var(--muted); line-height: 1.3; margin-bottom: 8px; }
.field input, .field textarea { width: 100%; margin: 0; border: 1px solid #d9d9de; border-radius: 10px; background: var(--paper); padding: 14px 16px; height: 52px; font: inherit; font-size: 17px; line-height: 1.3; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; box-shadow: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { height: auto; min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #b9b9c2; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,11,12,0.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-status { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--ink); }
.disclaimer { margin-top: 20px; font-size: 13px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .link-arrow svg, .card, .card .go svg, .nav-links a::after { transition: none; }
}
