@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   Runners — Web Design System
   Liquid Glass · Warm Amber · Ink
   Mirrors the Runners app tokens (src/styles.css, DESIGN_TOKENS.md)
   ========================================================================== */

:root {
  /* ---- Brand ---- */
  --amber-200: #FDE9AE;
  --amber-300: #FCD34D;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --amber-700: #976003;

  --ink:        #14161C;
  --ink-soft:   #1F232C;
  --ink-press:  #0B0D11;

  /* ---- Surface ---- */
  --cream:      #FDFAF1;
  --cream-deep: #F7F1E3;
  --paper:      #FFFFFF;

  /* ---- Text ---- */
  --text:        #14161C;
  --text-strong: #0B0D11;
  --text-muted:  #5B6270;
  --text-subtle: #6B7280;
  --text-invert: #FFFDF7;

  /* ---- Lines ---- */
  --line:        rgba(20, 22, 28, 0.08);
  --line-strong: rgba(20, 22, 28, 0.14);
  --glass-edge:  rgba(255, 255, 255, 0.65);

  /* ---- Semantic ---- */
  --danger:      #DC2626;
  --danger-soft: #FEF2F2;
  --danger-line: rgba(220, 38, 38, 0.22);
  --success:     #15803D;

  /* ---- Aurora field (from app --grad-aurora) ---- */
  --aurora:
    radial-gradient(1200px 700px at 88% -12%, rgba(252, 211, 77, 0.45), transparent 66%),
    radial-gradient(1000px 620px at 6% 14%, rgba(232, 238, 248, 0.85), transparent 68%),
    radial-gradient(900px 640px at 52% 108%, rgba(251, 191, 36, 0.20), transparent 62%);

  /* ---- Radii ---- */
  --r-xs: 0.625rem;
  --r-sm: 0.875rem;
  --r-md: 1.25rem;
  --r-lg: 1.75rem;
  --r-xl: 2.25rem;
  --r-2xl: 2.75rem;
  --r-full: 999px;

  /* ---- Spacing (spacious scale) ---- */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* ---- Type ---- */
  --font: "Outfit", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* ---- Elevation (multi-layer, app-matched) ---- */
  --sh-sm: 0 1px 2px rgba(20, 22, 28, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --sh-md: 0 2px 8px -2px rgba(20, 22, 28, 0.08), 0 6px 20px -6px rgba(20, 22, 28, 0.07);
  --sh-lg: 0 4px 16px -4px rgba(20, 22, 28, 0.10), 0 12px 40px -10px rgba(20, 22, 28, 0.13);
  --sh-xl: 0 10px 36px -10px rgba(20, 22, 28, 0.16), 0 26px 80px -24px rgba(20, 22, 28, 0.20);
  --sh-glass:
    0 8px 32px -8px rgba(20, 22, 28, 0.12),
    0 4px 16px -4px rgba(20, 22, 28, 0.08),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(20, 22, 28, 0.03);
  --sh-amber: 0 10px 30px -8px rgba(245, 158, 11, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  --sh-ink: 0 12px 34px -10px rgba(11, 13, 17, 0.45), 0 4px 12px -4px rgba(11, 13, 17, 0.30);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-base: 260ms;
  --t-slow: 420ms;

  --header-h: 76px;
  --measure: 68ch;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

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

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.011em;
  color: var(--text);
  background-color: var(--cream);
  background-image: var(--aurora);
  background-attachment: fixed;
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { flex: none; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }

ul, ol { list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--amber-300); color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--amber-600);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--text-invert);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform var(--t-base) var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.container--narrow { max-width: 880px; }

.section { padding-block: clamp(3.75rem, 7vw, 6.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-700);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-500));
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 1rem;
}
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.section-lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 40rem;
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong) 22%, var(--line-strong) 78%, transparent);
}

/* ==========================================================================
   Glass surfaces
   ========================================================================== */

.glass {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.18) 46%, rgba(255, 255, 255, 0.42) 100%),
    rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(40px) saturate(190%);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--sh-glass);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  --btn-py: 0.9rem;
  --btn-px: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: var(--btn-py) var(--btn-px);
  border-radius: var(--r-full);
  font-size: 0.9688rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-base) var(--ease),
    background-color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn svg { width: 1.15em; height: 1.15em; }

.btn-primary {
  background: linear-gradient(160deg, var(--amber-300) 0%, var(--amber-500) 100%);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--sh-amber);
}
.btn-primary:hover {
  box-shadow: 0 14px 40px -10px rgba(245, 158, 11, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-ink {
  background: linear-gradient(140deg, var(--ink-soft) 0%, var(--ink-press) 100%);
  color: var(--text-invert);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--sh-ink);
}
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 18px 46px -12px rgba(11, 13, 17, 0.5); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  color: var(--text-strong);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--sh-md);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.9); transform: translateY(-2px); box-shadow: var(--sh-lg); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { color: var(--text-strong); border-color: var(--ink); background: rgba(255, 255, 255, 0.5); }

.btn-danger {
  background: linear-gradient(150deg, #E63946 0%, #B91C1C 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 32px -10px rgba(185, 28, 28, 0.55);
}
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 16px 42px -12px rgba(185, 28, 28, 0.62); }

.btn-lg { --btn-py: 1.05rem; --btn-px: 2.1rem; min-height: 56px; font-size: 1.0313rem; }
.btn-sm { --btn-py: 0.55rem; --btn-px: 1.1rem; min-height: 40px; font-size: 0.875rem; }
.btn-block { display: flex; width: 100%; }

/* Store button — custom, brand-safe */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.6rem 0.85rem 1.35rem;
  min-height: 60px;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--ink-soft) 0%, var(--ink-press) 100%);
  color: var(--text-invert);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--sh-ink);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -14px rgba(11, 13, 17, 0.5); }
.store-btn:active { transform: translateY(0); }
.store-btn__glyph { width: 26px; height: 28px; }
.store-btn__copy { display: grid; gap: 1px; text-align: left; }
.store-btn__pre { font-size: 0.6875rem; letter-spacing: 0.13em; text-transform: uppercase; opacity: 0.62; line-height: 1.3; }
.store-btn__name { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }

.store-btn--soon {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-muted);
  border: 1px dashed var(--line-strong);
  box-shadow: none;
  cursor: default;
}
.store-btn--soon:hover { transform: none; box-shadow: none; }
.store-btn--soon .store-btn__name { color: var(--text); }

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 0.875rem;
  transition: background-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), backdrop-filter var(--t-base);
}
.header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(253, 250, 241, 0.72);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.header.is-stuck::after { opacity: 1; border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo { display: inline-flex; }
.logo a, .logo > span { display: inline-flex; align-items: center; gap: 0.7rem; }
.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 6px 18px -6px rgba(245, 158, 11, 0.6);
}
.logo-text {
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--text-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--sh-sm);
}
.nav-links a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1.05rem;
  border-radius: var(--r-full);
  font-size: 0.9063rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--text-strong); background: rgba(255, 255, 255, 0.85); }
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: linear-gradient(160deg, var(--amber-300), var(--amber-400));
  box-shadow: 0 6px 16px -6px rgba(245, 158, 11, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.nav-cta-item { display: none; }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--sh-sm);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.75px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.75px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--t-base) var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-content { display: grid; gap: 1.6rem; justify-items: start; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.95rem 0.4rem 0.45rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--sh-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}
.hero-badge b {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
  background: linear-gradient(160deg, var(--amber-300), var(--amber-400));
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.125rem, 5.2vw, 3.875rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.hero-title em {
  font-style: normal;
  position: relative;
  background: linear-gradient(120deg, var(--amber-600) 0%, var(--amber-400) 55%, var(--amber-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.35rem;
  font-size: 0.875rem;
  color: var(--text-subtle);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-meta svg { width: 16px; height: 16px; color: var(--amber-600); }

/* ==========================================================================
   Device mockup (pure CSS app preview)
   ========================================================================== */

.hero-image { display: flex; justify-content: center; position: relative; }

.hero-image::before {
  content: "";
  position: absolute;
  width: 120%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(251, 191, 36, 0.28), transparent 62%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

.device {
  position: relative;
  z-index: 1;
  width: min(320px, 82vw);
  aspect-ratio: 320 / 660;
  padding: 11px;
  border-radius: 3.1rem;
  background: linear-gradient(155deg, #2A2E38 0%, #0D0F14 46%, #23262F 100%);
  box-shadow:
    0 40px 90px -30px rgba(11, 13, 17, 0.5),
    0 18px 40px -18px rgba(11, 13, 17, 0.4),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1.5px 0 rgba(255, 255, 255, 0.08);
}
.device::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  border-radius: var(--r-full);
  background: #0A0C10;
  z-index: 3;
}
.device--tilt { transform: perspective(1600px) rotateY(-11deg) rotateX(3deg) translateZ(0); }

.device__screen {
  position: relative;
  height: 100%;
  border-radius: 2.5rem;
  overflow: hidden;
  background-color: var(--cream);
  background-image:
    radial-gradient(520px 300px at 92% -8%, rgba(252, 211, 77, 0.5), transparent 68%),
    radial-gradient(420px 320px at 4% 22%, rgba(232, 238, 248, 0.9), transparent 70%);
  display: flex;
  flex-direction: column;
  padding: 3.4rem 0.95rem 0.75rem;
  gap: 0.6rem;
}

/* status bar */
.dv-status {
  position: absolute;
  top: 0.85rem;
  inset-inline: 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6563rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  z-index: 4;
}
.dv-status-icons { display: flex; gap: 3px; align-items: center; }
.dv-status-icons i { display: block; width: 3px; border-radius: 1px; background: var(--ink); }
.dv-status-icons i:nth-child(1) { height: 5px; }
.dv-status-icons i:nth-child(2) { height: 7px; }
.dv-status-icons i:nth-child(3) { height: 9px; }
.dv-status-icons i:nth-child(4) { height: 11px; }
.dv-status-icons b { width: 15px; height: 8px; border-radius: 2px; border: 1px solid var(--ink); margin-left: 3px; position: relative; }
.dv-status-icons b::after { content: ""; position: absolute; inset: 1px; width: 65%; border-radius: 1px; background: var(--ink); }

/* app top bar */
.dv-top { display: flex; align-items: center; justify-content: space-between; padding-inline: 0.35rem; }
.dv-top h4 { font-size: 1.0625rem; letter-spacing: -0.04em; }
.dv-top p { font-size: 0.625rem; color: var(--text-subtle); font-weight: 500; letter-spacing: 0.02em; }
.dv-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(150deg, var(--amber-300), var(--amber-500));
  box-shadow: 0 4px 10px -3px rgba(245, 158, 11, 0.6);
}

/* glass cards inside device */
.dv-card {
  border-radius: 1.15rem;
  padding: 0.7rem 0.8rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.55) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 0.5px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 18px -8px rgba(20, 22, 28, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.dv-focus {
  display: grid;
  gap: 0.55rem;
  background: linear-gradient(155deg, rgba(252, 211, 77, 0.95), rgba(245, 158, 11, 0.88));
  border: 0.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 24px -10px rgba(245, 158, 11, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.dv-focus .dv-row { display: flex; align-items: center; justify-content: space-between; }
.dv-focus small { display: block; font-size: 0.5938rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(20, 22, 28, 0.62); }
.dv-focus strong { display: block; font-size: 0.9375rem; letter-spacing: -0.03em; color: var(--ink); }
.dv-focus .dv-time { font-variant-numeric: tabular-nums; font-size: 0.75rem; font-weight: 700; color: var(--ink); }

.dv-bar { height: 4px; border-radius: 3px; background: rgba(255, 255, 255, 0.55); overflow: hidden; }
.dv-bar i { display: block; height: 100%; border-radius: 3px; background: var(--ink); }

.dv-label {
  font-size: 0.5938rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
  padding-inline: 0.35rem;
  margin-top: 0.15rem;
}

.dv-task { display: flex; align-items: center; gap: 0.6rem; }
.dv-check {
  width: 17px; height: 17px; border-radius: 50%;
  border: 1.5px solid rgba(20, 22, 28, 0.22);
  flex: none;
  display: grid;
  place-items: center;
}
.dv-check svg { width: 10px; height: 10px; color: #fff; opacity: 0; }
.dv-task--done .dv-check { background: var(--amber-400); border-color: transparent; }
.dv-task--done .dv-check svg { opacity: 1; color: var(--ink); }
.dv-task--done .dv-task__name { color: var(--text-subtle); text-decoration: line-through; }
.dv-task__body { display: grid; gap: 1px; min-width: 0; flex: 1; }
.dv-task__name { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-task__meta { display: block; font-size: 0.5938rem; color: var(--text-subtle); font-weight: 500; }
.dv-pill {
  font-size: 0.5625rem; font-weight: 700; padding: 0.15rem 0.45rem;
  border-radius: var(--r-full); background: rgba(251, 191, 36, 0.24);
  color: var(--amber-700); letter-spacing: 0.03em; flex: none;
}

.dv-goal { display: grid; gap: 0.45rem; }
.dv-goal .dv-row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.dv-goal strong { font-size: 0.75rem; letter-spacing: -0.02em; }
.dv-goal span { font-size: 0.625rem; font-weight: 700; color: var(--amber-700); font-variant-numeric: tabular-nums; }
.dv-goal .dv-bar { background: rgba(20, 22, 28, 0.08); }
.dv-goal .dv-bar i { background: linear-gradient(90deg, var(--amber-400), var(--amber-600)); }

/* device bottom nav */
.dv-nav {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.5rem 0.4rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 0.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 22px -10px rgba(20, 22, 28, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.dv-nav a, .dv-nav span {
  display: grid;
  place-items: center;
  gap: 2px;
  font-size: 0.5313rem;
  font-weight: 600;
  color: var(--text-subtle);
  letter-spacing: -0.01em;
}
.dv-nav svg { width: 16px; height: 16px; }
.dv-nav .is-active { color: var(--ink); }
.dv-nav .dv-fab {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(150deg, var(--ink-soft), var(--ink-press));
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(11, 13, 17, 0.55);
}
.dv-nav .dv-fab svg { width: 15px; height: 15px; }

/* floating glass chips around the device */
.hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--sh-lg);
  animation: float 7s ease-in-out infinite;
}
.hero-chip__icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 0.7rem;
  background: linear-gradient(150deg, var(--amber-300), var(--amber-500));
  color: var(--ink);
  box-shadow: 0 6px 14px -6px rgba(245, 158, 11, 0.7);
}
.hero-chip__icon svg { width: 17px; height: 17px; }
.hero-chip > span:last-child { display: block; }
.hero-chip strong { display: block; font-size: 0.8125rem; letter-spacing: -0.02em; }
.hero-chip small { display: block; font-size: 0.6875rem; color: var(--text-subtle); }
.hero-chip--a { top: 12%; left: -6%; }
.hero-chip--b { bottom: 16%; right: -8%; animation-delay: -3.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* device calendar + vision mosaic */
.dv-cal { display: grid; gap: 0.4rem; }
.cal-dows, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dows span {
  font-size: 0.5rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text-subtle); text-align: center;
}
.cal-grid span {
  aspect-ratio: 1;
  display: grid; place-items: center;
  font-size: 0.5625rem; font-weight: 600;
  color: var(--text-muted);
  border-radius: 50%;
  position: relative;
}
.cal-grid .is-today {
  background: linear-gradient(150deg, var(--amber-300), var(--amber-500));
  color: var(--ink);
  box-shadow: 0 4px 10px -4px rgba(245, 158, 11, 0.8);
}
.cal-grid .is-dot::after {
  content: "";
  position: absolute;
  bottom: 1px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--amber-600);
}

.dv-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.dv-mosaic .tile {
  border-radius: 0.75rem;
  aspect-ratio: 4 / 3;
  border: 0.5px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 12px -8px rgba(20, 22, 28, 0.3);
}
.tile--a { background: linear-gradient(150deg, #FCD34D, #F59E0B); }
.tile--b { background: linear-gradient(150deg, #D6E4F0, #A9BFD6); }
.tile--c { background: linear-gradient(150deg, #E7E1D4, #C9BFA8); }
.tile--d { background: linear-gradient(150deg, #2A2E38, #14161C); }

/* ==========================================================================
   Marquee / trust strip
   ========================================================================== */

.strip { padding-block: 0; }
.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--line);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--sh-glass);
}
.strip__item {
  display: grid;
  gap: 0.25rem;
  padding: 1.65rem 1.35rem;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  text-align: center;
}
.strip__value {
  font-size: clamp(1.5rem, 2.6vw, 1.9375rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--text-strong);
}
.strip__value em { font-style: normal; color: var(--amber-600); }
.strip__label { font-size: 0.8125rem; color: var(--text-muted); font-weight: 500; }

/* ==========================================================================
   Features — bento grid
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.875rem, 1.6vw, 1.25rem);
}

.feature-card {
  grid-column: span 3;
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: clamp(1.35rem, 2.2vw, 1.85rem);
  border-radius: var(--r-lg);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 44%, rgba(255, 255, 255, 0.4) 100%),
    rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(36px) saturate(185%);
  -webkit-backdrop-filter: blur(36px) saturate(185%);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--sh-glass);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 240px at 50% 0%, rgba(251, 191, 36, 0.2), transparent 72%);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--sh-xl); border-color: rgba(255, 255, 255, 0.95); }
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; }

.feature-card--wide { grid-column: span 6; }
.feature-card--lead {
  grid-column: span 6;
  grid-row: span 2;
  align-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.6rem, 2.6vw, 2.25rem);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 16px -8px rgba(20, 22, 28, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--amber-700);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card--lead .feature-icon {
  background: linear-gradient(155deg, var(--amber-300), var(--amber-500));
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: var(--sh-amber);
}

.feature-title { font-size: 1.0938rem; font-weight: 600; letter-spacing: -0.032em; }
.feature-card--lead .feature-title { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 700; }
.feature-description { font-size: 0.9063rem; line-height: 1.62; color: var(--text-muted); }
.feature-card--lead .feature-description { font-size: 1rem; }

.feature-visual {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.fv-row { display: flex; align-items: center; gap: 0.65rem; }
.fv-row + .fv-row { padding-top: 0.55rem; border-top: 1px solid var(--line); }
.fv-dot {
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: rgba(251, 191, 36, 0.2); color: var(--amber-700);
}
.fv-dot svg { width: 11px; height: 11px; }
.fv-row.is-done .fv-dot { background: var(--amber-400); color: var(--ink); }
.fv-row.is-done .fv-text { color: var(--text-subtle); text-decoration: line-through; }
.fv-text { font-size: 0.8125rem; font-weight: 500; flex: 1; min-width: 0; }
.fv-time { font-size: 0.6875rem; font-weight: 600; color: var(--text-subtle); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Screens showcase
   ========================================================================== */

.screens-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: start;
}
.screen-item { display: grid; gap: 1.1rem; justify-items: center; text-align: center; }
.screen-item .device { width: 100%; max-width: 250px; }
.screen-item:nth-child(even) .device { transform: translateY(1.75rem); }
.screen-caption { display: grid; gap: 0.2rem; }
.screen-caption strong { font-size: 1rem; letter-spacing: -0.03em; }
.screen-caption span { font-size: 0.8438rem; color: var(--text-muted); }
.screen-item:nth-child(even) .screen-caption { transform: translateY(1.75rem); }

/* ==========================================================================
   About / story
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.about-aside { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); align-content: start; }

.quote-card {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.25) 46%, rgba(255, 255, 255, 0.45) 100%),
    rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(36px) saturate(185%);
  -webkit-backdrop-filter: blur(36px) saturate(185%);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--sh-glass);
}
.quote-card__mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 8px 20px -8px rgba(245, 158, 11, 0.7);
}
.quote-card blockquote {
  font-size: clamp(1.0625rem, 1.7vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.028em;
  color: var(--text-strong);
  text-wrap: pretty;
}
.quote-card figcaption { font-size: 0.8438rem; color: var(--text-subtle); }

.about-text { font-size: 1.0625rem; line-height: 1.75; color: var(--text-muted); }
.about-text + .about-text { margin-top: 1.25rem; }
.about-text strong { color: var(--text-strong); font-weight: 600; }

.principles { display: grid; gap: 1rem; margin-top: 2rem; }
.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--sh-sm);
}
.principle__num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber-700);
  padding-top: 0.25rem;
  font-variant-numeric: tabular-nums;
}
.principle h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 0.2rem; }
.principle p { font-size: 0.9063rem; color: var(--text-muted); line-height: 1.6; }

/* ==========================================================================
   Download / CTA
   ========================================================================== */

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 6vw, 4.75rem) clamp(1.75rem, 5vw, 4rem);
  border-radius: var(--r-2xl);
  background: linear-gradient(150deg, var(--ink-soft) 0%, var(--ink-press) 62%, #191D26 100%);
  color: var(--text-invert);
  box-shadow: 0 40px 90px -34px rgba(11, 13, 17, 0.55);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.35rem;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 82% -20%, rgba(251, 191, 36, 0.30), transparent 66%),
    radial-gradient(560px 360px at 8% 118%, rgba(251, 191, 36, 0.16), transparent 66%);
  pointer-events: none;
}
.cta-panel > * { position: relative; }
.cta-panel .eyebrow { color: var(--amber-300); }
.cta-panel .eyebrow::before { background: linear-gradient(90deg, transparent, var(--amber-400)); }
.cta-panel h2 {
  color: var(--text-invert);
  font-size: clamp(2rem, 4.4vw, 3rem);
  letter-spacing: -0.045em;
}
.download-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: rgba(255, 253, 247, 0.72);
  max-width: 38rem;
  line-height: 1.65;
}
.download-buttons { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 0.35rem; }
.cta-panel .store-btn {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
}
.cta-panel .store-btn--soon {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 253, 247, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.24);
  box-shadow: none;
}
.cta-panel .store-btn--soon .store-btn__name { color: rgba(255, 253, 247, 0.86); }
.download-note { font-size: 0.875rem; color: rgba(255, 253, 247, 0.5); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-top: 1px solid var(--glass-edge);
}
.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.75rem;
}
.footer-brand { display: grid; gap: 1rem; justify-items: start; align-content: start; }
.footer-text { font-size: 0.9063rem; color: var(--text-muted); line-height: 1.65; max-width: 26rem; }
.footer-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 1.1rem;
}
.footer-links { display: grid; gap: 0.7rem; }
.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
}
.footer-links a:hover { color: var(--text-strong); }
.footer-links a::after {
  content: "";
  width: 0;
  height: 1px;
  background: var(--amber-500);
  transition: width var(--t-base) var(--ease);
}
.footer-links a:hover::after { width: 14px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.8438rem;
  color: var(--text-subtle);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
.footer-legal a:hover { color: var(--text-strong); }

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal-hero { padding-block: clamp(3rem, 6vw, 4.75rem) clamp(1.75rem, 3vw, 2.5rem); }
.legal-hero .container { display: grid; gap: 1.15rem; justify-items: start; }
.legal-title { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.048em; }
.legal-subtitle { font-size: clamp(1.0313rem, 1.7vw, 1.1875rem); color: var(--text-muted); max-width: 40rem; line-height: 1.65; }
.legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--sh-sm);
}
.legal-meta svg { width: 14px; height: 14px; color: var(--amber-600); }

/* segmented sub-nav — legal docs live together, not in the header */
.doc-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--sh-sm);
}
.doc-switch a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 1.05rem;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--t-fast) var(--ease);
}
.doc-switch a svg { width: 15px; height: 15px; }
.doc-switch a:hover { color: var(--text-strong); background: rgba(255, 255, 255, 0.85); }
.doc-switch a[aria-current="page"] {
  background: var(--ink);
  color: var(--text-invert);
  box-shadow: var(--sh-ink);
}

.legal-page { padding-bottom: clamp(3rem, 6vw, 5rem); }

.legal-content {
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-radius: var(--r-xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.42) 48%, rgba(255, 255, 255, 0.6) 100%),
    rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(44px) saturate(190%);
  -webkit-backdrop-filter: blur(44px) saturate(190%);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--sh-glass);
}

.legal-section { padding-block: 1.75rem; }
.legal-section + .legal-section { border-top: 1px solid var(--line); }
.legal-section:first-child { padding-top: 0; }

.legal-section h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}
.legal-section h3 {
  font-size: 1.0313rem;
  font-weight: 600;
  letter-spacing: -0.028em;
  margin-top: 1.6rem;
  margin-bottom: 0.55rem;
  color: var(--text-strong);
}
.legal-section h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}
.legal-section p,
.legal-section li {
  font-size: 0.9688rem;
  line-height: 1.72;
  color: var(--text-muted);
  max-width: var(--measure);
}
.legal-section p + p { margin-top: 0.85rem; }
.legal-section strong { color: var(--text-strong); font-weight: 600; }
.legal-section a { color: var(--amber-700); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: rgba(161, 98, 7, 0.35); }
.legal-section a:hover { text-decoration-color: var(--amber-600); }

.legal-section ul,
.legal-section ol { display: grid; gap: 0.55rem; margin: 0.9rem 0 0; }
.legal-section ul li { position: relative; padding-left: 1.35rem; }
.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.68em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber-500);
}
.legal-section ol { counter-reset: li; }
.legal-section ol li { position: relative; padding-left: 1.85rem; counter-increment: li; }
.legal-section ol li::before {
  content: counter(li);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber-700);
  font-variant-numeric: tabular-nums;
}

.legal-footer {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.legal-footer p { font-size: 0.9063rem; color: var(--text-muted); }

.contact-info {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.28);
}
.contact-info p { font-size: 0.9375rem; color: var(--text); }
.contact-info strong { color: var(--text-strong); }

/* ==========================================================================
   Delete-account page
   ========================================================================== */

.warning-box {
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border-radius: var(--r-lg);
  background: linear-gradient(155deg, rgba(254, 242, 242, 0.9), rgba(254, 226, 226, 0.6));
  border: 1px solid var(--danger-line);
  box-shadow: 0 10px 30px -14px rgba(220, 38, 38, 0.28);
  margin-bottom: 2rem;
}
.warning-box h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.0938rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #991B1B;
  margin: 0 0 0.75rem;
}
.warning-box h3 svg { width: 20px; height: 20px; color: var(--danger); }
.warning-box p, .warning-box li { color: #7F1D1D; font-size: 0.9375rem; line-height: 1.68; }
.warning-box ul { display: grid; gap: 0.45rem; margin: 0.9rem 0; }
.warning-box ul li { position: relative; padding-left: 1.35rem; }
.warning-box ul li::before {
  content: "";
  position: absolute; left: 0.2rem; top: 0.66em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--danger);
}
.warning-box strong { color: #7F1D1D; font-weight: 700; }

.steps { display: grid; gap: 1rem; margin-top: 1.35rem; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.step:hover { transform: translateX(4px); box-shadow: var(--sh-md); }
.step-number {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--amber-300), var(--amber-500));
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 6px 16px -7px rgba(245, 158, 11, 0.7);
  flex: none;
}
.step-content h3 { margin: 0 0 0.3rem; font-size: 1rem; font-weight: 600; letter-spacing: -0.03em; }
.step-content p { font-size: 0.9063rem; color: var(--text-muted); line-height: 1.6; }
.step-content ul { margin-top: 0.6rem; }

.email-request-box {
  margin-top: 1.35rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--sh-md);
}
.email-template__label {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.email-template__label strong { color: inherit; font-weight: 700; }

.email-template {
  margin-top: 0.6rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, #1B1F27, #0D0F14);
  color: #E8EAF0;
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-x: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.email-template pre {
  margin: 0;
  font: inherit;
  white-space: pre-wrap;
  word-break: break-word;
}
.email-template strong { color: var(--amber-300); font-weight: 600; }

.email-request-box p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; }
.email-request-box p + p { margin-top: 0.5rem; }
.email-request-box strong { color: var(--text-strong); font-weight: 600; }
.email-request-box ul { display: grid; gap: 0.5rem; margin-top: 0.9rem; }
.email-request-box ul li { position: relative; padding-left: 1.35rem; font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; }
.email-request-box ul li::before {
  content: "";
  position: absolute; left: 0.15rem; top: 0.7em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber-500);
}
.email-request-box a { color: var(--amber-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.processing-time {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.35rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--r-md);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.processing-time svg { width: 20px; height: 20px; color: var(--amber-700); flex: none; margin-top: 2px; }
.processing-time p { font-size: 0.9063rem; color: var(--text); }

.alternatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}
.alternative-card {
  display: grid;
  gap: 0.5rem;
  padding: 1.35rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.alternative-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.alternative-card__icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 0.7rem;
  background: rgba(251, 191, 36, 0.18);
  color: var(--amber-700);
}
.alternative-card__icon svg { width: 18px; height: 18px; }
.alternative-card h3,
.alternative-card h4 { font-size: 0.9688rem; font-weight: 600; letter-spacing: -0.03em; margin: 0; }
.alternative-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.alternative-card .alternative-note { margin-top: 0.15rem; font-size: 0.8125rem; color: var(--text-subtle); }
.alternative-note { margin-top: 1.15rem; font-size: 0.9063rem; color: var(--text-muted); }

.feedback-section { margin-top: 0; }

.cta-section {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  justify-items: start;
}
.cta-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .features-grid { grid-template-columns: repeat(6, 1fr); }
  .feature-card { grid-column: span 3; }
  .feature-card--wide, .feature-card--lead { grid-column: span 6; }
  .feature-card--lead { grid-row: auto; }
  .screens-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
  .screen-item:nth-child(even) .device,
  .screen-item:nth-child(even) .screen-caption { transform: none; }
}

@media (max-width: 940px) {
  :root { --header-h: 70px; }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: clamp(1.25rem, 5vw, 2.5rem);
    right: clamp(1.25rem, 5vw, 2.5rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.6rem;
    border-radius: var(--r-lg);
    background: #FDFAF1;
    border: 1px solid var(--glass-edge);
    box-shadow: var(--sh-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { min-height: 48px; padding-inline: 1.15rem; font-size: 1rem; }
  .nav-cta-item { display: block; margin-top: 0.4rem; padding-top: 0.5rem; border-top: 1px solid var(--line); }
  .nav-cta-item .btn { width: 100%; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .nav-actions .btn.nav-cta-mobile { display: inline-flex; }

  .hero .container { grid-template-columns: 1fr; }
  .hero-content { justify-items: center; text-align: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-buttons, .hero-meta { justify-content: center; }
  .hero-image { margin-top: 1rem; }
  .device--tilt { transform: none; }
  .hero-chip--a { left: -2%; }
  .hero-chip--b { right: -2%; }

  .about-grid { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero-chip { display: none; }
  .screens-rail { grid-template-columns: 1fr; justify-items: center; }
  .screen-item .device { max-width: 270px; }
  .strip__inner { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { justify-content: flex-start; }
  .btn { width: 100%; }
  .hero-buttons, .download-buttons, .cta-buttons { width: 100%; }
  .store-btn { flex: 1 1 100%; justify-content: center; }
  .nav-actions .btn.nav-cta-mobile { display: none; }
  .step { grid-template-columns: 1fr; gap: 0.75rem; }
  .doc-switch { width: 100%; }
  .doc-switch a { flex: 1; justify-content: center; }
}

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

@media print {
  .header, .footer, .doc-switch, .hero-image, .cta-section { display: none !important; }
  body { background: #fff; }
  .legal-content { box-shadow: none; border: 0; padding: 0; background: none; backdrop-filter: none; }
}
