:root {
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --canvas: #f5f5f7;
  --surface: #ffffff;
  --line: rgba(29, 29, 31, 0.12);
  --line-dark: rgba(255,255,255,.16);
  --blue: #0071e3;
  --blue-dark: #0066cc;
  --blue-light: #2997ff;
  --green: #16803c;
  --green-bg: #eaf7ee;
  --orange: #9a5600;
  --orange-bg: #fff4e5;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 48px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
}
.nav-inner { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 650; letter-spacing: -.02em; }
.brand-mark { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 5px; background: var(--ink); color: white; font-size: 10px; font-weight: 750; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: rgba(29,29,31,.82); font-size: 12px; letter-spacing: -.01em; }
.nav-links a:hover { color: var(--blue-dark); }
.nav-links .nav-cta { min-height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--blue); color: white; font-size: 12px; }

.hero { padding: 76px 0 88px; background: var(--surface); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr); gap: 72px; align-items: center; }
.hero-grid > * { min-width: 0; }
.kicker { margin: 0 0 16px; color: var(--blue-dark); font-size: 12px; line-height: 1.33; font-weight: 700; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(48px, 5.5vw, 76px); line-height: 1.02; letter-spacing: -.055em; font-weight: 650; }
h2 { margin-bottom: 18px; font-size: clamp(36px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; font-weight: 620; }
h3 { margin-bottom: 10px; font-size: 24px; line-height: 1.16; letter-spacing: -.035em; font-weight: 620; }
.hero-copy { max-width: 610px; margin-bottom: 28px; color: var(--muted); font-size: 20px; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 46px; display: inline-flex; justify-content: center; align-items: center; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: 16px; font-weight: 500; letter-spacing: -.02em; transition: .18s ease; }
.button.primary { background: var(--blue); color: white; }
.button.primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button.secondary { border-color: var(--blue); color: var(--blue-dark); background: transparent; }
.button.secondary:hover { background: rgba(0,113,227,.06); }
.button.on-dark { background: white; color: var(--ink); }
.button.on-dark:hover { background: #e8e8ed; }
.micro-proof { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 24px; color: var(--muted); font-size: 12px; }
.micro-proof span { display: inline-flex; align-items: center; gap: 6px; }
.micro-proof i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.product-frame { position: relative; width: 100%; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: rgba(0,0,0,.14) 3px 8px 36px; }
.artifact-label { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; border-bottom: 1px solid var(--line); background: #f5f5f7; color: var(--muted); font-size: 10px; letter-spacing: 0; }
.artifact-label strong { color: var(--blue-dark); font-size: 10px; letter-spacing: .07em; }
.brief-preview { padding: 28px; background: white; }
.brief-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.status { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-bg); }
.source-id { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: 0; }
.district { margin-bottom: 6px; font-size: 28px; line-height: 1.1; letter-spacing: -.04em; font-weight: 650; }
.requirement { margin-bottom: 24px; color: var(--muted); font-size: 15px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric { min-width: 0; padding: 15px 12px; border-right: 1px solid var(--line); }
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: 0; }
.metric span, .metric strong { display: block; }
.metric span { margin-bottom: 5px; color: var(--muted); font-size: 10px; }
.metric strong { overflow-wrap: anywhere; font-size: 13px; line-height: 1.25; }
.recommendation { margin: 22px 0 0; padding: 17px 18px; border-radius: 8px; background: #f5f5f7; }
.recommendation small { display: block; margin-bottom: 7px; color: var(--blue-dark); font-size: 10px; font-weight: 700; letter-spacing: .07em; }
.recommendation strong { display: block; font-size: 15px; line-height: 1.35; }

.proof-strip { background: var(--ink); color: white; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { padding: 28px 24px; border-right: 1px solid var(--line-dark); }
.proof-grid div:first-child { padding-left: 0; }
.proof-grid div:last-child { border-right: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { margin-bottom: 3px; font-size: 26px; line-height: 1.1; letter-spacing: -.04em; }
.proof-grid span { color: rgba(255,255,255,.6); font-size: 12px; }

.section { padding: 108px 0; background: var(--surface); }
.section.alt { background: var(--canvas); }
.section.dark { background: #000; color: white; }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading p:last-child { margin: 0; color: var(--muted); font-size: 19px; }
.dark .section-heading p:last-child { color: rgba(255,255,255,.62); }

.transformation { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.transform-panel { padding: 40px; background: var(--canvas); }
.transform-panel.after { background: var(--surface); }
.transform-label { margin-bottom: 24px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.raw-copy { margin: 0; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.7; letter-spacing: 0; }
.insight-list { padding: 0; margin: 0; list-style: none; }
.insight-list li { display: grid; grid-template-columns: 104px 1fr; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); }
.insight-list li:first-child { border-top: 0; padding-top: 0; }
.insight-list span { color: var(--muted); font-size: 13px; }
.insight-list strong { font-size: 15px; line-height: 1.4; }

.pursuit-shell { max-width: 920px; margin: 0 auto; }
.pursuit-card { overflow: hidden; border-radius: 12px; background: white; color: var(--ink); box-shadow: rgba(0,0,0,.25) 3px 8px 48px; }
.pursuit-head { padding: 34px 38px 28px; border-bottom: 1px solid var(--line); }
.pursuit-head h2 { max-width: 650px; margin: 18px 0 10px; font-size: 42px; }
.pursuit-head p { margin-bottom: 0; color: var(--muted); }
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.decision { padding: 24px 26px; border-right: 1px solid var(--line); }
.decision:last-child { border-right: 0; }
.decision-label { margin: 0 0 9px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .07em; }
.decision strong { display: block; margin-bottom: 5px; font-size: 18px; }
.decision p { margin: 0; color: var(--muted); font-size: 13px; }
.decision-card { margin: 28px 38px 0; padding: 24px; border-radius: 8px; background: var(--canvas); }
.decision-card.compact { margin: 24px 0 0; max-width: 600px; }
.decision-card h3 { font-size: 21px; }
.decision-card p:last-child { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 28px 38px; }
.action-box { padding: 22px; border-radius: 8px; background: var(--canvas); }
.action-box.have { background: var(--orange-bg); }
.action-box.unlock { background: var(--green-bg); }
.action-box span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .07em; }
.action-box strong { font-size: 15px; line-height: 1.4; }
.brief-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 38px; border-top: 1px solid var(--line); }
.source-link { color: var(--blue-dark); font-size: 14px; font-weight: 600; text-decoration: none; }
.source-link:hover { text-decoration: underline; }
.brief-note { color: var(--muted); font-size: 11px; }

.signal-list { border-top: 1px solid var(--line); }
.signal-row { display: grid; grid-template-columns: 56px minmax(190px,.8fr) minmax(280px,1.5fr) 150px 116px; gap: 20px; align-items: center; padding: 23px 0; border-bottom: 1px solid var(--line); }
.signal-state { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 11px; font-weight: 700; letter-spacing: 0; }
.signal-name { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 650; }
.signal-summary { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.signal-date span, .signal-date strong { display: block; }
.signal-date span { color: var(--muted); font-size: 10px; }
.signal-date strong { font-size: 13px; }
.signal-row .source-link { text-align: right; }
.signal-actions { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.signal-actions p { margin: 0; color: var(--muted); font-size: 14px; }

.cta { padding: 100px 0; background: #000; color: white; text-align: center; }
.cta h2 { max-width: 760px; margin: 0 auto 20px; }
.cta p { max-width: 620px; margin: 0 auto 30px; color: rgba(255,255,255,.65); font-size: 19px; }
.cta-note { margin-top: 18px !important; font-size: 12px !important; }
.method { padding: 70px 0; background: var(--surface); }
.method-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.method h2 { font-size: 34px; }
.method p, .method li { color: var(--muted); font-size: 14px; }
.method ul { margin: 0; padding-left: 18px; }
.method li { margin-bottom: 8px; }
footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--blue-dark); }

.ds-hero { padding: 100px 0; background: #000; color: white; }
.ds-hero p:last-child { color: rgba(255,255,255,.65); }
.swatches { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin-bottom: 70px; }
.swatch { min-height: 130px; display: flex; flex-direction: column; justify-content: end; padding: 16px; border-radius: 8px; border: 1px solid var(--line); }
.swatch span { font-size: 11px; opacity: .65; }
.swatch.ink { background:#1d1d1f;color:white; }.swatch.paper{background:#f5f5f7}.swatch.white{background:white}.swatch.blue{background:#0071e3;color:white}.swatch.green{background:#16803c;color:white}
.type-spec { max-width: 780px; }.type-spec h1{font-size:64px}.type-spec p:last-child{color:var(--muted)}
.component-row { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }

@media (max-width: 950px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: 720px; }
  .product-frame { max-width: 720px; }
  .signal-row { grid-template-columns: 48px minmax(180px,.8fr) minmax(260px,1.2fr) 135px; }
  .signal-row .source-link { grid-column: 2 / -1; text-align: left; margin-top: -10px; }
  .swatches { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 700px) {
  html, body { overflow-x: hidden; }
  .shell { width: calc(100% - 28px); }
  .nav-links { display: none; }
  .hero { padding: 52px 0 58px; }
  h1 { font-size: clamp(39px, 11.5vw, 48px); line-height: 1.02; letter-spacing: -.05em; overflow-wrap: break-word; }
  h2 { font-size: clamp(34px, 10vw, 44px); }
  .hero-copy { font-size: 18px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .brief-preview { min-width: 0; padding: 20px; }
  .artifact-label { min-height: 52px; align-items: flex-start; flex-direction: column; gap: 2px; padding: 11px 16px; }
  .brief-topline { align-items: flex-start; }
  .district { font-size: 24px; overflow-wrap: anywhere; }
  .requirement { overflow-wrap: anywhere; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric { border-bottom: 1px solid var(--line); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(3), .metric:nth-child(4) { border-bottom: 0; }
  .metric:nth-child(3) { padding-left: 0; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div { padding: 20px 12px; border-bottom: 1px solid var(--line-dark); }
  .proof-grid div:first-child { padding-left: 12px; }
  .proof-grid div:nth-child(2) { border-right: 0; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 32px; }
  .transformation { grid-template-columns: 1fr; }
  .transform-panel { padding: 28px 22px; }
  .insight-list li { grid-template-columns: 1fr; gap: 4px; }
  .pursuit-head { padding: 26px 22px 22px; }
  .pursuit-head h2 { font-size: 32px; }
  .decision-grid { grid-template-columns: 1fr; }
  .decision { padding: 20px 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .decision:last-child { border-bottom: 0; }
  .decision-card { margin: 22px 22px 0; padding: 20px; }
  .action-grid { grid-template-columns: 1fr; padding: 22px; }
  .brief-footer { padding: 20px 22px; align-items: flex-start; flex-direction: column; }
  .signal-row { grid-template-columns: 44px 1fr; gap: 12px 14px; padding: 20px 0; }
  .signal-summary, .signal-date, .signal-row .source-link { grid-column: 2; margin: 0; }
  .signal-row .source-link { min-height: 44px; display: inline-flex; align-items: center; }
  .signal-actions { align-items: stretch; flex-direction: column; }
  .signal-actions .button { width: 100%; }
  .cta { padding: 74px 0; text-align: left; }
  .cta .button { width: 100%; }
  .method-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-inner { padding: 24px 0; align-items: flex-start; flex-direction: column; }
  .swatches { grid-template-columns: 1fr 1fr; }
  .type-spec h1 { font-size: 44px; }
}

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