/* Swerve site. The app's design system on the web: the system font, Flare #FF4D2E as the one
   accent, white and grouped grey grounds, 20px cards, and Liquid Glass only on the floating layer
   (the header capsule, pills and floating chips). Mobile first; two columns from 900px. */

:root {
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, 'Segoe UI', Roboto, sans-serif;
  --bg: #ffffff;
  --group: #f2f2f7;
  --card: #ffffff;
  --text: #000000;
  --sec: #6e6e73;
  --ter: #8e8e93;
  --sep: #e5e5ea;
  --flare: #ff4d2e;
  --flare-text: #c93a1e;
  --flare-soft: #fff0ec;
  --great: #1f8a4c;
  --great-soft: #e9f6ee;
  --good: #3f8f33;
  --fair: #9a6b00;
  --high: #c0301c;
  --button: #000000;
  --button-text: #ffffff;
  --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62));
  --glass-rim: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 0 0 0.5px rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  --glass-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 12px 32px rgba(0, 0, 0, 0.1);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  --menu-bg: #ffffff;
  --phone-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06);
  --gutter: 20px;
  --max: 1120px;
  --radius: 20px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --group: #000000;
    --card: #1c1c1e;
    --text: #ffffff;
    --sec: #98989d;
    --ter: #8e8e93;
    --sep: #38383a;
    --flare-text: #ff6a4d;
    --flare-soft: rgba(255, 77, 46, 0.16);
    --great: #30d158;
    --great-soft: rgba(48, 209, 88, 0.16);
    --good: #6cc35a;
    --fair: #e0a91c;
    --high: #ff5b4d;
    --button: #ffffff;
    --button-text: #000000;
    --glass-bg: linear-gradient(180deg, rgba(60, 60, 64, 0.7), rgba(30, 30, 32, 0.55));
    --glass-rim: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 0.5px rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    --card-shadow: none;
    --menu-bg: #1c1c1e;
    --phone-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  }
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); }

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Liquid Glass ---------- */

.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(26px) saturate(190%);
  backdrop-filter: blur(26px) saturate(190%);
  box-shadow: var(--glass-rim), var(--glass-shadow);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--card); }
}

@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Brand mark ---------- */

.mark { width: 32px; height: 32px; flex: none; display: block; }
.mark.big { width: 64px; height: 64px; }

.word {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.word i { width: 6px; height: 6px; border-radius: 999px; background: var(--flare); }

/* ---------- Header: a floating glass capsule ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: max(10px, env(safe-area-inset-top)) var(--gutter) 0;
  pointer-events: none;
}

.bar {
  pointer-events: auto;
  max-width: var(--max);
  margin: 0 auto;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 12px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  margin-right: auto;
}

.nav { display: none; }

.get {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.menu {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu svg { width: 22px; height: 22px; }

/* the mobile menu drops out of the capsule as its own glass panel */
.bar.open .nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  padding: 8px;
  border-radius: 28px;
  background: var(--menu-bg);
  -webkit-backdrop-filter: blur(26px) saturate(190%);
  backdrop-filter: blur(26px) saturate(190%);
  box-shadow: var(--glass-rim), var(--glass-shadow);
  animation: drop 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.bar.open .nav a {
  padding: 14px 16px;
  border-radius: 18px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
}
.bar.open .nav a:hover { background: rgba(127, 127, 127, 0.12); }

@keyframes drop { from { opacity: 0; transform: translateY(-8px) scale(0.98); } to { opacity: 1; transform: none; } }

@media (min-width: 900px) {
  .menu { display: none; }
  .nav { display: flex; gap: 2px; margin-right: 8px; }
  .nav a {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: var(--sec);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
  }
  .nav a:hover { color: var(--text); background: rgba(127, 127, 127, 0.1); }
}

/* ---------- Shared type ---------- */

.kicker {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--flare-text);
  margin-bottom: 10px;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 7.4vw, 52px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section { padding: clamp(72px, 12vw, 128px) 0 0; }
.head { max-width: 720px; }
.head p, .copy > p {
  margin: 14px 0 0;
  font-size: clamp(17px, 2.4vw, 19px);
  line-height: 1.5;
  color: var(--sec);
  text-wrap: pretty;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
@media (prefers-color-scheme: light) {
  .section .card { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.04); }
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 600;
  color: var(--flare-text);
  text-decoration: none;
}
.text-link::after { content: '›'; margin-left: 6px; }

/* ---------- Phones ---------- */

.phone {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 390 / 844;
  border-radius: 15% / 6.9%;
  padding: 2.4%;
  background: #0b0b0d;
  box-shadow: var(--phone-shadow);
  flex: none;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13% / 6%;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  margin-top: -66px;
  padding: calc(66px + clamp(40px, 9vw, 96px)) 0 clamp(32px, 6vw, 64px);
}

.ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.ambient img {
  position: absolute;
  left: -20%;
  top: -10%;
  width: 140%;
  height: 80%;
  object-fit: cover;
  filter: blur(80px) saturate(1.6);
  opacity: 0.45;
}
.ambient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.7) 45%, var(--bg) 85%);
}
@media (prefers-color-scheme: dark) {
  .ambient img { opacity: 0.5; }
  .ambient::after { background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.7) 45%, var(--bg) 85%); }
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(40px, 8vw, 64px);
  text-align: center;
}

.hero-copy { max-width: 760px; display: flex; flex-direction: column; align-items: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.pill .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--flare); box-shadow: 0 0 0 4px rgba(255, 77, 46, 0.18); }

h1 {
  margin: 20px 0 0;
  font-size: clamp(34px, 9.2vw, 84px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 span { display: block; color: var(--sec); }

.lead {
  margin: 20px 0 0;
  max-width: 560px;
  font-size: clamp(17px, 2.6vw, 21px);
  line-height: 1.45;
  color: var(--sec);
  text-wrap: pretty;
}

.cta-row { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 10px; }

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 24px 0 20px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  text-decoration: none;
  transition: transform 0.2s;
}
a.store:hover { transform: translateY(-1px); }
.store svg { width: 24px; height: 24px; }
.store span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store small { font-size: 11px; font-weight: 500; opacity: 0.8; }
.store strong { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.store[aria-disabled='true'] { cursor: default; }
.store.light { background: #ffffff; color: #000000; }

.store-note { margin: 0; font-size: 14px; color: var(--ter); }

/* the stage: the feed in the middle, detail and Garage behind, glass chips floating over */
.stage {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 0 8px;
}
.stage .phone.main { z-index: 2; animation: sway 7s ease-in-out infinite; }
.stage .phone.side { display: none; }

@keyframes sway {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  30% { transform: rotate(-1.4deg) translateY(-4px); }
  65% { transform: rotate(1.2deg) translateY(-2px); }
}

.float { position: absolute; z-index: 3; }
.tag {
  top: 30%;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bob 5s ease-in-out infinite;
}
.tag.pass { left: max(0px, calc(50% - min(150px, 37vw) - 34px)); transform: rotate(-8deg); }
.tag.save {
  right: max(0px, calc(50% - min(150px, 37vw) - 34px));
  transform: rotate(8deg);
  color: #fff;
  background: linear-gradient(180deg, #ff6244, #ff4626);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 30px rgba(255, 77, 46, 0.4);
  animation-delay: -2.5s;
}

.note {
  bottom: 14%;
  left: max(0px, calc(50% - min(150px, 37vw) - 40px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 20px;
  text-align: left;
  animation: bob 6s ease-in-out infinite;
  animation-delay: -1s;
}
.note b { display: block; font-size: 14px; line-height: 18px; }
.note small { display: block; font-size: 12px; line-height: 16px; color: var(--sec); }
.note-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--great);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.note-icon svg { width: 18px; height: 18px; }

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@media (min-width: 900px) {
  .stage { padding-top: 12px; }
  .stage .phone.main { width: 320px; }
  .stage .phone.side { display: block; position: absolute; top: 56px; width: 270px; opacity: 0.95; }
  .stage .phone.left { left: calc(50% - 400px); transform: rotate(-7deg); }
  .stage .phone.right { right: calc(50% - 400px); transform: rotate(7deg); }
  .tag.pass { left: calc(50% - 250px); top: 26%; }
  .tag.save { right: calc(50% - 250px); top: 22%; }
  .note { left: calc(50% + 120px); bottom: 18%; }
}

/* ---------- Gestures ---------- */

.gestures {
  list-style: none;
  margin: 36px calc(var(--gutter) * -1) 0;
  padding: 4px var(--gutter) 12px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 72%);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.gestures::-webkit-scrollbar { display: none; }

.g {
  scroll-snap-align: start;
  background: var(--group);
  border-radius: 24px;
  padding: 22px;
}
@media (prefers-color-scheme: dark) { .g { background: var(--card); } }
.g h3 { margin: 18px 0 0; font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; }
.g p { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--sec); }

.well {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--card);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.well svg { width: 22px; height: 22px; }
.well.flare { background: var(--flare); color: #fff; box-shadow: 0 6px 16px rgba(255, 77, 46, 0.3); }
@media (prefers-color-scheme: dark) { .well { background: #2c2c2e; } }

@media (min-width: 900px) {
  .gestures {
    margin: 48px 0 0;
    padding: 0;
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }
}

/* ---------- Split sections ---------- */

.split-grid {
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.split .shot, .plus .shot { display: flex; justify-content: center; }
.shot.double { position: relative; }
.shot.double .phone.back { display: none; }

@media (min-width: 900px) {
  .split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 72px;
  }
  .split.flip .copy { order: 2; }
  .shot .phone { width: 320px; }
  .shot.double .phone { position: relative; z-index: 2; transform: translateX(-60px); }
  .shot.double .phone.back {
    display: block;
    position: absolute;
    z-index: 1;
    width: 270px;
    left: calc(50% + 10px);
    top: 40px;
    transform: rotate(5deg);
  }
}

/* deal meter, as in the app */
.meter-card { margin-top: 28px; padding: 18px; }
.meter-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.meter-q { font-size: 15px; font-weight: 600; }
.badge { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.badge.great { color: var(--great); background: var(--great-soft); }
.meter-verdict { margin-top: 10px; font-size: 15px; color: var(--sec); }
.meter { position: relative; height: 66px; margin-top: 8px; }
.meter .track {
  position: absolute; left: 0; right: 0; top: 16px; height: 8px; border-radius: 4px;
  background: linear-gradient(to right, #9fdcb7 0%, #e6e6eb 50%, #f7b7aa 100%);
}
@media (prefers-color-scheme: dark) { .meter .track { background: linear-gradient(to right, #1f6b3f 0%, #3a3a3c 50%, #7a2b20 100%); } }
.meter .tick { position: absolute; left: 50%; top: 12px; width: 2px; height: 16px; margin-left: -1px; background: var(--text); border-radius: 1px; }
.meter .marker {
  position: absolute; left: 34%; top: 7px; width: 8px; height: 26px; margin-left: -4px; border-radius: 4px;
  background: var(--great); box-shadow: 0 0 0 3px var(--card), 0 2px 6px rgba(0, 0, 0, 0.15);
}
.meter .ml { position: absolute; top: 40px; font-size: 12px; font-weight: 600; color: var(--ter); }
.meter .ml.left { left: 0; }
.meter .ml.right { right: 0; }
.meter .ml.mid { left: 50%; transform: translateX(-50%); white-space: nowrap; }

.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--group); }
@media (prefers-color-scheme: dark) { .chips li { background: var(--card); } }
.chips [data-rating='great'] { color: var(--great); }
.chips [data-rating='good'] { color: var(--good); }
.chips [data-rating='fair'] { color: var(--fair); }
.chips [data-rating='high'] { color: var(--high); }

/* garage minis */
.mini-cars { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mini { padding: 16px; display: flex; flex-direction: column; }
.mini-l { font-size: 13px; font-weight: 600; color: var(--sec); }
.mini b { margin-top: 4px; font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.mini .up { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--great); }

/* ---------- Category tiles ---------- */

.tiles {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tile {
  background: var(--group);
  border-radius: var(--radius);
  padding: 20px 18px;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
@media (prefers-color-scheme: dark) { .tile { background: var(--card); } }
.tile svg { width: 28px; height: 28px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile:first-child { background: var(--flare-soft); box-shadow: inset 0 0 0 2px var(--flare); }
.tile:first-child svg { stroke: var(--flare); }
.tile:first-child b { color: var(--flare-text); }
.tile b { font-size: 16px; line-height: 1.25; font-weight: 600; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 48px; } }

/* ---------- Plus (always dark) ---------- */

.plus {
  position: relative;
  overflow: hidden;
  margin-top: clamp(72px, 12vw, 128px);
  padding: clamp(72px, 12vw, 120px) 0;
  background: #000;
  color: #fff;
  --card: #1c1c1e;
  --sec: #98989d;
}
.plus-glow {
  position: absolute;
  left: 50%;
  top: -220px;
  width: 900px;
  height: 520px;
  margin-left: -450px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(255, 77, 46, 0.35), rgba(255, 77, 46, 0));
  pointer-events: none;
}
.plus .kicker { color: #ff6a4d; }
.plus .copy > p { color: var(--sec); }
.plus-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.plus-list li { display: flex; align-items: center; gap: 14px; }
.plus-list b { display: block; font-size: 17px; line-height: 1.3; }
.plus-list li > span:last-child { font-size: 15px; line-height: 1.4; color: var(--sec); }
.plus .well.flare { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 77, 46, 0.16); color: #ff6a4d; box-shadow: none; }

.plans { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 460px; }
.plan {
  position: relative;
  padding: 16px;
  border-radius: var(--radius);
  background: #1c1c1e;
  display: flex;
  flex-direction: column;
}
.plan.on { box-shadow: inset 0 0 0 2px var(--flare); background: rgba(255, 77, 46, 0.1); }
.plan .save {
  position: absolute; top: -11px; left: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; background: var(--flare); color: #fff;
}
.plan-n { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sec); }
.plan.on .plan-n { color: #ff6a4d; }
.plan b { margin-top: 6px; font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan small { font-size: 13px; color: var(--sec); }
.fine { margin: 14px 0 0; font-size: 13px; color: var(--ter); }

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

.faq { display: flex; flex-direction: column; gap: 28px; }
.faq .head p a { color: var(--flare-text); }
.faq-list { overflow: hidden; }
details { border-bottom: 0.5px solid var(--sep); margin-left: 20px; }
details:last-child { border: 0; }
summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px 18px 0;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '';
  width: 9px;
  height: 9px;
  margin-top: 6px;
  flex: none;
  border-right: 2px solid var(--ter);
  border-bottom: 2px solid var(--ter);
  transform: rotate(45deg);
  transition: transform 0.25s;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
details p { margin: -6px 20px 18px 0; color: var(--sec); line-height: 1.55; }
details a { color: var(--flare-text); }
@media (min-width: 900px) {
  .faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
}

/* ---------- Closing ---------- */

.closing { padding: clamp(72px, 12vw, 128px) 0; }
.closing-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 40px 24px 0;
  background: linear-gradient(160deg, #ff6a3d 0%, #ff4d2e 55%, #e63a1c 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}
.closing-card::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.closing-copy { position: relative; display: flex; flex-direction: column; align-items: center; }
.closing-copy .mark { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); border-radius: 15px; }
.closing-copy .mark rect { fill: #fff; }
.closing-copy .mark path:first-of-type { stroke: #ff4d2e; }
.closing-copy .mark path:last-of-type { stroke: #fff; }
.closing h2 { margin-top: 20px; max-width: 520px; }
.closing-copy p { margin: 10px 0 24px; font-size: 17px; opacity: 0.9; }
.closing-shot { position: relative; height: 340px; overflow: hidden; width: 100%; display: flex; justify-content: center; }
.closing-shot .phone { width: 260px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
@media (min-width: 900px) {
  .closing-card { flex-direction: row; text-align: left; padding: 56px 64px 0; align-items: flex-end; justify-content: space-between; }
  .closing-copy { align-items: flex-start; padding-bottom: 56px; }
  .closing-shot { width: auto; height: 400px; }
  .closing-shot .phone { width: 300px; }
}

/* ---------- Footer ---------- */

.footer { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 0.5px solid var(--sep); font-size: 14px; color: var(--sec); }
.footer .wrap { display: flex; flex-direction: column; gap: 16px; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand .mark { width: 24px; height: 24px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }
@media (min-width: 900px) { .footer .wrap { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

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

/* ---------- Document pages (privacy, terms, support) ---------- */

.doc { padding: clamp(40px, 8vw, 88px) 0 clamp(80px, 10vw, 128px); }
.doc article { max-width: 680px; }
.doc h1 { margin: 0; font-size: clamp(36px, 8vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.doc h1 span { color: inherit; }
.doc .updated { margin: 12px 0 40px; font-size: 15px; color: var(--ter); }
.doc h2 { margin: 48px 0 12px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.doc h3 { margin: 28px 0 8px; font-size: 17px; font-weight: 600; }
.doc p, .doc li { color: var(--sec); line-height: 1.6; }
.doc strong { color: var(--text); font-weight: 600; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--flare-text); text-underline-offset: 3px; }
.callout { margin: 28px 0; padding: 20px 22px; border-radius: var(--radius); background: var(--group); }
@media (prefers-color-scheme: dark) { .callout { background: var(--card); } }
.callout p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 0.5px solid var(--sep); color: var(--sec); line-height: 1.5; }
.doc th { color: var(--text); font-weight: 600; }

/* Request form (delete-account) */
.form { margin: 20px 0 8px; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; color: var(--text); }
.form input, .form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0.5px solid var(--sep);
  border-radius: 14px;
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: var(--card-shadow);
}
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--flare); outline-offset: 1px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button {
  justify-self: start;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.form button[disabled] { opacity: 0.5; cursor: default; }
.form .status { margin: 0; min-height: 1.6em; font-size: 15px; }
.form .status.ok { color: var(--great); }
.form .status.err { color: var(--high); }
.confirm .form { margin-top: 16px; }
.confirm .form button { background: var(--high); color: #fff; }
