:root {
  --ink: #10233f;
  --ink-2: #304158;
  --paper: #f7f8fa;
  --white: #ffffff;
  --line: #ccd4df;
  --line-dark: #a9b4c2;
  --orange: #ff5a1f;
  --orange-dark: #d83c07;
  --blue: #b9dcff;
  --mint: #c9f0dd;
  --shadow: 0 24px 70px rgba(16, 35, 63, .14);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16,35,63,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 28px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange-dark); }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #075985;
  outline-offset: 3px;
}
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 50;
  background: var(--ink);
  color: white;
  padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 850; letter-spacing: -.025em; }
.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--ink);
  border-radius: 7px 7px 7px 1px;
  font-size: 15px;
}

nav { display: flex; gap: 1.65rem; font-size: .92rem; font-weight: 700; }
nav a.active { color: #ad3006; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.header-link { justify-self: end; font-weight: 800; border-bottom: 2px solid var(--orange); }

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 690px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.hero-copy {
  padding: clamp(4rem, 8vw, 7.5rem) clamp(2rem, 5vw, 5.5rem) 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow, .section-number {
  margin: 0 0 1.4rem;
  color: var(--ink-2);
  font: 800 .78rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow span { display: inline-block; width: 26px; height: 4px; margin: 0 .55rem .15rem 0; background: var(--orange); }

h1, h2 { margin: 0; letter-spacing: -.055em; line-height: 1.02; }
h1 { max-width: 700px; font-size: clamp(3.15rem, 6.4vw, 6.25rem); }
h2 { font-size: clamp(2.25rem, 4.7vw, 4.5rem); }

.lede { max-width: 690px; margin: 2rem 0 0; color: var(--ink-2); font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.3rem; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: .8rem 1.25rem; border-radius: 4px; font-weight: 850; }
.button-primary { color: var(--ink); background: var(--orange); box-shadow: 6px 6px 0 var(--ink); }
.button-primary:hover { color: white; background: var(--orange-dark); transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--ink); }
.text-link { font-weight: 800; }

.offer-strip { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; }
.offer-strip span { position: relative; }
.offer-strip span:not(:last-child)::after { content: "/"; position: absolute; right: -.85rem; color: var(--line-dark); }

.hero-visual {
  position: relative;
  overflow: hidden;
  padding: 5.5rem clamp(2rem, 5vw, 4rem);
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--orange);
  right: -100px;
  top: -95px;
}
.visual-kicker { margin-bottom: 1rem; color: var(--blue); font: 800 .75rem ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.order-story-card { position: relative; z-index: 1; padding: clamp(1.35rem, 3vw, 2.2rem); background: var(--white); color: var(--ink); border: 1px solid var(--line-dark); box-shadow: 10px 10px 0 var(--orange); }
.order-story-card h2 { font-size: clamp(1.75rem, 3vw, 2.7rem); letter-spacing: -.04em; }
.order-story-card dl { margin: 1.3rem 0 0; }
.order-story-card dl > div { padding: .7rem 0; display: grid; grid-template-columns: 78px 1fr; gap: .8rem; border-top: 1px solid var(--line); }
.order-story-card dt { color: #ad3006; font: 850 .72rem/1.5 ui-monospace, monospace; letter-spacing: .04em; text-transform: uppercase; }
.order-story-card dd { margin: 0; font-size: .9rem; font-weight: 650; line-height: 1.42; }
.document-frame { position: relative; z-index: 1; padding: 12px; background: var(--white); box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.document-frame img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.visual-note { position: relative; z-index: 2; align-self: flex-end; width: min(330px, 86%); margin: -1.7rem -1rem 0 0; padding: 1.05rem 1.2rem; display: flex; gap: .8rem; background: var(--mint); color: var(--ink); box-shadow: 6px 6px 0 var(--orange); }
.visual-note p { margin: 0; line-height: 1.4; font-size: .93rem; }
.check { font-weight: 900; font-size: 1.35rem; }

.problem-band {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 6vw, 6rem);
  background: var(--orange);
  color: var(--ink);
}

.service-band,
.review-deliverables,
.review-process,
.comparison-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.service-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); border-bottom: 1px solid var(--line-dark); }
.service-band h2 { max-width: 650px; }
.service-band > div:last-child { align-self: end; color: var(--ink-2); font-size: 1.08rem; }
.service-band .button { margin-top: 1rem; }
.service-note { font-size: .82rem; font-weight: 700; }
.product-service-band { border-top: 1px solid var(--line-dark); }
.problem-band h2 { max-width: 680px; }
.problem-band > p { margin: 3.2rem 0 0; align-self: end; font-size: 1.1rem; font-weight: 650; }
.problem-band .section-number,
.guide-callout .section-number,
.contact-card .section-number { color: var(--ink); }

.chain-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.section-heading { max-width: 800px; margin-bottom: 3.5rem; }
.evidence-chain { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.evidence-chain li { position: relative; min-height: 150px; padding: 1rem .85rem; border-right: 1px solid var(--line-dark); font-weight: 800; line-height: 1.3; }
.evidence-chain li:last-child { border-right: 0; }
.evidence-chain li::after { content: "→"; position: absolute; right: -.53rem; top: 62px; z-index: 2; width: 1.05rem; height: 1.05rem; display: grid; place-items: center; background: var(--paper); font-size: .9rem; }
.evidence-chain li:last-child::after { display: none; }
.evidence-chain span { display: block; margin-bottom: 2.5rem; color: #ad3006; font: 800 .72rem ui-monospace, monospace; }
.evidence-chain small { display: block; margin-top: .7rem; color: var(--ink-2); font-size: .72rem; font-weight: 650; line-height: 1.35; }

.order-illustration-figure { margin: 0 0 2.4rem; }
.order-illustration-figure figcaption { margin-top: .65rem; color: var(--ink-2); font-size: .8rem; font-weight: 750; }
.order-panel-grid { width: 100%; margin: 0; padding: clamp(.7rem, 1.2vw, .95rem); list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.65rem, 1.2vw, .9rem); color: var(--ink); background: var(--blue); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.order-panel { min-width: 0; min-height: 248px; padding: clamp(.65rem, 1.4vw, 1.15rem); display: grid; grid-template-rows: auto 1fr auto; background: var(--white); border: 1px solid var(--ink); box-shadow: 4px 4px 0 var(--orange); }
.order-panel > span { color: var(--orange-dark); font: 850 .72rem ui-monospace, monospace; }
.order-panel > strong { margin-top: .65rem; font-size: clamp(.8125rem, 1.15vw, .96rem); line-height: 1.25; }
.proof-sheet { width: 52%; aspect-ratio: 4 / 5; margin: auto; padding: .45rem; position: relative; display: grid; align-content: start; gap: .35rem; border: 1px solid var(--ink); background: var(--paper); }
.proof-sheet b { font-size: 1.05rem; }
.proof-sheet i { height: 3px; display: block; background: var(--line-dark); }
.proof-sheet em { position: absolute; right: -.8rem; bottom: .55rem; padding: .15rem .3rem; color: var(--ink); background: var(--mint); border: 1px solid var(--ink); font: 800 .48rem ui-monospace, monospace; transform: rotate(-4deg); }
.release-arrow { margin: auto; padding: .7rem; display: flex; align-items: center; gap: .5rem; color: var(--ink); background: var(--mint); border: 1px solid var(--ink); font: 850 clamp(.65rem, 1vw, .85rem) ui-monospace, monospace; }
.release-arrow b { color: var(--orange-dark); font-size: 1.35rem; }
.polo { width: 48%; aspect-ratio: .9; margin: auto; position: relative; background: var(--ink); clip-path: polygon(20% 0, 38% 0, 43% 12%, 57% 12%, 62% 0, 80% 0, 100% 22%, 84% 36%, 76% 29%, 76% 100%, 24% 100%, 24% 29%, 16% 36%, 0 22%); }
.polo::after { content: ""; position: absolute; left: 56%; top: 29%; width: 18%; height: 8%; background: var(--white); border-bottom: 3px solid var(--mint); }
.parcel { width: 55%; aspect-ratio: 1.15; margin: auto; position: relative; background: var(--orange); border: 2px solid var(--ink); }
.parcel::before, .parcel::after { content: ""; position: absolute; background: var(--ink); }
.parcel::before { width: 2px; height: 100%; left: 50%; }
.parcel::after { width: 100%; height: 2px; top: 22%; }
.parcel b { position: absolute; z-index: 1; left: .22rem; top: calc(22% + .2rem); padding: .12rem .22rem; background: var(--white); font: 850 .58rem/1 ui-monospace, monospace; white-space: nowrap; }
.parcel i { position: absolute; right: .25rem; bottom: .18rem; font-size: .7rem; font-weight: 900; line-height: 1; }
.review-order-illustration { margin-top: 3rem; margin-bottom: 0; }

.fit-section,
.two-column-section,
.story-section,
.founder-section,
.contact-options {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line-dark);
}
.fit-copy > p:not(.section-number), .story-section .prose, .founder-section p, .two-column-section p { color: var(--ink-2); font-size: 1.08rem; }
.fit-copy .button { margin-top: 1rem; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-dark); background: var(--white); }
.fit-grid article { padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fit-grid article:nth-child(2n) { border-right: 0; }
.fit-grid article:nth-child(n+3) { border-bottom: 0; }
.fit-grid strong { display: block; color: var(--orange-dark); font: 800 .75rem ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.fit-grid p { margin: .7rem 0 0; line-height: 1.45; }
.trust-section .fit-grid { grid-template-columns: 1fr; }
.trust-section .fit-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
.trust-section .fit-grid article:last-child { border-bottom: 0; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #1d385c; color: white; }

.difference-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line-dark);
}
.difference-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-dark); background: var(--white); }
.difference-grid article { padding: 1.8rem; border-right: 1px solid var(--line); }
.difference-grid article:last-child { border-right: 0; }
.difference-grid h3 { margin: 0; font-size: 1.2rem; }
.difference-grid p { margin-bottom: 0; color: var(--ink-2); }
.options-section .difference-grid article { display: flex; flex-direction: column; }
.options-section .difference-grid p { flex: 1; margin-bottom: 1.2rem; }

.closing-cta,
.promise-section,
.principle-band {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 4rem;
  padding: clamp(3rem, 7vw, 6rem);
  background: var(--blue);
}

.resource-highlight {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 7vw, 7rem);
  border-top: 1px solid var(--line-dark);
}
.resource-highlight h2 { max-width: 560px; }
.resource-card { padding: clamp(2rem, 5vw, 3.5rem); background: var(--white); border: 1px solid var(--line-dark); box-shadow: 8px 8px 0 var(--orange); }
.resource-card h3 { margin: .6rem 0 1rem; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.035em; }
.resource-card > p:not(.resource-label) { color: var(--ink-2); }
.resource-label { margin: 0; color: var(--orange-dark); font: 800 .75rem ui-monospace, monospace; letter-spacing: .07em; text-transform: uppercase; }

.guide-page { padding-bottom: 4rem; }
.guide-hero { width: min(1020px, calc(100% - 40px)); margin: 0 auto; padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem); border-bottom: 2px solid var(--ink); }
.guide-hero h1 { max-width: 1000px; font-size: clamp(3rem, 7.2vw, 6.6rem); }
.guide-deck { max-width: 820px; margin: 2rem 0 0; color: var(--ink-2); font-size: clamp(1.12rem, 2vw, 1.35rem); line-height: 1.6; }
.guide-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 2rem; color: var(--ink-2); font: 700 .78rem ui-monospace, monospace; text-transform: uppercase; letter-spacing: .04em; }
.guide-layout { width: min(1020px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 240px minmax(0, 680px); gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.guide-summary { position: sticky; top: 1.5rem; margin-top: 4rem; padding: 1.5rem; background: var(--mint); border-top: 5px solid var(--ink); }
.guide-summary p:not(.section-number) { font-weight: 700; line-height: 1.5; }
.guide-content { padding-top: 4rem; }
.guide-content > p:first-child { margin-top: 0; font-size: 1.2rem; color: var(--ink); }
.guide-content h2 { margin: 4rem 0 1.25rem; font-size: clamp(2.2rem, 5vw, 4rem); }
.guide-content h3 { margin: 2.4rem 0 .65rem; font-size: 1.35rem; letter-spacing: -.02em; }
.guide-content p, .guide-content li { color: var(--ink-2); font-size: 1.04rem; }
.guide-content a { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.guide-content code { padding: .14rem .35rem; background: var(--white); border: 1px solid var(--line); font-size: .9em; }
.guide-callout { margin: 3rem 0; padding: 2rem; background: var(--orange); color: var(--ink); }
.guide-callout p:last-child { margin-bottom: 0; color: var(--ink); font-size: 1.2rem; font-weight: 800; }
.guide-steps { padding: 0; margin: 2rem 0; list-style: none; counter-reset: guide-step; border-top: 1px solid var(--ink); }
.guide-steps li { position: relative; padding: 1.25rem 0 1.25rem 3.4rem; border-bottom: 1px solid var(--line-dark); }
.guide-steps li::before { counter-increment: guide-step; content: counter(guide-step, decimal-leading-zero); position: absolute; left: 0; color: var(--orange-dark); font: 850 .8rem ui-monospace, monospace; }
.example-timeline { margin: 2rem 0; border-left: 4px solid var(--orange); }
.example-timeline > div { display: grid; grid-template-columns: 74px 1fr; gap: 1rem; padding: 1rem 0 1rem 1.4rem; border-bottom: 1px solid var(--line); }
.example-timeline time { color: #ad3006; font: 850 .8rem ui-monospace, monospace; }
.example-timeline p { margin: 0; }
.guide-list { margin: 1.5rem 0; padding-left: 1.25rem; }
.guide-list li { padding: .55rem 0; }
.guide-faq details { padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); }
.guide-faq summary { cursor: pointer; font-weight: 850; font-size: 1.08rem; }
.guide-faq p { margin-bottom: 0; }
.guide-cta { margin-top: 4rem; padding: clamp(2rem, 5vw, 3.5rem); background: var(--blue); }
.guide-cta h2 { margin-top: 0; }
.guide-disclaimer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .88rem !important; }
.closing-cta h2, .promise-section h2, .principle-band h2 { max-width: 900px; }
.closing-cta > p:not(.section-number), .promise-section > p:not(.section-number) { max-width: 760px; font-size: 1.08rem; }

.page-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  border-bottom: 1px solid var(--line-dark);
}
.product-hero { display: grid; grid-template-columns: 1.15fr .65fr; gap: clamp(3rem, 7vw, 8rem); align-items: start; }
.product-hero h1 { font-size: clamp(3rem, 5vw, 4.6rem); }
.simple-hero h1 { max-width: 1050px; }
.availability-card { padding: 2rem; background: var(--orange); box-shadow: 8px 8px 0 var(--ink); }
.availability-card h2 { margin: .8rem 0 1.2rem; font-size: clamp(2rem, 3vw, 3rem); }
.availability-card p { font-weight: 600; }
.availability-card .button { margin-top: .7rem; }
.status-label { display: inline-block; padding: .35rem .55rem; background: var(--ink); color: white; font: 800 .7rem ui-monospace, monospace; letter-spacing: .05em; text-transform: uppercase; }
.checkout-card { align-self: start; }
.checkout-card h2 { font-size: clamp(1.95rem, 3vw, 2.8rem); }
.checkout-status { margin: 1.1rem 0; padding: .85rem 1rem; border: 1px solid rgba(16,35,63,.35); background: rgba(255,255,255,.55); font-weight: 700; line-height: 1.45; }
.checkout-status a { text-decoration: underline; }
.checkout-error { border-color: #8d2412; background: #fff0eb; color: #6d1809; }
.checkout-test-state { background: #fff4bf; }
.billing-form { margin: 1rem 0; }
.billing-form fieldset { margin: 0; padding: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; border: 1px solid rgba(16,35,63,.45); }
.billing-form legend { padding: 0 .35rem; font-weight: 900; }
.billing-form label { display: grid; gap: .28rem; font-size: .78rem; font-weight: 800; }
.billing-form label span { font-weight: 600; opacity: .72; }
.billing-form input, .billing-form select { width: 100%; min-height: 44px; padding: .62rem .7rem; border: 1px solid rgba(16,35,63,.55); background: white; color: var(--ink); font: inherit; font-size: 16px; }
.billing-form input:focus, .billing-form select:focus { outline: 3px solid rgba(16,35,63,.2); outline-offset: 1px; }
.billing-form .billing-wide { grid-column: 1 / -1; }
.billing-note { margin: .55rem 0 0; font-size: .76rem !important; line-height: 1.45; }
.razorpay-button-container { margin-top: 1rem; }
.checkout-primary-button { width: 100%; border: 0; cursor: pointer; font: inherit; text-align: center; }
.checkout-primary-button:disabled { cursor: wait; opacity: .65; }
.payment-divider { display: flex; align-items: center; gap: .7rem; margin: 1rem 0 .2rem; color: var(--ink-2); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.payment-divider::before, .payment-divider::after { content: ""; flex: 1; height: 1px; background: rgba(16,35,63,.35); }
.paypal-button-container { min-height: 48px; margin-top: 1rem; }
.checkout-success { padding: 1.1rem; background: var(--mint); border: 2px solid var(--ink); }
.checkout-success > strong { display: block; font-size: 1.15rem; }
.checkout-success p { font-size: .9rem; }
.checkout-success .button { width: 100%; }
.checkout-fineprint { margin: 1rem 0 0; font-size: .78rem !important; line-height: 1.5; }
.checkout-fineprint a { text-decoration: underline; }
.checkout-reveal { width: 100%; margin-top: .8rem; border: 0; cursor: pointer; }
.checkout-reveal:disabled { cursor: not-allowed; opacity: .55; }
.seller-summary { font-size: .82rem !important; line-height: 1.45; }
.review-hero h1 { font-size: clamp(3rem, 5.3vw, 5rem); }
.review-checkout { background: var(--mint); }
.pilot-checkout { background: var(--blue); }
.pilot-acceptance { margin: 1.2rem 0; padding: 1rem; display: grid; gap: .8rem; border: 1px solid rgba(16,35,63,.45); background: rgba(255,255,255,.45); }
.pilot-acceptance legend { padding: 0 .35rem; font-weight: 900; }
.pilot-acceptance label { display: grid; grid-template-columns: 20px 1fr; gap: .55rem; align-items: start; font-size: .82rem; font-weight: 700; line-height: 1.42; }
.pilot-acceptance input { width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--ink); }
.pilot-acceptance a { text-decoration: underline; }
.pilot-section { scroll-margin-top: 1rem; }
.review-deliverables { border-top: 1px solid var(--line-dark); }
.value-stack { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-dark); background: var(--white); }
.value-stack article { min-height: 230px; padding: 1.7rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-stack article:nth-child(3n) { border-right: 0; }
.value-stack article:nth-child(n+4) { border-bottom: 0; }
.value-stack span { color: var(--orange-dark); font: 850 .78rem ui-monospace, monospace; }
.value-stack h3 { margin: 2.4rem 0 .7rem; font-size: 1.25rem; }
.value-stack p { margin: 0; color: var(--ink-2); }
.review-process { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 7vw, 7rem); border-top: 1px solid var(--line-dark); }
.review-delivery-note { grid-column: 2; margin: -1.2rem 0 0; }
.review-author > div:last-child { color: var(--ink-2); font-size: 1.08rem; }
.sample-review-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--line-dark); }
.sample-review-section .section-heading .button { margin-top: 1rem; }
.sample-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.sample-review-grid a { display: block; padding: .7rem; background: var(--white); border: 1px solid var(--line-dark); box-shadow: 6px 6px 0 var(--orange); }
.sample-review-grid img { width: 100%; height: auto; display: block; }
.process-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.process-steps li { padding: 1.3rem 0; display: grid; grid-template-columns: 190px 1fr; gap: 1rem; border-bottom: 1px solid var(--line-dark); }
.process-steps span { color: var(--ink-2); }
.comparison-section { border-top: 1px solid var(--line-dark); }
.comparison-table { overflow-x: auto; border: 1px solid var(--line-dark); background: var(--white); }
.comparison-table > div { min-width: 780px; display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); }
.comparison-table > div > * { padding: 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.comparison-table > div > *:last-child { border-right: 0; }
.comparison-table > div:last-child > * { border-bottom: 0; }
.comparison-head { color: white; background: var(--ink); font-weight: 850; }

@media (max-width: 520px) {
  .availability-card { padding: 1.25rem; box-shadow: 4px 4px 0 var(--ink); }
  .checkout-card h2 { font-size: 2rem; }
  .billing-form fieldset { grid-template-columns: 1fr; }
  .billing-form fieldset { padding: .8rem; }
  .billing-form .billing-wide { grid-column: auto; }
  .checkout-primary-button { min-height: 54px; }
}

.preview-gallery, .components-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.featured-proof {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
  border-bottom: 1px solid var(--line-dark);
}
.featured-proof h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
.featured-proof p:not(.section-number) { color: var(--ink-2); font-size: 1.06rem; }
.featured-proof a { display: block; padding: .8rem; background: var(--white); border: 1px solid var(--line-dark); box-shadow: 8px 8px 0 var(--orange); }
.featured-proof img { width: 100%; height: auto; }
.preview-gallery { border-bottom: 1px solid var(--line-dark); }
.section-heading > p:not(.section-number) { max-width: 680px; color: var(--ink-2); font-size: 1.08rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gallery-grid figure { margin: 0; padding: .65rem; background: var(--white); border: 1px solid var(--line); box-shadow: 4px 4px 0 var(--line); }
.gallery-grid figure a { display: block; }
.gallery-grid img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: top; background: #e9edf3; }
.gallery-grid figcaption { padding: .75rem .2rem .15rem; font-weight: 800; }

.component-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.component-list li { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.5rem 1rem; border-bottom: 1px solid var(--line-dark); }
.component-list li:nth-child(odd) { border-right: 1px solid var(--line-dark); }
.component-list span { color: var(--orange-dark); font: 800 .78rem ui-monospace, monospace; }
.component-list h3 { margin: 0; font-size: 1.1rem; }
.component-list p { margin: .35rem 0 0; color: var(--ink-2); line-height: 1.45; }
.component-list .bonus { background: var(--mint); }

.component-groups { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.component-groups li { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.6rem 1rem; border-bottom: 1px solid var(--line-dark); }
.component-groups > li > span { color: #ad3006; font: 850 .8rem ui-monospace, monospace; }
.component-groups h3 { margin: 0; font-size: 1.25rem; }
.component-groups p { margin: .45rem 0 0; color: var(--ink-2); }
.component-groups p strong { color: var(--ink); }
.component-groups .bonus { background: var(--mint); }

.faq-section { width: min(980px, calc(100% - 40px)); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--line-dark); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { padding: 1.25rem 0; border-bottom: 1px solid var(--line-dark); }
.faq-list summary { cursor: pointer; font-size: 1.08rem; font-weight: 850; }
.faq-list p { max-width: 760px; margin-bottom: 0; color: var(--ink-2); }
.promise-fineprint { font-size: .88rem !important; }

.boundary-card { padding: 2.2rem; background: var(--ink); color: white; }
.boundary-card h2, .boundary-card p { color: white; }
.check-list, .plain-list { padding: 0; margin: 2rem 0 0; list-style: none; }
.check-list li, .plain-list li { position: relative; padding: .8rem 0 .8rem 1.8rem; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange-dark); font-weight: 900; }
.plain-list li::before { content: "—"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.boundary-card .plain-list li { border-color: rgba(255,255,255,.2); }

.story-section h2 { max-width: 590px; }
.prose p:first-child { margin-top: 0; }
.founder-section { align-items: center; }
.founder-monogram { aspect-ratio: 1; display: grid; place-items: center; background: var(--orange); color: var(--ink); font-size: clamp(4rem, 10vw, 8rem); font-weight: 900; letter-spacing: -.08em; box-shadow: 12px 12px 0 var(--ink); }
.founder-facts { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--orange); border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.founder-facts .plain-list { margin-top: 1rem; }
.founder-facts .plain-list li { border-color: rgba(16,35,63,.3); }
.founder-facts a { text-decoration: underline; text-underline-offset: 3px; }
.principle-band { background: var(--ink); color: white; }
.principle-band p { color: var(--blue); font: 800 .78rem ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }

.contact-card {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--orange);
}
.contact-email { font-size: clamp(1.5rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -.04em; overflow-wrap: anywhere; }
.contact-notes p { padding-bottom: 1rem; border-bottom: 1px solid rgba(16,35,63,.3); }
.contact-options article { padding: 2rem; border: 1px solid var(--line-dark); background: var(--white); }
.contact-options h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); }

.legal-page { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.legal-page > header { padding-bottom: 3rem; border-bottom: 2px solid var(--ink); }
.legal-page > header h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
.legal-page section { padding: 2.2rem 0; border-bottom: 1px solid var(--line-dark); }
.legal-page section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.03em; }
.legal-page section p { max-width: 760px; font-size: 1.03rem; color: var(--ink-2); }
.legal-page a { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-callout { padding: 2rem !important; margin: 2.5rem 0 0; background: var(--blue); border-bottom: 0 !important; }
.footer-links { display: flex; justify-content: center; gap: 1.2rem; font-weight: 700; }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto 2rem; padding: 2rem 0; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line-dark); color: var(--ink-2); }
footer p { margin: 0; text-align: center; }
footer p:last-child { text-align: right; }
.footer-brand { color: var(--ink); }

.score-page { padding-bottom: 2rem; }
.score-intro {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(2rem, 7vw, 7rem);
  border-bottom: 1px solid var(--line-dark);
}
.score-intro h1 { font-size: clamp(3rem, 6.2vw, 5.8rem); }
.score-intro-copy { align-self: end; color: var(--ink-2); font-size: 1.08rem; }
.score-key { margin-top: 1.5rem; display: grid; gap: .45rem; font-size: .9rem; }
.score-key span { padding: .65rem .8rem; background: var(--white); border-left: 4px solid var(--orange); }
.score-key strong { display: inline-block; min-width: 4.2rem; color: var(--ink); }

.score-form, .score-result, .score-boundary { width: min(980px, calc(100% - 40px)); margin: 0 auto; }
.score-panel { padding: clamp(3rem, 7vw, 5.5rem) 0; border-bottom: 1px solid var(--line-dark); }
.score-panel-heading { display: grid; grid-template-columns: 1fr; max-width: 760px; margin-bottom: 2.2rem; }
.score-panel-heading h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
.score-panel-heading > p:not(.section-number) { margin-bottom: 0; color: var(--ink-2); }
.qualification-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.qualification-grid fieldset, .select-field { margin: 0; min-width: 0; padding: 1.2rem; display: grid; gap: .7rem; background: var(--white); border: 1px solid var(--line-dark); font-weight: 750; }
.qualification-grid legend { padding: 0 .3rem; font-weight: 850; line-height: 1.35; }
.qualification-grid fieldset label { font-weight: 600; }
.select-field select { width: 100%; max-width: 100%; min-height: 48px; padding: .65rem; border: 1px solid var(--line-dark); background: var(--paper); color: var(--ink); font: inherit; }
.score-questions { display: grid; gap: 1rem; }
.score-questions fieldset { margin: 0; padding: 1.35rem; background: var(--white); border: 1px solid var(--line-dark); }
.score-questions legend { width: 100%; padding: 0 .35rem; font-weight: 800; line-height: 1.45; }
.score-questions legend span { display: inline-block; min-width: 2.5rem; color: var(--orange-dark); font: 850 .78rem ui-monospace, monospace; }
.answer-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin-top: 1rem; }
.answer-row label { min-height: 46px; padding: .65rem .8rem; display: flex; align-items: center; justify-content: center; gap: .45rem; border: 1px solid var(--line); background: var(--paper); font-weight: 800; cursor: pointer; }
.answer-row label:has(input:checked) { color: white; background: var(--ink); border-color: var(--ink); }
.answer-row input { accent-color: var(--orange); }
.needs-answer { outline: 3px solid var(--orange); outline-offset: 2px; }
.score-submit { margin-top: 2rem; border: 0; cursor: pointer; font: inherit; }
.score-error { color: #7a1b0a; font-weight: 800; }

.score-result { margin-top: 4rem; margin-bottom: 4rem; display: grid; grid-template-columns: 260px 1fr; background: var(--blue); border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.score-result[hidden] { display: none; }
.result-score { padding: 2.4rem 1.5rem; display: flex; flex-wrap: wrap; align-content: flex-start; align-items: baseline; color: white; background: var(--ink); }
.result-score span { font-size: 5.6rem; font-weight: 900; letter-spacing: -.08em; line-height: 1; }
.result-score small { margin-left: .45rem; font-size: 1.2rem; }
.result-score p { flex-basis: 100%; margin: 1rem 0 0; color: var(--blue); font-weight: 800; }
.result-content { padding: clamp(2rem, 5vw, 4rem); }
.result-content h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
.result-content > p:not(.section-number) { font-size: 1.08rem; }
.priority-box { margin-top: 2rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.priority-box h3, .result-cta h3 { margin: 0 0 1rem; font-size: 1.2rem; }
.priority-box ol { margin: 0; padding-left: 1.3rem; }
.priority-box li { padding: .75rem 0; border-bottom: 1px solid rgba(16,35,63,.25); }
.priority-box li p { margin: .25rem 0 0; color: var(--ink-2); }
.result-cta { margin-top: 2rem; padding: 1.5rem; background: var(--orange); }
.result-cta p { margin-top: 0; }
.result-cta-muted { background: rgba(255,255,255,.6); border: 1px solid var(--ink); }
.result-offer-links { display: grid; gap: 1.1rem; }
.result-offer-links .button { justify-self: start; }
#kit-option { display: grid; gap: .7rem; }
#kit-match-block p { margin: 0; font-weight: 750; }
.kit-matches { margin: .8rem 0 1.2rem; padding-left: 1.25rem; }
.kit-matches li { margin: .35rem 0; }
.result-feedback-link { margin-top: 1rem; font-weight: 750; }
.text-button { margin-top: 1.5rem; padding: 0; border: 0; border-bottom: 2px solid var(--orange-dark); background: transparent; color: var(--ink); font-family: inherit; font-size: 1rem; font-weight: 800; cursor: pointer; }
.score-boundary { margin-bottom: 4rem; padding: 1.3rem 1.5rem; display: grid; grid-template-columns: 180px 1fr; gap: 1rem; border: 1px solid var(--line-dark); background: var(--white); }
.score-boundary p { margin: 0; color: var(--ink-2); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav {
    grid-column: 1 / -1;
    width: 100%;
    padding: .8rem 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.25rem;
    border-top: 1px solid var(--line);
  }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 650px; }
  .hero-visual { min-height: 600px; }
  .problem-band { grid-template-columns: 1fr; }
  .problem-band > p { margin-top: 0; }
  .evidence-chain { grid-template-columns: repeat(2, 1fr); }
  .evidence-chain li { border-bottom: 1px solid var(--line); }
  .evidence-chain li::after { display: none; }
  .fit-section, .two-column-section, .story-section, .founder-section, .contact-options, .contact-card, .product-hero, .score-intro, .score-result, .resource-highlight, .guide-layout, .featured-proof, .service-band, .review-process { grid-template-columns: 1fr; }
  .guide-summary { position: static; margin: 3rem 0 0; }
  .guide-content { padding-top: 3rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .component-list { grid-template-columns: 1fr; }
  .component-list li:nth-child(odd) { border-right: 0; }
  footer { grid-template-columns: 1fr; gap: 1rem; text-align: left; }
  footer p, footer p:last-child { text-align: left; }
  .footer-links { justify-content: flex-start; }
  .difference-grid { grid-template-columns: 1fr; }
  .difference-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .difference-grid article:last-child { border-bottom: 0; }
  .value-stack { grid-template-columns: 1fr 1fr; }
  .value-stack article:nth-child(3n) { border-right: 1px solid var(--line); }
  .value-stack article:nth-child(2n) { border-right: 0; }
  .value-stack article:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .value-stack article:nth-child(n+5) { border-bottom: 0; }
}

@media (min-width: 901px) {
  .hero { min-height: 620px; grid-template-columns: 1.2fr .8fr; }
  .hero-copy { padding: 2rem 3rem; }
  .hero h1 { font-size: clamp(3rem, 4.3vw, 3.75rem); }
  .hero .lede { margin-top: 1.2rem; font-size: 1.05rem; line-height: 1.45; }
  .hero .hero-actions { margin-top: 1.3rem; }
  .hero .offer-strip { margin-top: 1.4rem; padding-top: 1rem; }
  .page-hero.product-hero { padding-top: clamp(3.5rem, 6vw, 5rem); padding-bottom: clamp(3.5rem, 6vw, 5rem); }
}

@media (min-width: 901px) and (max-height: 800px) {
  .hero { min-height: 600px; }
  .hero-copy { padding: 1.35rem 2.5rem; }
  .hero h1 { font-size: clamp(2.8rem, 4vw, 3.3rem); }
  .hero .lede { margin-top: .9rem; font-size: .98rem; line-height: 1.4; }
  .hero .hero-actions { margin-top: 1rem; }
  .hero .offer-strip { margin-top: .85rem; padding-top: .75rem; font-size: .82rem; }
  .hero-visual { padding-top: 2rem; padding-bottom: 2rem; }
  .order-story-card { padding: 1.2rem 1.45rem; }
  .order-story-card h2 { font-size: 2rem; }
  .order-story-card dl { margin-top: .8rem; }
  .order-story-card dl > div { padding: .5rem 0; }
  .page-hero.product-hero { padding-top: 3rem; padding-bottom: 3rem; }
  .pilot-hero h1 { font-size: 3.7rem; }
  .pilot-hero .lede { margin-top: 1.25rem; line-height: 1.45; }
  .pilot-hero .offer-strip { margin-top: 1.4rem; padding-top: 1rem; }
  .pilot-hero .hero-actions { margin-top: 1.35rem; }
}

@media (max-width: 560px) {
  .site-header, .hero, .problem-band, .chain-section, footer { width: min(100% - 24px, 1180px); }
  .site-header { min-height: 0; padding-top: .65rem; grid-template-columns: 1fr; gap: 0; align-items: start; }
  .header-link { display: none; }
  .site-header nav { grid-column: 1; width: 100%; padding: .55rem 0 .7rem; flex-wrap: nowrap; gap: 1rem; overflow-x: auto; white-space: nowrap; border-top: 0; font-size: .82rem; scrollbar-width: thin; }
  .site-header nav a { flex: 0 0 auto; }
  .hero-copy { padding: 2rem 1.2rem 1.6rem; min-height: auto; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.2rem); }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 2.6rem); }
  .product-hero h1, .review-hero h1 { font-size: 2.3rem; }
  .hero .lede { margin-top: 1.15rem; font-size: 1rem; line-height: 1.48; }
  .hero .hero-actions { margin-top: 1.2rem; gap: .8rem; }
  .hero .offer-strip { margin-top: 1.2rem; padding-top: .85rem; gap: .35rem .8rem; font-size: .8rem; line-height: 1.35; }
  .hero-visual { padding: 2.8rem 1.2rem; min-height: auto; }
  .order-story-card dl > div { grid-template-columns: 70px 1fr; gap: .65rem; }
  .problem-band { padding: 3rem 1.25rem; }
  .offer-strip span::after { display: none; }
  .evidence-chain { grid-template-columns: 1fr; }
  .evidence-chain li { min-height: 105px; }
  .evidence-chain span { margin-bottom: 1.2rem; }
  .fit-grid, .gallery-grid { grid-template-columns: 1fr; }
  .qualification-grid { grid-template-columns: 1fr; }
  .answer-row { grid-template-columns: 1fr; }
  .answer-row label { justify-content: flex-start; }
  .score-boundary { grid-template-columns: 1fr; }
  .fit-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .fit-grid article:last-child { border-bottom: 0; }
  .page-hero, .fit-section, .two-column-section, .story-section, .founder-section, .contact-options, .resource-highlight, .guide-hero, .guide-layout, .difference-section, .featured-proof, .faq-section, .service-band, .review-deliverables, .review-process, .comparison-section, .sample-review-section { width: min(100% - 24px, 1180px); }
  .guide-hero h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .example-timeline > div { grid-template-columns: 1fr; gap: .35rem; }
  .closing-cta, .promise-section, .principle-band, .contact-card { width: min(100% - 24px, 1180px); padding: 2.5rem 1.25rem; }
  .value-stack { grid-template-columns: 1fr; }
  .value-stack article { min-height: 0; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .value-stack article:last-child { border-bottom: 0 !important; }
  .process-steps li { grid-template-columns: 1fr; gap: .25rem; }
  .review-delivery-note { grid-column: auto; margin: 0; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .order-panel-grid { padding: .75rem; grid-template-columns: 1fr; gap: .65rem; }
  .order-panel { min-height: 0; padding: .65rem; grid-template-columns: 28px 64px minmax(0, 1fr); grid-template-rows: auto; align-items: center; gap: .65rem; }
  .order-panel > strong { margin: 0; font-size: .875rem; }
  .proof-sheet { width: 50px; }
  .polo { width: 54px; }
  .parcel { width: 58px; }
  .release-arrow { width: 64px; margin: 0; justify-content: center; padding: .45rem .25rem; font-size: .58rem; }
  .sample-review-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button-primary:hover { transform: none; }
}

.seller-line { display: block; margin-top: .25rem; font-size: .76rem; }

/* Private validation analytics */
.analytics-shell { min-height: 100vh; background-color: #eef2f6; }
.analytics-header { width: min(1440px, calc(100% - 40px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-dark); }
.analytics-private-label { padding: .35rem .55rem; color: white; background: var(--ink); font: 800 .7rem ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.analytics-page { width: min(1440px, calc(100% - 40px)); margin: 0 auto; padding: 2.2rem 0 4rem; }
.analytics-lock { min-height: calc(100vh - 150px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.analytics-lock-copy h1 { max-width: 760px; font-size: clamp(3.2rem, 6vw, 6rem); }
.analytics-lock-copy > p:last-child { max-width: 680px; color: var(--ink-2); font-size: 1.1rem; }
.analytics-access-card { padding: clamp(1.5rem, 4vw, 3rem); background: white; border: 1px solid var(--line-dark); box-shadow: 10px 10px 0 var(--orange); }
.analytics-access-card label { display: block; margin-bottom: .65rem; font-weight: 850; }
.analytics-token-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; }
.analytics-token-row input { min-width: 0; min-height: 52px; padding: .7rem .8rem; border: 1px solid var(--line-dark); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.analytics-token-row button { border: 0; cursor: pointer; }
.analytics-access-error { margin: 1rem 0 0; color: #7a1b0a; font-weight: 800; }
.analytics-dashboard { min-width: 0; display: grid; gap: 1.25rem; }
.dashboard-topbar { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: 1.4rem 0 1.8rem; border-bottom: 2px solid var(--ink); }
.dashboard-topbar .eyebrow { margin-bottom: .65rem; }
.dashboard-topbar h1 { font-size: clamp(2.6rem, 5vw, 5rem); }
.dashboard-updated { margin: .55rem 0 0; color: var(--ink-2); font: 700 .78rem ui-monospace, monospace; }
.dashboard-actions { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.dashboard-actions .button { border: 0; cursor: pointer; }
.dashboard-actions .text-button { margin: 0; }
.dashboard-filters { padding: 1rem; display: grid; grid-template-columns: 1fr 1fr auto minmax(190px, auto); gap: .9rem; align-items: end; background: white; border: 1px solid var(--line); }
.dashboard-filters label { display: grid; gap: .35rem; color: var(--ink-2); font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.dashboard-filters select, .dashboard-filters input[type="search"] { width: 100%; min-height: 43px; padding: .55rem .65rem; border: 1px solid var(--line-dark); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.dashboard-filters .dashboard-check { min-height: 43px; display: flex; flex-direction: row; align-items: center; text-transform: none; letter-spacing: 0; }
.dashboard-check input { accent-color: var(--orange-dark); }
.dashboard-filters > p { margin: 0; align-self: center; color: var(--ink-2); font-size: .82rem; text-align: right; }
.kpi-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.kpi-card { min-width: 0; padding: 1.25rem; background: white; }
.kpi-card-accent { background: var(--orange); }
.kpi-card p { margin: 0; min-height: 2.6em; color: var(--ink-2); font-size: .75rem; font-weight: 850; line-height: 1.3; text-transform: uppercase; letter-spacing: .05em; }
.kpi-card-accent p { color: var(--ink); }
.kpi-card strong { display: block; margin: .3rem 0; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1; letter-spacing: -.06em; }
.kpi-card span { display: block; color: var(--ink-2); font-size: .75rem; line-height: 1.35; }
.dashboard-grid { display: grid; grid-template-columns: 1.55fr .75fr; gap: 1.25rem; }
.dashboard-panel { min-width: 0; padding: clamp(1.35rem, 3vw, 2.4rem); background: white; border: 1px solid var(--line-dark); }
.panel-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 1.8rem; }
.panel-heading .section-number { margin-bottom: .55rem; }
.panel-heading h2 { font-size: clamp(1.9rem, 3vw, 3.2rem); letter-spacing: -.045em; }
.panel-heading > p { max-width: 390px; margin: 0; color: var(--ink-2); font-size: .85rem; text-align: right; }
.funnel-chart { display: grid; gap: 1.05rem; }
.funnel-label { margin-bottom: .35rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; font-weight: 800; }
.funnel-label strong { font: 900 1rem ui-monospace, monospace; }
.funnel-track { height: 18px; overflow: hidden; background: #e8edf2; border: 1px solid var(--line); }
.funnel-fill { height: 100%; display: block; background: var(--ink); transition: width .35s ease; }
.funnel-fill-1 { background: #426b94; }
.funnel-fill-2 { background: #15805c; }
.funnel-fill-3 { background: var(--orange); }
.funnel-fill-4 { background: var(--orange-dark); }
.signal-panel { display: flex; flex-direction: column; }
.signal-card { margin-top: auto; padding: 1.35rem; border-left: 7px solid var(--line-dark); background: var(--paper); }
.signal-card span { font: 850 .72rem ui-monospace, monospace; text-transform: uppercase; letter-spacing: .05em; }
.signal-card p { margin: .55rem 0 0; font-size: .95rem; line-height: 1.5; }
.signal-progress { border-color: #15805c; background: var(--mint); }
.signal-warm { border-color: var(--orange); background: #fff0e8; }
.signal-strong { border-color: var(--ink); background: var(--blue); }
.status-list { margin: 1rem 0 0; }
.status-list > div { padding: .6rem 0; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.status-list dt { text-transform: capitalize; }
.status-list dd { margin: 0; font-weight: 900; }
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; }
.dashboard-panel table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.dashboard-panel th, .dashboard-panel td { padding: .85rem .75rem; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.dashboard-panel thead th { color: var(--ink-2); background: var(--paper); font: 800 .7rem ui-monospace, monospace; text-transform: uppercase; letter-spacing: .04em; }
.dashboard-panel th:first-child, .dashboard-panel td:first-child { position: sticky; left: 0; z-index: 1; text-align: left; background: white; }
.dashboard-panel thead th:first-child { background: var(--paper); z-index: 2; }
.dashboard-panel tbody th { font-weight: 850; }
.dashboard-panel code { padding: .2rem .4rem; background: var(--paper); border: 1px solid var(--line); font-size: .78rem; }
.table-signal { color: var(--ink-2); }
.table-signal-yes { color: #0b6547; font-weight: 850; }
.pilot-rag { display: inline-flex; min-width: 4.8rem; justify-content: center; padding: .3rem .55rem; border: 1px solid currentColor; font: 850 .72rem ui-monospace, monospace; text-transform: uppercase; letter-spacing: .04em; }
.pilot-rag-green { color: #0b6547; background: #e8f6ef; }
.pilot-rag-amber { color: #814400; background: #fff0da; }
.pilot-rag-red { color: #8a3125; background: #fae4df; }
.analytics-empty { margin: 1.5rem 0 0; padding: 1rem; background: var(--paper); color: var(--ink-2); text-align: center; }
.measurement-note { padding: 1rem 1.2rem; display: grid; grid-template-columns: 160px 1fr; gap: 1rem; color: var(--ink-2); background: var(--blue); border-left: 6px solid var(--ink); font-size: .82rem; }
.measurement-note strong { color: var(--ink); }
.measurement-note p { margin: 0; }
.upload-health-grid { margin-bottom: 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.upload-health-grid article { min-width: 0; padding: 1rem; background: var(--paper); }
.upload-health-grid span { display: block; color: var(--ink-2); font: 800 .7rem ui-monospace, monospace; text-transform: uppercase; letter-spacing: .04em; }
.upload-health-grid strong { display: block; margin-top: .3rem; font-size: 2.4rem; line-height: 1; }

@media (max-width: 1000px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-card:last-child { grid-column: 1 / -1; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-filters { grid-template-columns: 1fr 1fr; }
  .dashboard-filters > p { text-align: left; }
}

@media (max-width: 700px) {
  .analytics-header, .analytics-page { width: min(100% - 24px, 1440px); }
  .analytics-lock { grid-template-columns: 1fr; align-content: center; }
  .analytics-lock-copy h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .analytics-token-row { grid-template-columns: 1fr; }
  .dashboard-topbar, .panel-heading { align-items: flex-start; flex-direction: column; }
  .dashboard-actions { justify-content: flex-start; }
  .dashboard-filters { grid-template-columns: 1fr; }
  .dashboard-filters > p, .panel-heading > p { text-align: left; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .kpi-card { padding: 1rem; }
  .kpi-card:last-child { grid-column: auto; }
  .kpi-card strong { font-size: 2.8rem; }
  .measurement-note { grid-template-columns: 1fr; }
  .upload-health-grid { grid-template-columns: 1fr 1fr; }
}
.app-access-notice { padding: 16px 0; border-bottom: 1px solid var(--ink); font-size: .9rem; line-height: 1.5; }
.app-access-notice a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
