/* ==========================================================================
   10 Stars — Liquid Glass
   System fonts, no frameworks, no images required.
   ========================================================================== */

:root {
  color-scheme: light dark;

  --bg: #eef0f6;
  --ink: #1d1d1f;
  --ink-2: #4a4a50;
  --ink-3: #86868b;
  --accent: #0071e3;
  --accent-2: #7a5cff;
  --line: rgba(0, 0, 0, .08);

  --glass: rgba(255, 255, 255, .56);
  --glass-hi: rgba(255, 255, 255, .8);
  --glass-rim: rgba(255, 255, 255, .95);
  --glass-rim-2: rgba(255, 255, 255, .2);
  --glass-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 48px -18px rgba(16, 24, 40, .22);
  --sheen: rgba(255, 255, 255, .75);

  --orb-a: #6db3ff;
  --orb-b: #b79cff;
  --orb-c: #ffa3c2;
  --orb-d: #79e6cc;
  --orb-opacity: .6;

  --r-xl: 32px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-pill: 999px;
  --maxw: 1120px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue",
          "Segoe UI", Roboto, Inter, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #05060b;
    --ink: #f5f5f7;
    --ink-2: #c3c3c9;
    --ink-3: #8e8e93;
    --accent: #3b93ff;
    --accent-2: #9d85ff;
    --line: rgba(255, 255, 255, .1);

    --glass: rgba(30, 32, 44, .46);
    --glass-hi: rgba(52, 54, 68, .62);
    --glass-rim: rgba(255, 255, 255, .3);
    --glass-rim-2: rgba(255, 255, 255, .04);
    --glass-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 60px -20px rgba(0, 0, 0, .75);
    --sheen: rgba(255, 255, 255, .12);

    --orb-opacity: .44;
  }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

main { flex: 1; }
svg { display: block; }
p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 3px;
  border-radius: 10px;
}

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

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.022em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.i {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Ambient light (what the glass refracts) ---------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient span {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  opacity: var(--orb-opacity);
  will-change: transform;
}

.ambient span:nth-child(1) {
  top: -32vmax; left: -22vmax;
  background: radial-gradient(circle, var(--orb-a) 0%, transparent 62%);
  animation: drift-a 26s var(--ease) infinite alternate;
}
.ambient span:nth-child(2) {
  top: -26vmax; right: -30vmax;
  background: radial-gradient(circle, var(--orb-b) 0%, transparent 62%);
  animation: drift-b 32s var(--ease) infinite alternate;
}
.ambient span:nth-child(3) {
  bottom: -40vmax; left: 10vmax;
  background: radial-gradient(circle, var(--orb-c) 0%, transparent 60%);
  animation: drift-c 30s var(--ease) infinite alternate;
}
.ambient span:nth-child(4) {
  bottom: -34vmax; right: -24vmax;
  background: radial-gradient(circle, var(--orb-d) 0%, transparent 60%);
  animation: drift-a 36s var(--ease) infinite alternate-reverse;
}

@keyframes drift-a { to { transform: translate3d(10vmax, 8vmax, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(-12vmax, 10vmax, 0) scale(.94); } }
@keyframes drift-c { to { transform: translate3d(8vmax, -10vmax, 0) scale(1.1); } }

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

.glass {
  position: relative;
  isolation: isolate;
  background: var(--glass);
  -webkit-backdrop-filter: blur(26px) saturate(1.9);
  backdrop-filter: blur(26px) saturate(1.9);
  border-radius: var(--r-xl);
  box-shadow:
    inset 0 1px 0 0 var(--glass-rim),
    inset 0 -1px 0 0 var(--glass-rim-2),
    var(--glass-shadow);
}

/* Rim light: a gradient hairline that catches light on opposite corners */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(150deg,
    var(--glass-rim) 0%, var(--glass-rim-2) 32%, transparent 52%,
    var(--glass-rim-2) 78%, var(--glass-rim) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Specular sheen: follows the pointer on desktop (see site.js) */
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(480px circle at var(--mx, 18%) var(--my, -10%), var(--sheen), transparent 62%);
  pointer-events: none;
}

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

/* ---------- Navigation ---------- */

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) 16px 0;
}

.nav {
  width: 100%;
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px;
  border-radius: var(--r-pill);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 4px;
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.02em;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }

.mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #4aa3ff 0%, #7a5cff 55%, #ff6fa8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 4px 12px -4px rgba(90, 80, 255, .6);
  flex: none;
}
.mark svg { width: 20px; height: 20px; fill: #fff; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }

.nav-links { display: flex; align-items: center; gap: 2px; }

.nav-links a {
  padding: 9px 15px;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); text-decoration: none; background: color-mix(in srgb, var(--glass-hi) 60%, transparent); }
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--glass-hi);
  box-shadow: inset 0 1px 0 var(--glass-rim), 0 1px 3px rgba(0, 0, 0, .08);
}

/* ---------- Buttons & chips ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--r-pill);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn .i { width: 19px; height: 19px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .4),
    inset 0 -1px 0 rgba(0, 0, 0, .12),
    0 10px 26px -10px color-mix(in srgb, var(--accent) 80%, transparent);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 14px 30px -10px color-mix(in srgb, var(--accent) 90%, transparent); }

.btn.glass { border-radius: var(--r-pill); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.ten-stars {
  font-size: 12px;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #4aa3ff, #7a5cff 50%, #ff6fa8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.hero {
  padding-block: clamp(56px, 10vw, 112px) clamp(56px, 9vw, 104px);
  text-align: center;
}

.hero-icon {
  width: clamp(112px, 15vw, 148px);
  aspect-ratio: 1;
  margin: 0 auto 34px;
  border-radius: 29%;
  display: grid;
  place-items: center;
  animation: float 7s ease-in-out infinite;
}
.hero-icon svg { width: 54%; height: auto; overflow: visible; }

@keyframes float { 50% { transform: translateY(-8px); } }

.display {
  font-size: clamp(44px, 8.2vw, 92px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.02;
  margin-top: 22px;
}
.display .grad {
  background: linear-gradient(110deg, #2f86ff 0%, #7a5cff 45%, #ff5f9e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34em;
  letter-spacing: -.012em;
}
.hero .lede { margin: 22px auto 0; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero .actions { justify-content: center; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(40px, 7vw, 84px); }

.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head.center { text-align: center; margin-inline: auto; }

.kicker {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: -.035em;
}
.section-head p { color: var(--ink-2); margin: 14px 0 0; font-size: 18px; }

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 780px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  padding: 30px;
  border-radius: var(--r-lg);
}
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }

.tile {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 15px;
  color: var(--accent);
  background: var(--glass-hi);
  box-shadow: inset 0 1px 0 var(--glass-rim), 0 2px 8px -2px rgba(0, 0, 0, .1);
}

/* Link cards */
.link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px;
  border-radius: var(--r-lg);
  color: var(--ink);
  transition: transform .35s var(--ease);
}
.link-card:hover { text-decoration: none; transform: translateY(-3px); }
.link-card .tile { margin-bottom: 14px; }
.link-card strong { font-size: 19px; letter-spacing: -.015em; }
.link-card span { color: var(--ink-2); font-size: 15px; }
.link-card .go {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}
.link-card .go .i { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-card:hover .go .i { transform: translateX(3px); }

/* Platforms */
.platforms {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.panel { padding: clamp(26px, 4vw, 40px); border-radius: var(--r-xl); }
.panel-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.panel-head .tile { margin: 0; width: 54px; height: 54px; border-radius: 17px; }
.panel-head .tile .i { width: 26px; height: 26px; }
.panel-head h3 { font-size: 24px; letter-spacing: -.025em; }
.panel-head p { margin: 2px 0 0; color: var(--ink-3); font-size: 15px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-2);
  font-size: 16px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: linear-gradient(145deg, #4aa3ff, #7a5cff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 7.5px;
  top: 6.5px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

/* Process */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step-no {
  display: block;
  margin-bottom: 18px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(110deg, #2f86ff, #7a5cff 55%, #ff5f9e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Promises */
.promises {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  border-radius: var(--r-xl);
  padding: 8px;
}
.stat { padding: clamp(22px, 3.5vw, 36px); }
.stat + .stat { border-top: 1px solid var(--line); }
@media (min-width: 800px) {
  .stat + .stat { border-top: 0; border-left: 1px solid var(--line); }
}
.stat strong {
  display: block;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--ink);
}
.stat span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 16px; max-width: 24ch; }

/* Call to action */
.cta {
  padding: clamp(36px, 7vw, 80px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-xl);
  text-align: center;
}
.cta .lede { margin: 16px auto 0; }
.cta .actions { justify-content: center; }

/* Company details */
.company {
  display: grid;
  gap: 28px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--r-xl);
}
@media (min-width: 860px) { .company { grid-template-columns: 1fr 1.4fr; align-items: start; } }

.company .lede { margin: 14px 0 0; font-size: 18px; }
.facts { display: grid; gap: 0; margin: 0; }
.facts div {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts dt { color: var(--ink-3); font-size: 15px; }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* ---------- Page header (inner pages) ---------- */

.page-hero {
  padding-block: clamp(48px, 8vw, 92px) clamp(28px, 4vw, 44px);
}
.page-hero h1 {
  font-size: clamp(40px, 6.4vw, 68px);
  font-weight: 700;
  letter-spacing: -.042em;
  line-height: 1.04;
}
.page-hero .lede { margin-top: 16px; }
.meta { margin-top: 18px; color: var(--ink-3); font-size: 15px; }

/* ---------- Legal documents ---------- */

.legal {
  display: grid;
  gap: 20px;
  align-items: start;
  padding-bottom: clamp(56px, 8vw, 96px);
}
@media (min-width: 960px) {
  .legal { grid-template-columns: 250px minmax(0, 1fr); gap: 28px; }
  .toc { position: sticky; top: 92px; }
  .toc summary { pointer-events: none; }
  .toc summary::after { display: none; }
}

.toc { padding: 10px; border-radius: var(--r-lg); }
.toc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .3s var(--ease);
}
.toc details[open] summary::after { transform: rotate(225deg) translateY(-2px); }

.toc ol { list-style: none; margin: 0; padding: 0 0 4px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: flex;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--ink-2);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.toc a::before { content: counter(toc); color: var(--ink-3); font-variant-numeric: tabular-nums; min-width: 1.3em; }
.toc a:hover { text-decoration: none; color: var(--ink); background: color-mix(in srgb, var(--glass-hi) 70%, transparent); }
.toc a[aria-current="true"] { color: var(--ink); background: var(--glass-hi); box-shadow: inset 0 1px 0 var(--glass-rim); }

.doc {
  padding: clamp(24px, 5vw, 60px);
  border-radius: var(--r-xl);
  counter-reset: sec;
}
.doc > * { max-width: 68ch; }
.doc section + section { margin-top: 44px; }
.doc h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(21px, 2.4vw, 25px);
  margin-bottom: 14px;
  scroll-margin-top: 100px;
}
.doc h2::before {
  counter-increment: sec;
  content: counter(sec);
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  background: var(--glass-hi);
  box-shadow: inset 0 1px 0 var(--glass-rim), 0 1px 3px rgba(0, 0, 0, .06);
  transform: translateY(-3px);
}
.doc h3 { font-size: 18px; margin: 26px 0 8px; letter-spacing: -.012em; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul, .doc ol { padding-left: 1.25em; margin: 0 0 1em; }
.doc li { margin: 7px 0; }
.doc li::marker { color: var(--ink-3); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc address { font-style: normal; }

.note {
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--glass-hi);
  box-shadow: inset 0 1px 0 var(--glass-rim), 0 1px 3px rgba(0, 0, 0, .05);
  font-size: 16px;
  color: var(--ink-2);
}
.note p:last-child { margin-bottom: 0; }

.basis { display: grid; gap: 10px; margin: 16px 0 20px; padding: 0; list-style: none; }
.doc .basis li {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--glass-hi) 70%, transparent);
  box-shadow: inset 0 1px 0 var(--glass-rim);
  font-size: 16px;
}
.basis b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* ---------- Contact ---------- */

.split {
  display: grid;
  gap: 20px;
  align-items: start;
  padding-bottom: clamp(56px, 8vw, 96px);
}
@media (min-width: 920px) { .split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }

.stack { display: grid; gap: 20px; }

.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); }
.form-card h2, .side-card h2 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { color: var(--ink-2); margin-bottom: 24px; }

.form { display: grid; gap: 18px; }
.row { display: grid; gap: 18px; }
@media (min-width: 600px) { .row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field .opt { color: var(--ink-3); font-weight: 500; }

.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--glass-hi);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 13px 16px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 4px; }
.form-foot small { color: var(--ink-3); font-size: 14px; flex: 1 1 220px; }
.status { min-height: 1.4em; margin: 0; font-size: 15px; color: var(--ink-2); }

.side-card { padding: 26px; border-radius: var(--r-lg); }
.side-card p { color: var(--ink-2); font-size: 16px; }

.email-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 6px 6px 18px;
  border-radius: var(--r-pill);
  background: var(--glass-hi);
  box-shadow: inset 0 1px 0 var(--glass-rim), 0 1px 3px rgba(0, 0, 0, .05);
}
.email-row a { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--ink-2);
  background: transparent;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--glass); color: var(--ink); }
.icon-btn .i { width: 19px; height: 19px; }

.faq details { border-top: 1px solid var(--line); }
.faq details:first-of-type { border-top: 0; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  font-weight: 600;
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--glass-hi);
  box-shadow: inset 0 1px 0 var(--glass-rim);
  color: var(--ink-2);
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 16px; color: var(--ink-2); font-size: 15.5px; }
.faq .answer p { margin: 0 0 .6em; }
.faq .answer p:last-child { margin: 0; }

/* ---------- Steps (delete account) ---------- */

.steps { counter-reset: step; list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink-2);
  font-size: 16px;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  background: var(--glass-hi);
  box-shadow: inset 0 1px 0 var(--glass-rim);
}
.steps strong { color: var(--ink); }

.list { margin: 12px 0 0; padding-left: 1.2em; color: var(--ink-2); font-size: 16px; }
.list li { margin: 6px 0; }

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

.site-footer { padding: 0 0 max(24px, env(safe-area-inset-bottom)); }
.footer-card { padding: 26px clamp(22px, 4vw, 34px); border-radius: var(--r-xl); }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.footer-top .brand { padding-left: 0; }
.footer-top .mark { width: 30px; height: 30px; border-radius: 10px; }
.footer-top .mark svg { width: 17px; height: 17px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: var(--ink-2); font-size: 15px; }
.footer-links a:hover { color: var(--ink); }
.legal-line { margin: 16px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }

/* ---------- 404 ---------- */

.lost { padding-block: clamp(80px, 16vw, 180px); text-align: center; }
.lost .display { margin-top: 0; }
.lost .lede { margin: 18px auto 0; }
.lost .actions { justify-content: center; }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 80;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  transform: translate(-50%, 16px) scale(.96);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ---------- Small screens ---------- */

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .nav-wrap { padding-left: 12px; padding-right: 12px; }
  .nav-links a { padding: 8px 11px; font-size: 14.5px; }
  .brand { gap: 8px; padding-right: 6px; font-size: 16px; }
  .mark { width: 32px; height: 32px; }
  .card, .link-card, .side-card { padding: 24px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .actions .btn { flex: 1 1 100%; }
}

@media (max-width: 359px) {
  .brand span { display: none; }
}

/* ---------- Motion preferences ---------- */

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

/* ---------- Page utilities ---------- */

.card .h3 { font-size: 21px; margin-bottom: 8px; }
.card .actions { margin-top: 26px; }
.space-top { margin-top: 18px; }
.list strong, .side-card strong { color: var(--ink); font-weight: 600; }
.side-card address { font-style: normal; }
.side-card > :last-child, .side-card address p { margin-bottom: 0; }

.note-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  padding-bottom: clamp(56px, 8vw, 96px);
}
.note-grid .note { margin: 0; }
