@layer reset, base, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, ul, ol { margin: 0; }
  ul, ol { padding: 0; }
  img, svg { display: block; max-width: 100%; }
  button, input, textarea { font: inherit; }
}

@layer base {
  :root {
    --navy: #17233b;
    --navy-2: #0d172b;
    --orange: #ff5a36;
    --orange-dark: #d63c1d;
    --paper: #f2eddf;
    --paper-light: #fbf8ef;
    --teal: #086964;
    --acid: #c8dc67;
    --ink: #121a2b;
    --muted: #596274;
    --line: #b9b3a6;
    --white: #fffdf6;
    --max: 1280px;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    font-synthesis: none;
  }
  body { min-width: 320px; overflow-x: hidden; background: var(--paper); }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3, .brand, .button, nav, .eyebrow, .kicker, .work-list__tag, .fit-card__label {
    font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  }
  h1, h2, h3 { text-wrap: balance; }
  p { text-wrap: pretty; }
  :focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
  .wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
  .skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 16px; transform: translateY(-160%); background: var(--white); color: var(--ink); font-weight: 800; }
  .skip-link:focus { transform: none; }
  .eyebrow { color: var(--teal); font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
  .eyebrow--light { color: var(--acid); }
}

@layer components {
  .utility { background: var(--navy-2); color: #d9dfeb; border-bottom: 1px solid #ffffff24; font: 800 .68rem/1.1 "Arial Narrow", Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
  .utility__inner { min-height: 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .utility i { color: var(--orange); font-style: normal; padding-inline: 8px; }

  .site-header { position: sticky; z-index: 50; top: 0; background: color-mix(in srgb, var(--paper-light) 92%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
  .nav-row { min-height: 78px; display: grid; grid-template-columns: minmax(260px, 1fr) auto minmax(210px, 1fr); gap: 28px; align-items: center; }
  .brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font-weight: 900; letter-spacing: -.025em; }
  .brand__mark { width: 43px; height: 43px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 2px solid var(--ink); transform: rotate(-2deg); }
  .brand__mark b { display: grid; place-items: center; font-size: .82rem; }
  .brand__mark b:first-child { background: var(--navy); color: white; }
  .brand__mark b:last-child { background: var(--orange); color: var(--ink); }
  .brand strong, .brand small { display: block; }
  .brand strong { font-size: 1rem; }
  .brand small { margin-top: 3px; color: var(--muted); font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; }
  nav { display: flex; height: 78px; border-inline: 1px solid var(--line); }
  nav a { min-width: 90px; display: grid; place-items: center; padding: 12px; border-right: 1px solid var(--line); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
  nav a:last-child { border-right: 0; }
  nav a:hover { background: var(--navy); color: white; }
  .nav-row > .button { justify-self: end; }

  .button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 14px 19px; border: 2px solid var(--navy); background: var(--navy); color: white; font-weight: 900; letter-spacing: .025em; box-shadow: 4px 4px 0 var(--orange); transition: transform .15s ease, box-shadow .15s ease; }
  .button:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--orange); }
  .button--small { min-height: 44px; font-size: .78rem; }
  .button--orange { border-color: var(--orange); background: var(--orange); color: var(--ink); box-shadow: 5px 5px 0 #000; }
  .button--orange:hover { box-shadow: 8px 8px 0 #000; }
  .text-link { min-height: 46px; display: inline-flex; align-items: center; gap: 20px; border-bottom: 2px solid currentColor; font-weight: 800; }

  .hero { color: white; background: var(--navy); overflow: hidden; }
  .hero__grid { min-height: 684px; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(500px, .96fr); align-items: stretch; }
  .hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 70px 62px 70px 0; }
  .hero__copy::after { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .09; background: linear-gradient(90deg, white 1px, transparent 1px), linear-gradient(white 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, #000, transparent 80%); }
  .kicker { display: flex; align-items: center; gap: 14px; color: #dbe2ee; font: 900 .7rem/1 "Arial Narrow", Arial, sans-serif; letter-spacing: .11em; text-transform: uppercase; }
  .kicker span { padding: 8px 10px 7px; background: var(--acid); color: var(--ink); }
  h1 { max-width: 790px; margin-top: 30px; font-size: clamp(4.2rem, 7.15vw, 7.2rem); line-height: .84; letter-spacing: -.062em; font-weight: 950; }
  h1 em { position: relative; color: var(--orange); font-style: normal; white-space: nowrap; }
  h1 em::after { content: ""; position: absolute; right: 0; bottom: -.04em; left: .05em; height: .07em; background: var(--orange); transform: rotate(-1.5deg); }
  .hero__lead { max-width: 650px; margin-top: 32px; color: #dae0ea; font-size: clamp(1.06rem, 1.5vw, 1.28rem); line-height: 1.52; }
  .hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 34px; }
  .hero__note { margin-top: 26px; color: #adb8ca; font-size: .76rem; letter-spacing: .025em; }

  .proof { position: relative; min-height: 684px; margin-right: calc((100vw - min(var(--max), calc(100vw - 48px))) / -2); padding: 74px max(32px, calc((100vw - var(--max)) / 2)) 54px 64px; background: var(--paper); color: var(--ink); border-left: 1px solid #ffffff2e; }
  .proof::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #aaa394 1px, transparent 1px), linear-gradient(#aaa394 1px, transparent 1px); background-size: 28px 28px; opacity: .32; }
  .proof__rail { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 12px; padding-bottom: 13px; border-bottom: 4px solid var(--ink); color: var(--muted); font: 900 .64rem/1 "Arial Narrow", Arial, sans-serif; letter-spacing: .12em; }
  .proof__rail span:last-child { color: var(--teal); }
  .browser { position: relative; z-index: 2; width: min(86%, 530px); margin: 54px 0 0 9%; border: 3px solid var(--ink); background: var(--white); box-shadow: 16px 16px 0 var(--ink); transform: rotate(1.1deg); }
  .browser__bar { min-height: 41px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 2px solid var(--ink); font-size: .64rem; font-weight: 800; }
  .browser__bar span:nth-child(2) { padding: 6px 11px; background: #e6e0d4; color: var(--muted); }
  .browser__dots { color: var(--orange); letter-spacing: 2px; }
  .browser__page { min-height: 326px; padding: 44px 36px; background: linear-gradient(110deg, var(--paper-light) 0 72%, var(--acid) 72%); }
  .browser__page p { color: var(--teal); font: 900 .64rem/1 "Arial Narrow", Arial, sans-serif; letter-spacing: .13em; }
  .browser__page h2 { max-width: 330px; margin-top: 28px; font-size: clamp(2.8rem, 4vw, 4.2rem); line-height: .87; letter-spacing: -.055em; }
  .browser__cta { display: inline-block; margin-top: 30px; padding: 10px 15px; background: var(--orange); border: 2px solid var(--ink); font-size: .76rem; font-weight: 900; }
  .browser__lines { display: grid; gap: 7px; width: 43%; margin-top: 31px; }
  .browser__lines i { height: 5px; background: var(--ink); opacity: .28; }
  .browser__lines i:nth-child(2) { width: 85%; }
  .browser__lines i:nth-child(3) { width: 64%; }
  .annotation { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 9px 11px; background: var(--navy); color: white; box-shadow: 4px 4px 0 var(--orange); font: 900 .64rem/1.15 "Arial Narrow", Arial, sans-serif; letter-spacing: .05em; text-transform: uppercase; transform: rotate(-2deg); }
  .annotation b { color: var(--acid); }
  .annotation--one { top: 196px; left: 18px; }
  .annotation--two { top: 390px; right: 10px; transform: rotate(2deg); }
  .annotation--three { bottom: 68px; left: 40px; }
  .proof__stamp { position: absolute; z-index: 1; right: 8%; bottom: 30px; padding: 9px; border: 3px double var(--orange); color: var(--orange-dark); font: 950 1rem/.84 "Arial Narrow", Arial, sans-serif; text-align: center; transform: rotate(-9deg); }

  .scope-ledger { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #ffffff33; background: var(--navy-2); }
  .scope-ledger > div { min-height: 150px; display: grid; grid-template-columns: 34px 1fr; align-content: start; gap: 10px 8px; padding: 25px max(22px, calc((100vw - var(--max)) / 8)); border-right: 1px solid #ffffff28; }
  .scope-ledger small { color: var(--orange); font-weight: 900; }
  .scope-ledger strong { font-size: 1rem; }
  .scope-ledger span { grid-column: 2; color: #aeb8c9; font-size: .83rem; line-height: 1.45; }

  .price-band { background: var(--orange); border-block: 2px solid var(--ink); }
  .price-band__grid { min-height: 255px; display: grid; grid-template-columns: .45fr 1fr 1.3fr; gap: 36px; align-items: center; padding-block: 38px; }
  .price-band .eyebrow { align-self: start; color: var(--ink); }
  .price-band h2 { font-size: clamp(2.5rem, 4.6vw, 4.7rem); line-height: .86; letter-spacing: -.05em; }
  .price-pair { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); background: #ff6b48; }
  .price-pair > div { display: flex; flex-direction: column; justify-content: center; padding: 20px; }
  .price-pair > div + div { border-left: 2px solid var(--ink); }
  .price-pair small { font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
  .price-pair strong { margin-top: 15px; font-size: clamp(1.8rem, 3.1vw, 3.25rem); line-height: .9; letter-spacing: -.055em; white-space: nowrap; }
  .price-pair sup { font-size: .8rem; letter-spacing: 0; }
  .fine-print { grid-column: 3; margin-top: -58px; padding: 13px 18px; background: var(--ink); color: white; font-size: .68rem; line-height: 1.4; }

  .section { padding: 100px 0; }
  .section-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); column-gap: 80px; align-items: end; margin-bottom: 52px; padding-top: 18px; border-top: 4px solid var(--ink); }
  .section-intro .eyebrow { grid-column: 1 / -1; margin-bottom: 30px; }
  .section-intro h2 { max-width: 890px; font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: .88; letter-spacing: -.056em; }
  .section-intro > p:last-child { color: var(--muted); font-size: 1.05rem; line-height: 1.62; }
  .workbench { background: var(--paper-light); }
  .work-list { border-top: 1px solid var(--line); }
  .work-list article { display: grid; grid-template-columns: 90px 1fr 170px; gap: 30px; align-items: start; min-height: 170px; padding: 27px 0; border-bottom: 1px solid var(--line); }
  .work-list__number { color: var(--orange-dark); font: 950 2.2rem/1 "Arial Narrow", Arial, sans-serif; }
  .work-list h3 { font-size: clamp(1.9rem, 3vw, 3.2rem); line-height: .95; letter-spacing: -.045em; }
  .work-list p { max-width: 720px; margin-top: 13px; color: var(--muted); line-height: 1.55; }
  .work-list__tag { justify-self: end; padding: 8px 10px; border: 2px solid var(--teal); color: var(--teal); font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; transform: rotate(1.5deg); }

  .handoff { background: var(--navy); color: white; }
  .handoff__grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 78px; }
  .handoff h2 { margin-top: 30px; font-size: clamp(3.2rem, 5.8vw, 6rem); line-height: .87; letter-spacing: -.056em; }
  .handoff__board { display: grid; grid-template-columns: 1fr 50px 1fr; align-self: center; border: 1px solid #ffffff3b; background: #ffffff08; }
  .handoff__column { padding: 28px; }
  .handoff__column p { padding-bottom: 15px; border-bottom: 2px solid #ffffff5c; color: #b9c3d3; font-size: .7rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
  .handoff__column ul { list-style: none; }
  .handoff__column li { padding: 14px 0; border-bottom: 1px solid #ffffff25; color: #dce2ea; font-size: .88rem; }
  .handoff__column li::before { content: "×"; margin-right: 9px; color: var(--orange); font-weight: 900; }
  .handoff__column--after { background: var(--teal); }
  .handoff__column--after p { color: white; }
  .handoff__column--after li::before { content: "✓"; color: var(--acid); }
  .handoff__arrow { display: grid; place-items: center; border-inline: 1px solid #ffffff3b; color: var(--orange); font-size: 2rem; }

  .process { background: var(--paper); }
  .section-intro--split { grid-template-columns: 1fr .65fr; }
  .section-intro--split .eyebrow { grid-column: auto; }
  .section-intro--split > div .eyebrow { margin-bottom: 30px; }
  .section-intro--split > p { align-self: end; }
  .process-line { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; counter-reset: step; border-top: 2px solid var(--ink); border-left: 1px solid var(--line); }
  .process-line li { min-height: 315px; display: flex; flex-direction: column; justify-content: space-between; padding: 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-light); }
  .process-line li:nth-child(2) { margin-top: 26px; }
  .process-line li:nth-child(3) { margin-top: 52px; }
  .process-line li:nth-child(4) { margin-top: 78px; background: var(--acid); border-color: var(--ink); }
  .process-line > li > span { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid var(--ink); font-weight: 900; }
  .process-line h3 { font-size: 2.3rem; letter-spacing: -.04em; }
  .process-line p { margin-top: 13px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
  .process-line li:nth-child(4) p { color: var(--ink); }

  .fit { background: var(--paper-light); }
  .fit .section-intro { grid-template-columns: 1fr; }
  .fit-grid { display: grid; grid-template-columns: 1.1fr .9fr; border: 2px solid var(--ink); }
  .fit-card { min-height: 520px; padding: 36px; }
  .fit-card + .fit-card { border-left: 2px solid var(--ink); }
  .fit-card--yes { background: var(--teal); color: white; }
  .fit-card--no { background: #e2ded3; }
  .fit-card__label { width: fit-content; padding: 8px 10px; border: 2px solid currentColor; font-size: .67rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
  .fit-card h3 { max-width: 610px; margin: 45px 0 32px; font-size: clamp(2.2rem, 3.6vw, 4rem); line-height: .9; letter-spacing: -.05em; }
  .fit-card ul { list-style: none; border-top: 1px solid currentColor; }
  .fit-card li { padding: 15px 0; border-bottom: 1px solid currentColor; font-size: .94rem; line-height: 1.4; }
  .fit-card li::before { content: "↳"; margin-right: 12px; color: var(--acid); font-weight: 900; }
  .fit-card--no li::before { color: var(--orange-dark); }

  .faq { background: var(--paper); }
  .faq__grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
  .faq h2 { margin-top: 30px; font-size: clamp(3.2rem, 5.4vw, 5.5rem); line-height: .87; letter-spacing: -.055em; }
  .faq__aside { max-width: 420px; margin-top: 33px; color: var(--muted); line-height: 1.55; }
  .faq__list { border-top: 3px solid var(--ink); }
  details { border-bottom: 1px solid var(--line); }
  summary { min-height: 84px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 900; }
  summary::-webkit-details-marker { display: none; }
  summary span { color: var(--orange-dark); font-size: 1.5rem; transition: transform .15s ease; }
  details[open] summary span { transform: rotate(45deg); }
  details p { max-width: 770px; padding: 0 42px 25px 0; color: var(--muted); line-height: 1.6; }

  .closing { padding: 80px 0; background: var(--navy-2); color: white; border-top: 8px solid var(--orange); }
  .closing__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: center; }
  .closing h2 { max-width: 820px; margin-top: 25px; font-size: clamp(3.2rem, 5.9vw, 6.2rem); line-height: .85; letter-spacing: -.06em; }
  .closing__grid > div:last-child > p { margin-bottom: 28px; color: #c7cfdb; font-size: 1.08rem; line-height: 1.55; }
  .closing small { display: block; max-width: 440px; margin-top: 18px; color: #98a4b6; line-height: 1.45; }

  footer { padding: 55px 0 24px; background: #09101f; color: #b5bfcd; }
  .footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
  .brand--footer { color: white; }
  .brand--footer small { color: #b5bfcd; }
  footer p { max-width: 300px; margin-top: 20px; font-size: .86rem; line-height: 1.5; }
  footer p a { color: white; text-decoration: underline; text-underline-offset: 3px; }
  .footer__grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 13px; font-size: .8rem; }
  .footer__grid > div:not(:first-child) b { margin-bottom: 8px; color: white; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
  footer a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
  .footer__base { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 19px; border-top: 1px solid #ffffff25; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
}

@layer responsive {
  @media (max-width: 1100px) {
    .nav-row { grid-template-columns: 1fr auto; }
    nav { display: none; }
    .hero__grid { grid-template-columns: 1fr; width: 100%; }
    .hero__copy { min-height: 650px; padding: 70px max(32px, calc((100vw - var(--max)) / 2)); }
    .proof { min-height: 600px; margin: 0; padding-inline: max(32px, calc((100vw - var(--max)) / 2)); border-left: 0; border-top: 1px solid #ffffff35; }
    .scope-ledger { grid-template-columns: 1fr 1fr; }
    .price-band__grid { grid-template-columns: .4fr 1fr; }
    .price-pair { grid-column: 1 / -1; min-height: 150px; }
    .fine-print { grid-column: 1 / -1; margin-top: 0; }
    .handoff__grid, .faq__grid { grid-template-columns: 1fr; }
    .work-list article { grid-template-columns: 70px 1fr 150px; }
    .process-line { grid-template-columns: 1fr 1fr; }
    .process-line li:nth-child(n) { margin-top: 0; }
  }
  @media (max-width: 760px) {
    .wrap { width: min(100% - 28px, var(--max)); }
    .utility__inner { min-height: 42px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; font-size: .59rem; }
    .site-header { position: relative; }
    .nav-row { min-height: 72px; gap: 10px; }
    .brand small { display: none; }
    .nav-row > .button { display: none; }
    .hero__copy { min-height: auto; padding: 56px 20px 48px; }
    .kicker { align-items: flex-start; flex-direction: column; }
    h1 { font-size: clamp(3.6rem, 18vw, 5.35rem); }
    .hero__lead { font-size: 1rem; }
    .hero__actions { align-items: stretch; flex-direction: column; }
    .hero__actions .button { width: 100%; }
    .text-link { width: fit-content; }
    .proof { min-height: 530px; padding: 42px 16px; }
    .browser { width: 88%; margin: 62px 0 0 4%; box-shadow: 10px 10px 0 var(--ink); }
    .browser__page { min-height: 278px; padding: 34px 24px; }
    .browser__page h2 { font-size: 2.85rem; }
    .annotation { font-size: .56rem; }
    .annotation--one { top: 140px; left: 2px; }
    .annotation--two { top: 337px; right: 0; }
    .annotation--three { bottom: 25px; left: 20px; }
    .proof__stamp { display: none; }
    .scope-ledger { grid-template-columns: 1fr; }
    .scope-ledger > div { min-height: 125px; padding: 22px 24px; }
    .price-band__grid { grid-template-columns: 1fr; gap: 24px; padding-block: 34px; }
    .price-band h2 { font-size: 3.2rem; }
    .price-pair { grid-column: auto; grid-template-columns: 1fr; }
    .price-pair > div { min-height: 120px; }
    .price-pair > div + div { border-left: 0; border-top: 2px solid var(--ink); }
    .fine-print { grid-column: auto; }
    .section { padding: 70px 0; }
    .section-intro, .section-intro--split { grid-template-columns: 1fr; gap: 26px; margin-bottom: 36px; }
    .section-intro .eyebrow { margin-bottom: 10px; }
    .section-intro h2 { font-size: 3.3rem; }
    .work-list article { grid-template-columns: 48px 1fr; gap: 15px; padding: 24px 0; }
    .work-list__number { font-size: 1.5rem; }
    .work-list__tag { grid-column: 2; justify-self: start; }
    .handoff__grid { gap: 42px; }
    .handoff h2, .faq h2 { font-size: 3.45rem; }
    .handoff__board { grid-template-columns: 1fr; }
    .handoff__arrow { min-height: 50px; border-inline: 0; border-block: 1px solid #ffffff3b; transform: rotate(90deg); }
    .process-line { grid-template-columns: 1fr; }
    .process-line li { min-height: 230px; }
    .fit-grid { grid-template-columns: 1fr; }
    .fit-card { min-height: auto; padding: 26px 22px; }
    .fit-card + .fit-card { border-left: 0; border-top: 2px solid var(--ink); }
    .fit-card h3 { margin: 34px 0 26px; font-size: 2.65rem; }
    .faq__grid { gap: 45px; }
    .closing { padding: 68px 0; }
    .closing__grid { grid-template-columns: 1fr; gap: 46px; }
    .closing h2 { font-size: 3.5rem; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__grid > div:first-child { grid-column: 1 / -1; }
    .footer__base { align-items: flex-start; flex-direction: column; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  }
  @media (prefers-contrast: more) {
    :root { --muted: #343d4d; --line: #6f6a61; }
  }
}
