/* The start page (start.html): the brand kit's paper, ink and red pen. */

/* the kit's colours, fonts, logo and pen marks come from brand.css, linked first */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--serif); -webkit-text-size-adjust: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pen); }
:focus-visible { outline: 2px solid var(--pen); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; padding: 8px 12px; background: var(--ink); color: var(--paper); font: 600 13px var(--mono); z-index: 2; }
.skip:focus { top: 12px; color: var(--paper); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: #3A3833; }
code, kbd, pre { font-family: var(--mono); }

.pen { vector-effect: non-scaling-stroke; }

/* header */
.top { border-bottom: 2px solid var(--ink); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 16px; }
.brand { text-decoration: none; font-size: 22px; }
nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font: 600 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
nav .signin { padding-left: 20px; border-left: 1px solid var(--rule); }

/* hero: Grok's Concept C top (headline and the start form, then an example under review) */
main.wrap { padding-top: 64px; padding-bottom: 40px; }
.start { display: flex; flex-direction: column; gap: 14px; max-width: 600px; }
.field { display: flex; }
.field input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; font: 400 15px var(--mono); color: var(--ink); background: var(--sheet); border: 1.5px solid var(--ink); border-right: 0; border-radius: 0; }
.field button { height: 52px; padding: 0 24px; font: 400 18px var(--serif); color: var(--paper); background: var(--ink); border: 1.5px solid var(--ink); border-radius: 0; cursor: pointer; }
.field button:hover { background: var(--pen); border-color: var(--pen); }
.field button:disabled { opacity: .6; cursor: progress; }
.how { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: #3A3833; }
.how label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.how input { accent-color: var(--ink); width: 16px; height: 16px; margin: 0; }
.how b { color: var(--ink); }
.err { margin: 0; color: var(--pen); font-size: 16px; }
.fine { margin: 0; font: 600 12px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pencil); }
.fine b { color: var(--pen); font-weight: 600; }
.hero { display: flex; flex-direction: column; gap: 28px; }
.eyebrow { margin: 0; font: 600 13px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pencil); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: end; }
.lede { min-width: 0; display: flex; flex-direction: column; gap: 26px; }
h1 { margin: 0; font-size: 72px; line-height: 1.05; font-weight: 400; letter-spacing: -.02em; text-wrap: balance; }
.u { position: relative; white-space: nowrap; }
.u svg { position: absolute; left: -1%; bottom: -.17em; width: 102%; height: .26em; overflow: visible; pointer-events: none; }
.sub { margin: 0; font-size: 21px; line-height: 1.55; color: #3A3833; max-width: 700px; }
.cta { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cta .start { max-width: none; }
.cta .field { flex-direction: column; gap: 10px; }
.cta .field input { flex: none; width: 100%; border-right: 1.5px solid var(--ink); }
.cta .field button { height: 60px; font-size: 22px; }
.ghost { display: block; text-align: center; padding: 14px; border: 1.5px solid var(--ink); font: 400 15px var(--mono); text-decoration: none; }
.ghost:hover { background: var(--sheet); color: var(--ink); }
.cta .fine { text-align: center; }
/* the example: Grok's marked-up page as a picture, its three notes beside it as text */
.stage { margin: 16px 0 0; display: grid; grid-template-columns: minmax(0, 888fr) minmax(0, 312fr); border: 2px solid var(--ink); background: #fff; }
.stage-site { min-width: 0; }
.stage-site img { display: block; width: 100%; height: auto; }
.stage-notes { min-width: 0; background: var(--paper); border-left: 1px solid var(--ink); padding: 26px 24px 20px; display: flex; flex-direction: column; gap: 18px; }
.stage-notes .label { margin: 0; font: 600 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pencil); }
.notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.notes li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; font: italic 400 18px/1.45 var(--serif); }
.pin { position: relative; width: 34px; height: 34px; font-style: normal; }
.pin svg { position: absolute; left: 0; top: 0; overflow: visible; }
.zipline { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font: 400 13px/1.6 var(--mono); color: var(--pencil); }

/* sections */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 104px; }
.card { border-top: 2px solid var(--ink); padding-top: 18px; }
.pair.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* numbered steps (the clients version): red mono numbers in the margin */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 22px 0 0; }
.steps li { counter-increment: step; display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step, decimal-leading-zero); flex: 0 0 28px; font: 600 14px/1.9 var(--mono); color: var(--pen); }
.kicker { margin: 0 0 8px; font: 600 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--pen); }
h2 { margin: 0 0 14px; font-size: 40px; line-height: 1.12; font-weight: 400; letter-spacing: -.01em; }
h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.25; font-weight: 700; }
.card p:last-child, .block p:last-child { margin-bottom: 0; }
.block { margin-top: 104px; padding-top: 28px; border-top: 1px solid var(--rule); }
.red { color: var(--pen); }
.keys { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.keys li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.keys li > span:first-child { flex: 0 0 170px; font: 600 13px var(--mono); }
kbd { font: 600 13px/1 var(--mono); padding: 3px 6px; background: var(--sheet); border: 1px solid var(--ink); border-bottom-width: 2px; white-space: nowrap; }
.defs { padding-left: 1.2em; }
.defs li { margin: 8px 0; }
code { font-size: .85em; background: var(--sheet); padding: 1px 4px; border: 1px solid var(--rule); }
.sample { margin: 22px 0; }
.sample figcaption { font: 600 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--pencil); margin-bottom: 8px; }
.sample pre { margin: 0; padding: 16px 18px; overflow-x: auto; background: var(--sheet); border: 1.5px solid var(--ink); border-left: 5px solid var(--pen); font-size: 13.5px; line-height: 1.6; }
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 22px 0; }
.tiers > div { border-top: 2px solid var(--ink); padding-top: 14px; }
.tiers h3 { font: 600 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.tiers ul { margin: 0; padding-left: 1.2em; }
.tiers li { margin: 4px 0; }
.qa h3 { font-size: 21px; margin-top: 28px; }
.qa h3:first-child { margin-top: 8px; }
.qa p { margin: 0; max-width: 680px; }
.again { margin-top: 104px; padding: 40px 0 8px; border-top: 2px solid var(--ink); }
.again h2 { max-width: 640px; }

/* §3: the text beside the sample zip */
.why { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: start; }
.why-text { min-width: 0; }
.why .old, .why .old h3 { color: var(--pencil); }
.why .new h3 { color: var(--pen); }
.zip { margin: 0; min-width: 0; border: 1px solid var(--ink); background: #fff; font: 400 13px/1.7 var(--mono); }
.zip-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 18px; border-bottom: 1px solid var(--ink); background: var(--paper); }
.zip pre { margin: 0; padding: 14px 18px; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.zip pre + pre { border-top: 1px solid var(--rule); }
.zip figcaption { padding: 12px 18px; border-top: 1px solid var(--rule); color: var(--pencil); }
/* §4: the price band */
.band { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding: 28px 0; margin: 8px 0 24px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.big { margin: 0; font-size: 96px; line-height: 1; font-weight: 400; letter-spacing: -.03em; }
.big em { font-size: 40px; color: var(--pen); }
.dash { list-style: none; margin: 0; padding: 0; flex: 1 1 320px; font-size: 20px; line-height: 1.7; }
.dash li::before { content: "— "; color: var(--pencil); }
.btn { display: inline-block; padding: 18px 28px; background: var(--ink); color: var(--paper); font: 400 22px var(--serif); text-decoration: none; }
.btn:hover { background: var(--pen); color: var(--paper); }

/* footer */
footer.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; padding-bottom: 40px; border-top: 1px solid var(--rule); font: 400 13px var(--mono); color: var(--pencil); }
.foot .logo { font-size: 15px; }

@media (max-width: 820px) {
  .hero-grid, .why { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .stage { grid-template-columns: minmax(0, 1fr); }
  .stage-notes { border-left: 0; border-top: 1px solid var(--ink); }
  .big { font-size: 64px; }
  body { font-size: 17px; }
  main.wrap { padding-top: 40px; }
  h1 { font-size: 42px; }
  h2 { font-size: 31px; }
  .field { flex-direction: column; gap: 10px; }
  .field input { flex: none; width: 100%; border-right: 1.5px solid var(--ink); }
  .pair, .pair.three, .keys, .tiers { grid-template-columns: minmax(0, 1fr); }
  .pair, .block, .again { margin-top: 72px; }
  .keys li > span:first-child { flex-basis: 140px; }
  nav .signin { padding-left: 0; border-left: 0; }
}

/* the Terms, Privacy and Refund pages (terms.html, privacy.html, refund.html): long text, one column */
.legal { max-width: 720px; }
.legal h1 { font-size: 52px; margin-bottom: 10px; }
.legal .dated { margin: 0 0 40px; font: 500 12px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--pencil); }
.legal h2 { font-size: 28px; margin: 44px 0 12px; padding-top: 20px; border-top: 1px solid var(--rule); }
.legal p, .legal li { font-size: 18px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 6px 0; }
.legal .short { font-size: 20px; color: #3A3833; }
@media (max-width: 820px) { .legal h1 { font-size: 40px; } .legal h2 { font-size: 24px; } }

/* the "are you human" check (human.js): shown only when Cloudflare wants a click */
.human { margin: 2px 0; }
