/* Heard launch website — Dan Tilsley */
:root {
  --midnight: #050916;
  --midnight-2: #090f20;
  --surface: rgba(16, 25, 45, 0.72);
  --surface-strong: #10182a;
  --surface-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(151, 190, 255, 0.16);
  --line-strong: rgba(62, 158, 255, 0.34);
  --blue: #0a84ff;
  --blue-bright: #2da2ff;
  --cyan: #32d7ff;
  --white: #f7f9ff;
  --text: #dce5f5;
  --muted: #91a0b9;
  --muted-2: #66758f;
  --success: #32d7a0;
  --danger: #ff5f68;
  --max: 1180px;
  --radius-lg: 32px;
  --radius-md: 22px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--midnight); }
body {
  margin: 0;
  min-width: 320px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 50% -10%, rgba(10, 132, 255, 0.17), transparent 37rem),
    linear-gradient(180deg, #07101f 0%, var(--midnight) 30%, #040711 100%);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(85, 140, 220, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 140, 220, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(50, 215, 255, .9); outline-offset: 4px; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 999;
  padding: .75rem 1rem; border-radius: 12px; color: white; background: var(--blue);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid transparent;
  background: rgba(5, 9, 22, 0.7);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.site-header.scrolled { border-color: var(--line); }
.nav {
  width: min(var(--max), calc(100% - 2rem)); min-height: 70px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; font-weight: 750; letter-spacing: 0; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 26px rgba(10,132,255,.28); }
.brand small { display: block; margin-top: .08rem; color: var(--muted); font-size: .64rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: clamp(.85rem, 1.6vw, 1.4rem); }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .92rem; font-weight: 620; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-cta { padding: .62rem .9rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--blue-bright) !important; background: rgba(10,132,255,.09); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); color: white; }

.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 2rem)); margin-inline: auto; }
.eyebrow { margin: 0 0 1rem; color: var(--cyan); font-size: .79rem; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.display { margin: 0; font-size: 6rem; line-height: .96; letter-spacing: 0; }
.headline-nowrap { white-space: nowrap; }
.gradient-text { background: linear-gradient(130deg, #fff 22%, #77c5ff 68%, #28ddff); background-clip: text; -webkit-background-clip: text; color: transparent; }
.section-title { margin: 0; max-width: 800px; font-size: 4.2rem; line-height: 1.03; letter-spacing: 0; }
.section-lede { margin: 1.25rem 0 0; max-width: 690px; color: var(--text); font-size: 1.18rem; line-height: 1.7; }
.muted { color: var(--muted); }
.kicker { color: var(--blue-bright); font-size: .9rem; font-weight: 720; }

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .8rem 1.1rem; border: 1px solid var(--line); border-radius: 15px; text-align: center; text-decoration: none; font-weight: 700; }
.button.primary { color: white; border-color: rgba(66, 170, 255, .45); background: linear-gradient(180deg, #168dff, #0876df); box-shadow: 0 10px 30px rgba(10,132,255,.22); }
.button.secondary { background: rgba(255,255,255,.055); }
.button:hover { transform: translateY(-1px); }
.app-store-placeholder { min-width: 184px; padding: .72rem 1.25rem; }
.app-store-label { display: grid; gap: .18rem; line-height: 1; }
.app-store-kicker { color: rgba(255,255,255,.72); font-size: .68rem; font-weight: 600; letter-spacing: .01em; }
.app-store-title { font-size: 1.03rem; font-weight: 750; letter-spacing: -.01em; line-height: 1.05; }
.app-store-status { cursor: default; }
.app-store-status:hover { transform: none; }

.hero { position: relative; min-height: 910px; padding: clamp(5rem, 9vw, 8rem) 0 5rem; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: -170px; translate: -50% 0;
  width: max(1500px, 110vw); height: 700px;
  background: url('../Assets/heard-horizon-desktop.png') center bottom / contain no-repeat;
  opacity: .88; filter: saturate(1.08);
  mask-image: linear-gradient(to bottom, transparent 2%, black 43%, black 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero-copy { padding-bottom: 5rem; }
.hero-brand { display: inline-flex; align-items: center; gap: 1rem; margin-bottom: 1.7rem; }
.hero-brand img { width: 84px; border-radius: 20px; box-shadow: 0 15px 55px rgba(10,132,255,.34); }
.hero-brand div { color: var(--muted); font-weight: 650; }
.hero-brand strong { display: block; color: white; font-size: 1.4rem; letter-spacing: 0; }
.hero-copy .section-lede { max-width: 600px; }
.hero-note { display: flex; align-items: center; gap: .55rem; margin-top: 1.3rem; color: var(--muted); font-size: .84rem; }
.hero-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 14px var(--success); }

.phone-stage { position: relative; min-height: 690px; perspective: 1400px; }
.phone {
  --device-radius: 52px;
  --screen-radius: 42px;
  --frame-width: 7px;
  --bezel-width: 9px;
  position: absolute;
  overflow: hidden;
  padding: calc(var(--frame-width) + var(--bezel-width));
  border-radius: var(--device-radius);
  background:
    linear-gradient(90deg, rgba(255,255,255,.18), transparent 9%, transparent 91%, rgba(255,255,255,.14)),
    linear-gradient(145deg, #7c8798 0%, #202837 16%, #05070c 46%, #303a4d 78%, #a2acbc 100%);
  box-shadow:
    0 54px 110px rgba(0, 0, 0, .62),
    0 0 70px rgba(10, 132, 255, .18),
    inset 0 0 0 1px rgba(255, 255, 255, .34),
    inset 0 0 0 var(--frame-width) #090c13,
    inset 0 0 0 calc(var(--frame-width) + 1px) rgba(255,255,255,.11);
}
.phone::before,
.device-card .phone-single::before {
  content: "";
  position: absolute;
  inset: calc(var(--frame-width) + var(--bezel-width));
  z-index: 3;
  pointer-events: none;
  border-radius: var(--screen-radius);
  background:
    linear-gradient(112deg, rgba(255,255,255,.24) 0%, rgba(255,255,255,.09) 12%, transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.14), transparent 9%, transparent 88%, rgba(255,255,255,.08));
  mix-blend-mode: screen;
  opacity: .52;
}
.phone::after,
.device-card .phone-single::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--frame-width) + var(--bezel-width) + 13px);
  z-index: 5;
  translate: -50% 0;
  width: 31%;
  height: 3.15%;
  min-height: 19px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 74% 50%, rgba(55,72,94,.62) 0 6%, transparent 8%),
    linear-gradient(180deg, #12151d, #020307 68%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.09),
    inset 0 -1px 1px rgba(255,255,255,.05),
    0 1px 1px rgba(255,255,255,.08);
}
.phone img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border: var(--bezel-width) solid #030409;
  border-radius: var(--screen-radius);
  background: #05070d;
  object-fit: cover;
}
.phone.main { width: 368px; left: 50%; top: 0; translate: -50% 0; z-index: 3; }
.phone.left { width: 272px; left: -16px; top: 132px; transform: rotateY(18deg) rotateZ(-5deg); z-index: 1; opacity: .9; }
.phone.right { width: 272px; right: -16px; top: 132px; transform: rotateY(-18deg) rotateZ(5deg); z-index: 2; opacity: .92; }
.phone-glow { position: absolute; left: 50%; top: 48%; translate: -50% -50%; width: 650px; height: 650px; border-radius: 50%; background: radial-gradient(circle, rgba(24,145,255,.34), rgba(18,83,160,.16) 36%, transparent 66%); filter: blur(30px); }
.hero-device-render { position: relative; z-index: 2; display: block; width: min(760px, 112%); max-width: none; margin: -1.5rem 0 0 50%; translate: -50% 0; filter: saturate(1.04); }

.trust-strip { margin-top: -1rem; padding: 1rem 0 6rem; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.trust-item { padding: 1.05rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(11,18,34,.68); text-align: center; }
.trust-item strong { display: block; font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .8rem; }

.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section-head { margin-bottom: clamp(2.25rem, 5vw, 4rem); }
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.feature-row.reverse { grid-template-columns: minmax(360px, .8fr) minmax(0, 1fr); }
.feature-row.reverse .feature-copy { order: 2; }
.feature-copy h3 { margin: .6rem 0 1rem; font-size: 3.25rem; line-height: 1.05; letter-spacing: 0; }
.feature-copy p { color: var(--text); font-size: 1.08rem; line-height: 1.72; }
.feature-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .85rem; }
.feature-list li { position: relative; padding-left: 1.7rem; color: var(--text); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .47rem; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 14px rgba(10,132,255,.8); }
.device-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 700px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 18%, rgba(47, 162, 255, .18), transparent 35%),
    linear-gradient(155deg, rgba(14,32,60,.78), rgba(5,9,20,.5));
  overflow: hidden;
  box-shadow: var(--shadow);
}
.device-card::before { content: ""; position: absolute; inset: auto -15% -32% -15%; height: 65%; background: url('../Assets/heard-horizon-desktop.png') center bottom / cover no-repeat; opacity: .45; mask-image: linear-gradient(transparent, black 52%); }
.device-card .phone-single {
  --device-radius: 52px;
  --screen-radius: 42px;
  --frame-width: 7px;
  --bezel-width: 9px;
  position: relative;
  overflow: hidden;
  width: min(368px, 76%);
  padding: calc(var(--frame-width) + var(--bezel-width));
  border-radius: var(--device-radius);
  background:
    linear-gradient(90deg, rgba(255,255,255,.18), transparent 9%, transparent 91%, rgba(255,255,255,.14)),
    linear-gradient(145deg, #7c8798 0%, #202837 16%, #05070c 46%, #303a4d 78%, #a2acbc 100%);
  box-shadow:
    0 54px 110px rgba(0,0,0,.62),
    0 0 70px rgba(10,132,255,.16),
    inset 0 0 0 1px rgba(255,255,255,.34),
    inset 0 0 0 var(--frame-width) #090c13,
    inset 0 0 0 calc(var(--frame-width) + 1px) rgba(255,255,255,.11);
}
.device-card .phone-single img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border: var(--bezel-width) solid #030409;
  border-radius: var(--screen-radius);
  background: #05070d;
  object-fit: cover;
}
.device-card.wide-shot .phone-single { width: min(408px, 80%); }
.feature-device-render { position: relative; z-index: 1; display: block; width: min(390px, 82%); max-width: none; translate: 0 4.5%; filter: saturate(1.03); }

.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { position: relative; min-height: 260px; padding: 1.7rem; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(18,29,50,.92), rgba(7,12,24,.75)); overflow: hidden; }
.feature-card::after { content: ""; position: absolute; inset: auto -3rem -5rem auto; width: 10rem; height: 10rem; border-radius: 50%; background: rgba(10,132,255,.18); filter: blur(25px); }
.feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(56,167,255,.32); border-radius: 14px; background: rgba(10,132,255,.1); color: var(--cyan); font-size: 1.3rem; }
.feature-card h3 { margin: 1.35rem 0 .6rem; font-size: 1.35rem; letter-spacing: 0; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.privacy-panel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: clamp(2rem, 5vw, 4.5rem); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(8,31,61,.9), rgba(5,10,23,.9)); overflow: hidden; box-shadow: var(--shadow); }
.privacy-panel::before { content: ""; position: absolute; width: 430px; height: 430px; right: -130px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(31,160,255,.28), transparent 67%); }
.privacy-points { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.privacy-point { padding: 1rem; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.04); }
.privacy-point strong { display: block; margin-bottom: .3rem; }
.privacy-point span { color: var(--muted); font-size: .86rem; line-height: 1.5; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.1rem, 2.5vw, 2rem); align-items: start; max-width: 980px; margin-inline: auto; }
.gallery button {
  --device-radius: 30px;
  --screen-radius: 24px;
  --frame-width: 4px;
  --bezel-width: 5px;
  position: relative;
  overflow: hidden;
  padding: calc(var(--frame-width) + var(--bezel-width));
  border: 0;
  border-radius: var(--device-radius);
  background:
    linear-gradient(90deg, rgba(255,255,255,.16), transparent 10%, transparent 90%, rgba(255,255,255,.12)),
    linear-gradient(145deg, #6f7a8c 0%, #1b2230 18%, #05070c 48%, #273245 78%, #9aa5b6 100%);
  box-shadow:
    0 28px 62px rgba(0,0,0,.46),
    inset 0 0 0 1px rgba(255,255,255,.28),
    inset 0 0 0 var(--frame-width) #090c13;
  cursor: zoom-in;
}
.gallery button::before {
  content: "";
  position: absolute;
  inset: calc(var(--frame-width) + var(--bezel-width));
  z-index: 2;
  pointer-events: none;
  border-radius: var(--screen-radius);
  background: linear-gradient(112deg, rgba(255,255,255,.22), transparent 32%);
  mix-blend-mode: screen;
  opacity: .42;
}
.gallery button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--frame-width) + var(--bezel-width) + 6px);
  translate: -50% 0;
  z-index: 4;
  width: 31%;
  height: 3.15%;
  min-height: 10px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 74% 50%, rgba(55,72,94,.62) 0 6%, transparent 8%),
    linear-gradient(180deg, #12151d, #020307 68%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.08);
}
.gallery button:nth-child(3n + 2) { margin-top: 2.25rem; }
.gallery img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  border: var(--bezel-width) solid #030409;
  border-radius: var(--screen-radius);
}
.gallery button:hover { transform: translateY(-5px); box-shadow: 0 34px 70px rgba(0,0,0,.5), 0 0 34px rgba(10,132,255,.14), inset 0 0 0 1px rgba(255,255,255,.32), inset 0 0 0 var(--frame-width) #090c13; }

dialog { width: min(92vw, 430px); max-height: 92vh; padding: 0; border: 1px solid rgba(255,255,255,.26); border-radius: 28px; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.75); }
dialog::backdrop { background: rgba(0,3,12,.82); backdrop-filter: blur(15px); }
dialog img { width: 100%; display: block; }
.dialog-close { position: fixed; top: max(1rem, env(safe-area-inset-top)); right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: white; background: rgba(0,0,0,.7); font-size: 1.25rem; cursor: pointer; }

.cta { position: relative; overflow: hidden; text-align: center; padding: clamp(4rem, 10vw, 8rem) 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(10,25,50,.88), rgba(4,8,19,.88)); }
.cta::after { content: ""; position: absolute; inset: auto 0 -10% 0; height: 75%; background: url('../Assets/heard-horizon-desktop.png') center bottom / cover no-repeat; opacity: .7; mask-image: linear-gradient(transparent, black 38%); }
.cta > * { position: relative; z-index: 1; }
.cta .section-title { margin-inline: auto; }
.cta .section-lede { margin-inline: auto; }
.cta .button-row { justify-content: center; }

.site-footer { padding: 3rem 0 calc(3rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.footer-brand { display: flex; gap: .8rem; align-items: center; }
.footer-brand img { width: 44px; border-radius: 11px; }
.footer-brand strong { color: white; display: block; }
.footer-brand span { font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.2rem; font-size: .86rem; }
.footer-links a { text-decoration: none; }
.footer-note { grid-column: 1 / -1; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .75rem; line-height: 1.6; }

/* Information pages */
.page-hero { padding: clamp(5rem, 10vw, 8rem) 0 3rem; }
.page-hero h1 { margin: 0; font-size: 5rem; letter-spacing: 0; line-height: 1; }
.page-hero p { max-width: 700px; color: var(--text); font-size: 1.15rem; line-height: 1.7; }
.page-meta { display: inline-flex; margin-top: 1rem; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .78rem; }
.error-icon { border-radius: 20px; box-shadow: 0 15px 55px rgba(10,132,255,.34); }
.prose { padding: 1rem 0 7rem; }
.prose-card { padding: clamp(1.4rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 26px; background: rgba(13,20,36,.75); }
.prose h2 { margin: 2.8rem 0 .8rem; font-size: 1.65rem; letter-spacing: 0; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.7rem 0 .55rem; font-size: 1.1rem; }
.prose p, .prose li { color: var(--text); line-height: 1.75; overflow-wrap: anywhere; }
.prose ul { padding-left: 1.2rem; }
.prose a { color: var(--blue-bright); }
.notice { margin: 1.5rem 0; padding: 1.2rem; border-left: 3px solid var(--blue); border-radius: 4px 16px 16px 4px; background: rgba(10,132,255,.085); color: var(--text); line-height: 1.65; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.support-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.035); }
.support-card h3 { margin-top: 0; }
.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; color: white; font-weight: 700; }
.faq details p { margin-bottom: 0; }
.source-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.source-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.035); }
.source-card h2 { margin-top: 0; }
.source-label { color: var(--cyan); font-size: .75rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) and (min-width: 961px) {
  .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(390px, .85fr); gap: 2.25rem; }
  .display { font-size: 5.25rem; }
  .phone-stage { min-height: 620px; }
  .hero-device-render { width: min(650px, 108%); }
}

@media (max-width: 960px) {
  .hero { min-height: auto; padding-bottom: 7rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; padding-bottom: 0; }
  .hero-brand, .hero-note { justify-content: center; }
  .hero-copy .section-lede { margin-inline: auto; }
  .hero-copy .button-row { justify-content: center; }
  .phone-stage { width: min(760px, 100%); margin: auto; }
  .display { font-size: 5.2rem; }
  .section-title { font-size: 3.7rem; }
  .feature-copy h3 { font-size: 3rem; }
  .page-hero h1 { font-size: 4.5rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy { order: initial; }
  .device-card { min-height: 620px; }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
  .privacy-panel { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav { min-height: 64px; }
  .menu-button { display: inline-grid; place-items: center; }
  .nav-links { position: fixed; inset: 65px 1rem auto 1rem; display: none; max-height: calc(100svh - 82px); overflow: auto; padding: 1rem; border: 1px solid var(--line); border-radius: 20px; background: rgba(5,9,20,.96); box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .nav-links a { padding: .75rem; white-space: normal; }
  .hero { padding-top: 4rem; }
  .hero::after { background-image: url('../Assets/heard-horizon-mobile.png'); width: 900px; height: 760px; bottom: -300px; opacity: .75; }
  .hero-brand { display: grid; justify-items: center; }
  .hero-brand img { width: 74px; }
  .display { font-size: 4.6rem; }
  .section-title { font-size: 3.25rem; }
  .feature-copy h3 { font-size: 2.6rem; }
  .page-hero h1 { font-size: 4rem; }
  .phone-stage { min-height: 575px; overflow: hidden; }
  .hero-device-render { width: min(720px, 122%); margin-top: -1rem; }
  .phone, .device-card .phone-single { --device-radius: 42px; --screen-radius: 34px; --frame-width: 6px; --bezel-width: 7px; }
  .phone.main { width: 275px; }
  .phone.left { width: 185px; top: 130px; left: -30px; }
  .phone.right { width: 185px; top: 130px; right: -30px; }
  .phone-glow { width: 400px; height: 400px; }
  .trust-strip { padding-bottom: 3rem; }
  .section { padding: 4.5rem 0; }
  .device-card { min-height: 560px; }
  .feature-cards, .support-grid, .source-grid { grid-template-columns: 1fr; }
  .privacy-points { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); max-width: 620px; }
  .gallery button:nth-child(3n + 2) { margin-top: 0; }
  .gallery button:nth-child(even) { margin-top: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 430px) {
  .container, .narrow, .nav { width: min(100% - 1.25rem, var(--max)); }
  .button-row { width: 100%; }
  .button { width: 100%; }
  .hero-brand div { text-align: center; }
  .display { font-size: 3.35rem; }
  .section-title { font-size: 2.45rem; }
  .section-lede { font-size: 1.06rem; }
  .feature-copy h3 { font-size: 2.15rem; }
  .page-hero h1 { font-size: 3.05rem; }
  .phone-stage { min-height: 460px; }
  .hero-device-render { width: min(620px, 138%); margin-top: .5rem; }
  .phone, .device-card .phone-single { --device-radius: 36px; --screen-radius: 29px; --frame-width: 5px; --bezel-width: 6px; }
  .phone.main { width: 244px; }
  .phone.left, .phone.right { width: 160px; top: 120px; }
  .device-card { min-height: 510px; border-radius: 24px; }
  .device-card .phone-single { width: min(275px, 82%); }
  .feature-device-render { width: min(330px, 88%); translate: 0 3%; }
  .feature-card, .privacy-panel, .prose-card { border-radius: 20px; }
  .gallery { gap: .6rem; }
  .gallery button { --device-radius: 22px; --screen-radius: 17px; --frame-width: 3px; --bezel-width: 4px; }
  .gallery button::after { min-height: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
