/* Design tokens live in css/tokens.css — Option 03 "Quiet Confidence".
   Load it *before* this file. Nothing below should hard-code a color. */
@import url("./tokens.css");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  /* 1.68 is the system's body leading — the main reason it reads as calm. */
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(1.4);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg);
  object-fit: cover;
}

/* Logo tiles inherit the live page background so they never flash a foreign navy */
.lv-phone .lv-applogo,
.lv-phone .lv-brandrow img {
  background: var(--bg) !important;
  object-fit: cover;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-text);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.nav-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-text {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-text:hover {
  color: var(--text);
  text-decoration: none;
}

/* ——— App purpose (OAuth verification: static, always visible, no fade-in) ——— */
.purpose-band {
  padding: 2.75rem 0 2.5rem;
  background:
    radial-gradient(ellipse 55% 70% at 92% 40%, rgb(var(--primary-rgb) / 0.1), transparent 55%),
    var(--bg-deep);
  border-bottom: 1px solid var(--border);
}

.purpose-band-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: start;
}

.purpose-band-inner {
  max-width: 48rem;
  min-width: 0;
}

.purpose-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  min-width: 0;
  width: 100%;
}

.purpose-phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.purpose-phone {
  margin: 0;
  min-width: 0;
}

.purpose-phone .phone-frame {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--text);
  box-shadow: var(--elev-3);
}

.purpose-phone .phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  object-fit: contain;
}

.purpose-phone figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.purpose-phone .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--primary-muted);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
}

.purpose-watch {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  text-decoration: none;
}

.purpose-watch:hover {
  text-decoration: underline;
}

.purpose-band h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.purpose-lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1.5rem;
}

.purpose-band h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.5rem 0 0.65rem;
  color: var(--text);
}

.purpose-band p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.purpose-band code {
  font-size: 0.88em;
  color: var(--primary);
  word-break: break-all;
}

.purpose-links {
  margin-top: 1.25rem !important;
  font-weight: 600;
}

.purpose-links a {
  color: var(--primary);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgb(var(--primary-rgb) / 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 0%, rgb(var(--accent-rgb) / 0.1), transparent 50%),
    var(--bg);
}

.hero-grid {
  display: grid;
  /* Phone column is content-sized so the frame never grows huge on wide screens */
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.75rem;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  /* Do not uppercase — Google brand checks match "LogVoice" exactly, not "LOGVOICE" */
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 34rem;
  margin: 0 0 0.85rem;
}

.hero-lede {
  max-width: 36rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero-lede strong {
  color: var(--text);
  font-weight: 700;
}

.hero-purpose-card {
  max-width: 38rem;
  margin: 0 0 1.5rem;
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
}

.hero-purpose-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.7rem;
  color: var(--text);
}

.hero-purpose-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero-purpose-card p:last-child {
  margin-bottom: 0;
}

.hero-purpose-card strong {
  color: var(--text);
  font-weight: 700;
}

.hero-purpose-links {
  margin-top: 0.15rem !important;
}

.hero-purpose-links a {
  color: var(--primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.store-badge {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.store-badge:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  text-decoration: none;
}

.store-badge img {
  display: block;
  height: auto;
  width: auto;
  max-height: 52px;
}

.nav-links .store-badge img,
.store-badge-footer img {
  max-height: 40px;
  width: 120px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-text);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--muted);
  text-decoration: none;
}

.hero-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.hero-stage {
  position: relative;
  width: min(100%, 420px);
  justify-self: end;
  min-width: 0;
}

.hero-panel {
  margin: 0;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--elev-3);
}

.hero-panel img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero-panel-caption {
  padding: 1rem 1.15rem 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  border-top: 1px solid var(--border);
}

.hero-visual {
  display: none;
}

/* ——— Full-bleed visual band ——— */
.visual-band {
  position: relative;
  margin: 0;
  border-block: 1px solid var(--border);
  overflow: hidden;
  max-height: min(52vh, 520px);
  background: var(--bg-deep);
}

.visual-band-img {
  width: 100%;
  height: min(52vh, 520px);
  object-fit: cover;
  object-position: center;
}

/* ——— Sections ——— */
.section {
  padding: 5rem 0;
}

.section-surface {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.75rem;
  line-height: 1.15;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

.section-head p strong {
  color: var(--text);
  font-weight: 700;
}

.how-steps {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: none;
  counter-reset: how;
}

.how-steps li {
  counter-increment: how;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.2rem;
  position: relative;
}

.how-steps li::before {
  content: counter(how);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.how-steps h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.how-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  justify-items: center;
}

.phone-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.phone-frame {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.85rem;
  box-shadow: var(--elev-2);
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  object-fit: contain;
}

.phone-card figcaption {
  padding: 0 0.15rem;
}

.phone-card .step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.phone-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.phone-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.how-diagram {
  margin: 3rem 0 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--elev-2);
}

.how-diagram img {
  width: 100%;
  height: auto;
  display: block;
}

/* ——— App showcase rail ——— */
.showcase-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  gap: 1.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0.25rem 0.15rem 1.1rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--border-strong) 55%, transparent) transparent;
}

.showcase-rail::-webkit-scrollbar {
  height: 5px;
}

.showcase-rail::-webkit-scrollbar-track {
  background: transparent;
}

.showcase-rail::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--border-strong) 50%, transparent);
  border-radius: 999px;
}

.showcase-rail::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.showcase-item {
  margin: 0;
  scroll-snap-align: start;
}

.showcase-item figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  text-align: center;
}

.feature-visual-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.feature-visual {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

.feature-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.team-copy-block {
  min-width: 0;
}

.team-side-phone {
  margin-top: 1.5rem;
  width: min(100%, 220px);
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.55rem;
  box-shadow: var(--elev-3);
}

.team-side-phone img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.demo-banner {
  margin: 0 0 1.75rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

.demo-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.demo-phones {
  display: none;
  margin-top: 1.5rem;
  gap: 0.85rem;
}

@media (min-width: 901px) {
  .demo-phones {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .demo-phones img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
  }
}

.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

/* ——— Split feature ——— */
.split {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.split--phones {
  grid-template-columns: 1.2fr 0.9fr;
}

.split--illustration {
  grid-template-columns: 1.35fr 0.85fr;
}

.team-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.team-illustration {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--elev-3);
}

.team-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

.split strong {
  color: var(--text);
  font-weight: 700;
}

.split h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.9rem;
  line-height: 1.15;
}

.split p {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.92rem;
  background: var(--card);
}

.pill span {
  color: var(--primary);
  font-weight: 800;
}

/* ——— About (Google verification clarity) ——— */
.about-box {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}

.about-box h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.about-box p {
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.about-box p:last-child {
  margin-bottom: 0;
}

/* ——— Contact ——— */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.85rem;
  line-height: 1.15;
}

.contact-copy p {
  color: var(--muted);
  margin: 0;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem;
}

.field {
  margin-bottom: 0.95rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--focus);
  border-color: var(--primary);
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.form-hint {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  text-align: center;
}

.form-status.ok {
  color: var(--primary);
}

.form-status.err {
  color: var(--danger);
}

.contact-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ——— Footer ——— */
.site-footer {
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

/* ——— Legal pages ——— */
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.legal-header .back {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.legal {
  padding: 2.5rem 0 4rem;
  max-width: 720px;
}

.legal .eyebrow {
  margin-bottom: 0.5rem;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.legal .meta {
  color: var(--muted);
  margin: 0 0 2rem;
}

.legal section {
  padding: 1.35rem 0;
  border-top: 1px solid var(--border);
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
}

.legal p,
.legal li {
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.legal ul {
  margin: 0;
  padding-left: 1.15rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

/* ——— Motion ——— */
@media (prefers-reduced-motion: no-preference) {
  /* Never animate .purpose-band text — OAuth crawlers must see purpose copy immediately */
  .hero-stage,
  .section-head,
  .phone-card,
  .showcase-item,
  .split > *,
  .visual-band-img,
  .contact-wrap {
    animation: rise 0.7s ease both;
  }

  .phone-card:nth-child(2),
  .showcase-item:nth-child(2) {
    animation-delay: 0.08s;
  }

  .phone-card:nth-child(3),
  .showcase-item:nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero-visual--side {
    animation: none;
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: rotate(-7deg) translateY(0);
  }
  50% {
    transform: rotate(-7deg) translateY(-10px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .purpose-band-grid,
  .hero-grid,
  .split,
  .split--phones,
  .split--illustration,
  .contact-wrap,
  .phone-row,
  .how-steps,
  .team-phones,
  .feature-visual-grid {
    grid-template-columns: 1fr;
  }

  .purpose-phones {
    gap: 0.75rem;
    max-width: 100%;
  }

  .purpose-phone figcaption {
    font-size: 0.78rem;
    gap: 0.3rem;
  }

  .purpose-phone .step-num {
    width: 1.15rem;
    height: 1.15rem;
    font-size: 0.68rem;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .hero-stage {
    width: min(100%, 420px);
    min-height: 0;
    justify-self: center;
    order: 0;
  }

  .hero-panel img {
    max-height: 420px;
  }

  .hero-copy {
    order: -1;
  }

  .phone-row {
    gap: 2rem;
  }

  .team-phones,
  .feature-phones {
    grid-template-columns: 1fr 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .team-side-phone {
    margin-inline: auto;
  }

  .contact-wrap {
    padding: 1.25rem;
  }

  .visual-band,
  .visual-band-img {
    max-height: 280px;
    height: 280px;
  }
}

@media (max-width: 560px) {
  .team-phones {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-inline: auto;
  }
}

/* ——— Demo video page ——— */
.video-page {
  padding: 3.5rem 0 5rem;
  background:
    radial-gradient(ellipse 50% 45% at 50% 0%, rgb(var(--primary-rgb) / 0.12), transparent 60%),
    var(--bg);
}

.video-page-inner {
  max-width: 52rem;
}

.video-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.video-lede {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 40rem;
}

.video-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0 0 2.5rem;
}

.video-jump a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  text-decoration: none;
}

.video-jump a:hover {
  text-decoration: underline;
}

.video-block {
  margin: 0 0 3.25rem;
  padding-top: 0.25rem;
  scroll-margin-top: 5.5rem;
}

.video-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.video-block-lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 1.35rem;
  max-width: 40rem;
}

.video-player-wrap {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-deep);
  overflow: hidden;
  box-shadow: var(--elev-3);
}

.video-player {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 720px);
  background: #000;
}

.video-beats {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.video-beats li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.video-beats strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.video-beats span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.video-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .video-beats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Option 03 "Quiet Confidence" — display-face normalisation
   ─────────────────────────────────────────────────────────────────────
   The display face used to be Sora, set at 700–800. Fraunces carries its
   weight very differently: 500 is this system's one display weight, and
   anything heavier reads as a logo rather than a heading. Only 400/500/600
   are loaded, so leaving 700/800 in place would also trigger faux-bold
   synthesis. These rules sit last so they win on equal specificity.
   ═══════════════════════════════════════════════════════════════════════ */
.brand,
.purpose-band h1,
.purpose-lead,
.purpose-band h2,
.hero h1,
.hero-tagline,
.hero-purpose-title,
.section-head h2,
.how-steps h3,
.phone-card h3,
.split h2,
.about-box h2,
.contact-copy h2,
.legal h1,
.legal h2,
.video-page h1,
.video-block h2,
.video-beats strong {
  font-weight: 500;
}

/* Serif is never interactive and never a label. These four were set in the
   display face; in this system that job belongs to Inter. */
.eyebrow,
.purpose-phone figcaption,
.showcase-item figcaption,
.how-steps .step-number {
  font-family: var(--font-body);
  font-weight: 600;
}

.how-steps .step-number {
  font-weight: 700;
}
