/* NEOEDGE AI site mock: shared styles (bench design). Homepage-specific tray styles live here too so every page shares one system. */
:root {
  --navy: #062c40;
  --ink: #041d2b;
  --teal: #06677e;
  --signal: #7cc8d4;
  --paper: #f3f6f4;
  --rule: #c9d8d6;
  --rule-dark: #1d4a5e;
  --text-dark: #cfe0e5;
  --muted-dark: #87a6b1;
  --body: #33505f;
  --sans: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.wrap { width: min(100% - 48px, 1240px); margin-inline: auto; }
.label { font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

.bar { background: var(--ink); color: var(--text-dark); border-bottom: 1px solid var(--rule-dark); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: .06em; text-decoration: none; font-size: 15px; }
.brand img { height: 24px; width: auto; }
.bar nav { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.bar nav a { text-decoration: none; color: var(--text-dark); }
.bar nav a:hover { color: #fff; }
.bar .book { padding: 8px 13px; border: 1px solid var(--signal); border-radius: 4px; color: #fff; }

/* The bench: the promise on the left, the leader's in-tray being sorted on the right. */
.bench { background: var(--navy); color: #fff; padding: 56px 0 64px; overflow-x: clip; }
.bench-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 48px; align-items: start; }
.kicker-dark { color: var(--signal); }
h1 { margin: 20px 0 22px; font: 800 clamp(44px, 4.3vw, 60px)/.95 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
h1 span { display: block; color: var(--signal); }
.lede { max-width: 480px; margin: 0; color: var(--text-dark); font-size: 17px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 4px; background: var(--signal); color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: #fff; }
.cred { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; color: var(--text-dark); font-size: 14px; line-height: 1.35; }
.cred img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 1px solid var(--rule-dark); }
.cred b { display: block; color: #fff; font-weight: 700; }
.ghost { background: none; border: 0; padding: 0; color: var(--text-dark); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ghost:hover { color: #fff; }

.decision-set { margin: 40px 0 0; border-top: 1px solid var(--rule-dark); }
.decision-set p { margin: 14px 0 12px; color: var(--muted-dark); font-size: 13px; line-height: 1.5; }
.decision-set ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--rule-dark); border: 1px solid var(--rule-dark); }
.decision-set li { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 12px; background: var(--navy); font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-dark); }
.decision-set li b { color: #fff; font-size: 18px; font-variant-numeric: tabular-nums; }
.decision-set li.zero b { color: var(--muted-dark); }

.tray { position: relative; padding: 20px; background: var(--ink); border: 1px solid var(--rule-dark); border-radius: 8px; }
.tray-head { display: flex; align-items: center; gap: 10px 14px; margin-bottom: 14px; color: var(--muted-dark); }
.tray-head b { color: var(--signal); font-weight: 500; }
.tray-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.resort { min-height: 32px; padding: 0 4px; background: none; border: 0; color: var(--text-dark); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.resort:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tap-hint { display: none; }

/* "Closest to you?" highlights the items that match the visitor's situation. */
.picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 14px; }
.picker .label { color: var(--muted-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 34px; padding: 0 12px; border: 1px solid var(--rule-dark); border-radius: 999px; background: transparent; color: var(--text-dark); font-size: 13px; cursor: pointer; }
.chip:hover { border-color: var(--signal); color: #fff; }
.chip[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: var(--ink); font-weight: 700; }

.items { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.item { display: grid; grid-template-columns: 48px minmax(0, 1fr) 118px; gap: 14px; align-items: center; width: 100%; padding: 12px 12px 12px 14px; text-align: left; background: var(--navy); border: 1px solid var(--rule-dark); border-radius: 4px; cursor: pointer; transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .2s, background-color .2s, opacity .3s; }
.item .no { color: var(--muted-dark); font: 500 11px/1 var(--mono); }
.item .text { color: #fff; font-size: 15px; line-height: 1.35; }
.item:hover { border-color: var(--signal); }
.item[aria-pressed="true"] { background: #0d3a50; border-color: #fff; }
.item.dim { opacity: .32; }
.items.sorting .item.unsorted { transform: translate(var(--jx), 0) rotate(var(--jr)); opacity: .75; }
.verdict { justify-self: end; padding: 7px 9px 6px; border-radius: 3px; font: 700 11px/1 var(--mono); letter-spacing: .08em; white-space: nowrap; transition: opacity .25s, transform .25s; }
.item.unsorted .verdict { opacity: 0; transform: scale(1.4) rotate(-6deg); }
.v-go { background: var(--signal); color: var(--ink); }
.v-fix { color: var(--signal); background: linear-gradient(135deg, rgba(124,200,212,.28) 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px var(--signal); }
.v-test { color: var(--signal); box-shadow: inset 0 0 0 1.5px var(--signal); }
.v-stop { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; background: repeating-linear-gradient(45deg, transparent 0 4px, rgba(255,255,255,.14) 4px 5px); }

.detail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule-dark); min-height: 132px; }
.detail h3 { grid-column: 1 / -1; margin: 0; font: 700 18px/1.3 var(--sans); }
.detail h3 .verdict, .sheet h3 .verdict { display: inline-block; margin-right: 10px; vertical-align: 2px; }
.field .label { display: block; margin-bottom: 6px; color: var(--muted-dark); }
.field p { margin: 0; color: var(--text-dark); font-size: 14px; line-height: 1.5; }
.field p.route { color: #fff; font-weight: 500; }
.talk { grid-column: 1 / -1; justify-self: start; }
/* The buyer's own question, in their voice, is the emotional hook of every item. */
.underneath { grid-column: 1 / -1; }
.underneath .label { display: block; margin-bottom: 6px; color: var(--muted-dark); }
.underneath p { margin: 0; color: var(--signal); font: 700 22px/1.25 var(--sans); letter-spacing: -.01em; }
.signal { grid-column: 1 / -1; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 4px 16px; margin: 0; padding-top: 14px; border-top: 1px solid var(--rule-dark); color: var(--text-dark); font-size: 13.5px; line-height: 1.5; }
.signal .label { color: var(--muted-dark); }
.signal span:not(.label) { grid-column: 2; }
.signal a { grid-column: 2; justify-self: start; color: var(--signal); font-weight: 700; text-underline-offset: 3px; }
.note { margin: 14px 0 0; color: var(--muted-dark); font: 400 11px/1.5 var(--mono); }

/* Phone detail: a bottom sheet, so the list never moves under the visitor's thumb. */
.sheet { width: 100%; max-width: 640px; max-height: 86vh; margin: auto auto 0; padding: 0; border: 0; border-radius: 14px 14px 0 0; background: var(--navy); color: #fff; box-shadow: 0 -20px 60px rgba(0, 0, 0, .35); overflow: auto; overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(4, 29, 43, .6); }
.sheet[open] { animation: sheet-in .28s cubic-bezier(.2,.8,.2,1); }
@keyframes sheet-in { from { transform: translateY(40%); opacity: .4; } }
.sheet-body { display: grid; gap: 18px; padding: 10px 20px calc(22px + env(safe-area-inset-bottom, 0px)); }
.grab { display: block; width: 44px; height: 5px; margin: 0 auto 4px; border-radius: 3px; background: var(--rule-dark); }
.sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; }
.sheet-close { min-width: 44px; min-height: 44px; margin-right: -10px; background: none; border: 0; color: var(--text-dark); font-size: 15px; cursor: pointer; }
.sheet h3 { margin: 0; font: 700 21px/1.3 var(--sans); }
.sheet .field p { font-size: 16px; }
.sheet .talk { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: 100%; justify-content: center; min-height: 50px; font-size: 15px; box-shadow: 0 -18px 24px 6px var(--navy); }

/* Thumb-reach booking bar on phones; it steps aside at the hero button and the booking section. */
.thumb-bar { display: none; }

/* Paper sections. */
h2 { margin: 12px 0 0; font: 800 clamp(34px, 3.6vw, 50px)/1 var(--sans); letter-spacing: -.03em; text-wrap: balance; }
.kicker { color: var(--teal); }
.belief { padding: 76px 0; border-bottom: 1px solid var(--rule); }
.belief-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: end; }
.belief h2 { font-size: clamp(40px, 4.6vw, 64px); }
.belief h2 span { color: var(--teal); }
.tests { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.tests li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--rule); color: var(--body); font-size: 16px; line-height: 1.45; }
.tests li::before { content: ''; width: 16px; height: 16px; margin-top: 3px; border: 1.5px solid var(--teal); border-radius: 2px; background: linear-gradient(135deg, transparent 45%, var(--teal) 45% 55%, transparent 55%); }
.tests strong { color: var(--navy); }

.scale { padding: 72px 0; border-bottom: 1px solid var(--rule); }
.scale-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.scale-head p { max-width: 430px; margin: 0; color: var(--body); font-size: 15px; line-height: 1.55; }
.ruler { position: relative; height: 26px; margin-bottom: 8px; border-bottom: 1px solid var(--navy); }
.ruler span { position: absolute; bottom: -1px; height: 8px; border-left: 1px solid var(--navy); }
.ruler span b { position: absolute; bottom: 12px; left: -4px; color: var(--body); font: 400 10px/1 var(--mono); white-space: nowrap; }
.lane { display: grid; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.lane .bar-row { position: relative; height: 18px; }
.lane .fill { position: absolute; left: 0; top: 0; height: 100%; background: var(--navy); border-radius: 2px; }
.lane .fill.range { background: repeating-linear-gradient(90deg, var(--navy) 0 6px, transparent 6px 9px); }
.lane.main .fill { background: var(--teal); }
.lane-copy { display: grid; grid-template-columns: 240px minmax(0, 1fr) 190px; gap: 24px; align-items: baseline; }
.lane-copy h3 { margin: 0; font: 700 20px/1.2 var(--sans); letter-spacing: -.01em; }
.lane-copy p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.5; }
.lane-copy .when { color: var(--teal); font: 500 12px/1.3 var(--mono); text-align: right; }
.e23 { display: grid; grid-template-columns: 240px minmax(0, 1fr) 190px; gap: 24px; align-items: baseline; margin-top: 22px; padding: 16px 18px; background: #e6eeec; border-radius: 4px; }
.e23 h3 { margin: 0; font: 700 17px/1.2 var(--sans); }
.e23 p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.5; }
.e23 .when { color: var(--teal); font: 500 12px/1.3 var(--mono); text-align: right; }


.record { padding: 72px 0 56px; }
.record-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.record-intro { max-width: 340px; margin: 16px 0 0; color: var(--body); font-size: 15px; line-height: 1.55; }
.paper { background: #fff; border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 18px 40px -28px rgba(6, 44, 64, .35); }
.paper-top { display: flex; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--rule); color: var(--teal); }
.entries { margin: 0; padding: 4px 20px 6px; }
.entries div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.entries div:last-child { border-bottom: 0; }
.entries dt { color: var(--teal); }
.entries dd { margin: 0; color: var(--body); font-size: 15px; line-height: 1.5; }
.entries dd strong { color: var(--navy); }
.rules { padding: 0 0 72px; border-bottom: 1px solid var(--rule); }
.rules h2 { margin: 0 0 14px; }
.rules ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.rules li { padding: 16px 20px 0 0; color: var(--body); font-size: 14px; line-height: 1.5; }
.rules li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
.rules strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: 15px; }
.fit-fold { margin-top: 28px; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit > div { padding: 18px 20px; border: 1px solid var(--rule); border-radius: 4px; }
.fit p { margin: 8px 0 0; color: var(--body); font-size: 15px; line-height: 1.5; }
.close-sub { max-width: 520px; margin: 22px 0 0 !important; }
.chooser { margin: 0 0 18px; padding: 0; border: 0; }
.chooser legend { margin-bottom: 10px; color: var(--signal); }
.chooser label { display: flex; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rule-dark); color: var(--text-dark); font-size: 15px; line-height: 1.4; cursor: pointer; }
.chooser input { accent-color: var(--signal); }
.bring { margin: 0 0 20px !important; }
.bring .label { display: block; margin-bottom: 6px; color: var(--muted-dark); }
.bring #bring { color: #fff; }
.sam { padding: 64px 0; border-bottom: 1px solid var(--rule); }
.sam-grid { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 40px; align-items: center; }
.sam h2 { max-width: 640px; margin: 10px 0 16px; font-size: clamp(30px, 3vw, 42px); }
.sam img.face { width: 160px; height: 190px; object-fit: cover; object-position: 50% 18%; border-radius: 4px; }
.sam p { max-width: 720px; margin: 0; color: var(--body); font-size: 17px; line-height: 1.55; }
.sam p span { color: var(--teal); }
.proof { padding: 22px 0; background: #fff; border-bottom: 1px solid var(--rule); }
.proof-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.creds { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.creds li { display: flex; align-items: center; gap: 10px; color: var(--body); font-size: 14px; }
.creds img { width: 22px; height: 22px; object-fit: contain; }
.creds b { color: var(--navy); margin-right: 4px; }
.press { display: flex; align-items: center; gap: 22px; }
.press .label { color: var(--body); }
.press ul { display: flex; gap: 22px; align-items: center; margin: 0; padding: 0; list-style: none; }
.press img { height: 18px; width: auto; filter: grayscale(1); opacity: .6; mix-blend-mode: multiply; }
.press img.sq { height: 30px; }

.reading { padding: 64px 0; border-bottom: 1px solid var(--rule); }
.reading-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.reading ul { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.reading li a { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.reading li a:hover strong { color: var(--teal); }
.reading .kind { color: var(--teal); font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.reading strong { font-size: 17px; font-weight: 700; }
.reading span.go { color: var(--body); font: 400 12px/1 var(--mono); }

.close { padding: 84px 0; background: var(--navy); color: #fff; }
.close-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.close h2 { font-size: clamp(42px, 5vw, 72px); line-height: .95; }
.close h2 span { color: var(--signal); }
.close p { margin: 0 0 22px; color: var(--text-dark); font-size: 16px; line-height: 1.55; }
.close .mail { display: block; margin-top: 18px; color: var(--muted-dark); font: 400 13px/1 var(--mono); user-select: all; }
.fold > summary { display: none; }
footer { padding: 22px 0 28px; background: var(--ink); color: var(--muted-dark); font: 400 11px/1.5 var(--mono); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .bench-grid, .belief-grid, .close-grid, .reading-grid, .record-grid { grid-template-columns: 1fr; gap: 36px; }
  .rules ul { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .rules li:nth-child(3) { padding-left: 0; border-left: 0; }
  .detail { grid-template-columns: 1fr 1fr; }
  .lane-copy, .e23 { grid-template-columns: 1fr; gap: 6px; }
  .lane-copy .when, .e23 .when { text-align: left; }
  .sam-grid { grid-template-columns: 120px minmax(0, 1fr); gap: 28px; }
  .sam img.face { width: 120px; height: 146px; }
  .scale-head { display: block; }
  .scale-head p { margin-top: 14px; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, 1240px); }
  .label { letter-spacing: .04em; }
  .bar .wrap { min-height: 54px; }
  .bar nav a:not(.book) { display: none; }
  .bench { padding: 32px 0 36px; }
  .bench-grid { gap: 28px; }
  .kicker-dark { font-size: 10.5px; }
  h1 { margin: 14px 0 16px; font-size: clamp(40px, 11.5vw, 50px); }
  .lede { font-size: 16px; }
  .actions { margin-top: 22px; }
  .actions .btn { width: 100%; justify-content: center; min-height: 50px; font-size: 15px; }
  .decision-set { display: none; }

  .tray { padding: 12px 10px 14px; border-radius: 6px; }
  .tray-head { flex-wrap: nowrap; margin: 2px 4px 12px; white-space: nowrap; }
  .not-phone { display: none; }
  .tray-tools { margin-left: auto; }
  .resort { min-height: 40px; }
  .picker { margin: 0 4px 12px; }
  .picker .label { width: 100%; }
  .chip { min-height: 40px; font-size: 14px; }
  .tap-hint { display: block; margin: 0 4px 10px; color: var(--muted-dark); }
  .items { gap: 5px; }
  .item { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 56px; padding: 11px 10px; }
  .item .no { display: none; }
  .item .verdict { grid-column: 1; grid-row: 1; justify-self: start; }
  .item .text { grid-column: 2; font-size: 15px; line-height: 1.35; }
  .items.sorting .item.unsorted { transform: translate(calc(var(--jx) * .4), 0) rotate(var(--jr)); }
  .detail { display: none; }
  .note { margin: 12px 4px 0; font-size: 11.5px; }


  .thumb-bar { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(4, 29, 43, .96); border-top: 1px solid var(--rule-dark); transform: translateY(110%); transition: transform .25s ease; }
  .thumb-bar.is-shown { transform: none; }
  .thumb-bar .btn { flex: 1; justify-content: center; min-height: 48px; font-size: 15px; }
  .thumb-bar span { color: var(--muted-dark); font: 500 11px/1.3 var(--mono); }

  /* Tap-to-open sections keep the risk and fit messages without the length. */
  .fold > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 12px 0; border-top: 2px solid var(--navy); color: var(--navy); font-size: 16px; font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none; }
  .fold > summary::-webkit-details-marker { display: none; }
  .fold > summary::after { content: '+'; color: var(--teal); font: 400 24px/1 var(--sans); }
  .fold[open] > summary::after { content: '−'; }
  .fold[open] > summary { border-bottom: 1px solid var(--rule); }
  .rules ul { border-top: 0; }
  .rules ul, .fit { grid-template-columns: 1fr; }
  .rules li, .rules li + li { padding: 14px 0 0; border-left: 0; font-size: 15px; }
  .fit { margin-top: 0; padding-top: 12px; }
  .fit p { font-size: 15.5px; }
  .reading ul { border-top: 0; }
  .entries div { grid-template-columns: 1fr; gap: 4px; }
  .entries dd { font-size: 15.5px; }
  .paper-top { flex-direction: column; gap: 4px; }
  .record { padding: 56px 0 40px; }
  .belief, .scale { padding: 56px 0; }
  .rules { padding-bottom: 48px; }
  .tests li, .lane-copy p { font-size: 15.5px; }
  .reading { padding: 48px 0; }
  .reading li a { grid-template-columns: 1fr; gap: 6px; min-height: 44px; }
  .ruler span b { font-size: 9px; }
  .press ul { flex-wrap: wrap; gap: 16px 20px; }
  .cred { margin-top: 18px; font-size: 13.5px; }
  .underneath p { font-size: 20px; }
  .signal { grid-template-columns: 1fr; font-size: 14px; }
  .signal span:not(.label), .signal a { grid-column: 1; }
  .proof { padding: 18px 0; }
  .proof-grid { flex-direction: column; align-items: flex-start; gap: 14px; }
  .creds { flex-direction: column; gap: 8px; }
  .press { flex-direction: column; align-items: flex-start; gap: 10px; }
  .press ul { gap: 14px 18px; }
  .press img { height: 15px; }
  .press img.sq { height: 24px; }
  .sam-grid { grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: start; }
  .sam img.face { width: 88px; height: 108px; }
  .sam h2 { font-size: 28px; }
  .sam p { font-size: 15.5px; }
  .chooser label { min-height: 48px; align-items: center; font-size: 15.5px; }
  .close { padding: 60px 0 96px; }
}
@media (min-width: 641px) { .fold > summary { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .item, .verdict, .thumb-bar { transition: none; }
  .sheet[open] { animation: none; }
}

/* ---------- Site navigation: a menu on phones, since there are now several pages ---------- */
.bar nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.menu { display: none; position: relative; }
.menu summary { display: flex; align-items: center; list-style: none; min-height: 40px; padding: 0 12px; border: 1px solid var(--rule-dark); border-radius: 4px; color: #fff; font: 500 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--navy); }
.menu-links { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; display: grid; min-width: 230px; padding: 8px; background: var(--ink); border: 1px solid var(--rule-dark); border-radius: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.menu-links a { display: flex; align-items: center; min-height: 46px; padding: 0 12px; color: var(--text-dark); font-size: 15px; text-decoration: none; border-radius: 4px; }
.menu-links a:hover, .menu-links a[aria-current="page"] { background: var(--navy); color: #fff; }
.menu-links .btn { justify-content: center; margin-top: 6px; color: var(--ink); }

/* ---------- Offer pages ---------- */
.offer-bench { background: var(--navy); color: #fff; padding: 56px 0 64px; overflow-x: clip; }
.offer-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.offer-bench h1 span { display: block; }
.crumb { display: inline-flex; gap: 8px; color: var(--muted-dark); text-decoration: none; }
.crumb:hover { color: #fff; }
.facts { padding: 20px; background: var(--ink); border: 1px solid var(--rule-dark); border-radius: 8px; }
.facts dl { margin: 0; }
.facts dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule-dark); }
.facts dl div:first-child { padding-top: 0; }
.facts dt { padding-top: 3px; color: var(--muted-dark); }
.facts dd { margin: 0; color: #fff; font-size: 15px; line-height: 1.45; }
.facts dd small { display: block; margin-top: 3px; color: var(--muted-dark); font-size: 13px; }
.facts .price dd { font: 800 26px/1.1 var(--sans); letter-spacing: -.02em; }
.facts .price dd small { margin-top: 6px; font: 400 13px/1.4 var(--sans); letter-spacing: 0; }
.outcomes { margin-top: 16px; }
.outcomes .label { display: block; margin-bottom: 10px; color: var(--muted-dark); }
.outcomes ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.outcomes .verdict { display: inline-block; }
.countdown { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule-dark); }
.countdown b { color: var(--signal); font: 700 40px/1 var(--mono); font-variant-numeric: tabular-nums; }
.countdown span { color: var(--text-dark); font-size: 14px; line-height: 1.4; }

.sec { padding: 72px 0; border-bottom: 1px solid var(--rule); }
.sec.tint { background: #e9f0ee; }
.sec-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 20px 56px; align-items: end; margin-bottom: 32px; }
.sec-head h2 span { color: var(--teal); }
.sec-head p { max-width: 520px; margin: 0; color: var(--body); font-size: 16px; line-height: 1.55; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { padding: 22px 22px 24px; background: #fff; border: 1px solid var(--rule); border-radius: 4px; }
.card .quote { display: block; color: var(--navy); font: 700 19px/1.3 var(--sans); letter-spacing: -.01em; }
.card h3 { margin: 10px 0 8px; font: 700 20px/1.2 var(--sans); }
.card p { margin: 12px 0 0; color: var(--body); font-size: 15px; line-height: 1.55; }
.card h3 + p { margin-top: 0; }
.card a { color: var(--teal); font-weight: 700; text-underline-offset: 3px; }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.steps4 li { position: relative; padding: 22px 22px 0 0; }
.steps4 li + li { padding-left: 22px; border-left: 1px solid var(--rule); }
.steps4 .when { color: var(--teal); }
.steps4 h3 { margin: 10px 0 8px; font: 700 21px/1.2 var(--sans); letter-spacing: -.01em; }
.steps4 p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.55; }
.doc-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.doc-grid .intro p { max-width: 360px; margin: 16px 0 0; color: var(--body); font-size: 15.5px; line-height: 1.55; }
.doc-grid .intro a { display: inline-block; margin-top: 16px; color: var(--teal); font-weight: 700; text-underline-offset: 3px; }
.doc-list { margin: 0; padding: 4px 20px 6px; list-style: none; counter-reset: doc; }
.doc-list li { counter-increment: doc; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--body); font-size: 15px; line-height: 1.5; }
.doc-list li:last-child { border-bottom: 0; }
.doc-list li::before { content: counter(doc, decimal-leading-zero); color: var(--teal); font: 500 12px/1.6 var(--mono); }
.doc-list strong { color: var(--navy); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel { padding: 24px 24px 26px; background: #fff; border: 1px solid var(--rule); border-radius: 4px; }
.panel.muted { background: #e6eeec; }
.panel h3 { margin: 10px 0 12px; font: 700 22px/1.2 var(--sans); letter-spacing: -.01em; }
.panel p { margin: 0 0 12px; color: var(--body); font-size: 15px; line-height: 1.55; }
.panel ul { margin: 0; padding: 0; list-style: none; }
.panel li { position: relative; padding: 11px 0 11px 20px; border-top: 1px solid var(--rule); color: var(--body); font-size: 15px; line-height: 1.5; }
.panel li::before { content: ''; position: absolute; left: 2px; top: 20px; width: 8px; height: 1.5px; background: var(--teal); }
.panel.muted li::before { background: var(--body); }
.panel strong { color: var(--navy); }
.panel a { color: var(--teal); font-weight: 700; text-underline-offset: 3px; }
.faq { max-width: 860px; border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 60px; padding: 14px 0; color: var(--navy); font: 700 18px/1.3 var(--sans); list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--teal); font: 400 24px/1 var(--sans); }
.faq details[open] summary::after { content: '−'; }
.faq details p { max-width: 680px; margin: 0 0 20px; color: var(--body); font-size: 16px; line-height: 1.6; }
.faq a { color: var(--teal); font-weight: 700; }
.page-note { margin: 0; padding: 16px 0 18px; background: var(--ink); color: var(--muted-dark); font: 400 11px/1.5 var(--mono); text-align: center; border-bottom: 1px solid var(--rule-dark); }
.lane-copy h3 a, .e23 h3 a { color: inherit; text-decoration: none; }
.lane-copy h3 a:hover, .e23 h3 a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.lane-copy h3 a::after, .e23 h3 a::after { content: ' ↗'; color: var(--teal); font-size: .8em; }
.field p.route a { color: #fff; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .offer-grid, .sec-head, .doc-grid { grid-template-columns: 1fr; gap: 28px; }
  .sec-head { gap: 14px; }
  .steps4 { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .steps4 li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .bar nav { display: none; }
  .menu { display: block; }
  .offer-bench { padding: 32px 0 40px; }
  .offer-grid { gap: 24px; }
  .facts { padding: 16px 14px; }
  .facts dl div { grid-template-columns: 1fr; gap: 4px; }
  .sec { padding: 52px 0; }
  .sec-head { margin-bottom: 22px; }
  .sec-head p { font-size: 15.5px; }
  .cards3, .two { grid-template-columns: 1fr; }
  .steps4 { grid-template-columns: 1fr; border-top: 0; }
  .steps4 li, .steps4 li + li, .steps4 li:nth-child(3) { padding: 0 0 22px 22px; border-left: 1px solid var(--rule); }
  .steps4 li::before { content: ''; position: absolute; left: -5px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
  .doc-list { padding: 4px 16px 6px; }
  .faq summary { font-size: 17px; }
  .faq details p { font-size: 15.5px; }
}

/* ---------- Real work from the case study (hidden entirely when the case study is switched off) ---------- */
.real { padding: 72px 0; background: #fff; border-bottom: 1px solid var(--rule); }
.real-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.real h2 span { color: var(--teal); }
.real-grid > div > p { max-width: 440px; margin: 16px 0 0; color: var(--body); font-size: 16px; line-height: 1.55; }
.real-link, .case-card a { display: inline-block; margin-top: 16px; color: var(--teal); font-weight: 700; text-underline-offset: 3px; }
.pending { margin: 14px 0 0 !important; color: var(--body) !important; font-size: 11px !important; }
.real-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.real-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "team stamp" "title stamp" "what stamp"; gap: 3px 20px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.real-list .label { grid-area: team; color: var(--teal); }
.real-list strong { grid-area: title; color: var(--navy); font-size: 17px; }
.real-list .what { grid-area: what; color: var(--body); font-size: 15px; line-height: 1.45; }
.real-list .cs-stamp { grid-area: stamp; }
.cs-stamp { justify-self: end; padding: 7px 9px 6px; border-radius: 3px; font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.s-live { background: var(--teal); color: #fff; }
.s-over { color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
.s-fix { color: var(--teal); background: rgba(6, 103, 126, .12); box-shadow: inset 0 0 0 1.5px var(--teal); }
.s-proto { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); background: repeating-linear-gradient(45deg, transparent 0 4px, rgba(6, 44, 64, .08) 4px 5px); }
.case-callout { padding: 40px 0; background: var(--paper); }
.case-card { max-width: 900px; padding: 24px 26px; background: #fff; border: 1px solid var(--rule); border-left: 3px solid var(--teal); border-radius: 4px; }
.cc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.cc-head .label { color: var(--teal); }
.case-card h3 { margin: 12px 0 6px; font: 700 22px/1.2 var(--sans); letter-spacing: -.01em; }
.case-card .q { margin: 0 0 10px; color: var(--teal); font-size: 17px; font-weight: 700; line-height: 1.4; }
.case-card p { margin: 0; color: var(--body); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 980px) {
  .real-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .real { padding: 52px 0; }
  .real-list li { grid-template-columns: 1fr; grid-template-areas: "stamp" "team" "title" "what"; }
  .real-list .cs-stamp { justify-self: start; margin-bottom: 6px; }
  .case-card { padding: 20px 18px; }
}
