/* ==========================================================================
   RoofAI lead site: light theme.

   Palette (one accent only; orange is reserved for calls to action):
     navy   #0F2A44  headers, nav, footer, headings
     orange #F26B1D  every CTA button, nothing else
     paper  #F7F5F2  page background
     slate  #4A5563  body text

   Light on purpose: owners read this on a phone in a truck or on a roof, where
   dark screens wash out in sunlight. All CTA buttons use large bold type (WCAG
   "large text"), since white on #F26B1D is ~3.3:1, above the 3:1 large-text bar
   but below 4.5:1 for small text.

   Fonts (self-hosted): Space Grotesk for headings, Inter for body.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  font-style: normal;
}

:root {
  --navy: #0F2A44;
  --navy-soft: #E8EDF3;       /* navy at ~10% on paper: icon tiles, highlights */
  --orange: #F26B1D;
  --orange-hover: #D95A10;
  --paper: #F7F5F2;
  --white: #FFFFFF;
  --slate: #4A5563;
  --slate-light: #6B7482;     /* captions and fine print */
  --line: #E1DCD4;
  --error: #B42318;

  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --shadow: 0 18px 40px -22px rgba(15, 42, 68, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1180px;
  --nav-h: 68px;
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

h1, h2, h3, .display {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
strong { color: var(--navy); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2rem);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: var(--navy); }

.section-title { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.section-lede { margin-top: 1.1rem; max-width: 46ch; font-size: clamp(1.05rem, 1.2vw, 1.15rem); color: var(--slate); }

/* ---------- nav (navy) ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--white); }
.brand img { width: 34px; height: 34px; }
.brand span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; font-weight: 500; transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 0.85rem; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1.17rem;        /* >= 18.66px bold = WCAG large text */
  font-weight: 700;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; }

/* The only orange on the site. */
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 10px 22px -12px rgba(242, 107, 29, 0.8); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-1px); }
.btn-primary:active { transform: none; }

.btn-ghost { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy-soft); }
.nav .btn-ghost, .cta-card .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.nav .btn-ghost:hover, .cta-card .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.nav .btn { min-height: 2.6rem; padding: 0.5rem 1.1rem; }

.btn-lg { min-height: 3.4rem; padding: 0.9rem 1.7rem; font-size: 1.2rem; }

/* ---------- hero ---------- */

.lp-hero { padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.lp-hero-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
@media (min-width: 941px) { .lp-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }

.lp-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 1.25rem; }
/* The hero number: extra-bold navy with a thick solid underline. */
.lp-hero .accent {
  font-weight: 800;
  font-size: 1.1em;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.14em;
  text-decoration-skip-ink: none;
}
.lp-sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--slate); max-width: 38rem; }

.checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.85rem; max-width: 38rem; }
.checks li { position: relative; padding-left: 2.1rem; color: var(--navy); font-weight: 500; line-height: 1.5; }
.checks li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0.1rem;
  width: 1.4rem; height: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 700;
  color: var(--white);
  background: var(--navy);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.9rem; }
.lp-actions { justify-content: flex-start; }
.hero-note, .lp-note { margin-top: 1rem; font-size: 0.9rem; color: var(--slate-light); }

.lp-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  box-shadow: var(--shadow);
}
.lp-card-kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 0.6rem; }
.lp-card-title { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
.lp-card-text { margin-top: 0.7rem; color: var(--slate); font-size: 1rem; }
.lp-mini { list-style: none; padding: 0; margin: 1.3rem 0 1.5rem; display: grid; gap: 0.75rem; }
.lp-mini li { display: flex; align-items: center; gap: 0.75rem; color: var(--navy); font-weight: 500; font-size: 0.97rem; }
.lp-mini li span {
  flex: none; width: 1.8rem; height: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; font-size: 0.85rem; font-weight: 700;
  color: var(--navy); background: var(--navy-soft);
}
.lp-card-btn { width: 100%; }
.lp-card-fine { margin-top: 0.9rem; font-size: 0.8rem; color: var(--slate-light); text-align: center; }
.lp-card-fine a { text-decoration: underline; }

/* ---------- photos ---------- */

.lp-photo { margin: clamp(1.75rem, 4vw, 2.75rem) 0 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-soft); }
.lp-photo img { width: 100%; aspect-ratio: 2.4 / 1; object-fit: cover; }
@media (max-width: 640px) { .lp-photo img { aspect-ratio: 3 / 2; } }

/* ---------- product shot (the app is dark inside; the frame is light) ---------- */

.shot-wrap { margin-top: clamp(2rem, 4vw, 3rem); }
.shot {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shot-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); background: #EFEBE5; }
.shot-dot { width: 10px; height: 10px; border-radius: 999px; background: #CFC8BD; }
.shot-url { margin-left: 0.75rem; font-size: 0.75rem; color: var(--slate-light); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.shot-img { display: block; width: 100%; }

/* ---------- cards ---------- */

.lp-center { text-align: center; max-width: 46rem; margin-inline: auto; }
.lp-center .section-lede { margin-inline: auto; }
.lp-cta-row { margin-top: clamp(2rem, 4vw, 3rem); display: flex; justify-content: center; }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.lp-three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.cap {
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cap:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cap h3 { font-size: 1.2rem; margin: 0.9rem 0 0.5rem; }
.cap p { color: var(--slate); font-size: 0.98rem; line-height: 1.6; }
.cap-icon {
  width: 2.8rem; height: 2.8rem;
  display: grid; place-items: center;
  border-radius: 0.8rem;
  background: var(--navy-soft);
  color: var(--navy);
}
.cap-icon svg { width: 1.45rem; height: 1.45rem; }
.lp-num {
  width: 2.6rem; height: 2.6rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.75rem;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.15rem;
  color: var(--white); background: var(--navy);
}
.lp-three .cap h3 { margin-top: 1rem; }

/* ---------- workflow ---------- */

.flow {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.flow::before {
  content: "";
  position: absolute;
  top: 1.55rem; left: 10%; right: 10%;
  height: 3px;
  background: var(--navy);
  opacity: 0.18;
}
.flow-step { position: relative; text-align: center; }
.flow-node {
  position: relative; z-index: 1;
  width: 3.1rem; height: 3.1rem;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1rem;
}
.flow-step h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.flow-step p { font-size: 0.93rem; color: var(--slate); line-height: 1.55; }

/* ---------- is / is not ---------- */

.lp-compare { display: grid; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 761px) { .lp-compare { grid-template-columns: 1fr 1fr; } }
.lp-col { padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
.lp-col h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.lp-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.lp-col li { position: relative; padding-left: 1.8rem; color: var(--slate); line-height: 1.5; }
.lp-col li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.lp-is { border-top: 4px solid var(--navy); }
.lp-is li { color: var(--navy); }
.lp-is li::before { content: "\2713"; color: var(--navy); }
.lp-not li::before { content: "\00d7"; color: var(--slate-light); font-size: 1.15rem; }

/* ---------- field app ---------- */

.field {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
.field-list { margin-top: 1.9rem; display: grid; gap: 1.15rem; }
.field-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.field-item .tick {
  flex: none; margin-top: 0.2rem;
  width: 1.45rem; height: 1.45rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white);
  font-size: 0.75rem; font-weight: 700;
}
.field-item strong { display: block; font-size: 1.02rem; font-weight: 700; color: var(--navy); }
.field-item span { font-size: 0.97rem; color: var(--slate); }

.field-visual { position: relative; padding-bottom: 3.5rem; }
.field-photo { width: 88%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.phone {
  position: absolute;
  right: 0; bottom: 0;
  width: min(210px, 44%);
  padding: 0.4rem;
  border-radius: 1.9rem;
  background: var(--navy);
  box-shadow: 0 24px 50px -20px rgba(15, 42, 68, 0.7);
}
.phone img { border-radius: 1.5rem; width: 100%; }

/* ---------- FAQ ---------- */

.lp-faq { max-width: 46rem; margin: clamp(2rem, 4vw, 3rem) auto 0; display: grid; gap: 0.75rem; }
.lp-faq details { border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); padding: 0 1.25rem; }
.lp-faq summary {
  cursor: pointer; list-style: none;
  padding: 1.1rem 0; font-weight: 700; color: var(--navy); font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--navy); transition: transform 0.25s var(--ease); }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { padding-bottom: 1.2rem; color: var(--slate); }

/* ---------- closing CTA (navy over a roof photo) ---------- */

.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3rem);
  border-radius: var(--radius-xl);
  color: rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(rgba(15, 42, 68, 0.88), rgba(15, 42, 68, 0.92)),
    url("/assets/roof-houses.webp") center / cover no-repeat,
    var(--navy);
}
.cta-card h1, .cta-card h2 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta-card .eyebrow { color: rgba(255, 255, 255, 0.8); }
.cta-card .eyebrow::before { background: rgba(255, 255, 255, 0.8); }
.cta-card p { margin: 1.1rem auto 0; max-width: 38rem; }
.cta-card .hero-actions { margin-top: 2rem; justify-content: center; }

/* ---------- footer (navy) ---------- */

.footer { background: var(--navy); color: rgba(255, 255, 255, 0.78); padding-block: clamp(2.75rem, 5vw, 4rem) 2rem; }
.footer a { color: rgba(255, 255, 255, 0.82); }
.footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-brand p { margin-top: 0.9rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); max-width: 30ch; }
.footer h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin: 0 0 1rem; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer li a { font-size: 0.95rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.875rem; color: rgba(255, 255, 255, 0.65);
}
.lp-disclaimer { margin-top: 1.25rem; font-size: 0.78rem; line-height: 1.6; color: rgba(255, 255, 255, 0.6); max-width: 52rem; }

/* ---------- scroll reveal ---------- */

.reveal { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal { transition-delay: calc(var(--i, 0) * 60ms); }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- lead form pages ---------- */

.form-section { padding-top: clamp(2.25rem, 5vw, 4rem); }
.form-head { max-width: 40rem; margin: 0 auto 2rem; text-align: center; }
.form-head .section-lede { margin-inline: auto; }
.form-title { font-size: clamp(1.9rem, 4.2vw, 3rem); }

.form-card {
  max-width: 40rem;
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 2.25rem);
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.6rem;
}
.contact-grid { display: grid; gap: 1rem; }
@media (min-width: 560px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.fld label, .qlabel { display: block; font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.45rem; }
.req { color: var(--navy); }

.fld input, .fld textarea {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;              /* 16px+ so iOS doesn't zoom on focus */
  color: var(--navy);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.fld textarea { resize: vertical; min-height: 5.5rem; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--navy); background: var(--white); }
.fld input.invalid { border-color: var(--error); }

.q.invalid .qlabel { color: var(--error); }
.opts { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.opt {
  position: relative;
  display: inline-flex; align-items: center;
  cursor: pointer;
  min-height: 2.9rem;
  font-size: 1rem; font-weight: 500;
  color: var(--navy);
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--paper);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.opt:hover { border-color: var(--navy); }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt.sel { color: var(--white); background: var(--navy); border-color: var(--navy); }
.opt:focus-within { outline: 3px solid var(--navy); outline-offset: 2px; }

.form-err {
  display: none;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 500;
  color: var(--error);
  background: #FDECEA;
  border: 1px solid #F3B8B2;
}
.form-submit { width: 100%; }
.form-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.fine { font-size: 0.82rem; color: var(--slate-light); text-align: center; }
.fine a { text-decoration: underline; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.thanks-card { max-width: 40rem; margin-inline: auto; }
.thanks-tick {
  width: 3.25rem; height: 3.25rem;
  margin: 0 auto 1.4rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  font-size: 1.5rem; font-weight: 700;
  color: var(--navy); background: var(--white);
}

/* ---------- sticky mobile CTA ---------- */

.lp-sticky { display: none; }

/* ---------- responsive ---------- */

@media (max-width: 940px) {
  .field { grid-template-columns: 1fr; }
  .field-visual { max-width: 28rem; margin-inline: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .flow { grid-template-columns: 1fr; gap: 0; text-align: left; }
  .flow::before { display: none; }
  .flow-step { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; padding-bottom: 1.75rem; }
  .flow-node { margin: 0; grid-row: span 2; }
  .flow-step:not(:last-child)::before {
    content: ""; position: absolute; left: 1.5rem; top: 3.1rem; bottom: 0.35rem;
    width: 3px; background: var(--navy); opacity: 0.18;
  }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  :root { --nav-h: 62px; }
  .lp-sticky {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(247, 245, 242, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px -16px rgba(15, 42, 68, 0.4);
  }
  .lp-sticky .btn { width: 100%; }
  .footer { padding-bottom: 6rem; }
  .lp-actions, .lp-note { justify-content: center; text-align: center; }
  .lp-actions .btn { width: 100%; }
}

@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* The ghost "Sign in" is the one to drop on the narrowest phones; Get started stays. */
@media (max-width: 420px) {
  .nav-actions .btn-ghost { display: none; }
  .brand span { font-size: 1.2rem; }
}

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