/* GarageVault marketing — premium dark surfaces with selective garage photography */

/* Self-hosted fonts (latin) — font-display: swap */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlow-condensed-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-condensed-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/public-sans-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/public-sans-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/public-sans-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/public-sans-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground: #07080a;
  --ground-elevated: #101218;
  --ground-soft: #161922;
  --ink: #f3f1ec;
  --ink-muted: #b7b3a8;
  --ink-faint: #9a958c;
  --accent: #d4a84b;
  --accent-strong: #e8c06a;
  --line: rgba(243, 241, 236, 0.12);
  --scrim: rgba(7, 8, 10, 0.72);
  --focus: #e8c06a;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-move: cubic-bezier(0.77, 0, 0.175, 1);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Public Sans", "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --max: 72rem;
  --nav-h: 4.25rem;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  background: var(--ground);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-strong);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--accent);
  color: #111;
  padding: 0.65rem 1rem;
  font-weight: 700;
}

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

.shell {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-tag {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.nav-links {
  display: none;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 160ms var(--ease-out);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  display: none;
}

.menu-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 140ms var(--ease-out), border-color 160ms ease;
}

.menu-btn:active {
  transform: scale(0.97);
}

.menu-btn svg {
  width: 1.35rem;
  height: 1.35rem;
}

.mobile-panel {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--ground-elevated);
}

.mobile-panel.open {
  display: block;
}

.mobile-panel nav {
  display: grid;
  gap: 0.35rem;
  padding: 1rem var(--pad) 1.25rem;
}

.mobile-panel a {
  text-decoration: none;
  padding: 0.75rem 0.25rem;
  color: var(--ink);
  font-weight: 600;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .menu-btn {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  background: var(--accent);
  color: #111;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  background: var(--accent-strong);
  color: #111;
}

.btn:active {
  transform: scale(0.97);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink-muted);
  color: var(--ink);
  background: transparent;
}

.app-badge {
  display: inline-block;
  transition: transform 140ms var(--ease-out), opacity 160ms ease;
}

.app-badge:active {
  transform: scale(0.97);
}

.app-badge img {
  height: 3.25rem;
  width: auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(100svh, 56rem);
  display: grid;
  align-items: end;
  overflow: clip;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.06);
  will-change: transform;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(7, 8, 10, 0.78) 0%, rgba(7, 8, 10, 0.42) 42%, rgba(7, 8, 10, 0.12) 72%, rgba(7, 8, 10, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 8, 10, 0.2) 0%, rgba(7, 8, 10, 0.05) 40%, rgba(7, 8, 10, 0.72) 100%);
}

.hero-content {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2rem) 0 4.5rem;
  max-width: 40rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 12vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.8vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  max-width: 16ch;
  text-wrap: balance;
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.hero-note {
  margin: 1.25rem 0 0;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

/* Sections */
section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
  max-width: 38rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.band {
  background: var(--ground-elevated);
}

.band-soft {
  background: var(--ground-soft);
}

/* Feature mosaic */
.feature-grid {
  display: grid;
  gap: 1.25rem;
}

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

@media (min-width: 1040px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.5rem 1.35rem 1.6rem;
  background: color-mix(in srgb, var(--ground) 55%, transparent);
  border: 1px solid var(--line);
  transition: transform 220ms var(--ease-out), border-color 220ms ease, background-color 220ms ease;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .feature:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
    background: color-mix(in srgb, var(--ground-elevated) 80%, transparent);
  }
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin: 0 0 0.55rem;
}

.feature p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.feature a {
  color: var(--accent-strong);
}

/* Split panels */
.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .split.reverse > :first-child {
    order: 2;
  }
}

.frame {
  overflow: hidden;
  background: #000;
  aspect-ratio: 4 / 5;
}

@media (min-width: 900px) {
  .frame {
    aspect-ratio: 5 / 6;
  }
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  will-change: transform;
}

.frame.wide {
  aspect-ratio: 16 / 10;
}

.split-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 0.9rem;
}

.split-copy p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.split-copy ul {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.split-copy li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--ink);
}

.split-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent);
}

/* Soft dark surface glows (replace photo grounds) */
.surface-glow {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.surface-glow::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 18% 30%, rgba(212, 168, 75, 0.12), transparent 70%),
    radial-gradient(ellipse 45% 45% at 88% 10%, rgba(243, 241, 236, 0.05), transparent 65%);
}

.surface-glow-soft::before {
  background:
    radial-gradient(ellipse 50% 45% at 80% 20%, rgba(212, 168, 75, 0.08), transparent 70%),
    radial-gradient(ellipse 40% 40% at 12% 0%, rgba(243, 241, 236, 0.04), transparent 65%);
}

.surface-glow > .shell {
  position: relative;
  z-index: 1;
}

/* App screenshot stage */
.shot-panel {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .shot-panel {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.media-stage {
  position: relative;
  isolation: isolate;
  min-height: 28rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(212, 168, 75, 0.14), transparent 70%),
    radial-gradient(ellipse 90% 80% at 50% 100%, rgba(22, 25, 34, 0.9), transparent 55%),
    linear-gradient(165deg, #0c0e13 0%, #07080a 55%, #101218 100%);
  border: 1px solid var(--line);
}

.phone {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: min(100%, 17.5rem);
  background: #0b0c0f;
  padding: 0.65rem;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.phone img {
  width: 100%;
  border-radius: 0;
}

/* CSS UI mocks for Reminders / Share feature splits */
.ui-visual {
  display: grid;
  place-items: center;
  min-height: 18rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(212, 168, 75, 0.1), transparent 68%),
    linear-gradient(160deg, var(--ground-elevated), var(--ground));
  border: 1px solid var(--line);
}

.ui-card {
  position: relative;
  width: min(100%, 22rem);
  padding: 1.25rem 1.2rem 1.35rem;
  background: color-mix(in srgb, var(--ground) 78%, #1a1d27);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.ui-card-glow {
  position: absolute;
  inset: auto -20% -40% 30%;
  height: 70%;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.18), transparent 70%);
  pointer-events: none;
}

.ui-notif {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0.9rem;
  margin-bottom: 1rem;
  background: color-mix(in srgb, var(--ground-soft) 80%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
}

.ui-notif-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
}

.ui-notif-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.ui-notif-app {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.ui-notif-title {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.1;
}

.ui-notif-body {
  margin: 0.2rem 0 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.ui-notif-time {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.ui-stock-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.ui-stock-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  background: color-mix(in srgb, var(--ground) 70%, transparent);
  border: 1px solid var(--line);
  font-size: 0.92rem;
}

.ui-pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  background: var(--accent);
  padding: 0.2rem 0.45rem;
}

.ui-share-head {
  position: relative;
  margin-bottom: 1.1rem;
}

.ui-share-label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.ui-share-name {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ui-members {
  position: relative;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.ui-members li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.ui-avatar {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #111;
  background: var(--accent);
}

.ui-invite {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.ui-invite strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}

/* Pricing */
.pricing {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .pricing {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--ground);
  border: 1px solid var(--line);
  min-height: 100%;
}

.plan.featured {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, var(--ground));
}

.plan h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 0.35rem;
}

.price {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.35rem;
}

.price span {
  font-size: 1rem;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-weight: 500;
}

.plan > p {
  color: var(--ink-muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.plan ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  flex: 1;
}

.plan li {
  color: var(--ink);
  font-size: 0.95rem;
  padding-left: 1rem;
  position: relative;
}

.plan li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.plan .btn {
  width: 100%;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}

.faq details {
  background: var(--ground);
  border: 1px solid var(--line);
  padding: 0.15rem 1.1rem;
  transition: border-color 180ms ease;
}

.faq details[open] {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  padding: 1rem 0;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1.1rem;
  color: var(--ink-muted);
}

/* CTA finale */
.finale {
  position: relative;
  overflow: clip;
  isolation: isolate;
  min-height: 28rem;
  display: grid;
  align-items: center;
}

.finale-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.finale-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 8, 10, 0.9), rgba(7, 8, 10, 0.55) 55%, rgba(7, 8, 10, 0.35));
}

.finale-copy {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
  padding: 4rem 0;
  max-width: 36rem;
}

.finale-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 0.95;
  margin: 0 0 0.85rem;
}

.finale-copy p {
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.5rem;
  background: var(--ground);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--ink);
}

.social {
  display: flex;
  gap: 0.75rem;
}

.social a {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  transition: transform 140ms var(--ease-out), color 160ms ease, border-color 160ms ease;
}

.social a:hover {
  color: var(--ink);
  border-color: var(--ink-muted);
}

.social a:active {
  transform: scale(0.97);
}

.social svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.footer-meta {
  color: var(--ink-faint);
  font-size: 0.88rem;
  display: grid;
  gap: 0.55rem;
}

.footer-meta a {
  color: var(--accent-strong);
  text-decoration: none;
}

.photo-credits {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.78rem;
  line-height: 1.45;
}

.photo-credits a {
  color: var(--ink-muted);
}

.disclaimer {
  margin-top: 0.75rem;
  color: var(--ink-faint);
  font-size: 0.78rem;
}

/* Reveal / motion
   Progressive enhancement: content is visible by default (no-JS / IO never fires).
   Only hide when <html class="js"> is present and the element is not yet .in */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal:not(.in) {
  opacity: 0;
  transform: translateY(22px);
}

html.js .reveal {
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* Media frames stay visible even while sibling copy reveals — never a black void */
html.js .frame.reveal:not(.in),
html.js .phone.reveal:not(.in),
html.js .media-stage.reveal:not(.in) {
  opacity: 1;
  transform: none;
}

/* Text cards must stay fully opaque — mid-reveal opacity fails contrast audits */
html.js .guide-card.reveal:not(.in),
html.js .help-panel.reveal:not(.in),
html.js .info-card.reveal:not(.in),
html.js .stack-blocks.reveal:not(.in),
html.js .page-prose.reveal:not(.in) {
  opacity: 1;
  transform: translateY(14px);
}

.stagger > *:nth-child(1) { --delay: 0ms; }
.stagger > *:nth-child(2) { --delay: 60ms; }
.stagger > *:nth-child(3) { --delay: 120ms; }
.stagger > *:nth-child(4) { --delay: 180ms; }
.stagger > *:nth-child(5) { --delay: 240ms; }
.stagger > *:nth-child(6) { --delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal:not(.in),
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .feature,
  .btn,
  .app-badge,
  .menu-btn,
  .social a {
    transition: none;
  }
  .hero-media img,
  .frame img,
  .finale-media img {
    transform: none !important;
    will-change: auto;
  }
}

/* Live plan switcher */
.switcher {
  display: inline-flex;
  border: 1px solid var(--line);
  margin-bottom: 1.25rem;
}

.switcher button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  padding: 0.65rem 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out);
}

.switcher button[aria-pressed="true"] {
  background: var(--accent);
  color: #111;
}

.switcher button:active {
  transform: scale(0.97);
}

/* ===== Subpages (support, legal, about, contact) ===== */
.page-band {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 3vw, 2rem);
  background:
    radial-gradient(ellipse 60% 80% at 12% 0%, rgba(212, 168, 75, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(243, 241, 236, 0.04), transparent 60%),
    linear-gradient(180deg, var(--ground-elevated), var(--ground));
  border-bottom: 1px solid var(--line);
}

.page-band .shell {
  position: relative;
  z-index: 1;
}

.page-kicker {
  margin: 0 0 0.65rem;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-band h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  text-wrap: balance;
  max-width: 18ch;
}

.page-lead {
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  max-width: 42rem;
}

.page-main {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.page-main > .shell {
  max-width: 52rem;
}

.page-main.wide > .shell {
  max-width: var(--max);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

.crumbs a {
  color: var(--ink-muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--accent-strong);
}

.crumbs [aria-current="page"] {
  color: var(--ink);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.back-link svg {
  width: 1.1rem;
  height: 1.1rem;
}

.back-link:hover {
  color: var(--accent);
}

.guide-grid {
  display: grid;
  gap: 1rem;
}

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

@media (min-width: 1040px) {
  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.4rem 1.3rem 1.5rem;
  background: var(--ground-elevated);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: transform 220ms var(--ease-out), border-color 220ms ease, background-color 220ms ease;
}

.guide-card:visited,
.guide-card:hover,
.guide-card:active {
  color: var(--ink);
}

.guide-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: var(--ground-soft);
}

@media (hover: hover) and (pointer: fine) {
  .guide-card:hover {
    transform: translateY(-3px);
  }
}

.guide-card.soon {
  opacity: 1;
  pointer-events: none;
  color: var(--ink-muted);
  border-style: dashed;
}

.guide-card.soon .guide-card-mark {
  background: color-mix(in srgb, var(--accent) 45%, var(--ink-faint));
}

.guide-card-mark {
  width: 2.25rem;
  height: 0.28rem;
  background: var(--accent);
  margin-bottom: 0.35rem;
}

.guide-card h2,
.guide-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.05;
  color: var(--ink);
}

.guide-card.soon h2,
.guide-card.soon h3 {
  color: var(--ink-muted);
}

.guide-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  flex: 1;
}

.help-panel {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--accent) 7%, var(--ground-elevated));
  text-align: center;
}

.help-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.65rem;
}

.help-panel p {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
}

.info-grid {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

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

.info-card {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--ground-elevated);
}

.info-card h2,
.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.55rem;
}

.info-card p {
  margin: 0 0 0.65rem;
  color: var(--ink-muted);
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card a {
  color: var(--accent-strong);
}

.stack-blocks {
  display: grid;
  gap: 1rem;
}

.stack-blocks > * {
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--ground-elevated);
}

.page-prose {
  color: var(--ink-muted);
}

.page-prose > *:first-child {
  margin-top: 0;
}

.page-prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 2.4rem 0 0.85rem;
}

.page-prose h3 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 1.75rem 0 0.65rem;
}

.page-prose h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 1.4rem 0 0.5rem;
}

.page-prose p {
  margin: 0 0 1rem;
  max-width: 65ch;
}

.page-prose ul,
.page-prose ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
  max-width: 65ch;
}

.page-prose li {
  margin-bottom: 0.45rem;
}

.page-prose li::marker {
  color: var(--accent);
}

.page-prose a {
  color: var(--accent-strong);
}

.page-prose strong {
  color: var(--ink);
  font-weight: 650;
}

.page-prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

.page-prose section {
  padding: 0;
  margin: 0 0 2.5rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.page-prose .callout,
.page-prose .note-box {
  margin: 1.15rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--ground-elevated) 85%, transparent);
  max-width: 65ch;
}

.page-prose .callout p,
.page-prose .note-box p {
  margin: 0;
}

.toc {
  margin: 0 0 2.5rem;
  padding: 1.35rem 1.25rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--ground-elevated);
}

.toc h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.toc nav {
  display: grid;
  gap: 0.15rem;
}

.toc-link {
  display: block;
  padding: 0.45rem 0.65rem;
  color: var(--ink-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  font-size: 0.95rem;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.toc-link:hover {
  color: var(--ink);
  border-left-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.video-block {
  margin: 1.25rem 0 1.75rem;
}

.video-block video {
  width: 100%;
  max-height: 600px;
  background: #000;
  border: 1px solid var(--line);
}

.video-block p,
.video-caption {
  margin: 0.55rem 0 0;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.video-grid {
  display: grid;
  gap: 1.25rem;
  margin: 1.25rem 0 1.75rem;
}

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

.legal-meta {
  margin: 0 0 1.5rem;
  color: var(--ink-faint);
  font-size: 0.95rem;
}

.nav-links a[aria-current="page"],
.mobile-panel a[aria-current="page"] {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .guide-card {
    transition: none;
  }
}
