@font-face { font-family: "Archivo"; src: url(/fonts/archivo.woff2) format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(/fonts/serif-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(/fonts/serif-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(/fonts/serif-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --steel: #E9ECEA;
  --panel: #FBFCFB;
  --ink: #18202B;
  --graphite: #4A5563;
  --rule: #C3CAC6;
  --safety: #F5C518;
  --signal: #23643F;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --measure: 66ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--steel); color: var(--ink); font-family: var(--text); font-size: 1.125rem; line-height: 1.62; }
h1, h2, h3, .wordmark, .button, .top-cta, label, summary, .thread, .steps li::before, .arrow { font-family: var(--display); }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 760; font-stretch: 112%; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
h3 { font-size: 1.2rem; font-weight: 700; font-stretch: 104%; margin-bottom: 0.4rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--safety); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

main, .top, .foot { max-width: 1180px; margin: 0 auto; padding-left: clamp(1.25rem, 4vw, 3rem); padding-right: clamp(1.25rem, 4vw, 3rem); }

.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.wordmark { font-weight: 850; font-stretch: 125%; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.01em; }
.top-cta { font-size: 0.95rem; font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.button { display: inline-block; background: var(--safety); color: var(--ink); border: 2px solid var(--ink); border-radius: 4px; padding: 0.8rem 1.3rem; font-size: 1.05rem; font-weight: 700; font-stretch: 108%; text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform 0.08s ease, box-shadow 0.08s ease; }
.button:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.button[disabled] { opacity: 0.6; cursor: progress; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 6rem); }
.hero h1 { font-size: clamp(2.4rem, 4.9vw, 4.4rem); font-weight: 820; font-stretch: 112%; line-height: 0.98; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.32rem); max-width: 34em; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 2rem; }
.fine { font-size: 0.95rem; color: var(--graphite); }

.thread { margin: 0; background: var(--panel); border: 2px solid var(--ink); border-radius: 18px; padding: 1.1rem 1.1rem 0.9rem; font-size: 0.95rem; line-height: 1.4; box-shadow: 8px 8px 0 var(--rule); }
.thread-head { font-weight: 700; font-stretch: 100%; font-size: 0.85rem; color: var(--graphite); padding-bottom: 0.7rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--rule); }
.msg { max-width: 88%; padding: 0.65rem 0.85rem; border-radius: 14px; margin-bottom: 0.65rem; }
.msg.claude { background: var(--steel); border-bottom-left-radius: 4px; }
.msg.rosa { background: var(--ink); color: var(--panel); margin-left: auto; border-bottom-right-radius: 4px; }
.choices { list-style: none; margin: 0 0 0.75rem; padding: 0; display: grid; gap: 0.35rem; max-width: 88%; }
.choices li { border: 1.5px solid var(--rule); border-radius: 8px; padding: 0.45rem 0.7rem; color: var(--graphite); }
.choices li span { display: block; font-size: 0.8rem; font-weight: 400; }
.choices .picked { border-color: var(--ink); background: var(--safety); color: var(--ink); font-weight: 650; }
.thread figcaption { font-family: var(--text); font-style: italic; font-size: 0.82rem; color: var(--graphite); margin-top: 0.6rem; }

@media (prefers-reduced-motion: no-preference) {
  .js .thread .msg, .js .thread .choices { opacity: 0; transform: translateY(6px); animation: arrive 0.4s ease forwards; }
  .js .thread .msg:nth-of-type(1) { animation-delay: 0.3s; }
  .js .thread .choices { animation-delay: 0.9s; }
  .js .thread .msg:nth-of-type(2) { animation-delay: 1.8s; }
  .js .thread .msg:nth-of-type(3) { animation-delay: 2.7s; }
  .js .thread .msg:nth-of-type(4) { animation-delay: 3.5s; }
}
@keyframes arrive { to { opacity: 1; transform: none; } }

/* Sections */
main > section:not(.hero) { padding: clamp(3rem, 7vw, 5.5rem) 0; border-top: 2px solid var(--ink); }
.intro, .invite > p, .need ul, .faq details { max-width: var(--measure); }

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.points > div { border-top: 6px solid var(--safety); padding-top: 1rem; }
.points p { color: var(--graphite); }

.steps { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: step; max-width: 52rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 1.25rem; position: relative; padding-bottom: 2rem; }
.steps li::before { content: counter(step); grid-row: 1 / span 2; font-weight: 850; font-stretch: 125%; font-size: 2.4rem; line-height: 1; text-align: right; color: var(--ink); }
.steps li::after { content: ""; position: absolute; left: calc(4.5rem + 0.6rem); top: 0.3rem; bottom: 0; width: 2px; background: var(--rule); }
.steps li:last-child::after { display: none; }
.steps li > * { padding-left: 1.25rem; }
.steps p { color: var(--graphite); margin-bottom: 0; }

.diagram { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 0.75rem; margin-top: 1.5rem; }
.role { background: var(--panel); border: 2px solid var(--ink); border-radius: 6px; padding: 1.1rem 1.2rem; }
.role.you { background: var(--safety); }
.role ul { margin: 0; padding-left: 1.1rem; font-size: 1rem; line-height: 1.45; }
.role li { margin-bottom: 0.35rem; }
.arrow { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 0.2rem; font-size: 0.78rem; font-weight: 600; color: var(--graphite); }
.arrow span:first-child::before { content: "\2190\00a0"; }
.arrow span:last-child::after { content: "\00a0\2192"; }

.needs { padding-left: 1.2rem; }
.needs li { margin-bottom: 0.5rem; }

.faq details { border-bottom: 1px solid var(--rule); padding: 0.9rem 0; }
.faq summary { font-weight: 650; font-stretch: 104%; font-size: 1.08rem; cursor: pointer; }
.faq details p { margin: 0.6rem 0 0; color: var(--graphite); }

/* Invite */
.invite form { max-width: 34rem; display: grid; gap: 0.35rem; margin-top: 1.5rem; }
.invite label { font-weight: 650; font-size: 0.95rem; margin-top: 0.8rem; }
.invite input, .invite textarea { font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--panel); border: 2px solid var(--ink); border-radius: 4px; padding: 0.65rem 0.75rem; width: 100%; }
.invite textarea { resize: vertical; }
.invite input:focus, .invite textarea:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.invite .cf-turnstile { margin-top: 1rem; min-height: 65px; }
.invite .button { justify-self: start; margin-top: 0.75rem; }
.status { min-height: 1.6em; font-weight: 600; margin-top: 0.5rem; }
.status.ok { color: var(--signal); }
.status.err { color: #A3261B; }
.privacy { font-size: 0.92rem; color: var(--graphite); margin-top: 1.5rem; }

.foot { border-top: 2px solid var(--ink); padding-top: 1.5rem; padding-bottom: 3rem; font-size: 0.92rem; color: var(--graphite); }
.foot p { margin-bottom: 0.35rem; }
.foot p:first-child { font-family: var(--display); font-weight: 700; color: var(--ink); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .points { grid-template-columns: 1fr; }
  .diagram { grid-template-columns: 1fr; }
  .arrow { flex-direction: row; gap: 1rem; }
  .arrow span:first-child::before { content: "\2191\00a0"; }
  .arrow span:last-child::after { content: "\00a0\2193"; }
  .steps li { grid-template-columns: 3rem minmax(0, 1fr); }
  .steps li::before { font-size: 1.8rem; }
  .steps li::after { left: calc(3rem + 0.6rem); }
}

/* Header nav */
.top-nav { display: flex; align-items: center; gap: 1.5rem; font-family: var(--display); font-size: 0.95rem; }
.top-nav a { text-decoration: none; font-weight: 550; }
.top-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.top-nav .top-cta { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 650; }
.quiet-link { font-family: var(--display); font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.msg.tap { background: var(--safety); color: var(--ink); border: 1.5px solid var(--ink); font-weight: 650; }

/* Proof band */
main > section.proof { background: var(--ink); color: var(--panel); border-top: 0; margin: 0 calc(-1 * clamp(1.25rem, 4vw, 3rem)); padding-left: clamp(1.25rem, 4vw, 3rem); padding-right: clamp(1.25rem, 4vw, 3rem); border-radius: 6px; }
.proof h2 { color: var(--panel); }
.proof-lede { max-width: 44em; font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: #D5DBD8; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); margin: 2.5rem 0 0; }
.figures div { border-top: 3px solid var(--safety); padding-top: 0.9rem; }
.figures dt { font-family: var(--display); font-weight: 850; font-stretch: 120%; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1; color: var(--panel); }
.figures dd { margin: 0.6rem 0 0; font-size: 0.98rem; line-height: 1.45; color: #C2CAC6; }

/* Demo */
.demo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: 2rem; }
.js .demo { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
.stage { display: none; }
.js .stage { display: block; position: sticky; top: 1.5rem; background: var(--panel); border: 2px solid var(--ink); border-radius: 10px; padding: 1.4rem; min-height: 26rem; }
.scene { display: none; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: 1.25rem; align-items: center; font-family: var(--display); font-size: 0.92rem; line-height: 1.4; }
.scene.on { display: grid; }
@media (prefers-reduced-motion: no-preference) { .scene.on .msg, .scene.on .choices, .scene.on .phone { animation: arrive 0.35s ease both; } .scene.on .msg:nth-child(2), .scene.on .choices { animation-delay: 0.25s; } .scene.on .msg:nth-child(3) { animation-delay: 0.5s; } .scene.on .phone { animation-delay: 0.15s; } }
.scene .choices { max-width: 100%; }
.phone { justify-self: center; width: 100%; max-width: 13rem; aspect-ratio: 9 / 18; border: 3px solid var(--ink); border-radius: 26px; padding: 0.6rem; background: var(--ink); }
.screen { height: 100%; border-radius: 18px; background: var(--panel); padding: 1rem 0.8rem; display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.8rem; overflow: hidden; }
.screen strong { font-size: 0.95rem; margin-bottom: 0.3rem; }
.screen.blank { justify-content: center; align-items: center; text-align: center; color: var(--graphite); }
.screen .field { border: 1.5px solid var(--rule); border-radius: 6px; padding: 0.35rem 0.5rem; }
.screen .field.on { border-color: var(--ink); background: var(--safety); font-weight: 650; }
.screen .label { color: var(--graphite); margin-top: 0.4rem; }
.screen .btn { margin-top: auto; background: var(--ink); color: var(--panel); text-align: center; border-radius: 6px; padding: 0.5rem; font-weight: 650; }
.screen.sms { justify-content: flex-end; background: var(--steel); }
.screen .bubble { background: var(--panel); border-radius: 12px; border-bottom-left-radius: 3px; padding: 0.6rem 0.7rem; }
.screen.checks { justify-content: center; gap: 0.6rem; }
.screen .check { border: 1.5px solid var(--signal); color: var(--signal); border-radius: 6px; padding: 0.4rem 0.6rem; font-weight: 650; }
.screen .check::before { content: "\2713\00a0"; }
.screen .live { background: var(--signal); color: var(--panel); text-align: center; border-radius: 6px; padding: 0.55rem; font-weight: 800; font-stretch: 115%; margin-top: 0.4rem; }
.screen.lock { background: linear-gradient(160deg, #2A3445, var(--ink)); color: var(--panel); align-items: center; }
.screen .time { font-size: 2rem; font-weight: 300; font-stretch: 90%; margin: 0.8rem 0 1.2rem; }
.screen .note { background: rgba(251,252,251,0.92); color: var(--ink); border-radius: 12px; padding: 0.6rem 0.7rem; width: 100%; }
.screen .note strong { display: block; font-size: 0.82rem; margin-bottom: 0.15rem; }
.screen .row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--rule); padding: 0.35rem 0; }
.js .steps li { cursor: pointer; border-radius: 6px; padding-top: 0.6rem; padding-bottom: 1.2rem; transition: background 0.15s ease; }
.js .steps li:hover { background: rgba(24,32,43,0.04); }
.js .steps li[aria-selected="true"] { background: var(--panel); box-shadow: inset 4px 0 0 var(--safety); }
.js .steps li[aria-selected="true"]::before { color: var(--ink); }
.js .steps li:not([aria-selected="true"])::before { color: var(--graphite); }
.js .steps li:not([aria-selected="true"]) p { display: none; }
.js .steps li::after { display: none; }
.button.small { font-size: 0.95rem; padding: 0.55rem 1rem; box-shadow: 3px 3px 0 var(--ink); }
.demo-nav { margin-top: 1.25rem; }

/* AI explainer */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.75rem) clamp(1.5rem, 4vw, 3.5rem); margin-top: 1.5rem; max-width: 62rem; }
.qa p { color: var(--graphite); }
.qa > div { border-left: 4px solid var(--ink); padding-left: 1.1rem; }

.not-found { grid-template-columns: 1fr; }

@media (max-width: 860px) {
  .top-nav a:not(.top-cta) { display: none; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .js .demo { grid-template-columns: 1fr; }
  .js .stage { position: static; order: -1; min-height: 0; }
  .scene { grid-template-columns: 1fr; }
  .phone { max-width: 11rem; }
  .qa { grid-template-columns: 1fr; }
}

@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .skip, .top-nav, .hero-actions, .stage, .demo-nav, .invite form, .cf-turnstile, .thread { display: none !important; }
  main > section.proof { background: #fff; color: #000; margin: 0; padding-left: 0; padding-right: 0; }
  .proof h2, .figures dt { color: #000; }
  .proof-lede, .figures dd, .points p, .steps p, .qa p { color: #222; }
  .js .steps li p { display: block !important; }
  .js .steps li { background: none !important; box-shadow: none !important; }
  .hero { grid-template-columns: 1fr; padding: 0 0 1rem; }
  main > section:not(.hero) { padding: 1.2rem 0; break-inside: avoid-page; }
  .faq details > p { display: block; }
  .invite::after { content: "Request an invite at scopecreephq.com"; font-weight: 700; }
  .button { box-shadow: none; }
  a { text-decoration: none; }
}
.figures dt { font-size: clamp(1.8rem, 3.3vw, 2.9rem); white-space: nowrap; }
main > section.proof + section { border-top: 0; }

/* Members: download + feedback */
.member-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 1.5rem; align-items: start; }
.member-box { background: var(--panel); border: 2px solid var(--ink); border-radius: 6px; padding: clamp(1.1rem, 2.5vw, 1.75rem); }
.member-box p { color: var(--graphite); }
.member-box form { display: grid; gap: 0.35rem; }
.member-box label, .invite label { font-weight: 650; font-size: 0.95rem; margin-top: 0.8rem; font-family: var(--display); }
.member-box input, .member-box textarea { font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 4px; padding: 0.65rem 0.75rem; width: 100%; }
.member-box input:focus, .member-box textarea:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.member-box .button { justify-self: start; margin-top: 0.9rem; }
.member-box .cf-turnstile { margin-top: 1rem; min-height: 65px; }
.code-form input { font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.opt { font-weight: 400; color: var(--graphite); }
.members .privacy { max-width: var(--measure); }
@media (max-width: 860px) { .member-grid { grid-template-columns: 1fr; } }
@media print { .members { display: none; } }
