/* Wark Digital — warkdigital.com
   Colors and type come from the logo pack (wark-digital-logo.zip README).
   Mobile first: base styles are for phones, min-width queries add room. */

:root {
  --navy: #13293D;        /* Ridge Navy: headings, dark sections */
  --navy-2: #1C3954;      /* raised surface on navy */
  --navy-3: #0E2031;      /* deepest navy, hero base */
  --blue: #2D6A96;        /* Smoky Blue: links, secondary buttons */
  --amber: #E57A1F;       /* Sunrise Amber: main call-to-action only */
  --sky: #9EC5E4;         /* Sky: secondary text on navy */
  --mist: #EEF3F7;        /* Mist: light section backgrounds */
  --white: #FFFFFF;
  --text: #2E4256;        /* body text on white, ~9:1 */
  --text-soft: #4E6276;   /* captions, helper text, ~6:1 */
  --on-navy: #D5E3EF;     /* body text on navy, ~11:1 */
  --line: #D3DEE8;
  --line-navy: rgba(158, 197, 228, 0.18);
  --error: #B3261E;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
  --max: 1180px;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --shadow-1: 0 1px 2px rgba(19, 41, 61, 0.06), 0 4px 14px rgba(19, 41, 61, 0.06);
  --shadow-2: 0 24px 60px rgba(5, 14, 24, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.on-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--sky); }

h1, h2, h3 {
  color: var(--navy);
  font-weight: 750;
  font-variation-settings: "wdth" 115;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.125rem; line-height: 1.55; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  border-radius: var(--radius-s); border: 2px solid transparent;
  font: inherit; font-weight: 700; font-variation-settings: "wdth" 110;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: #F08A30; }
.btn-primary:active { background: #CF6B14; }
.btn-secondary { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-secondary:hover { background: var(--mist); }
.on-navy .btn-secondary { border-color: rgba(158, 197, 228, 0.6); color: var(--white); }
.on-navy .btn-secondary:hover { background: var(--navy-2); border-color: var(--sky); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px;
}
.brand { display: block; flex: none; padding: 6px 0; }
.brand img { width: 136px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--navy); font-weight: 600; text-decoration: none; border-radius: var(--radius-s);
}
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 0.45em; }
.nav .nav-cta { display: none; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-mist { background: var(--mist); }
.on-navy { background: var(--navy); color: var(--on-navy); }
.on-navy h1, .on-navy h2, .on-navy h3 { color: var(--white); }
.on-navy a:not(.btn) { color: var(--sky); }
.section-head { margin-bottom: 2.25rem; max-width: 760px; }
.section-head p { font-size: 1.125rem; margin-bottom: 0; }

/* ---------- Hero: the blueprint ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 48px 0 0;
  background:
    linear-gradient(var(--line-navy) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--line-navy) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(120% 80% at 80% 10%, #1F4466 0%, var(--navy) 55%, var(--navy-3) 100%);
}
.hero::after { /* fade the grid out toward the bottom */
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(transparent, rgba(14, 32, 49, 0.9)); pointer-events: none;
}
.hero-grid { display: grid; gap: 48px; position: relative; z-index: 1; }
.hero h1 { font-size: 2.625rem; font-variation-settings: "wdth" 122; line-height: 1.02; letter-spacing: -0.02em; }
.hero .lead { color: var(--on-navy); max-width: 34rem; }
.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--white); font-weight: 500; }
.hero-points svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--sky); }

/* Device mockup of a sample trades site */
.devices { position: relative; margin: 0 auto; width: 100%; max-width: 560px; padding: 28px 0 56px; }
.dim { /* blueprint dimension line */
  position: absolute; display: flex; align-items: center; gap: 8px;
  color: var(--sky); font-size: 0.75rem; font-weight: 600; font-variation-settings: "wdth" 80;
  letter-spacing: 0.02em; white-space: nowrap;
}
.dim::before, .dim::after { content: ""; flex: 1; height: 1px; background: rgba(158, 197, 228, 0.55); }
.dim-top { left: 0; right: 14%; top: 4px; }
.dim-phone { right: 0; width: 38%; bottom: 18px; }

.browser {
  width: 86%; background: var(--white); border-radius: var(--radius-m);
  box-shadow: var(--shadow-2); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #E6EDF3; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #B9C7D4; }
.browser-bar span {
  margin-left: 8px; flex: 1; background: var(--white); border-radius: 999px;
  font-size: 0.6875rem; color: var(--text-soft); padding: 3px 10px; font-style: normal;
}

.mini { color: var(--navy); }
.mini-nav { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid #E6EDF3; }
.mini-logo { font-weight: 800; font-size: 0.75rem; font-variation-settings: "wdth" 120; letter-spacing: -0.01em; }
.mini-links { display: flex; gap: 8px; }
.mini-links b { width: 26px; height: 5px; border-radius: 3px; background: #D3DEE8; }
.mini-hero {
  padding: 18px 14px 20px;
  background: linear-gradient(115deg, #0F3B5C 0%, #2D6A96 100%);
  color: var(--white);
}
.mini-hero strong { display: block; font-size: 1.0625rem; line-height: 1.15; font-variation-settings: "wdth" 118; max-width: 15ch; }
.mini-hero em { display: block; font-style: normal; font-size: 0.625rem; opacity: 0.85; margin: 6px 0 10px; max-width: 30ch; }
.mini-call {
  display: inline-block; background: var(--amber); color: var(--navy);
  font-size: 0.625rem; font-weight: 800; padding: 5px 10px; border-radius: 4px;
}
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 14px 16px; }
.mini-cards div { border: 1px solid #E6EDF3; border-radius: 6px; padding: 8px; }
.mini-cards b { display: block; width: 18px; height: 18px; border-radius: 5px; background: var(--mist); margin-bottom: 6px; }
.mini-cards s { display: block; height: 4px; border-radius: 2px; background: #D3DEE8; margin-top: 4px; text-decoration: none; }
.mini-cards s + s { width: 70%; }

.phone {
  position: absolute; right: 0; bottom: 44px; width: 34%;
  background: var(--navy-3); border-radius: 22px; padding: 7px;
  box-shadow: var(--shadow-2); border: 1px solid rgba(158, 197, 228, 0.25);
}
.phone-screen { background: var(--white); border-radius: 16px; overflow: hidden; }
.phone .mini-nav { padding: 8px 10px; }
.phone .mini-links { gap: 4px; }
.phone .mini-links b { width: 12px; height: 3px; }
.phone .mini-hero { padding: 14px 10px; }
.phone .mini-hero strong { font-size: 0.75rem; }
.phone .mini-hero em { font-size: 0.5rem; margin: 4px 0 8px; }
.phone .mini-call { font-size: 0.5625rem; padding: 6px 0; display: block; text-align: center; }
.phone-list { padding: 8px 10px 12px; display: grid; gap: 6px; }
.phone-list s { display: block; height: 4px; border-radius: 2px; background: #D3DEE8; text-decoration: none; }
.phone-list s:nth-child(2n) { width: 75%; }
.sample-tag {
  position: absolute; left: 0; bottom: 0;
  font-size: 0.75rem; color: var(--sky); font-weight: 500;
}

/* Offer facts strip */
.facts { position: relative; z-index: 1; margin-top: 8px; border-top: 1px solid var(--line-navy); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.facts li { padding: 22px 12px 24px 0; border-bottom: 1px solid var(--line-navy); }
.facts strong {
  display: block; color: var(--white); font-size: 1.75rem; line-height: 1;
  font-weight: 750; font-variation-settings: "wdth" 120; font-variant-numeric: tabular-nums; margin-bottom: 6px;
}
.facts span { font-size: 0.9375rem; color: var(--on-navy); }

/* ---------- Services bento ---------- */
.bento { display: grid; gap: 16px; }
.tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 24px; position: relative; overflow: hidden;
}
.tile h3 { margin-bottom: 0.35em; }
.tile p { margin: 0; }
.tile-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--mist); color: var(--blue); margin-bottom: 18px;
}
.tile-icon svg { width: 24px; height: 24px; }
.tile-feature { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.tile-feature h3 { color: var(--white); font-size: 1.5rem; }
.tile-feature .tile-icon { background: var(--navy-2); color: var(--sky); }
.tile-feature ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tile-feature li {
  font-size: 0.875rem; font-weight: 600; color: var(--white);
  border: 1px solid rgba(158, 197, 228, 0.35); border-radius: 999px; padding: 6px 12px;
}
.tile-feature {
  background:
    linear-gradient(var(--line-navy) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--line-navy) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--navy);
}
.wire { display: none; }
.tile-wide { background: var(--mist); border-color: var(--mist); }
.tile-wide .tile-icon { background: var(--white); }

/* ---------- Why: Maps ---------- */
.why-grid { display: grid; gap: 40px; }
.why-statement h2 { font-size: 2rem; }
.reasons { display: grid; gap: 0; }
.reason { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line-navy); }
.reason:last-child { border-bottom: 1px solid var(--line-navy); }
.reason svg { width: 28px; height: 28px; color: var(--amber); margin-top: 2px; }
.reason h3 { margin-bottom: 0.3em; }
.reason p { margin: 0; }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 32px 68px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -6px;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white);
  font-weight: 750; font-size: 1.25rem; font-variation-settings: "wdth" 115;
}
.steps li:last-child::before { background: var(--amber); color: var(--navy); }
.steps li::after { content: ""; position: absolute; left: 23px; top: 48px; bottom: 2px; width: 2px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin: 0; }

/* ---------- Plan summary + plan cards ---------- */
.plan-grid { display: grid; gap: 20px; }
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px 22px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-1);
}
.plan-featured { border: 2px solid var(--navy); }
.plan h2, .plan h3 { margin-bottom: 0.25em; }
.plan-for { color: var(--text-soft); margin-bottom: 1rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 0 0 4px; color: var(--navy); }
.price strong { font-size: 2.75rem; font-weight: 750; font-variation-settings: "wdth" 120; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-weight: 600; }
.price-note { font-size: 0.9375rem; color: var(--text-soft); margin-bottom: 1.25rem; }
.plan .btn { margin-top: auto; }
.plan-short { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.plan-short li { padding: 9px 0 9px 28px; border-top: 1px solid var(--line); position: relative; }
.plan-short li::before {
  content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg);
}
.badge {
  display: inline-block; font-size: 0.8125rem; font-weight: 700; color: var(--navy);
  background: var(--amber); border-radius: 999px; padding: 2px 10px; margin-left: 8px; vertical-align: middle;
  font-variation-settings: "wdth" 100; letter-spacing: 0;
}

.list-block { margin-top: 1.25rem; }
.list-block h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.list-block ul { margin: 0; padding: 0; list-style: none; }
.list-block > ul > li { position: relative; padding: 7px 0 7px 28px; border-top: 1px solid var(--line); }
.list-block ul ul { margin-top: 6px; padding-left: 0; }
.list-block ul ul li { padding: 4px 0 4px 16px; position: relative; font-size: 0.9375rem; }
.list-block ul ul li::before { content: ""; position: absolute; left: 2px; top: 0.85em; width: 6px; height: 2px; background: var(--text-soft); }
.list-in > ul > li::before {
  content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg);
}
.list-out > ul > li::before, .list-out > ul > li::after {
  content: ""; position: absolute; left: 3px; top: 18px; width: 14px; height: 2.5px; background: #8A99A8;
  transform: rotate(45deg);
}
.list-out > ul > li::after { transform: rotate(-45deg); }
.list-out > ul > li { color: var(--text-soft); }

.addons { width: 100%; border-collapse: collapse; }
.addons th, .addons td { text-align: left; padding: 14px 8px 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.addons th { color: var(--navy); font-weight: 650; }
.addons td.amt { white-space: nowrap; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; text-align: right; padding-right: 0; }
.addons small { display: block; color: var(--text-soft); font-weight: 400; font-size: 0.9375rem; }

.soon { border: 1px dashed #9AAABB; border-radius: var(--radius-m); padding: 20px; background: var(--white); }
.soon h3 { margin-bottom: 0.3em; }
.soon p { margin: 0; }
.tag {
  display: inline-block; font-size: 0.8125rem; font-weight: 700; color: var(--navy);
  background: var(--mist); border-radius: 999px; padding: 2px 10px; margin-left: 6px; vertical-align: middle;
  font-variation-settings: "wdth" 100; letter-spacing: 0;
}

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative;
  font-weight: 650; color: var(--navy); min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 22px; width: 10px; height: 10px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg);
  transition: transform 160ms ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 27px; }
.faq details p { padding-bottom: 8px; }

/* ---------- Commitments ---------- */
.commit-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.commit { background: var(--white); padding: 26px 24px; }
.commit h3 { margin-bottom: 0.35em; }
.commit p { margin: 0; }
.commit svg { width: 28px; height: 28px; color: var(--blue); margin-bottom: 14px; }

/* ---------- Final CTA ---------- */
.cta-band {
  background:
    linear-gradient(var(--line-navy) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--line-navy) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--navy);
}
.cta-band h2 { max-width: 20ch; font-size: 2.125rem; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  padding: 48px 0 40px; color: var(--on-navy);
  background:
    linear-gradient(var(--line-navy) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--line-navy) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--navy);
}
.page-head h1 { margin-bottom: 0.3em; color: var(--white); font-variation-settings: "wdth" 122; }
.page-head p { font-size: 1.125rem; margin-bottom: 0; }
.page-head a { color: var(--sky); }

/* ---------- Terms ---------- */
.legal { padding: 40px 0 64px; }
.legal-grid { display: grid; gap: 32px; }
.toc { font-size: 0.9375rem; }
.toc details { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 0 16px; }
.toc summary { cursor: pointer; padding: 12px 0; font-weight: 650; color: var(--navy); min-height: 44px; }
.toc ol { margin: 0 0 12px; padding-left: 1.4em; }
.toc li { padding: 3px 0; }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: 1.375rem; margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.legal-body h2:first-of-type { margin-top: 1.5rem; }
.legal-body ul { padding-left: 1.25em; margin: 0 0 1em; }
.legal-body li { margin-bottom: 0.5em; }
.legal-meta { color: var(--text-soft); }
.ph {
  background: #FFF0DF; color: #7A3A00; padding: 0 3px; border-radius: 3px;
  font-weight: 600; white-space: normal; overflow-wrap: anywhere;
}
.note {
  background: var(--mist); border-left: 4px solid var(--blue); padding: 14px 16px; border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: 0.9375rem; max-width: 72ch;
}

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: 40px; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; color: var(--navy); }
.field .opt { font-weight: 400; color: var(--text-soft); }
.field .hint { font-size: 0.875rem; color: var(--text-soft); margin: 0; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--navy);
  min-height: 48px; padding: 10px 12px;
  border: 1.5px solid #9AAABB; border-radius: var(--radius-s); background: var(--white);
  width: 100%;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--error); }
.field-row { display: grid; gap: 18px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-fine { font-size: 0.875rem; color: var(--text-soft); margin: 0; }
.aside-box { background: var(--mist); border-radius: var(--radius-l); padding: 26px 22px; }
.aside-box h2 { font-size: 1.25rem; }
.aside-box ol { padding-left: 1.3em; margin: 0 0 1em; }
.aside-box li { margin-bottom: 0.5em; padding-left: 4px; }

/* ---------- Expired preview ---------- */
.expired { padding: 56px 0 72px; }
.expired .box { max-width: 640px; }
.expired-icon { width: 56px; height: 56px; color: var(--blue); margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: #C9D8E6; padding: 48px 0 32px; font-size: 0.9375rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: 24px; }
.footer-logo { width: 150px; }
.footer-tag { margin: 12px 0 0; color: var(--on-navy); max-width: 34ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px 0 0; }
.footer-legal { border-top: 1px solid var(--navy-2); margin-top: 28px; padding-top: 20px; }
.footer-legal p { margin: 0 0 4px; max-width: none; }

/* ---------- One orchestrated moment: the hero drafts itself in ---------- */
@media (prefers-reduced-motion: no-preference) {
  .browser { animation: rise 700ms var(--ease) 120ms both; }
  .phone { animation: rise 700ms var(--ease) 320ms both; }
  .dim { animation: fade 600ms ease 700ms both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.25rem; }
  .hero h1 { font-size: 3.5rem; }
  .brand img { width: 160px; }
  .nav { gap: 8px; }
  .nav .nav-cta { display: inline-flex; margin-left: 8px; min-height: 44px; padding: 8px 16px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .facts ul { grid-template-columns: repeat(4, 1fr); }
  .facts li { border-bottom: 0; padding-right: 20px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-feature { grid-column: span 2; }
  .commit-grid { grid-template-columns: 1fr 1fr; }
  .mini-hero strong { font-size: 1.375rem; }
  .mini-hero em { font-size: 0.75rem; }
}

@media (min-width: 900px) {
  .section { padding: 104px 0; }
  .hero { padding-top: 80px; }
  .hero h1 { font-size: 4.25rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .devices { max-width: none; }
  .facts { margin-top: 56px; }
  .bento { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .tile { padding: 30px; }
  .tile-feature { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; }
  .tile-feature h3 { font-size: 2rem; }
  .tile-feature p { font-size: 1.0625rem; max-width: 46ch; }
  .tile-wide { grid-column: span 2; }
  .wire {
    position: absolute; top: 30px; right: 30px; width: 40%; aspect-ratio: 4 / 3;
    display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 10% 38% 12% 1fr; gap: 8px;
    padding: 10px; border: 1px dashed rgba(158, 197, 228, 0.5); border-radius: 10px;
  }
  .wire b { border: 1px solid rgba(158, 197, 228, 0.45); border-radius: 4px; }
  .w-nav { grid-column: 1 / -1; }
  .w-hero { grid-column: 1 / -1; background: rgba(45, 106, 150, 0.35); }
  .w-btn { grid-column: 1 / 2; background: var(--amber); border-color: var(--amber) !important; }
  .w-card { grid-row: 4; }

  .why-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
  .why-statement { position: sticky; top: 120px; }
  .why-statement h2 { font-size: 2.75rem; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps li { padding: 72px 0 0 0; }
  .steps li::before { top: 0; }
  .steps li::after { left: 60px; right: -16px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .plan-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .plan { padding: 36px 32px; }
  .commit-grid { grid-template-columns: repeat(4, 1fr); }
  .cta-band h2 { font-size: 2.75rem; }
  .legal-grid { grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
  .toc { position: sticky; top: 96px; }
  .toc details { border: 0; padding: 0; }
  .toc summary { padding-top: 0; }
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: end; }
  .page-head { padding: 80px 0 64px; }
  .page-head h1 { font-size: 3.25rem; }
}

@media (min-width: 1200px) {
  .hero h1 { font-size: 4.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .toc, .skip { display: none; }
  .page-head { background: none; color: inherit; }
  .page-head h1 { color: var(--navy); }
  .ph { background: none; color: inherit; }
}
