:root {
  --ink: #0a0a0a;
  --canvas: #ffffff;
  --card: #f6f6f6;
  --raised: #ededed;
  --secondary: #616161;
  --tertiary: #8a8a8a;
  --hairline: rgba(10, 10, 10, 0.08);
  --inverse: #0a0a0a;
  --inverse-ink: #ffffff;
  --danger: #c62828;
  --ok: #1f7a45;
  --blue: #bdd9fa;
  --peach: #fcd6c7;
  --lilac: #d6ccfa;
  --mint: #c2eddb;
  --shadow: 0 5px 14px rgba(0, 0, 0, 0.06);
  --radius: 24px;
  --pad: 20px;
  --nav: 72px;
  --wrap: min(1120px, calc(100% - 40px));
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.011em;
  color: var(--ink);
  background: var(--canvas);
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 999px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap { width: var(--wrap); margin-inline: auto; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  padding-top: env(safe-area-inset-top);
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  height: calc(var(--nav) + env(safe-area-inset-top));
  gap: 20px;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-solid {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.2) blur(16px);
  box-shadow: inset 0 -1px 0 var(--hairline);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.22);
}
.nav__links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav__links a {
  text-decoration: none;
  font-size: 15px;
  color: var(--ink);
  opacity: 0.78;
}
.nav__links a:hover { opacity: 1; }
.nav__toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), background 0.3s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active, .device__primary:active { transform: scale(0.97); }
.btn--ink { background: var(--inverse); color: var(--inverse-ink); }
.btn--ghost {
  background: transparent;
  color: var(--secondary);
  min-height: 44px;
}
.btn--card {
  background: var(--card);
  color: var(--ink);
}
.btn--nav {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
  margin-left: 8px;
}
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #dbe675;
  display: flex;
  flex-direction: column;
  padding: max(22px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.nav-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.nav-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-panel nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 48px;
}
.nav-panel a {
  text-decoration: none;
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav) + env(safe-area-inset-top) + 28px) 0 72px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wash {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.wash__layer {
  position: absolute;
  inset: -8%;
  opacity: 0;
  transition: opacity 1s ease;
}
.wash__layer.is-on { opacity: 1; }
.wash__layer[data-scene="0"] {
  background:
    radial-gradient(circle at 18% 22%, #e4ee7a 0%, transparent 36%),
    radial-gradient(circle at 82% 18%, #c9dc45 0%, transparent 34%),
    radial-gradient(circle at 60% 78%, #d7e85f 0%, transparent 40%),
    #d6e56a;
}
.wash__layer[data-scene="1"] {
  background:
    radial-gradient(circle at 16% 24%, #d5e4f2 0%, transparent 38%),
    radial-gradient(circle at 78% 20%, #b7cce0 0%, transparent 36%),
    radial-gradient(circle at 48% 80%, #c9d8e8 0%, transparent 42%),
    #c5d6e8;
}
.wash__layer[data-scene="2"] {
  background:
    radial-gradient(circle at 20% 20%, #f8d5e2 0%, transparent 36%),
    radial-gradient(circle at 80% 28%, #e7b0c6 0%, transparent 34%),
    radial-gradient(circle at 46% 82%, #f3c6d6 0%, transparent 42%),
    #f0c2d6;
}
.wash__layer[data-scene="3"] {
  background:
    radial-gradient(circle at 22% 18%, #f8e6c4 0%, transparent 36%),
    radial-gradient(circle at 76% 30%, #e8c48a 0%, transparent 34%),
    radial-gradient(circle at 40% 84%, #f3d7a4 0%, transparent 42%),
    #f2d7a8;
}
.wash__layer[data-scene="4"] {
  background:
    radial-gradient(circle at 18% 26%, #dcecd4 0%, transparent 36%),
    radial-gradient(circle at 80% 22%, #b7d4b4 0%, transparent 34%),
    radial-gradient(circle at 50% 80%, #c9e0c4 0%, transparent 42%),
    #c9dfc4;
}
.wash__layer span {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}
.hero__grain {
  position: absolute;
  inset: 0;
  background: url("/assets/images/grain.png");
  opacity: 0.28;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
.floater {
  position: absolute;
  z-index: 2;
  width: min(18vw, 150px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(28px) scale(0.84) rotate(-7deg);
  transition: opacity 0.4s ease, transform 0.45s ease;
}
.floater.is-on {
  opacity: 1;
  transform: none;
  animation: arrive 0.9s cubic-bezier(0.22, 1.15, 0.36, 1) both;
}
.floater img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.08));
}
.floater.is-on img { animation: bob 7.2s ease-in-out infinite; }
.hero__copy, .device {
  position: relative;
  z-index: 3;
}
.hero__copy {
  width: min(920px, calc(100% - 40px));
  margin: 18px auto 0;
  text-align: center;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tertiary);
}
h1, h2, .display {
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
}
h1 {
  font-size: clamp(2.45rem, 8vw, 6.4rem);
  min-height: 0;
}
h1 span {
  display: block;
}
.lede {
  max-width: 34rem;
  margin: 22px auto 0;
  font-size: 1.15rem;
  color: rgba(10, 10, 10, 0.72);
}
.hero__actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.hero__actions--start { justify-content: flex-start; }

.device {
  width: min(320px, calc(100% - 48px));
  margin: 42px auto 0;
  animation: rise 1s cubic-bezier(0.22, 1.1, 0.36, 1) 0.12s both;
}
.device__shell {
  background: #111;
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.16), 0 2px 0 rgba(255, 255, 255, 0.4) inset;
}
.device__screen {
  --dial: min(250px, 62vw);
  position: relative;
  height: auto;
  border-radius: 34px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.device__bubbles span {
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
  animation: drift 9s ease-in-out infinite alternate;
}
.device__bubbles span:nth-child(2) { animation-delay: -2s; }
.device__bubbles span:nth-child(3) { animation-delay: -4s; }
.device__bubbles span:nth-child(4) { animation-delay: -6s; }
.device__bubbles span:nth-child(1) { width: 220px; height: 220px; background: var(--blue); left: -80px; top: -40px; }
.device__bubbles span:nth-child(2) { width: 180px; height: 180px; background: var(--peach); right: -50px; top: 80px; }
.device__bubbles span:nth-child(3) { width: 160px; height: 160px; background: var(--lilac); right: -20px; bottom: 40px; }
.device__bubbles span:nth-child(4) { width: 150px; height: 150px; background: var(--mint); left: -40px; bottom: 80px; }
.device__island {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 28px;
  margin-top: 12px;
  border-radius: 999px;
  background: #111;
}
.device__top, .orbit, .device__readout, .device__actions, .device__banner {
  position: relative;
  z-index: 2;
}
.device__top { margin-top: 18px; text-align: center; }
.device__job { margin: 0; font-size: 17px; font-weight: 500; }
.device__rate { margin: 2px 0 0; font-size: 14px; color: var(--secondary); }
.orbit {
  width: var(--dial);
  height: var(--dial);
  margin: 12px auto 0;
}
.orbit span, .orbit__arc {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit { position: relative; }
.orbit span {
  border: 1px solid rgba(10, 10, 10, 0.1);
  animation: ring-in 0.9s cubic-bezier(0.22, 1.1, 0.36, 1) both;
}
.orbit span:nth-child(1) { width: 50%; height: 50%; animation-delay: 0.28s; }
.orbit span:nth-child(2) { width: 66%; height: 66%; border-color: rgba(10, 10, 10, 0.13); animation-delay: 0.36s; }
.orbit span:nth-child(3) { width: 83%; height: 83%; border-color: rgba(10, 10, 10, 0.16); animation-delay: 0.44s; }
.orbit span:nth-child(4) { width: 100%; height: 100%; border-color: rgba(10, 10, 10, 0.18); animation-delay: 0.52s; }
.orbit__arc, .orbit__dot { opacity: 0; }
.device.is-live .orbit__arc,
.device.is-live .orbit__dot { opacity: 1; }
.orbit__arc {
  width: 100%;
  height: 100%;
  background: conic-gradient(from 0deg, transparent 0 86%, #0a0a0a 94%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 18s linear infinite;
}
.orbit__dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0a0a0a;
  top: 50%;
  left: 50%;
  margin: -3.5px 0 0 -3.5px;
  animation: dotspin 18s linear infinite;
}
.device.is-paused .orbit__arc,
.device.is-paused .orbit__dot { animation-play-state: paused; opacity: 0.35; }
.device__readout {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  height: var(--dial);
  margin-top: calc(var(--dial) * -1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}
.device__money {
  margin: 0;
  font-size: clamp(1.7rem, 7vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.device__money.is-tick { animation: tick 0.38s cubic-bezier(0.22, 1.2, 0.36, 1); }
.device__burst {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  opacity: 0;
}
.device__burst.is-go { animation: burst 0.78s cubic-bezier(0.16, 0.84, 0.24, 1); }
.device.is-ready .device__money { font-size: 40px; letter-spacing: -0.03em; }
.device__clock, .device__law {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
}
.device__law { color: var(--ink); font-weight: 500; font-size: 13px; }
.device__actions {
  margin-top: 4px;
  width: 100%;
  padding: 0 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.device__primary, .device__quiet {
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 100%;
}
.device__primary {
  height: 54px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 17px;
  font-weight: 500;
}
.device__quiet {
  min-height: 44px;
  color: var(--secondary);
  font-size: 16px;
}
.device__banner {
  position: absolute;
  top: 48px;
  left: 18px;
  right: 18px;
  z-index: 4;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.device__banner[hidden] { display: none; }
.device__caption {
  text-align: center;
  color: rgba(10, 10, 10, 0.62);
  font-size: 13px;
  margin: 14px 0 0;
}

.stage { padding: 108px 0 40px; }
.stage h2, .block h2, .plus h2, .faq h2, .close h2, .support h2 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  max-width: 14ch;
}
.sub {
  margin: 16px 0 0;
  max-width: 38rem;
  color: var(--secondary);
  font-size: 1.08rem;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}
.fact {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  min-height: 180px;
  box-shadow: var(--shadow);
  transition: transform 0.45s cubic-bezier(0.22, 1.1, 0.36, 1);
}
.fact:hover { transform: translateY(-4px); }
.fact strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.fact p { margin: 0; color: var(--secondary); }

.band {
  margin: 28px auto;
  width: min(1120px, calc(100% - 40px));
  border-radius: 36px;
  padding: 72px 40px;
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}
.band h2 { color: white; max-width: 12ch; }
.band p { color: rgba(255, 255, 255, 0.72); max-width: 36rem; }
.band__orbits {
  position: absolute;
  right: -40px;
  top: 50%;
  width: 420px;
  height: 420px;
  transform: translateY(-50%);
  pointer-events: none;
  animation: slowspin 32s linear infinite;
}
.band__orbits i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}
.band__orbits i:nth-child(2) { inset: 36px; }
.band__orbits i:nth-child(3) { inset: 72px; }
.band__orbits i:nth-child(4) { inset: 108px; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0 80px;
}
.goal {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.goal__top, .goal__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.goal__amt {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 8px 0;
}
.track {
  height: 8px;
  background: var(--raised);
  border-radius: 999px;
  overflow: hidden;
  margin: 8px 0 12px;
}
.track span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  border-radius: inherit;
  transition: width 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}
.goal.is-in .track span { width: 62%; }
.muted { color: var(--secondary); margin: 0; font-size: 15px; }

.lock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
  padding-bottom: 96px;
}
.lock__phone {
  background: #14120f;
  border-radius: 36px;
  min-height: 280px;
  padding: 28px 22px;
  color: white;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.lock__phone::before,
.lock__phone::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.55;
}
.lock__phone::before { width: 180px; height: 180px; background: #3d4a28; left: -40px; top: -30px; }
.lock__phone::after { width: 160px; height: 160px; background: #4a3040; right: -30px; bottom: -20px; }
.widget {
  position: relative;
  z-index: 1;
  margin-top: 54px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
}
.widget img { width: 36px; height: 36px; border-radius: 8px; }
.widget small { display: block; opacity: 0.8; font-size: 12px; }
.widget strong { font-size: 1.25rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ddc84;
  display: inline-block;
  margin-right: 6px;
}
.dot.is-pause { background: #f0a04b; }

.plus { padding: 20px 0 80px; }
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.plan {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.plan.is-pick { background: var(--ink); color: white; }
.plan.is-pick .muted { color: rgba(255, 255, 255, 0.68); }
.badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: white;
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 8px;
  margin-bottom: 10px;
}
.plan h3 { margin: 0 0 6px; font-size: 1.15rem; letter-spacing: -0.02em; }
.price {
  margin-top: auto;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.price span { font-size: 0.95rem; font-weight: 500; color: var(--secondary); }
.plan.is-pick .price span { color: rgba(255, 255, 255, 0.68); }
.why {
  margin-top: 12px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
}
.why h3 { margin: 0 0 8px; font-size: 1.05rem; }
.why p { margin: 0; color: var(--secondary); }
.fine {
  margin-top: 14px;
  color: var(--tertiary);
  font-size: 13px;
  max-width: 46rem;
}

.faq { padding-bottom: 40px; }
.acc { margin-top: 20px; border-top: 1px solid var(--hairline); }
.acc details {
  border-bottom: 1px solid var(--hairline);
  padding: 6px 0;
}
.acc summary {
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 400; color: var(--tertiary); }
.acc details[open] summary::after { content: "–"; }
.acc details p { margin: 0 0 16px; color: var(--secondary); max-width: 46rem; }

.support { padding: 40px 0 80px; }
.support__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-top: 28px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card a { font-weight: 600; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--secondary); }
.card li + li { margin-top: 6px; }

.close {
  position: relative;
  overflow: hidden;
  padding: 120px 0 110px;
}
.close .wash { opacity: 1; }
.close__inner { position: relative; z-index: 2; }
.close h2 { font-size: clamp(3.4rem, 9vw, 7rem); max-width: none; }
.close .sub { color: rgba(10, 10, 10, 0.72); }

.foot {
  padding: 28px 0 40px;
  border-top: 1px solid var(--hairline);
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.foot__brand p { color: var(--secondary); max-width: 28ch; }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot a { text-decoration: none; color: var(--secondary); }
.foot a:hover { color: var(--ink); }
.foot__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tertiary);
  margin-bottom: 4px;
}
.foot__base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  color: var(--tertiary);
  font-size: 13px;
}

body.subpage .nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 -1px 0 var(--hairline);
}
.legal {
  padding: calc(var(--nav) + 36px) 0 80px;
}
.legal__sheet {
  width: min(720px, calc(100% - 40px));
  margin-inline: auto;
}
.legal h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  min-height: 0;
  margin-bottom: 8px;
}
.legal h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 28px 0 8px;
}
.legal p, .legal li { color: var(--secondary); }
.legal a { color: var(--ink); }
.note { color: var(--tertiary); font-size: 14px; }
.back { text-decoration: none; font-weight: 600; font-size: 15px; }

.form { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.form label { font-weight: 600; font-size: 14px; }
.form input, .form textarea {
  width: 100%;
  border: 0;
  background: var(--raised);
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 6px;
}
.form textarea { resize: vertical; }
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--secondary);
}
.check input { margin-top: 4px; }
.hint { min-height: 1.2em; font-size: 14px; }
.hint.is-bad { color: var(--danger); }
.hint.is-ok { color: var(--ok); }

.cookie {
  position: fixed;
  z-index: 50;
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(560px, calc(100% - 32px));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}
.cookie h2 { font-size: 1.2rem; letter-spacing: -0.03em; margin: 0 0 6px; }
.cookie p { margin: 0; color: var(--secondary); font-size: 14px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookie__actions .btn { min-height: 40px; font-size: 14px; padding: 0 14px; }
.cookie__cats { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.cookie__cat {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border-radius: 16px;
  padding: 12px 14px;
}
.switch {
  width: 46px;
  height: 28px;
  border-radius: 999px;
  border: 0;
  background: var(--raised);
  position: relative;
  cursor: pointer;
}
.switch[aria-checked="true"] { background: var(--ink); }
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  transition: transform 0.25s var(--ease);
}
.switch[aria-checked="true"]::after { transform: translateX(18px); }
.switch[disabled] { cursor: default; opacity: 0.7; }

.missing {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.missing h1 { font-size: clamp(3rem, 8vw, 6rem); min-height: 0; }
.missing p { color: var(--secondary); }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1.05, 0.36, 1);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.fact[data-reveal].is-in:hover { transform: translateY(-4px); }

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes ring-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.62); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes arrive {
  from { opacity: 0; transform: translateY(28px) scale(0.84) rotate(-7deg); }
  to { opacity: 1; transform: none; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(42px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  from { translate: 0 0; }
  to { translate: 16px -18px; }
}
@keyframes burst {
  0% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.15); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(16); }
}
@keyframes tick {
  from { transform: translateY(8px); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}
@keyframes slowspin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}
@keyframes dotspin {
  from { transform: rotate(0deg) translateY(calc(var(--dial) * -0.5)); }
  to { transform: rotate(360deg) translateY(calc(var(--dial) * -0.5)); }
}

.form input, .form textarea { font-size: 16px; }

@media (max-width: 860px) {
  .nav__links, .nav .btn--nav { display: none; }
  .nav__toggle {
    display: inline-flex;
    margin-left: auto;
    align-items: center;
    border: 0;
    background: var(--ink);
    color: white;
    border-radius: 999px;
    min-height: 44px;
    padding: 0 16px;
    cursor: pointer;
  }
  .split, .lock, .support__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .band { padding: 48px 22px; border-radius: 28px; }
  .band__orbits { width: 280px; height: 280px; opacity: 0.35; right: -90px; }
  .floater:not(.floater--low) { display: none; }
  .floater--low { width: 84px !important; }
  .stage { padding: 72px 0 16px; }
  .close { padding: 88px 0 80px; }
  .lock { padding-bottom: 64px; }
  .legal { padding-top: calc(var(--nav) + env(safe-area-inset-top) + 28px); }
}

@media (max-width: 1240px) {
  .floater:not(.floater--low) { display: none; }
}

@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .plan:last-child { grid-column: 1 / -1; }
  .nav__links { gap: 14px; }
}

@media (max-width: 680px) {
  .facts, .plans, .foot__grid { grid-template-columns: 1fr; }
  .plan:last-child { grid-column: auto; }
  .foot__base { flex-direction: column; align-items: flex-start; }
  .foot { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  .hero { padding-bottom: 48px; }
  .hero__copy { width: min(920px, calc(100% - 32px)); }
  .lede { font-size: 1.02rem; }
  .floater { display: none; }
  .device { width: min(300px, calc(100% - 36px)); margin-top: 28px; }
  .device__shell { border-radius: 36px; padding: 8px; }
  .device__screen { border-radius: 28px; }
  .device__money { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .stage h2, .plus h2, .faq h2, .close h2, .support h2, .band h2 {
    font-size: clamp(2rem, 9vw, 3rem);
    max-width: 16ch;
  }
  .close h2 { font-size: clamp(3rem, 16vw, 4.5rem); max-width: none; }
  .hero__actions--start { justify-content: flex-start; }
  .hero__actions .btn { min-height: 48px; }
  .cookie {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
  }
  .cookie__actions { flex-direction: column; }
  .cookie__actions .btn { width: 100%; }
  .nav-panel { padding: max(16px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); overflow: auto; }
  .goal__amt { font-size: 1.6rem; }
  .plan { min-height: 0; }
  .legal__sheet { width: min(720px, calc(100% - 32px)); }
  .legal p, .legal li { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .floater,
  .floater.is-on,
  .floater.is-on img,
  .device,
  .orbit span,
  .orbit__arc,
  .orbit__dot,
  .device__bubbles span,
  .band__orbits,
  .device__money.is-tick,
  .device__burst.is-go { animation: none; }
  .floater.is-on { opacity: 1; transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .track span { width: 62%; transition: none; }
  .wash__layer { transition: none; }
  .btn, .fact { transition: none; }
}
