/* Syncwell — homepage mockup
   Navy is the shared identity: the Syncwell wordmark ink, the SRS Hub icon and the
   SIL Manager sidebar are all the same deep navy. Each product brings its own accent. */

:root {
  --ink: #101b27;            /* wordmark ink */
  --ink-2: #3d4955;
  --ink-3: #5f6b77;
  --navy: #0c1929;
  --navy-2: #13243a;
  --on-navy: #eef1f4;
  --on-navy-2: #a3b2c2;
  --on-navy-3: #7b8ea3;
  --navy-line: rgba(255, 255, 255, .1);
  --paper: #fff;
  --mist: #f3f5f4;
  --line: #dce1e4;
  --line-soft: #eceff1;

  --sil: #573cd5;
  --sil-soft: #efecfc;
  --srs: #0d9488;
  --srs-ink: #0f766e;
  --srs-soft: #e1f3f0;
  --stop: #c43a2f;
  --warn: #b45309;
  --warn-mark: #d97706;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --head-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
.mono { font-family: var(--mono); font-size: .9em; }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }

:focus-visible { outline: 2px solid var(--srs); outline-offset: 3px; border-radius: 3px; }
.site-head :focus-visible, .hero :focus-visible, .rules :focus-visible, .site-foot :focus-visible { outline-color: #5eead4; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 6px;
}
.skip:focus { top: 12px; }

/* Placeholder to confirm before going live */
.tbc { background: #fff1a8; color: #4a3b00; border-radius: 3px; padding: 0 4px; cursor: help; }
.site-foot .tbc { background: rgba(255, 229, 138, .16); color: #ffe58a; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 18px; border-radius: 6px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-light { background: #f4f2ec; color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #22344a; }

/* ───────── Header ───────── */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--navy); color: var(--on-navy); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.is-stuck { border-bottom-color: var(--navy-line); }
.head-row { height: var(--head-h); display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.brand { line-height: 0; flex: none; }
.brand img { width: 116px; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 15px; color: var(--on-navy-2); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.nav a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .4); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }

.signin { position: relative; }
.signin summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--on-navy); padding: 8px 0; }
.signin summary::-webkit-details-marker { display: none; }
.signin summary svg { width: 12px; height: 12px; transition: transform .15s; }
.signin[open] summary svg { transform: rotate(180deg); }
.signin-menu {
  position: absolute; right: -8px; top: calc(100% + 12px); width: 304px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 8px;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .45);
}
.signin-hint { font-size: 13px; color: var(--ink-3); padding: 8px 10px 6px; }
.signin-row { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 8px; text-decoration: none; }
.signin-row:hover { background: var(--mist); }
.signin-row img { width: 32px; height: 32px; border-radius: 8px; }
.signin-row b { display: block; font-size: 15px; }
.signin-row small { font: 12.5px/1.3 var(--mono); color: var(--ink-3); }

.menu-btn { display: none; font: 600 15px/1 var(--sans); color: var(--on-navy); background: none; border: 1px solid var(--navy-line); border-radius: 6px; height: 40px; padding: 0 14px; cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--navy-line); padding: 8px 0 24px; }
.mobile-nav nav { display: grid; }
.mobile-nav a:not(.btn) { color: var(--on-navy); text-decoration: none; font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--navy-line); }
.mobile-nav .mobile-signin { margin-top: 20px; font-size: 13px; color: var(--on-navy-3); }
.mobile-nav .mobile-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px !important; }
.mobile-nav .mobile-sub small { font: 12px var(--mono); color: var(--on-navy-3); }
.mobile-nav .btn { margin-top: 24px; }

/* ───────── Hero ───────── */
.hero { background: var(--navy); color: var(--on-navy); overflow: clip; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
  padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 80px);
}
.hero h1 {
  font-family: var(--serif); font-weight: 430; font-size: clamp(46px, 6.3vw, 90px);
  line-height: .98; letter-spacing: -.024em; color: #f5f3ee; text-wrap: balance;
}
.lede { margin-top: 30px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--on-navy-2); max-width: 34em; text-wrap: pretty; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.link-down { display: inline-flex; align-items: center; gap: 8px; color: var(--on-navy); text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 3px; }
.link-down:hover { border-bottom-color: #fff; }
.link-down svg { width: 15px; height: 15px; }

/* Refusal slips */
.slips { display: grid; gap: 14px; }
.slip {
  position: relative; background: #fff; color: var(--ink);
  border-radius: 10px; border-left: 4px solid var(--stop);
  padding: 15px 18px 13px 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05), 0 22px 44px -22px rgba(0, 0, 0, .7);
}
.slip--warn { border-left-color: var(--warn-mark); }
.slips .slip:nth-child(1) { margin-right: 36px; }
.slips .slip:nth-child(2) { margin-left: 44px; }
.slips .slip:nth-child(3) { margin-right: 14px; margin-left: 12px; }
.slip-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-3); }
.slip-src { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); }
.slip-src img { width: 18px; height: 18px; border-radius: 5px; }
.slip-meta time { font: 12px/1 var(--mono); white-space: nowrap; }
.slip-title { margin-top: 9px; font: 700 16.5px/1.3 var(--sans); }
.slip-body { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.slip-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-soft); font-size: 13.5px; }
.slip-next { font-weight: 600; color: var(--stop); }
.slip-next::after { content: " →"; }
.slip--warn .slip-next { color: var(--warn); }
.slip code { font: 11px/1 var(--mono); color: var(--ink-3); background: var(--mist); padding: 4px 6px; border-radius: 4px; letter-spacing: .01em; }
.slips-note { font-size: 13px; color: var(--on-navy-3); padding-left: 12px; margin-top: 4px; }

@media (prefers-reduced-motion: no-preference) {
  .slips .slip, .slips-note { opacity: 0; transform: translateY(14px); animation: slip-in .6s cubic-bezier(.2, .7, .2, 1) forwards; }
  .slips .slip:nth-child(1) { animation-delay: .25s; }
  .slips .slip:nth-child(2) { animation-delay: .55s; }
  .slips .slip:nth-child(3) { animation-delay: .85s; }
  .slips-note { animation-delay: 1.15s; }
}
@keyframes slip-in { to { opacity: 1; transform: none; } }

/* Melbourne clock: 24 hours from 06:00, split into the three usual shifts */
.clock { border-top: 1px solid var(--navy-line); padding: 22px 0 30px; }
.clock-read { display: flex; align-items: baseline; gap: 14px; font-size: 14px; color: var(--on-navy-2); }
.clock-read time { font: 500 14px/1 var(--mono); color: #fff; }
.clock-shift { color: #5eead4; }
.clock-track { position: relative; height: 34px; margin-top: 16px; }
.band { position: absolute; top: 0; bottom: 0; left: calc(var(--a) / 24 * 100%); width: calc((var(--b) - var(--a)) / 24 * 100%); border-left: 1px solid var(--navy-line); }
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .14); }
.band em { position: absolute; left: 10px; top: 2px; font: normal 12.5px/1 var(--sans); color: var(--on-navy-3); }
.band.is-now::after { background: #5eead4; }
.band.is-now em { color: #5eead4; }
.now { position: absolute; bottom: -4px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--navy); left: 0; opacity: 0; transition: opacity .3s; }
.now.is-set { opacity: 1; }
.clock-ticks { position: relative; height: 12px; margin-top: 10px; font: 11.5px/1 var(--mono); color: var(--on-navy-3); }
.clock-ticks span { position: absolute; top: 0; }
.clock-ticks span:nth-child(1) { left: 0; }
.clock-ticks span:nth-child(2) { left: 33.333%; transform: translateX(-50%); }
.clock-ticks span:nth-child(3) { left: 66.667%; transform: translateX(-50%); }
.clock-ticks span:nth-child(4) { right: 0; }

/* ───────── Document-style sections ───────── */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.doc { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 9.6fr); column-gap: clamp(24px, 4vw, 64px); }
.doc-label {
  align-self: start; position: sticky; top: calc(var(--head-h) + 28px);
  width: min(100%, 168px); padding-top: 12px; border-top: 2px solid currentColor;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
}
.doc-body > h2, .product-intro h2, .contact-copy h2 {
  font-family: var(--serif); font-weight: 450; font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.04; letter-spacing: -.02em; text-wrap: balance;
}
.intro { margin-top: 24px; font-size: clamp(18px, 1.45vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 40em; text-wrap: pretty; }

/* Comparison table */
.compare { width: 100%; margin-top: 60px; border-collapse: collapse; table-layout: fixed; }
.compare col.c-label { width: 19%; }
.compare thead th { position: relative; text-align: left; vertical-align: bottom; padding: 0 28px 20px 0; }
.compare thead th::after { content: ""; position: absolute; left: 0; right: 28px; bottom: 0; height: 3px; }
.compare thead th.sil::after { background: var(--sil); }
.compare thead th.srs::after { background: var(--srs); }
.p-head { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.p-head img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.p-head b { display: block; font: 500 27px/1.1 var(--serif); letter-spacing: -.01em; }
.p-head small { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 400; color: var(--ink-3); }
.p-head:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.compare thead td { border: 0; }
.compare tbody th, .compare td { text-align: left; vertical-align: top; padding: 17px 28px 17px 0; border-bottom: 1px solid var(--line); }
.compare tbody th { font-weight: 400; font-size: 14px; color: var(--ink-3); padding-top: 19px; }
.compare td { font-size: 16px; line-height: 1.5; }

/* ───────── Product chapters ───────── */
.product { padding: clamp(80px, 10vw, 128px) 0; }
.product--sil { --accent: var(--sil); --accent-ink: var(--sil); --accent-soft: var(--sil-soft); border-top: 1px solid var(--line); }
.product--srs { --accent: var(--srs); --accent-ink: var(--srs-ink); --accent-soft: var(--srs-soft); background: var(--mist); }

.product-bar { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 3px solid var(--accent); }
.product-bar > img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.product-bar > div:not(.product-links) { min-width: 0; }
.product-name { font: 500 26px/1.05 var(--serif); letter-spacing: -.01em; }
.product-for { margin-top: 3px; font-size: 14.5px; color: var(--ink-3); }
.product-links { margin-left: auto; display: flex; gap: 24px; }
.product-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.product-links a:hover { text-decoration: underline; }
.product-links svg { width: 12px; height: 12px; }

.product-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); margin: clamp(44px, 5vw, 64px) 0 clamp(48px, 6vw, 72px); }
.product-intro p { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 38em; text-wrap: pretty; }

.facts { align-self: end; border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.facts dt { color: var(--ink-3); }
.facts dd.mono { font-size: 13.5px; }

/* Screenshot in a browser frame, with numbered notes */
.browser { background: #fff; border: 1px solid #c9d1d8; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(16, 27, 39, .06), 0 44px 80px -44px rgba(16, 27, 39, .4); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: #f4f6f8; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3d9df; }
.browser-bar .url { margin-left: 14px; font: 12.5px/1 var(--mono); color: var(--ink-3); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.shot-scroll { overflow-x: auto; }
.shot { position: relative; }
.shot img { width: 100%; }
.marker {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff; font: 600 13px/28px var(--mono); text-align: center;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .95), 0 6px 16px rgba(16, 27, 39, .3);
  transition: transform .15s;
}
.marker.is-hot { transform: translate(-50%, -50%) scale(1.18); }
.fig-notes { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.fig-notes li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); border-radius: 6px; transition: color .15s; }
.fig-notes li.is-hot { color: var(--ink); }
.fig-notes .n { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font: 600 12px/24px var(--mono); text-align: center; }
.fig-label { margin-top: 22px; font: 12.5px/1.4 var(--mono); color: var(--ink-3); }

/* The shift, step by step */
.shiftline { margin-top: clamp(72px, 9vw, 112px); }
.shiftline-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 40px; flex-wrap: wrap; }
.shiftline h3 { font: 500 clamp(26px, 2.5vw, 34px)/1.1 var(--serif); letter-spacing: -.012em; }
.shiftline-head p { font-size: 15px; color: var(--ink-2); max-width: 30em; }
.stops { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); position: relative; }
.stops::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--accent); opacity: .35; }
.stop { position: relative; padding-right: 18px; }
.stop-dot { position: relative; display: block; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); color: var(--accent-ink); font: 600 12px/24px var(--mono); text-align: center; }
.stop--gate .stop-dot { background: var(--accent); color: #fff; }
.stop--gate .stop-dot::after { content: "gate"; position: absolute; left: 32px; top: 6px; padding: 0 6px; background: var(--paper); font: 600 10.5px/1 var(--mono); letter-spacing: .04em; color: var(--accent-ink); text-transform: uppercase; }
.stop b { display: block; margin-top: 16px; font-size: 15.5px; line-height: 1.3; }
.stop > span:last-child { display: block; margin-top: 5px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }

/* In their words + module list */
.product-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); margin-top: clamp(72px, 9vw, 112px); align-items: start; }
.words { padding-top: 26px; border-top: 3px solid var(--accent); }
.words .q { font: italic 400 clamp(25px, 2.3vw, 32px)/1.32 var(--serif); letter-spacing: -.006em; text-wrap: pretty; hanging-punctuation: first; }
.words footer { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.words-note { margin-top: 30px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 30em; }

.spec div { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.spec div:last-child { border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; font-size: 15.5px; line-height: 1.5; }
.spec dd { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.spec--wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); margin-top: clamp(64px, 8vw, 96px); }
.spec--wide div:last-child, .spec--wide div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
.product--srs .spec div { border-color: #d5dcdc; }

/* Phones */
.phones { list-style: none; margin: 0 auto; padding: 0; max-width: 1060px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 64px); }
.phone:nth-child(1), .phone:nth-child(3) { margin-top: 48px; }
.device { background: #0b1520; border-radius: 46px; padding: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 44px 70px -38px rgba(12, 25, 41, .6); }
.device img { width: 100%; border-radius: 36px; aspect-ratio: 646 / 1400; object-fit: cover; }
.phone-cap { margin-top: 24px; padding-right: 8px; }
.phone-cap time { display: inline-block; font: 600 13px/1 var(--mono); color: var(--srs-ink); background: var(--srs-soft); padding: 6px 8px; border-radius: 5px; }
.phone-cap b { display: block; margin-top: 12px; font-size: 16.5px; }
.phone-cap p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.phones-note { margin-top: 40px; text-align: center; font: 12.5px/1.4 var(--mono); color: var(--ink-3); }

/* ───────── House rules ───────── */
.rules { background: var(--navy); color: var(--on-navy); padding: clamp(80px, 10vw, 136px) 0; }
.rules .doc-label { color: var(--on-navy-2); }
.rules .doc-body > h2 { color: #f5f3ee; }
.rules .intro { color: var(--on-navy-2); }
.rule-list { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); }
.rule { display: grid; grid-template-columns: 48px 1fr; padding: 28px 0 34px; border-top: 1px solid var(--navy-line); }
.rule--lead { grid-column: 1 / -1; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr); column-gap: 0; }
.rule--lead > div { padding-right: clamp(24px, 4vw, 64px); }
.rule-n { font: italic 400 30px/1 var(--serif); color: var(--on-navy-3); }
.rule h3 { font: 700 19px/1.35 var(--sans); color: #fff; }
.rule p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--on-navy-2); }
.rule .slip { align-self: start; }
.rule .slip p { color: var(--ink-2); margin-top: 4px; font-size: 14.5px; }
.rule .slip h3 { color: var(--ink); margin-top: 9px; font-size: 16.5px; }

/* ───────── Company ───────── */
.company-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); margin-top: 32px; }
.company-copy p { font-size: 18px; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.company-copy p + p { margin-top: 16px; }
.facts--company { align-self: start; }
.dontclaim { margin-top: clamp(56px, 7vw, 88px); padding: clamp(24px, 3vw, 36px); background: var(--mist); border-radius: 12px; }
.dontclaim h3 { font: 500 26px/1.15 var(--serif); letter-spacing: -.01em; }
.dontclaim ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px clamp(28px, 4vw, 56px); }
.dontclaim li { position: relative; padding-left: 24px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.dontclaim li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 2px; background: var(--ink-3); }

/* ───────── Contact ───────── */
.contact { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-copy p { margin-top: 22px; font-size: 18px; color: var(--ink-2); max-width: 26em; }
.direct { margin-top: 36px; border-top: 1px solid var(--ink); }
.direct div { padding: 12px 0; border-bottom: 1px solid #d5dcdc; display: grid; gap: 2px; }
.direct dt { font-size: 13.5px; color: var(--ink-3); }
.direct dd { font-size: 16px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { display: grid; gap: 7px; align-content: start; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; padding: 0; }
.field legend { margin-bottom: 9px; }
.opt { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.field input, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 12px;
  font: 16px/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid #c5cdd4; border-radius: 6px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a949e; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(16, 27, 39, .12); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border: 1px solid #c5cdd4; border-radius: 999px; font-size: 15px; transition: background-color .15s, color .15s, border-color .15s; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--srs); outline-offset: 2px; }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 4px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.form-foot p { font-size: 14px; color: var(--ink-3); max-width: 30em; }

/* ───────── Footer ───────── */
.site-foot { background: var(--navy); color: var(--on-navy-2); padding: 72px 0 36px; font-size: 15px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.foot-brand img { width: 132px; }
.foot-brand p { margin-top: 18px; max-width: 24em; }
.foot-col h2 { font: 600 13px/1 var(--sans); color: #fff; letter-spacing: .02em; margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--on-navy-2); text-decoration: none; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-ack { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--navy-line); }
.foot-ack p { max-width: 52em; color: var(--on-navy); line-height: 1.6; }
.foot-bottom { margin-top: 28px; display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; font-size: 13px; color: var(--on-navy-3); }

/* ───────── Responsive ───────── */
@media (max-width: 1100px) {
  .stops { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 36px; }
  .stops::before { display: none; }
}

@media (max-width: 960px) {
  .nav, .signin, .head-cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }

  .hero-grid { grid-template-columns: 1fr; }
  .slips .slip:nth-child(n) { margin: 0; }

  .doc { grid-template-columns: 1fr; }
  .doc-label { position: static; margin-bottom: 28px; }

  .product-intro, .product-detail, .company-grid, .contact-grid { grid-template-columns: 1fr; }
  .facts { align-self: start; }
  .rule--lead { grid-template-columns: 48px 1fr; }
  .rule--lead .slip { grid-column: 2; margin-top: 22px; }
  .rule-list { grid-template-columns: 1fr; }
  .fig-notes { grid-template-columns: 1fr; gap: 16px; }
  .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .head-row { gap: 12px; }

  /* Comparison table becomes two stacked lists, one per product */
  .compare, .compare tbody, .compare tr, .compare td, .compare tbody th { display: block; width: auto; }
  .compare thead { display: none; }
  .compare colgroup { display: none; }
  .compare tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .compare tbody th, .compare td { border: 0; padding: 0; }
  .compare tbody th { font-size: 13px; margin-bottom: 8px; padding: 0; }
  .compare td { position: relative; padding-left: 14px; font-size: 15.5px; }
  .compare td + td { margin-top: 8px; }
  .compare td::before { content: attr(data-p); display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
  .compare td::after { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 2px; background: var(--sil); }
  .compare td + td::after { background: var(--srs); }
  .compare { margin-top: 40px; border-top: 1px solid var(--line); }

  .product-bar { flex-wrap: wrap; }
  .product-bar > div:not(.product-links) { flex: 1; }
  .product-links { margin-left: 60px; width: 100%; }
  .slip-meta { flex-wrap: wrap; row-gap: 4px; }

  .shot { width: 760px; }
  .shot-scroll { scrollbar-width: thin; }

  .stops { grid-template-columns: 1fr; row-gap: 0; }
  .stops::before { display: block; left: 13px; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; }
  .stop { display: grid; grid-template-columns: 28px 1fr; column-gap: 16px; padding: 0 0 22px; }
  .stop b { margin-top: 3px; grid-column: 2; }
  .stop > span:last-child { grid-column: 2; }
  .stop-dot { grid-row: 1 / span 2; }
  .stop--gate .stop-dot::after { display: none; }
  .stop--gate b::after { content: "gate"; margin-left: 8px; font: 600 10.5px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); }

  .spec div { grid-template-columns: 1fr; gap: 4px; }
  .spec--wide { grid-template-columns: 1fr; }
  .spec--wide div:nth-last-child(2) { border-bottom: 0; }

  .phones { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .phones::-webkit-scrollbar { display: none; }
  .phone { flex: 0 0 72%; scroll-snap-align: center; }
  .phone:nth-child(1), .phone:nth-child(3) { margin-top: 0; }

  .dontclaim ul { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .clock-ticks span:nth-child(2), .clock-ticks span:nth-child(3) { visibility: hidden; }
  .band em { font-size: 11px; left: 6px; }
}

/* ───────── Print ───────── */
@media print {
  html, body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-head { position: static; }
  .skip, .menu-btn, .mobile-nav { display: none !important; }
  .doc-label { position: static; }
  .slips .slip, .slips-note { animation: none !important; opacity: 1 !important; transform: none !important; }
  /* Blurred shadows turn into dark boxes in some PDF viewers; borders do the job on paper */
  *, *::before, *::after { box-shadow: none !important; }
  .marker { outline: 4px solid #fff; }
  .slip, .figure, .rule, .phone, .stop, .spec div, .compare tr, .facts div, .dontclaim, .form { break-inside: avoid; }
}
