@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg: #161826;
  --color-surface: #232532;
  --color-text: #e9e9ed;
  --color-accent: #9184d9;
  --color-divider: color-mix(in srgb, #e9e9ed 16%, transparent);
  --color-neutral-100: #f3f5fe;
  --color-neutral-700: #595d6c;
  --color-neutral-800: #3f424d;
  --color-accent-100: #f5f4ff;
  --color-accent-300: #d2cefd;
  --color-accent-800: #423a6a;
  --color-accent-900: #2b2741;
  --color-section: #262a60;
  --color-section-glow: #353b80;
  --font-heading: "Inter", system-ui, sans-serif;
  --font-heading-weight: 500;
  --font-body: "Inter", system-ui, sans-serif;
  --space-1: 2.8px;
  --space-2: 5.6px;
  --space-3: 8.4px;
  --space-4: 11.2px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 0 0 1px #3f424d;
  --shadow-md: 0 0 0 1px #595d6c, 0 6px 18px rgba(0, 0, 0, 0.55);
  --gutter: clamp(20px, 5vw, 72px);
  --content: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  text-wrap: pretty;
  background:
    radial-gradient(1200px 720px at 82% -160px, color-mix(in srgb, var(--color-accent-900) 75%, transparent), transparent 60%),
    radial-gradient(1100px 800px at -10% 100%, color-mix(in srgb, black 30%, transparent), transparent 55%),
    var(--color-bg);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0; }
a { color: var(--color-accent-300); }
a:hover { color: var(--color-accent); }
img { display: block; max-width: 100%; }
figure { margin: 0; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 20;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
}
.skip-link:focus { top: 12px; }

.wrap {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(to right, transparent, var(--color-divider) 48px calc(100% - 48px), transparent);
}

.kicker {
  display: block;
  margin: 0 0 14px;
  color: var(--color-accent);
  font-size: 13px;
  line-height: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: var(--font-heading-weight);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary { color: var(--color-accent); border-color: var(--color-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--color-accent) 12%, transparent); color: var(--color-accent); }
.btn-secondary { border-color: var(--color-divider); color: var(--color-text); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.tag-neutral { background: var(--color-neutral-800); color: var(--color-neutral-100); }

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) max(var(--gutter), calc((100% - var(--content)) / 2 + var(--gutter)));
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--color-bg) 78%, transparent);
}

.nav-brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
}
.nav-brand img { height: 60px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: inherit;
  font-size: 14px;
  text-decoration: none;
}
.nav-links a:hover { color: var(--color-accent); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-text);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 28px var(--gutter);
  align-items: center;
  padding: 84px 0 56px;
}

.hero h1 {
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.08;
  margin: 0 0 0 -0.06em;
}
.hero h1 span { display: block; }
.hero-lead {
  max-width: 52ch;
  margin-top: 24px;
  color: var(--color-text);
  font-size: 17px;
  line-height: 28px;
}
.hero-tagline {
  margin-top: 24px;
  color: var(--color-accent);
  font-size: 13px;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-feature-settings: "tnum" 1;
}
.hero-actions, .chip-row, .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8.4px;
  align-items: center;
}
.hero-actions { margin-top: 28px; }
.chip-row { margin-top: 14px; }

.hero-figure {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  justify-self: end;
}
.hero-figure picture,
.hero-figure img { display: block; width: 100%; height: 100%; }
.hero-figure img { object-fit: cover; }
.hero-figure.fit { aspect-ratio: auto; }
.hero-figure.fit img { height: auto; object-fit: contain; }

.figure-plain { margin: 28px 0 0; }
.figure-narrow { max-width: 480px; }
.figure-plain img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.set-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin-top: 40px;
}
.set-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  background: var(--color-neutral-100);
}

.tiers-sub {
  margin-top: 48px;
  font-size: 24px;
  line-height: 28px;
}

.section { padding: 84px 0 70px; }
.section h2 {
  max-width: 24ch;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.012em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 28px clamp(24px, 4vw, 56px);
  margin-top: 56px;
}
.step { display: grid; gap: 12px; align-content: start; }
.step-num {
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: var(--font-heading-weight);
  line-height: 14px;
  font-feature-settings: "tnum" 1;
}
.step h3 { font-size: 24px; line-height: 28px; letter-spacing: -0.01em; }
.step p, .feature p, .copy, .outline p {
  max-width: 40ch;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  font-size: 15.5px;
  line-height: 28px;
}

.app-shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 24px;
  align-items: start;
  margin-top: 48px;
}
.app-shots figure { display: grid; gap: 12px; }
.app-shots .frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.app-shots figcaption {
  color: color-mix(in srgb, var(--color-text) 64%, transparent);
  font-size: 13px;
  line-height: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 28px clamp(24px, 4vw, 56px);
  margin-top: 56px;
}
.feature { display: grid; gap: 8px; align-content: start; }
.feature h3 { font-size: 17px; line-height: 28px; }
.feature p { font-size: 15px; line-height: 24px; max-width: none; }

.privacy {
  max-width: 60ch;
  margin: 48px 0 0;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  font-size: 15px;
  line-height: 24px;
}
.privacy strong { color: var(--color-text); font-weight: 500; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 40px clamp(24px, 5vw, 96px);
  align-items: start;
}
.split-center { align-items: center; }

.accent-note { margin-top: 14px; color: var(--color-accent-300); font-size: 15.5px; line-height: 28px; }
.copy { margin-top: 24px; max-width: 48ch; }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-feature-settings: "tnum" 1;
}
.table th {
  padding: var(--space-2);
  border-bottom: 1px solid transparent;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}
.table td { padding: var(--space-2); border-bottom: 1px solid transparent; }
.table thead tr {
  background: linear-gradient(to right, transparent, var(--color-divider) 48px, var(--color-divider) calc(100% - 48px), transparent) no-repeat bottom / 100% 1px;
}
.table tbody tr {
  background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-text) 8%, transparent) 48px, color-mix(in srgb, var(--color-text) 8%, transparent) calc(100% - 48px), transparent) no-repeat bottom / 100% 1px;
}

.vault-photos { display: grid; gap: 16px; }
.photo-lg, .photo-sq {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.photo-lg { aspect-ratio: 4 / 3; }
.photo-sq { aspect-ratio: 1; }
.photo-lg img, .photo-sq img { width: 100%; height: 100%; object-fit: cover; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.caption {
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
  font-size: 13px;
  line-height: 20px;
}

.outline {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}
.outline h3 { font-size: 17px; line-height: 28px; }
.outline p { margin-top: 4px; max-width: 42ch; }

.why { padding: 42px 0; }
.why + .why {
  background: linear-gradient(to right, transparent, var(--color-neutral-700) 48px calc(100% - 48px), transparent) no-repeat top / 100% 1px;
}
.why-grid {
  display: grid;
  grid-template-columns: minmax(48px, 120px) minmax(0, 380px) minmax(0, 1fr);
  gap: 28px clamp(24px, 4vw, 72px);
  align-items: baseline;
}
.why h3 { font-size: 24px; line-height: 28px; letter-spacing: -0.01em; }
.why p { max-width: 52ch; }

.band {
  padding: 70px 0;
  background:
    radial-gradient(900px 420px at 85% -40%, color-mix(in srgb, var(--color-section-glow) 70%, transparent), transparent 64%),
    var(--color-section);
}
.band .split { align-items: center; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 28px 20px;
  font-feature-settings: "tnum" 1;
}
.stats strong {
  display: block;
  margin: 0 0 0 -0.055em;
  font-family: var(--font-heading);
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: var(--font-heading-weight);
  line-height: 56px;
}
.stats span {
  display: block;
  margin-top: 14px;
  color: color-mix(in srgb, var(--color-text) 64%, transparent);
  font-size: 13px;
  line-height: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta-row { margin-top: 28px; }
.band .btn-primary { color: var(--color-accent-300); border-color: var(--color-accent-300); }

.site-footer {
  display: grid;
  gap: 28px;
  padding: 42px 0 56px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
  font-size: 13px;
  line-height: 20px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8.4px 24px;
  align-items: center;
}
.footer-row img { height: 44px; width: auto; margin-right: auto; }
.footer-row a { text-decoration: none; }

.not-found {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 80px var(--gutter);
}
.not-found h1 { font-size: clamp(42px, 6vw, 72px); }

.legal {
  max-width: 68ch;
  padding: 56px 0 12px;
}
.legal h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.02em;
}
.legal h2 {
  max-width: none;
  margin-top: 40px;
  font-size: 24px;
  line-height: 28px;
}
.legal .meta {
  margin-top: 14px;
  color: color-mix(in srgb, var(--color-text) 64%, transparent);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.legal p, .legal li {
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  font-size: 15.5px;
  line-height: 28px;
}
.legal p { margin-top: 16px; }
.legal ul {
  margin: 16px 0 0;
  padding-left: 1.2em;
}
.legal li + li { margin-top: 8px; }
.legal a { text-underline-offset: 3px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: var(--gutter);
    left: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-lg);
    background: #161826;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a, .nav-links .btn { padding: 12px; }
  .why-grid { grid-template-columns: 48px 1fr; }
  .why-grid p:last-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .nav-brand img { height: 44px; }
  .stats { grid-template-columns: 1fr; }
}
