/* ============================================================
   AGORA — style.css
   A human-first digital public square.
   Mobile-first, vanilla CSS. No frameworks, no build step.

   Breakpoints (mobile-first, min-width unless noted):
     ≤480px   phone       — tuned in section 21 (max-width overrides)
     ≤768px   tablet      — hamburger nav, single-column layouts
     ≥769px   desktop nav — inline links + CTA
     ≥1024px  wide        — two-column hero, three-column gallery

   Palette (shared with the Agora app + logo):
     ink navy surfaces · cyan signal · emerald status ·
     indigo/cream from the logo mark
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #05080f;
  --bg-soft: #070c16;
  --surface: #0b1220;
  --surface-2: #0e1626;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);

  --text: #e7edf7;
  --text-dim: #9aa8bf;
  --text-faint: #5d6b82;

  --accent: #a5f3fc;
  --accent-deep: #22d3ee;
  --accent-soft: rgba(165, 243, 252, 0.08);
  --emerald: #6ee7b7;
  --indigo: #3f39cb;
  --cream: #ebeacb;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --header-h: 68px;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;

  --shadow-glow: 0 24px 70px -24px rgba(34, 211, 238, 0.28);
  --shadow-card: 0 24px 60px -30px rgba(2, 6, 15, 0.9);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Belt-and-braces: decorative orbs bleed past the viewport edge and
     must never create a horizontal scrollbar on phones. */
  overflow-x: hidden;
  overflow-x: clip;
}

/* Set by app.js while the mobile menu is open */
html.menu-open,
html.menu-open body {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(58rem 36rem at 85% -12%, rgba(34, 211, 238, 0.07), transparent 60%),
    radial-gradient(46rem 30rem at -10% 18%, rgba(63, 57, 203, 0.12), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-wrap: anywhere;
}

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

img {
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(165, 243, 252, 0.28);
  color: #f8fdff;
}

:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link (a11y) */
.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  background: var(--accent);
  color: #05121a;
  font-weight: 600;
  font-size: 0.85rem;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0.75rem;
}

/* ---------- 3. Layout primitives ---------- */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(1120px, 100% - 4rem);
  }
}

.section {
  padding-block: clamp(4rem, 9vw, 7rem);
  position: relative;
}

.section--alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 1rem;
  color: var(--text-dim);
}

/* Mono eyebrow labels — the "signal" motif */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
}

.eyebrow::before {
  content: "";
  width: 1.9rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-deep));
}

.eyebrow--center::after {
  content: "";
  width: 1.9rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-deep), transparent);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px rgba(110, 231, 183, 0.9);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow__dot {
    animation: none;
  }
}

/* Type scale */
h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 650;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.9rem);
}

.h3 {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

.accent {
  color: var(--accent);
}

.lead {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.8;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn svg {
  flex: none;
}

.btn--primary {
  background: var(--accent);
  color: #05121a;
  box-shadow: 0 0 0 0 rgba(165, 243, 252, 0);
}

.btn--primary:hover {
  background: #c4f6fe;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -12px rgba(103, 232, 249, 0.45);
}

.btn--ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(148, 163, 184, 0.04);
}

.btn--ghost:hover {
  border-color: rgba(165, 243, 252, 0.55);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.15rem 2.2rem;
  font-size: 1.02rem;
}

.btn--sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.8rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ---------- 5. Header / nav ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  background: rgba(5, 8, 15, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(4, 7, 13, 0.88);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.nav__logo-mark {
  width: 30px;
  height: 30px;
  flex: none;
  filter: drop-shadow(0 4px 14px rgba(63, 57, 203, 0.55));
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link.is-active {
  color: var(--accent);
}

.nav__link.is-active::after,
.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__cta {
  display: none;
}

@media (min-width: 769px) {
  .nav__cta {
    display: inline-flex;
  }
}

/* Hamburger */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.05);
}

.nav__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav__toggle.is-open .nav__toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav__toggle.is-open .nav__toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  inset-inline: 0;
  z-index: 55;
  display: grid;
  gap: 0.1rem;
  padding: 0.9rem 1.25rem 1.6rem;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(4, 7, 13, 0.98);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu a:not(.btn) {
  padding: 0.95rem 0.35rem;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.mobile-menu a:not(.btn):active {
  color: var(--accent);
}

.mobile-menu .btn {
  margin-top: 1.1rem;
}

@media (min-width: 769px) {
  .nav__links {
    display: flex;
  }
  .nav__toggle,
  .mobile-menu {
    display: none;
  }
}

/* ---------- 6. Hero (home) ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 9vw, 6rem));
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 3.25rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 2rem;
  }
}

.hero .display {
  margin-top: 1.4rem;
}

.hero__lead {
  max-width: 33rem;
  margin-top: 1.4rem;
  color: var(--text-dim);
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 2.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero__meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
  opacity: 0.8;
}

/* Decorative orbs */
.orb {
  position: absolute;
  border: 1px solid rgba(165, 243, 252, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.orb--one {
  width: 30rem;
  height: 30rem;
  right: -12rem;
  top: 12%;
}

.orb--two {
  width: 21rem;
  height: 21rem;
  right: -8rem;
  top: 22%;
  border-color: rgba(110, 231, 183, 0.08);
}

/* ---------- 7. Phone frame (real app screenshots) ----------
   A single reusable bezel. Drop any 9:16 portrait screenshot into
   .phone__screen > img and it is cropped/fitted automatically.

   Sizes:  .phone        default (gallery)        ~ 260px wide
           .phone--hero  hero visual              ~ 320px wide
           .phone--sm    compact (cards, shared)  ~ 200px wide
   ------------------------------------------------------------ */
.phone {
  --phone-w: 260px;
  --bezel: 0.55rem;
  --phone-radius: 2.4rem;
  position: relative;
  width: var(--phone-w);
  max-width: 100%;
  margin-inline: auto;
  padding: var(--bezel);
  border-radius: var(--phone-radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0) 45%),
    linear-gradient(165deg, #121b2e, #070d19 60%, #05090f);
  border: 1px solid var(--border-strong);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.06),
    var(--shadow-glow),
    var(--shadow-card);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.phone__screen {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: calc(var(--phone-radius) - var(--bezel));
  background: #050b14;
  /* faint inner ring so a dark screenshot still reads as a screen */
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Punch-hole camera (Android style) */
.phone__notch {
  position: absolute;
  top: calc(var(--bezel) + 0.55rem);
  left: 50%;
  transform: translateX(-50%);
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #02040a;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

/* Side buttons */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: 2px;
  border-radius: 2px;
  background: rgba(148, 163, 184, 0.35);
}

.phone::before {
  right: -3px;
  top: 22%;
  height: 12%;
}

.phone::after {
  left: -3px;
  top: 26%;
  height: 7%;
}

.phone--hero {
  --phone-w: 320px;
  --bezel: 0.6rem;
  --phone-radius: 2.7rem;
}

.phone--sm {
  --phone-w: 200px;
  --bezel: 0.45rem;
  --phone-radius: 1.9rem;
}

/* Hero placement */
.hero__visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  margin-top: 0.5rem;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: -10% -18%;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.14), transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}

.hero__visual .phone {
  transform: rotate(-2.5deg);
}

.hero__visual:hover .phone {
  transform: rotate(0deg) translateY(-6px);
}

.hero__visual-caption {
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  .hero__visual .phone,
  .hero__visual:hover .phone {
    transform: none;
  }
}

/* Screenshot gallery (home) */
.screens {
  display: grid;
  gap: 2.5rem 1.5rem;
  justify-items: center;
}

@media (min-width: 640px) {
  .screens {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .screens {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.screen {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.screen:hover .phone {
  transform: translateY(-6px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 30px 80px -28px rgba(34, 211, 238, 0.4),
    var(--shadow-card);
}

.screen figcaption strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.screen figcaption span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-dim);
}

/* In-app peek (shared-post page) */
.peek {
  display: grid;
  gap: 1.75rem;
  justify-items: center;
  text-align: center;
  padding: clamp(1.6rem, 5vw, 2.4rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(28rem 14rem at 0% 100%, rgba(63, 57, 203, 0.16), transparent 60%),
    var(--surface);
}

@media (min-width: 600px) {
  .peek {
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: center;
    text-align: left;
    gap: 2.25rem;
  }
}

.peek__text h2 {
  margin-top: 0.9rem;
  font-size: clamp(1.3rem, 3.4vw, 1.7rem);
}

.peek__text p:last-child {
  margin-top: 0.8rem;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text-dim);
}

/* Download card visual */
.dl-card__visual {
  display: none;
}

/* ---------- 8. Principle cards (motive) ---------- */
.principles {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 720px) {
  .principles {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }
}

.principle {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.9rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), rgba(11, 18, 32, 0.4));
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.principle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(22rem 12rem at 85% -10%, rgba(165, 243, 252, 0.09), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.principle:hover {
  transform: translateY(-5px);
  border-color: rgba(165, 243, 252, 0.35);
  box-shadow: 0 30px 60px -34px rgba(34, 211, 238, 0.35);
}

.principle:hover::before {
  opacity: 1;
}

.principle__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.principle__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(165, 243, 252, 0.28);
  background: var(--accent-soft);
  color: var(--accent);
}

.principle__icon svg {
  width: 22px;
  height: 22px;
}

.principle__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--text-faint);
}

.principle h3 {
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.principle p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ---------- 9. Quote band ---------- */
.quote {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.quote blockquote {
  max-width: 56rem;
  margin-inline: auto;
  font-size: clamp(1.7rem, 4.6vw, 3rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--text);
  text-wrap: balance;
}

.quote cite {
  display: block;
  margin-top: 1.6rem;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--emerald);
  opacity: 0.85;
}

.quote .orb--one {
  right: auto;
  left: -14rem;
  top: -10rem;
  border-color: rgba(63, 57, 203, 0.2);
}

/* ---------- 10. CTA panel ---------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 6vw, 4.5rem);
  background:
    radial-gradient(46rem 20rem at 88% -30%, rgba(34, 211, 238, 0.16), transparent 55%),
    radial-gradient(38rem 18rem at -5% 130%, rgba(63, 57, 203, 0.26), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-card);
}

.cta-panel h2 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  letter-spacing: -0.035em;
  max-width: 34rem;
}

.cta-panel p {
  margin-top: 1rem;
  color: var(--text-dim);
  max-width: 32rem;
}

.cta-panel .hero__actions {
  margin-top: 2rem;
}

.cta-panel .hero__meta {
  margin-top: 2.2rem;
}

/* ---------- 11. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 9vw, 5.5rem));
  padding-bottom: clamp(2.75rem, 7vw, 4.5rem);
  overflow: hidden;
}

.page-hero .display {
  margin-top: 1.4rem;
  max-width: 20ch;
}

.page-hero .lead {
  max-width: 36rem;
  margin-top: 1.4rem;
}

.page-hero .orb--one {
  right: -10rem;
  top: 4%;
}

/* ---------- 12. Download card ---------- */
.dl-card {
  display: grid;
  gap: 2rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.9rem, 5vw, 3.25rem);
  background:
    radial-gradient(40rem 18rem at 100% 0%, rgba(110, 231, 183, 0.08), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-card);
}

@media (min-width: 880px) {
  .dl-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 3rem;
  }
}

@media (min-width: 1080px) {
  .dl-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) 190px;
    column-gap: 2.5rem;
  }
  .dl-card__visual {
    --phone-w: 190px;
    display: block;
    margin-inline: 0;
    justify-self: end;
  }
}

.dl-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(110, 231, 183, 0.35);
  background: rgba(110, 231, 183, 0.07);
  color: var(--emerald);
}

.dl-card__icon svg {
  width: 30px;
  height: 30px;
}

.dl-card h2 {
  margin-top: 1.25rem;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
}

.dl-card__desc {
  margin-top: 0.8rem;
  color: var(--text-dim);
  font-size: 0.97rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.05);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.badge--accent {
  border-color: rgba(165, 243, 252, 0.4);
  background: var(--accent-soft);
  color: var(--accent);
}

.badge--emerald {
  border-color: rgba(110, 231, 183, 0.4);
  background: rgba(110, 231, 183, 0.06);
  color: var(--emerald);
}

.dl-card__actions {
  display: grid;
  gap: 0.9rem;
  justify-items: stretch;
}

.dl-card__note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
}

/* ---------- 13. Specs / requirements ---------- */
.specs {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 880px) {
  .specs {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.specs h3 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
}

.specs h3 svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.spec-list {
  margin-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.spec-list .k {
  color: var(--text-faint);
}

.spec-list .v {
  text-align: right;
  font-weight: 500;
}

.spec-list .v small {
  display: block;
  color: var(--text-faint);
  font-weight: 400;
  font-size: 0.78rem;
}

/* ---------- 14. Steps (install guide) ---------- */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(165, 243, 252, 0.3);
}

.step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.step__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.06);
  color: var(--text-dim);
}

.step__icon svg {
  width: 20px;
  height: 20px;
}

.step h3 {
  font-size: 1.08rem;
}

.step p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.step code {
  font-family: var(--font-mono);
  font-size: 0.8em;
  padding: 0.1em 0.45em;
  border-radius: 0.4em;
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.08);
  color: var(--accent);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .step code {
    white-space: normal;
  }
}

/* ---------- 15. Shared-post page ---------- */
.shared {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shared__main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: calc(var(--header-h) + clamp(2.5rem, 7vw, 4.5rem)) 0 clamp(3rem, 7vw, 5rem);
}

.shared__inner {
  width: min(680px, 100% - 2rem);
  display: grid;
  gap: 1.6rem;
}

.shared-card {
  text-align: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 6vw, 3.4rem) clamp(1.5rem, 5vw, 3rem);
  background:
    radial-gradient(30rem 16rem at 50% -30%, rgba(34, 211, 238, 0.12), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-card);
}

.shared-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-inline: auto;
  border-radius: 50%;
  border: 1px solid rgba(165, 243, 252, 0.4);
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 0 40px -6px rgba(103, 232, 249, 0.35);
}

.shared-card__icon svg {
  width: 28px;
  height: 28px;
}

.shared-card h1 {
  margin-top: 1.5rem;
  font-size: clamp(1.45rem, 4vw, 2.05rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-wrap: balance;
}

.shared-card > p {
  margin-top: 0.9rem;
  color: var(--text-dim);
  max-width: 30rem;
  margin-inline: auto;
}

.shared-card .btn-row {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.9rem;
}

@media (min-width: 520px) {
  .shared-card .btn-row {
    grid-template-columns: 1fr 1fr;
  }
}

.shared-card .btn-row .btn--primary {
  grid-column: 1 / -1;
}

/* Post preview panel */
.post-preview {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: rgba(8, 13, 24, 0.65);
  padding: 1.5rem 1.5rem 1.6rem;
  text-align: left;
}

.post-preview__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.post-preview__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(165, 243, 252, 0.35);
  background: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.chip--idle {
  border-color: var(--border);
  background: transparent;
  color: var(--text-faint);
}

.post-preview__body {
  margin-top: 1.25rem;
}

.post-preview__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.post-preview__avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #05121a;
  background: linear-gradient(135deg, var(--accent), var(--emerald));
}

.post-preview__author {
  font-size: 0.92rem;
  font-weight: 600;
}

.post-preview__time {
  font-size: 0.75rem;
  color: var(--text-faint);
}

.skeleton {
  height: 0.8rem;
  border-radius: 0.4rem;
  margin-top: 0.9rem;
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.1) 25%,
    rgba(148, 163, 184, 0.22) 37%,
    rgba(148, 163, 184, 0.1) 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.9s ease-in-out infinite;
}

.skeleton--w1 { width: 92%; }
.skeleton--w2 { width: 78%; }
.skeleton--w3 { width: 55%; }

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
    background: rgba(148, 163, 184, 0.14);
  }
}

.post-preview__foot {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.post-preview__foot svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 0.15rem;
  color: var(--emerald);
}

.post-preview__empty {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.post-preview__empty code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--accent);
}

/* Security note */
.secure-note {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(110, 231, 183, 0.04);
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.secure-note svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 0.1rem;
  color: var(--emerald);
}

.secure-note strong {
  color: var(--text);
}

/* Slim footer for the shared page */
.slim-footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
}

.slim-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.slim-footer a {
  color: var(--text-dim);
}

.slim-footer a:hover {
  color: var(--accent);
}

/* ---------- 16. About page ---------- */
.vision-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .vision-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
    align-items: start;
  }
  .vision-grid .section-head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.vision-body p {
  color: var(--text-dim);
  margin-bottom: 1.2rem;
  line-height: 1.85;
}

.vision-body p strong {
  color: var(--text);
  font-weight: 600;
}

.standards {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 720px) {
  .standards {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
  }
}

.standard {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  background: var(--surface);
}

.standard h3 {
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.standard--refuse h3 {
  color: #fda4af;
}

.standard--build h3 {
  color: var(--emerald);
}

.standard li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.7rem;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(148, 163, 184, 0.07);
}

.standard li:last-child {
  border-bottom: 0;
}

.standard li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.15rem;
  width: 0.55rem;
  height: 2px;
  border-radius: 2px;
}

.standard--refuse li::before {
  background: #fda4af;
  transform: rotate(45deg);
  width: 0.6rem;
  height: 2px;
  border-radius: 2px;
}

.standard--build li::before {
  background: var(--emerald);
}

/* Creator card */
.creator {
  display: grid;
  gap: 2.25rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.9rem, 5vw, 3.25rem);
  background:
    radial-gradient(36rem 18rem at 0% 0%, rgba(63, 57, 203, 0.16), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-card);
}

@media (min-width: 880px) {
  .creator {
    grid-template-columns: 18rem 1fr;
    gap: 3.5rem;
  }
}

.creator__card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  background: rgba(5, 9, 17, 0.6);
}

.creator__avatar {
  width: 88px;
  height: 88px;
  margin-inline: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cream);
  background: radial-gradient(circle at 30% 25%, rgba(165, 243, 252, 0.25), transparent 55%),
    linear-gradient(150deg, var(--indigo), #241f8a);
  border: 1px solid rgba(235, 234, 203, 0.35);
  box-shadow: 0 0 44px -8px rgba(63, 57, 203, 0.65);
}

.creator__name {
  margin-top: 1.1rem;
  font-size: 1.15rem;
  font-weight: 650;
}

.creator__role {
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.creator__stats {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.creator__stats span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.creator__stats b {
  color: var(--emerald);
  font-weight: 500;
}

.creator__bio p {
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.creator__bio p strong {
  color: var(--text);
  font-weight: 600;
}

.creator__bio .highlight {
  border-left: 2px solid var(--accent-deep);
  padding-left: 1.1rem;
  margin: 1.6rem 0;
  font-size: 1.02rem;
  color: var(--text);
}

/* ---------- 17. Contact form ---------- */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4.5rem;
    align-items: start;
  }
  .contact-grid .section-head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4.5vw, 2.75rem);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.8rem;
  border: 1px solid var(--border);
  background: #060c16;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-faint);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(165, 243, 252, 0.6);
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.14);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%239aa8bf' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-note {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  line-height: 2;
}

.form-success {
  text-align: center;
  padding: 2.5rem 1rem;
}

.form-success svg {
  width: 44px;
  height: 44px;
  margin-inline: auto;
  color: var(--emerald);
}

.form-success h3 {
  margin-top: 1.1rem;
  font-size: 1.3rem;
}

.form-success p {
  margin-top: 0.7rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 26rem;
  margin-inline: auto;
}

.contact-alt {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-dim);
}

/* ---------- 18. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding-top: clamp(2.75rem, 6vw, 4rem);
}

.site-footer__grid {
  display: grid;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
  }
}

.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.1rem;
}

.site-footer__brand p {
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: 0.92rem;
  max-width: 20rem;
  line-height: 1.7;
}

.site-footer__signal {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
}

.site-footer__signal i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px rgba(110, 231, 183, 0.9);
  animation: pulse 2.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__signal i {
    animation: none;
  }
}

.site-footer nav a {
  display: block;
  padding: 0.4rem 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  transition: color 0.2s ease, transform 0.25s var(--ease);
}

.site-footer nav a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.site-footer__contact p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 2;
}

.site-footer__contact a {
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer__contact a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- 19. Reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 20. Responsive overrides (max-width) ----------
   The base styles above are mobile-first; these queries tighten
   spacing and stacking for tablets and phones where the fluid
   clamp() values alone are not enough.
   ------------------------------------------------------------ */

/* Tablet & below --------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-h: 62px;
    --radius: 1.1rem;
    --radius-lg: 1.4rem;
  }

  .section {
    padding-block: clamp(3.25rem, 9vw, 5rem);
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .display {
    font-size: clamp(2.35rem, 9.5vw, 3.6rem);
  }

  .h2 {
    font-size: clamp(1.65rem, 5.5vw, 2.3rem);
  }

  .hero {
    padding-top: calc(var(--header-h) + 2.5rem);
  }

  .hero__grid {
    gap: 2.75rem;
  }

  .hero__visual {
    margin-top: 0.5rem;
  }

  .hero__visual .phone {
    --phone-w: 270px;
  }

  /* Decorative orbs: keep them subtle and well inside the canvas */
  .orb--one {
    width: 22rem;
    height: 22rem;
    right: -11rem;
  }

  .orb--two {
    width: 15rem;
    height: 15rem;
    right: -7rem;
  }

  .quote .orb--one {
    left: -12rem;
  }

  .principle {
    padding: 1.6rem 1.4rem;
  }

  .cta-panel {
    padding: 2.1rem 1.5rem;
  }

  .cta-panel h2 {
    font-size: clamp(1.75rem, 6.5vw, 2.6rem);
  }

  .dl-card,
  .creator,
  .form-card,
  .shared-card {
    padding: 1.6rem 1.35rem;
  }

  .dl-card__actions .btn {
    width: 100%;
  }

  .spec-list li {
    font-size: 0.92rem;
    gap: 1rem;
  }

  .spec-list .k {
    flex: none;
  }

  .step,
  .standard {
    padding: 1.5rem 1.35rem;
  }

  .vision-grid .section-head,
  .contact-grid .section-head {
    position: static;
  }

  .site-footer__grid {
    gap: 2rem;
  }

  .site-footer__bottom {
    justify-content: flex-start;
    gap: 0.5rem 1.5rem;
  }

  .slim-footer .container {
    justify-content: center;
    text-align: center;
  }
}

/* Phone --------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --header-h: 58px;
  }

  body {
    font-size: 0.97rem;
  }

  .container {
    width: min(1120px, 100% - 2rem);
  }

  .nav__logo {
    font-size: 0.82rem;
    letter-spacing: 0.26em;
  }

  .nav__logo-mark {
    width: 26px;
    height: 26px;
  }

  .nav__toggle {
    width: 40px;
    height: 40px;
  }

  .mobile-menu {
    padding: 0.6rem 1rem 1.4rem;
  }

  .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    gap: 0.55rem;
  }

  .eyebrow::before,
  .eyebrow--center::after {
    width: 1.3rem;
  }

  .display {
    font-size: clamp(2.15rem, 11vw, 2.8rem);
    letter-spacing: -0.03em;
  }

  .h2 {
    font-size: clamp(1.5rem, 7vw, 1.9rem);
  }

  .hero__lead,
  .lead {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  /* Full-width, thumb-friendly buttons */
  .hero__actions,
  .shared-card .btn-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .hero__actions .btn,
  .cta-panel .btn,
  .dl-card__actions .btn {
    width: 100%;
  }

  .btn--lg {
    padding: 1.05rem 1.5rem;
    font-size: 0.98rem;
  }

  .hero__meta {
    gap: 0.45rem 1rem;
    margin-top: 2rem;
    font-size: 0.62rem;
  }

  .hero__visual .phone {
    --phone-w: 235px;
  }

  .hero__visual::before {
    inset: -6% -12%;
  }

  .orb--one,
  .orb--two,
  .page-hero .orb--one {
    width: 16rem;
    height: 16rem;
    right: -9rem;
  }

  .screens {
    gap: 2.25rem;
  }

  .screen .phone {
    --phone-w: 230px;
  }

  .principles,
  .steps,
  .standards {
    gap: 0.9rem;
  }

  .principle h3 {
    font-size: 1.12rem;
  }

  .principle__icon,
  .step__icon {
    width: 40px;
    height: 40px;
  }

  .quote blockquote {
    font-size: clamp(1.4rem, 6.5vw, 1.8rem);
  }

  .cta-panel {
    padding: 1.75rem 1.2rem;
    border-radius: 1.2rem;
  }

  .badges {
    gap: 0.45rem;
  }

  .badge {
    font-size: 0.62rem;
    padding: 0.36rem 0.7rem;
  }

  .shared__main {
    padding-top: calc(var(--header-h) + 1.75rem);
  }

  .shared__inner {
    width: min(680px, 100% - 1.5rem);
    gap: 1.1rem;
  }

  .shared-card h1 {
    font-size: 1.35rem;
  }

  .shared-card__icon {
    width: 54px;
    height: 54px;
  }

  .post-preview {
    padding: 1.2rem 1.1rem 1.3rem;
  }

  .peek {
    padding: 1.4rem 1.1rem;
  }

  .peek .phone {
    --phone-w: 170px;
  }

  .creator__card {
    padding: 1.6rem 1.2rem;
  }

  .creator__bio .highlight {
    font-size: 0.98rem;
  }

  .form-row {
    gap: 0;
  }

  .field input,
  .field select,
  .field textarea {
    /* ≥16px stops iOS Safari from auto-zooming into inputs */
    font-size: 1rem;
    padding: 0.8rem 0.9rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
}

/* Very small phones (≤360px) --------------------------------- */
@media (max-width: 360px) {
  .display {
    font-size: 2rem;
  }

  .hero__visual .phone,
  .screen .phone {
    --phone-w: 210px;
  }

  .nav__logo span {
    display: none;
  }
}

/* ---------- 21. Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}
