/* Vaulto site: design tokens and components shared by every page. Colors are the app's own (ui/theme/Theme.kt). */

@font-face {
  font-family: "Urbanist";
  src: url("fonts/urbanist-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Tokens: the app's light color scheme (ui/theme/Theme.kt). The site is light only. ---------- */
:root {
  color-scheme: light;
  --font: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --emph: cubic-bezier(.2, 0, 0, 1);
  --spring-fast: cubic-bezier(.3, 1.45, .5, 1);
  --spring: cubic-bezier(.3, 1.2, .45, 1);

  --primary: #0046ff; --on-primary: #fff;
  --primary-container: #dde3ff; --on-primary-container: #001bb7;
  --secondary: #535f7c;
  --secondary-container: #e0e6f7; --on-secondary-container: #17233d;
  --tertiary-container: #e2e5f6; --on-tertiary-container: #001bb7;
  --error: #ba1a1a; --on-error: #fff; --error-container: #ffdad6; --on-error-container: #410002;
  --surface: #fff; --on-surface: #1a1b20; --on-surface-variant: #45464f;
  --outline: #767680; --outline-variant: #c6c5d0;
  --sc-lowest: #fff; --sc-low: #f7f7fb; --sc: #f1f1f6; --sc-high: #ebebf0; --sc-highest: #e5e5ea;
  --inverse-surface: #2f3036; --inverse-on-surface: #f1f0f7; --inverse-primary: #b8c3ff;
  --hero: #0046ff; --on-hero: #fff; --hero-soft: rgba(255, 255, 255, .14); --hero-softer: rgba(255, 255, 255, .07);
  --phone-shadow: 0 50px 90px -40px rgba(0, 14, 90, .7);
  --paper: #fff; --ink: #1a1b20;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring-fast: linear(0, 0.012, 0.046, 0.096, 0.159, 0.23, 0.307, 0.386, 0.465, 0.543, 0.618, 0.688, 0.752, 0.811, 0.863, 0.91, 0.95, 0.983, 1.012, 1.034, 1.052, 1.065, 1.074, 1.08, 1.083, 1.083, 1.082, 1.078, 1.074, 1.068, 1.062, 1.056, 1.049, 1.042, 1.036, 1.03, 1.024, 1.019, 1.014, 1.01, 1);
    --spring: linear(0, 0.01, 0.038, 0.078, 0.128, 0.184, 0.243, 0.304, 0.365, 0.425, 0.483, 0.538, 0.59, 0.638, 0.683, 0.724, 0.761, 0.794, 0.824, 0.851, 0.875, 0.896, 0.914, 0.93, 0.943, 0.955, 0.965, 0.973, 0.98, 0.986, 0.991, 0.995, 0.998, 1.001, 1.002, 1.004, 1.005, 1.006, 1.006, 1.006, 1);
  }
}
/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--on-surface);
  font: 400 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .4s var(--emph), color .4s var(--emph);
}
svg { display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 650; text-wrap: balance; }
::selection { background: var(--primary-container); color: var(--on-primary-container); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 12px; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.icon { width: 24px; height: 24px; fill: currentColor; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--primary); color: var(--on-primary);
        padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: top .3s var(--spring-fast); }
.skip:focus { top: 12px; }
section[id] { scroll-margin-top: 84px; }

/* M3 Expressive shapes: clip paths generated by site.js from the same polar formulas as the morphing shapes. */
.shape-cookie9 { clip-path: url(#clip-cookie9); border-radius: 32%; }
.shape-cookie4 { clip-path: url(#clip-cookie4); border-radius: 32%; }
.shape-sunny { clip-path: url(#clip-sunny); border-radius: 32%; }
.shape-burst { clip-path: url(#clip-burst); border-radius: 32%; }
.shape-cookie6 { clip-path: url(#clip-cookie6); border-radius: 32%; }
.shape-cookie7 { clip-path: url(#clip-cookie7); border-radius: 32%; }
.shape-cookie12 { clip-path: url(#clip-cookie12); border-radius: 32%; }
.shape-clover4 { clip-path: url(#clip-clover4); border-radius: 32%; }

/* ---------- Buttons: state layer, ripple and the expressive pressed shape ---------- */
.btn {
  --h: 44px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border: 0; border-radius: calc(var(--h) / 2);
  font: 650 15.5px/1 var(--font); letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: border-radius .45s var(--spring-fast), transform .45s var(--spring-fast), background-color .25s, color .25s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: 0; transition: opacity .15s; }
.btn:hover::before { opacity: .08; }
.btn:focus-visible::before { opacity: .12; }
.btn:active { border-radius: 12px; }
.btn .icon { width: 18px; height: 18px; transition: transform .45s var(--spring-fast); }
.btn:hover .icon-nudge { transform: translateX(3px); }
.btn-lg { --h: 52px; padding: 0 24px; font-size: 16.5px; }
.btn-lg:active { border-radius: 14px; }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14.5px; }
.btn-filled { background: var(--primary); color: var(--on-primary); }
.btn-tonal { background: var(--secondary-container); color: var(--on-secondary-container); }
.btn-outlined { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--outline-variant); }
.btn-text { background: transparent; color: var(--primary); padding: 0 14px; }
.btn-on-hero { background: var(--on-hero); color: #0033cc; }
.btn-hero-tonal { background: var(--hero-soft); color: var(--on-hero); }
.btn[disabled] { opacity: .45; pointer-events: none; }

.icon-btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 22px;
  background: var(--sc-high); color: var(--on-surface); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: border-radius .45s var(--spring-fast), background-color .25s, transform .45s var(--spring-fast);
}
.icon-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: 0; transition: opacity .15s; }
.icon-btn:hover::before { opacity: .08; }
.icon-btn:active { border-radius: 12px; }
.icon-btn[disabled] { opacity: .38; pointer-events: none; }
.icon-btn .icon { width: 22px; height: 22px; }

.ripple {
  position: absolute; z-index: -1; border-radius: 50%; background: currentColor; opacity: .14; pointer-events: none;
  transform: scale(0); animation: ripple .55s var(--emph) forwards;
}
.ripple.out { opacity: 0; transition: opacity .35s; }
@keyframes ripple { to { transform: scale(1); } }

/* ---------- Chips and badges ---------- */
.chip {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 0; border-radius: 20px; background: transparent; color: var(--on-surface-variant);
  box-shadow: inset 0 0 0 1.5px var(--outline-variant);
  font: 600 15px/1 var(--font); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .25s, color .25s, box-shadow .25s, border-radius .45s var(--spring-fast), padding .45s var(--spring-fast);
}
.chip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: 0; transition: opacity .15s; }
.chip:hover::before { opacity: .08; }
.chip:active { border-radius: 10px; }
.chip .icon { width: 18px; height: 18px; margin-left: -4px; width: 0; opacity: 0; transform: scale(.4) rotate(-45deg);
              transition: width .4s var(--spring-fast), opacity .2s, transform .45s var(--spring-fast); }
.chip[aria-pressed="true"] { background: var(--primary-container); color: var(--on-primary-container); box-shadow: none; }
.chip[aria-pressed="true"] .icon { width: 18px; opacity: 1; transform: none; }
.chip[disabled] { opacity: .45; pointer-events: none; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 14px;
  font: 700 13px/1 var(--font); letter-spacing: .01em; white-space: nowrap;
  animation: pop .5s var(--spring-fast) both;
}
.badge .icon { width: 16px; height: 16px; }
.b-primary { background: var(--primary-container); color: var(--on-primary-container); }
.b-secondary { background: var(--secondary-container); color: var(--on-secondary-container); }
.b-tertiary { background: var(--tertiary-container); color: var(--on-tertiary-container); }
.b-error { background: var(--error-container); color: var(--on-error-container); }
.b-neutral { background: var(--sc-high); color: var(--on-surface-variant); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* ---------- Top app bar. At the top of the page it's a wide, clear bar. Once the page scrolls it shrinks into a compact
   dark pill in the middle, an island that keeps the mark, the sections and the beta button; the mark turns as the page
   scrolls. Opening the menu on a narrow screen does the same, and the menu hangs under the island. ---------- */
/* site.js sets --island to exactly what the compact bar holds on this page and screen. */
.topbar { position: sticky; top: 0; z-index: 50; padding-top: 10px; pointer-events: none; --turn: 0deg; }
.topbar-bar {
  position: relative; pointer-events: auto; max-width: 100%; margin-inline: auto;
  display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 8px 0 10px; border-radius: 32px; color: var(--on-surface);
  /* Back at the top the bar widens first and the brand text follows; shrinking, the text folds first and the bar follows.
     A smooth curve, not a spring, so it never dips narrower than what it holds. */
  transition: max-width .45s var(--emph), height .45s var(--emph), padding .45s var(--emph),
              background-color .35s var(--emph), color .35s var(--emph);
}
.topbar.is-compact .topbar-bar {
  transition: max-width .45s var(--emph) .08s, height .45s var(--emph) .08s, padding .45s var(--emph) .08s,
              background-color .35s var(--emph), color .35s var(--emph);
  max-width: var(--island, 300px); height: 58px; padding: 0 7px 0 9px;
  background: color-mix(in srgb, var(--inverse-surface) 95%, transparent); color: var(--inverse-on-surface);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; flex: none; width: 40px; height: 40px; background: var(--primary); color: var(--on-primary);
              rotate: var(--turn); transition: transform .8s var(--spring); }
.brand:hover .brand-mark { transform: rotate(80deg); }
.brand-mark .icon { width: 20px; height: 20px; rotate: calc(var(--turn) * -1); transition: transform .8s var(--spring); }
.brand:hover .brand-mark .icon { transform: rotate(-80deg); }
.brand > span:not(.brand-mark) {
  max-width: 140px; overflow: hidden; white-space: nowrap;
  transition: max-width .35s var(--emph) .2s, opacity .25s var(--emph) .3s, margin .35s var(--emph) .2s, padding .35s var(--emph) .2s;
}
.topbar.is-compact .brand > span:not(.brand-mark) {
  transition: max-width .3s var(--emph), opacity .12s var(--emph), margin .3s var(--emph), padding .3s var(--emph);
}
.brand-beta {
  padding: 4px 10px; border-radius: 999px; background: var(--primary-container); color: var(--on-primary-container);
  font-size: 12px; font-weight: 800; letter-spacing: .04em; line-height: 1; text-transform: uppercase;
}
/* On wide screens the island keeps only the mark, so the sections fit. */
@media (min-width: 961px) {
  .topbar.is-compact .brand > span:not(.brand-mark) { max-width: 0; opacity: 0; margin-left: -10px; }
  .topbar.is-compact .brand-beta { padding-inline: 0; }
}

.nav {
  position: relative; display: flex; gap: 2px; margin-inline: auto; padding: 4px; border-radius: 26px; background: var(--sc);
  transition: background-color .35s var(--emph);
}
.nav a {
  position: relative; z-index: 1; display: grid; place-items: center; height: 40px; padding: 0 16px; border-radius: 20px;
  white-space: nowrap; text-decoration: none; font-weight: 650; font-size: 15px; color: var(--on-surface-variant); transition: color .2s var(--emph);
}
.nav a[aria-current="true"] { transition: color .2s var(--emph) .14s; }
.nav a:hover { color: var(--on-surface); }
.nav a[aria-current="true"], .nav a[aria-current="page"] { color: var(--on-primary-container); }
.nav a[aria-current="page"] { background: var(--primary-container); }
.nav-pill { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 20px; background: var(--secondary-container); opacity: 0;
            transition: left .55s var(--spring-fast), width .55s var(--spring-fast), opacity .25s, background-color .35s var(--emph); }
.topbar .nav-pill { background: var(--primary-container); }
.topbar.is-compact .nav { background: rgba(255, 255, 255, .08); }
.topbar.is-compact .nav a { color: color-mix(in srgb, var(--inverse-on-surface) 72%, transparent); }
.topbar.is-compact .nav a:hover { color: var(--inverse-on-surface); }
.topbar.is-compact .nav a[aria-current="true"], .topbar.is-compact .nav a[aria-current="page"] { color: var(--on-primary-container); }
.topbar.is-compact .nav-pill, .topbar.is-compact .nav a[aria-current="page"] { background: var(--inverse-primary); }
.topbar-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav + .topbar-actions { margin-left: 0; }
.get-app .icon { width: 18px; height: 18px; }

.menu-btn { display: none; place-items: center; background: var(--sc-high); }
.menu-btn .icon { grid-area: 1 / 1; transition: transform .5s var(--spring-fast), opacity .2s; }
.menu-btn .i-close, .menu-open .menu-btn .i-menu { opacity: 0; transform: rotate(-90deg) scale(.5); }
.menu-open .menu-btn .i-close { opacity: 1; transform: none; }
.topbar.is-compact .menu-btn { background: rgba(255, 255, 255, .1); color: var(--inverse-on-surface); }
.topbar.menu-open .menu-btn { border-radius: 16px; background: var(--inverse-primary); color: var(--on-primary-container); }
.nav-sheet {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: grid; gap: 3px; padding: 8px; border-radius: 28px;
  background: var(--sc); visibility: hidden; opacity: 0; transform: translateY(-12px) scale(.97); transform-origin: top center;
  transition: opacity .2s var(--emph), transform .5s var(--spring-fast), visibility 0s .5s;
}
.menu-open .nav-sheet { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--emph), transform .5s var(--spring-fast), visibility 0s; }
.nav-sheet a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 18px 0 20px;
  border-radius: 8px; background: var(--surface); color: var(--on-surface); text-decoration: none; font-weight: 700; font-size: 17px;
  transition: border-radius .45s var(--spring-fast), background-color .2s;
}
.nav-sheet a:not(.btn):first-child { border-radius: 22px 22px 8px 8px; }
.nav-sheet a:not(.btn):nth-last-child(2) { border-radius: 8px 8px 22px 22px; }
.nav-sheet a:not(.btn):only-of-type { border-radius: 22px; }
.nav-sheet a:not(.btn):hover { background: var(--sc-lowest); }
.nav-sheet a:not(.btn):active { border-radius: 18px; }
.nav-sheet a[aria-current="page"] { background: var(--primary-container); color: var(--on-primary-container); }
.nav-sheet a:not(.btn) .icon { width: 20px; height: 20px; color: var(--on-surface-variant); transition: transform .45s var(--spring-fast); }
.nav-sheet a:not(.btn):hover .icon { transform: translateX(3px); }
.nav-sheet .btn { margin-top: 6px; width: 100%; }
@media (max-width: 960px) {
  .nav { display: none; }
  .topbar-actions { margin-left: auto !important; }
  .has-menu .menu-btn { display: grid; }
}
@media (max-width: 440px) { .has-menu .get-app { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 136px) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }
/* Label chip on the blue hero panels */
.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 12px; border-radius: 18px;
  background: var(--hero-soft); font-weight: 700; font-size: 14px; letter-spacing: .01em;
}
.eyebrow-chip .icon { width: 18px; height: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 750; font-size: 15px; letter-spacing: .02em; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 14px; height: 14px; background: currentColor; clip-path: url(#clip-sunny); border-radius: 30%; }
.h2 { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -.035em; font-weight: 560; }
.section-head p { margin-top: 20px; font-size: clamp(15px, 1.35vw, 18px); color: var(--on-surface-variant); max-width: 640px; }

[data-reveal] { transition: opacity .6s var(--emph), transform .9s var(--spring); transition-delay: var(--d, 0ms); }
.js [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(32px) scale(.98); }

/* Numbered steps */
.step-num { display: grid; place-items: center; width: 60px; height: 60px; background: var(--primary); color: var(--on-primary);
            font-weight: 820; font-size: 24px; transition: transform .8s var(--spring); }
.step-num span { transition: transform .8s var(--spring); }

/* Received */
.received { border-radius: clamp(32px, 4vw, 48px); background: var(--sc-low); padding: clamp(28px, 5vw, 64px); }
.received-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.r-step { display: grid; gap: 10px; padding: 24px; border-radius: 28px; background: var(--surface); }
.r-step .step-num { width: 48px; height: 48px; font-size: 19px; background: var(--primary-container); color: var(--on-primary-container); }
.r-step h3 { font-size: 21px; letter-spacing: -.01em; }
.r-step p { color: var(--on-surface-variant); font-size: 14px; }
.note { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: var(--on-surface-variant); font-size: 13px; }
.note .icon { color: var(--primary); }
@media (max-width: 820px) { .received-steps { grid-template-columns: 1fr; } }

/* Footer: one tonal panel (brand and the next step on the left, three short link columns on the right), then the fine print */
/* ---------- Footer: right on the page like the hero, the brand and links, a hairline with the fine print, then the name large
   enough to sign the page off, cut by its bottom edge. ---------- */
footer { overflow: hidden; padding-block: clamp(64px, 8vw, 112px) clamp(12px, 2vw, 24px); }
.foot-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); padding-bottom: clamp(36px, 4.5vw, 56px); }
.foot-brand { display: grid; align-content: start; justify-items: start; gap: 14px; }
.foot-brand .by { font-weight: 500; color: var(--on-surface-variant); font-size: 17px; }
.foot-about { max-width: 36ch; margin: 0; font-size: 15px; line-height: 1.6; color: var(--on-surface-variant); }
.foot-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; color: var(--primary); font-weight: 600; font-size: 15px; text-decoration: none; }
.foot-mail .icon { width: 18px; height: 18px; }
.foot-mail:hover span { text-decoration: underline; text-underline-offset: 3px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 2vw, 24px); }
.foot-col { display: grid; align-content: start; gap: 2px; }
.foot-col-title { padding: 0 14px 8px; color: var(--on-surface); font-weight: 600; font-size: 14px; }
.foot-col a { position: relative; display: block; padding: 9px 14px; border-radius: 20px; text-decoration: none; white-space: nowrap;
              font-weight: 500; font-size: 15px; color: var(--on-surface-variant); transition: background-color .2s, color .2s, border-radius .45s var(--spring-fast); }
/* A little sunburst pops in ahead of the link while hovered. Only transforms move, so the text never re-wraps. */
.foot-col a::before { content: ""; position: absolute; left: 14px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: currentColor;
                      clip-path: url(#clip-sunny); border-radius: 30%; transform: scale(0) rotate(-90deg);
                      transition: transform .45s var(--spring-fast); }
.foot-col a span { display: inline-block; transition: transform .45s var(--spring-fast); }
.foot-col a:hover { background: var(--sc-low); color: var(--on-surface); }
.foot-col a:hover::before, .foot-col a[aria-current="page"]::before { transform: none; }
.foot-col a:hover span, .foot-col a[aria-current="page"] span { transform: translateX(18px); }
.foot-col a:active { border-radius: 12px; }
.foot-col a[aria-current="page"] { background: var(--secondary-container); color: var(--on-secondary-container); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid color-mix(in srgb, var(--outline-variant) 65%, transparent); }
.fine { margin-top: 24px; color: var(--on-surface-variant); font-size: 14px; }
.foot-bottom .fine { margin: 0; font-size: 13.5px; }
.foot-top .icon { transition: transform .45s var(--spring-fast); }
.foot-top:hover .icon { transform: translateY(-3px); }
/* The sign-off: crack the vault (site.js). A safe's combination dial in the brand's cookie shape, with the Vaulto lock as its
   knob. It glows as you near the secret number, clicks on it, and three numbers open it with a burst of the site's shapes. */
.foot-end { display: grid; justify-items: center; gap: 16px; padding: clamp(16px, 3vw, 32px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.vault { --glow: 0; display: grid; justify-items: center; gap: 18px; }
.vault-pins { display: flex; gap: 10px; }
.vault-pins span { width: 14px; height: 14px; clip-path: url(#clip-cookie9); background: var(--sc-highest); transition: background-color .3s, transform .6s var(--spring-fast); }
.vault-pins span.on { background: var(--primary); transform: scale(1.3) rotate(40deg); }
.vault-body { position: relative; isolation: isolate; width: clamp(204px, 19vw, 244px); aspect-ratio: 1; }
/* The warmth: a soft blue glow behind the dial that grows as you near the number. */
.vault-body::before { content: ""; position: absolute; z-index: -1; inset: -22%; border-radius: 50%; pointer-events: none;
                      background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 42%, transparent) 64%, transparent 100%);
                      opacity: var(--glow); transform: scale(calc(.85 + var(--glow) * .15)); transition: opacity .25s, transform .4s var(--spring-fast); }
.vault-dial { position: absolute; inset: 0; border-radius: 50%; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; }
.vault-dial.grab { cursor: grabbing; }
.vault-dial:focus-visible { outline: 2px solid var(--primary); outline-offset: 8px; }
.vault-ring { display: block; width: 100%; height: 100%; overflow: visible; transition: opacity .5s var(--emph); }
.vr-face { fill: var(--primary-container); }
.vr-tick { stroke: var(--on-primary-container); stroke-width: 1.4; stroke-linecap: round; opacity: .35; }
.vr-tick.major { stroke-width: 2.2; opacity: .75; }
.vr-num { fill: var(--on-primary-container); font: 600 12px var(--font); text-anchor: middle; dominant-baseline: central; }
.vault-pointer { position: absolute; z-index: 2; top: -13px; left: 50%; width: 16px; height: 12px; margin-left: -8px; background: var(--primary);
                 clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 2px; pointer-events: none; }
.vault.hit .vault-pointer { animation: vault-hit .45s var(--spring-fast); }
@keyframes vault-hit { 40% { transform: translateY(4px) scaleX(1.25); } }
.vault-knob { position: absolute; inset: 29%; display: grid; place-items: center; pointer-events: none; transition: transform .7s var(--spring-fast); }
.vault-knob > svg { grid-area: 1 / 1; overflow: visible; }
.vk-shape { width: 100%; height: 100%; fill: var(--primary); transition: fill .45s var(--emph); }
.vk-glyph { width: 46%; height: 46%; color: var(--on-primary); transition: color .45s var(--emph); }
.vk-case { fill: currentColor; }
.vk-shackle { fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; transform-box: view-box; transform-origin: 8px 11px;
              transition: transform .7s var(--spring-fast); }
.vault.hit .vault-knob { transform: scale(1.06); }
/* Open: the dial steps back, the lock pops open, and shapes fly out of it. */
.vault[data-state="open"] .vault-ring { opacity: .4; }
.vault[data-state="open"] .vault-knob { transform: scale(1.12); }
.vault[data-state="open"] .vk-shape { fill: var(--tertiary-container); }
.vault[data-state="open"] .vk-glyph { color: var(--on-tertiary-container); }
.vault[data-state="open"] .vk-shackle { transform: translateY(-3.2px) rotate(-18deg); }
.vault[data-state="open"] .vault-dial { cursor: default; }
.vault-burst { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.vault-burst span { position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
                    animation: vault-burst 1.5s cubic-bezier(.16, .9, .3, 1) both; }
@keyframes vault-burst {
  0% { transform: translate(0, 0) scale(.2) rotate(0); opacity: 0; }
  12% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(var(--x), var(--y)) scale(1) rotate(var(--r)); opacity: 0; }
}
.foot-line { max-width: 34ch; margin: 0; min-height: 1.5em; font-size: clamp(16px, 1.5vw, 18px); font-weight: 500; line-height: 1.5; color: var(--on-surface);
             text-wrap: balance; transition: opacity .2s var(--emph), transform .45s var(--spring); }
.foot-line.swap { opacity: 0; transform: translateY(6px); }
/* Lock it again keeps its place while the vault is shut, so nothing below it jumps when it appears. */
.vault-again { opacity: 0; transform: scale(.9); pointer-events: none; transition: opacity .3s var(--emph), transform .5s var(--spring-fast); }
.vault[data-state="open"] ~ .vault-again { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 900px) { .foot-main { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .foot-col:last-child { grid-column: 1 / -1; }
  .foot-bottom { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
}

/* ---------- Beta waitlist dialog (markup injected by site.js, opened by [data-waitlist] or links to #waitlist) ---------- */
html:has(.wl[open]) { overflow: hidden; }
.wl {
  width: min(460px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px);
  margin: auto; padding: 8px; border: 0; border-radius: 36px; overflow: auto; overscroll-behavior: contain;
  background: var(--surface); color: var(--on-surface); font: inherit;
}
.wl[open] { animation: wl-in .55s var(--spring-fast) both; }
.wl::backdrop { background: rgba(6, 8, 18, .56); animation: wl-fade .25s cubic-bezier(.2, 0, 0, 1) both; }
@keyframes wl-in { from { opacity: 0; transform: translateY(32px) scale(.9); } }
@keyframes wl-fade { from { opacity: 0; } }
.wl-band {
  position: relative; overflow: hidden; isolation: isolate; display: grid; justify-items: start; gap: 10px;
  padding: 24px 24px 26px; border-radius: 28px; background: var(--hero); color: var(--on-hero);
}
.wl-deco { position: absolute; z-index: -1; width: 230px; height: 230px; right: -64px; bottom: -120px; fill: var(--hero-soft); }
.wl-badge { display: grid; place-items: center; width: 56px; height: 56px; background: var(--on-hero); color: #0033cc; }
.wl-badge .icon { width: 26px; height: 26px; }
.wl-done-view .wl-badge { animation: wl-pop .7s var(--spring-fast) both; }
@keyframes wl-pop { from { transform: scale(.3) rotate(-40deg); } }
.wl-close { position: absolute; top: 14px; right: 14px; background: var(--hero-soft); color: var(--on-hero); }
.wl-close:focus-visible { outline-color: #fff; }
.wl-band h2 { margin-top: 6px; font-size: clamp(26px, 6vw, 30px); line-height: 1.1; letter-spacing: -.025em; }
.wl-band p { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.wl-band b { color: #fff; word-break: break-all; }
.wl-body { display: grid; gap: 16px; padding: 22px 16px 16px; }

.tf { position: relative; display: block; }
.tf input {
  width: 100%; height: 60px; padding: 24px 18px 8px; border: 0; border-radius: 18px; outline: none;
  background: var(--sc-high); color: var(--on-surface); font: 550 17px/1.2 var(--font);
  transition: box-shadow .2s cubic-bezier(.2, 0, 0, 1), border-radius .45s var(--spring-fast), background-color .2s;
}
.tf input:hover { background: var(--sc-highest); }
.tf input:focus { box-shadow: inset 0 0 0 2px var(--primary); border-radius: 12px; }
.tf input:-webkit-autofill { -webkit-text-fill-color: var(--on-surface); box-shadow: inset 0 0 0 40px var(--sc-high); }
.tf input:-webkit-autofill:focus { box-shadow: inset 0 0 0 2px var(--primary), inset 0 0 0 40px var(--sc-high); }
.tf span {
  position: absolute; left: 18px; top: 30px; translate: 0 -50%; transform-origin: left center; pointer-events: none;
  color: var(--on-surface-variant); font-size: 17px; line-height: 1; transition: top .25s cubic-bezier(.2, 0, 0, 1), scale .25s cubic-bezier(.2, 0, 0, 1), color .2s;
}
.tf input:focus + span, .tf input:not(:placeholder-shown) + span { top: 16px; scale: .76; }
.tf input:focus + span { color: var(--primary); }
.tf.bad input { box-shadow: inset 0 0 0 2px var(--error); }
.tf.bad span { color: var(--error); }
.tf-help { margin: -8px 18px 0; font-size: 13.5px; line-height: 1.45; color: var(--on-surface-variant); }
.tf.bad + .tf-help { color: var(--error); font-weight: 600; }

.wl-phone { display: grid; min-width: 0; margin: 0; padding: 0; border: 0; }
.wl-phone legend { padding: 0 0 10px 4px; font-weight: 700; font-size: 15px; }
.wl-seg { display: flex; gap: 3px; }
.wl-seg label { position: relative; flex: 1; min-width: 0; transition: flex-grow .5s var(--spring-fast); }
.wl-seg label:has(input:checked) { flex-grow: 1.3; }
.wl-seg input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wl-seg span {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 12px; border-radius: 10px;
  background: var(--sc-high); color: var(--on-surface); font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: border-radius .5s var(--spring-fast), background-color .25s, color .25s;
}
.wl-seg span::before { content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: 0; transition: opacity .15s; }
.wl-seg label:hover span::before { opacity: .08; }
.wl-seg label:first-child span { border-radius: 24px 10px 10px 24px; }
.wl-seg label:last-child span { border-radius: 10px 24px 24px 10px; }
.wl-seg input:checked + span { border-radius: 24px; background: var(--primary); color: var(--on-primary); }
.wl-seg input:active + span { border-radius: 14px; }
.wl-seg input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.wl-seg .icon { width: 20px; height: 20px; }

.wl-note { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 18px;
           background: var(--secondary-container); color: var(--on-secondary-container); font-size: 14.5px; line-height: 1.45; }
.wl-note .icon { width: 20px; height: 20px; margin-top: 1px; }
.wl-note.err { background: var(--error-container); color: var(--on-error-container); }
.wl-note a { font-weight: 700; }
.wl-fine { padding: 0 4px; font-size: 13.5px; line-height: 1.5; color: var(--on-surface-variant); }
.wl-fine a { color: var(--primary); font-weight: 650; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-submit { --h: 50px; width: 100%; font-size: 16px; }
.wl-submit:active { border-radius: 16px; }
.wl-spin { display: none; width: 24px; height: 24px; fill: currentColor; }
.wl-busy .wl-submit { pointer-events: none; }
.wl-busy .wl-submit .wl-spin { display: block; }
.wl-busy .wl-submit .wl-go { display: none; }

.wl-steps { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; counter-reset: wl; }
.wl-steps-title { padding: 0 4px; font-weight: 700; font-size: 15px; }
.wl-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 6px; background: var(--sc-low); font-size: 15px; line-height: 1.4; }
.wl-steps li:first-child { border-radius: 20px 20px 6px 6px; }
.wl-steps li:last-child { border-radius: 6px 6px 20px 20px; }
.wl-steps li::before { counter-increment: wl; content: counter(wl); display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 12px;
                       background: var(--primary-container); color: var(--on-primary-container); font-weight: 800; font-size: 15px; }
.wl-done-actions { display: grid; gap: 4px; }
.wl-done-actions .btn-text { justify-self: center; }
@media (max-width: 480px) {
  .wl { padding: 6px; border-radius: 32px; }
  .wl-band { padding: 20px 20px 22px; border-radius: 26px; }
  .wl-body { padding: 20px 10px 10px; }
}
@media (prefers-reduced-motion: reduce) { .wl[open], .wl::backdrop, .wl-done-view .wl-badge { animation: none; } }

/* ---------- Subpages (privacy, terms, support, delete account, open): the blue hero and the long-form layout ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; margin-top: 4px;
  border-radius: clamp(32px, 4.5vw, 56px); background: var(--hero); color: var(--on-hero);
  padding: clamp(32px, 6vw, 80px) clamp(24px, 5.5vw, 76px);
}
.page-hero .deco { position: absolute; z-index: -1; fill: var(--hero-softer); pointer-events: none; animation: turn 60s linear infinite; }
.page-hero .deco.d2 { animation-direction: reverse; animation-duration: 80s; }
@keyframes turn { to { transform: rotate(1turn); } }
.page-hero .lead { font-size: clamp(16px, 1.45vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .88); max-width: 580px; }
.page-hero .lead a { color: #fff; font-weight: 700; }
.page-hero :focus-visible { outline-color: #fff; }
.doc-hero { display: grid; gap: 18px; justify-items: start; }
.doc-hero .deco.d1 { width: 460px; height: 460px; right: -140px; top: -170px; }
.doc-hero .deco.d2 { width: 300px; height: 300px; left: 38%; bottom: -210px; }
.doc-hero h1 { font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: -.04em; font-weight: 560; max-width: 11ch; }
.doc-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.doc-points li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 20px; background: var(--hero-soft); font-weight: 700; font-size: 15px; }
.doc-points .icon { width: 18px; height: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: clamp(40px, 6vw, 72px); }
.toc { position: sticky; top: 96px; display: grid; gap: 2px; }
.toc-title { display: flex; align-items: center; gap: 10px; padding: 0 16px 10px; color: var(--primary); font-weight: 750; font-size: 14px; }
.toc a { position: relative; z-index: 1; display: block; padding: 10px 16px; border-radius: 20px; text-decoration: none; font-weight: 650; font-size: 15px;
         color: var(--on-surface-variant); transition: color .25s; }
.toc a:hover { color: var(--on-surface); }
.toc a[aria-current="true"] { color: var(--on-secondary-container); }
.toc .nav-pill { height: 0; }
.doc { display: grid; gap: 12px; max-width: 820px; }
.doc-section { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: clamp(22px, 3vw, 34px); border-radius: 32px; background: var(--sc-low);
               transition: opacity .6s var(--emph), transform .9s var(--spring), border-radius .6s var(--spring-fast); scroll-margin-top: 96px; }
.doc-section:hover { border-radius: 44px; }
.doc-section .step-num { width: 56px; height: 56px; font-size: 21px; background: var(--primary-container); color: var(--on-primary-container); }
.doc-section:hover .step-num { transform: rotate(40deg) scale(1.05); }
.doc-section:hover .step-num span { transform: rotate(-40deg); }
.doc-body h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; line-height: 1.15; margin: 12px 0 14px; }
.doc-body p, .doc-body li { color: var(--on-surface-variant); font-size: 15px; line-height: 1.7; }
.doc-body p + p, .doc-body ul + p, .doc-body p + ul, .doc-body p + .callout, .doc-body .callout + p, .doc-body .plans + p, .doc-body p + .plans { margin-top: 14px; }
.doc-body ul { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.doc-body li::marker { color: var(--primary); }
.doc-body strong { color: var(--on-surface); font-weight: 700; }
.doc-body a, .card a:not(.btn) { color: var(--primary); font-weight: 650; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; overflow-x: auto; gap: 6px; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .toc::-webkit-scrollbar { display: none; }
  .toc-title, .toc .nav-pill { display: none; }
  .toc a { flex: none; white-space: nowrap; background: var(--sc-low); }
  .toc a[aria-current="true"] { background: var(--secondary-container); }
}
@media (max-width: 600px) {
  .doc-section { grid-template-columns: 1fr; gap: 4px; }
  .doc-section .step-num { width: 48px; height: 48px; font-size: 18px; }
}

/* Cards on subpages: tonal panels whose corners loosen on hover, with an icon in an expressive shape */
.card { position: relative; display: grid; align-content: start; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: 32px; background: var(--sc-low);
        transition: opacity .6s var(--emph), transform .9s var(--spring), border-radius .6s var(--spring-fast), background-color .3s; }
.card:hover { border-radius: 44px; }
.card h2, .card h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; line-height: 1.15; }
.card p { color: var(--on-surface-variant); line-height: 1.65; }
.card-icon { display: grid; place-items: center; width: 56px; height: 56px; background: var(--primary-container); color: var(--on-primary-container);
             transition: transform .8s var(--spring); }
.card-icon .icon { transition: transform .8s var(--spring); }
.card:hover .card-icon { transform: rotate(40deg) scale(1.05); }
.card:hover .card-icon .icon { transform: rotate(-40deg); }
.card.warn { background: var(--error-container); color: var(--on-error-container); }
.card.warn p { color: inherit; }
.card.warn .card-icon { background: var(--error); color: var(--on-error); }
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 22px; line-height: 1.5;
           background: var(--secondary-container); color: var(--on-secondary-container); }
.callout .icon { width: 22px; height: 22px; margin-top: 1px; }
.callout.warn { background: var(--error-container); color: var(--on-error-container); }
.callout b { font-weight: 750; }

/* An address you can copy: the button turns into a check */
.copy-pill { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; height: 56px; padding: 0 6px 0 20px; border-radius: 28px;
             background: var(--hero-soft); color: var(--on-hero); font-weight: 700; font-size: 17px; }
.copy-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-pill .icon-btn { width: 44px; height: 44px; background: var(--on-hero); color: #0033cc; }
.copy-pill .icon-btn .icon { transition: transform .45s var(--spring-fast), opacity .2s; }
.copy-pill .i-done { display: none; }
.copy-pill.copied .i-copy { display: none; }
.copy-pill.copied .i-done { display: block; animation: pop .5s var(--spring-fast) both; }
