/* ==========================================================================
   Unlockr - shared styles
   Palette inherited from the iOS app (UnlockrTheme.swift) so web and product
   read as one brand: near-black ink on paper, single indigo accent, deep
   indigo field for emphasis sections.
   ========================================================================== */

:root {
  --ink: #111111;
  --ink-soft: #4a4a4a;
  --muted: #777777;
  --paper: #ffffff;
  --surface: #fafafa;
  --surface-2: #f2f2f2;
  --line: #eaeaea;

  --accent: #5c22b5;
  --accent-soft: #f1ebfb;
  --accent-ink: #ffffff;

  --field: #0f0f26;
  --field-2: #1a0f38;

  /* One radius system, inherited from the app: cards 24, controls 18 */
  --r-card: 24px;
  --r-control: 18px;
  --r-chip: 999px;

  --shell: 1180px;
  --step: clamp(1rem, 0.6rem + 1.6vw, 1.5rem);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4f4f5;
    --ink-soft: #c4c4c8;
    --muted: #8f8f98;
    --paper: #0c0c10;
    --surface: #131318;
    --surface-2: #1a1a21;
    --line: #26262e;

    --accent: #a983f0;
    --accent-soft: #1d1630;
    --accent-ink: #14091f;

    --field: #0a0a18;
    --field-2: #150c2c;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--step);
}

.narrow {
  max-width: 760px;
}

/* --------------------------------------------------------------- nav ---- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 68px;
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark img {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 22%;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9375rem;
}

.nav__links a {
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav__links a:hover {
  color: var(--ink);
}

@media (max-width: 720px) {
  .nav__links a.is-optional {
    display: none;
  }
  .nav__links {
    gap: 1.15rem;
  }
}

/* ------------------------------------------------------------ buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding-inline: 1.6rem;
  border-radius: var(--r-control);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.18s ease, border-color 0.18s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: color-mix(in srgb, var(--ink) 86%, var(--accent));
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--onfield {
  background: var(--paper);
  color: var(--ink);
}

/* ---------------------------------------------------- app store badge --- */

.badge-appstore {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  height: 52px;
  padding-inline: 1.1rem;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.18s ease;
}

.badge-appstore:hover {
  background: color-mix(in srgb, var(--ink) 86%, var(--accent));
}

.badge-appstore:active {
  transform: translateY(1px) scale(0.99);
}

.badge-appstore svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.badge-appstore span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.badge-appstore em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.85;
}

.badge-appstore strong {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.032em;
  line-height: 1.08;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);
}

h2 {
  font-size: clamp(1.85rem, 1.35rem + 2.1vw, 2.85rem);
}

h3 {
  font-size: 1.1875rem;
  line-height: 1.3;
}

p {
  margin: 0;
}

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 56ch;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

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

section {
  padding-block: clamp(4rem, 2.5rem + 6vw, 7.5rem);
}

.section-head {
  max-width: 52ch;
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 1.8rem + 2.6vw, 4rem);
}

/* --------------------------------------------------------------- hero --- */

.hero {
  padding-top: clamp(3rem, 2rem + 3vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 2.4rem + 4vw, 6rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  align-items: center;
}

.hero__copy {
  display: grid;
  gap: 1.6rem;
  justify-items: start;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__producthunt {
  margin-top: 1.1rem;
}

.hero__producthunt img {
  max-width: 250px;
  height: auto;
}

.hero__stage {
  width: min(300px, 72vw);
  margin-inline: auto;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__stage {
    width: min(280px, 62vw);
  }
}

/* ----------------------------------------------------------- slideshow -- */
/* Full, uncropped device screenshots. The frame's aspect-ratio matches the
   screenshots exactly (1206:2622), so cover and contain are equivalent and
   nothing is ever cut off. */

.slideshow {
  position: relative;
  aspect-ratio: 1206 / 2622;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--field), var(--field-2));
  box-shadow: 0 40px 90px -32px rgb(0 0 0 / 0.5);
}

.slideshow__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.slideshow__img.is-active {
  opacity: 1;
}

.slideshow__dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 0;
}

/* 24px tap target (WCAG 2.2 target size); the visible dot is ::before. */
.slideshow__dots button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.slideshow__dots button::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.4);
  transition: background-color 0.25s ease, width 0.25s ease;
}

.slideshow__dots button.is-active::before {
  width: 18px;
  background: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .slideshow__img {
    transition: none;
  }
}

/* ------------------------------------------------------------- stat ----- */

.statement {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: end;
}

.statement__figure {
  font-size: clamp(3.5rem, 2rem + 7vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.92;
  color: var(--accent);
}

.statement__note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 1rem;
  max-width: 44ch;
}

@media (max-width: 820px) {
  .statement__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* --------------------------------------------------------------- flow --- */

.flow {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.flow__item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: clamp(1.25rem, 0.8rem + 1.6vw, 2.25rem);
  padding-block: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.flow__item:last-child {
  border-bottom: 1px solid var(--line);
}

.flow__num {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--accent);
  padding-top: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.flow__body {
  display: grid;
  gap: 0.6rem;
  max-width: 62ch;
}

.flow__body p {
  color: var(--ink-soft);
}

/* -------------------------------------------------------------- bento --- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.tile {
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.tile p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.tile--wide {
  grid-column: span 4;
}

.tile--half {
  grid-column: span 3;
}

.tile--third {
  grid-column: span 2;
}

.tile--field {
  background: linear-gradient(155deg, var(--field), var(--field-2));
  border-color: transparent;
  color: #fff;
}

.tile--field p {
  color: rgb(255 255 255 / 0.72);
}

.tile--accent {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 22%, transparent);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.review-card {
  margin: 0;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(1.4rem, 1rem + 1.2vw, 1.75rem);
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.review-card__stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}

.review-card blockquote {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink);
}

.review-card figcaption {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.review-card figcaption span {
  font-weight: 400;
}

@media (max-width: 900px) {
  .reviews {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .reviews {
    grid-template-columns: 1fr;
  }
}

.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 780px;
}

.faq-item {
  border-radius: var(--r-control);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.1rem 1.4rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0.9rem 0 0.1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.tile__icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.tile--field .tile__icon {
  color: #fff;
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .tile--wide,
  .tile--half,
  .tile--third {
    grid-column: span 2;
  }
}

/* --------------------------------------------------------- challenges --- */

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.rail > * {
  scroll-snap-align: start;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 1.5rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  background: var(--paper);
}

.card__kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
}

.card p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* -------------------------------------------------------------- field --- */

.field {
  background: linear-gradient(160deg, var(--field), var(--field-2));
  color: #fff;
  border-radius: var(--r-card);
  padding: clamp(2.25rem, 1.5rem + 3vw, 4rem);
}

.field h2 {
  color: #fff;
}

.field .lede {
  color: rgb(255 255 255 / 0.68);
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
}

.privacy-points > li {
  display: grid;
  gap: 0.45rem;
}

.privacy-points h3 {
  color: #fff;
  font-size: 1rem;
}

.privacy-points p {
  color: rgb(255 255 255 / 0.66);
  font-size: 0.9375rem;
}

/* ---------------------------------------------------------- closing ----- */

.closing {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}

.closing .lede {
  max-width: 46ch;
}

/* ------------------------------------------------------------- footer --- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: 2.75rem 3.25rem;
  font-size: 0.9375rem;
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--ink);
}

.footer__note {
  color: var(--muted);
}

/* ------------------------------------------------------------- lists --- */
/* Card groups are real lists for crawlers and screen readers. :where keeps
   this at zero specificity so each component's own spacing still wins. */
:where(ol.flow, ul.rail, ul.privacy-points) {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ------------------------------------------------------------ table --- */
/* Shared by the homepage and blog posts. */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
}

.table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.table-wrap th,
.table-wrap td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.table-wrap th {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}

.table-wrap tr:last-child td,
.table-wrap tr:last-child th {
  border-bottom: 0;
}

.table-wrap td:first-child,
.table-wrap th[scope="row"] {
  color: var(--ink);
  font-weight: 600;
  background: none;
}

/* Captions name the table for screen readers; the section heading already
   does that visually. */
.table-wrap caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.table-wrap--section {
  margin-top: 2.5rem;
}

.table-wrap--narrow {
  max-width: 780px;
}

/* Few columns: let it shrink to the phone instead of scrolling. */
.table-wrap--narrow table {
  min-width: 0;
}

/* Many short cells: keep each on one line and scroll sideways on phones. */
.table-wrap--nowrap th,
.table-wrap--nowrap td {
  white-space: nowrap;
}

.table-note {
  max-width: 780px;
  margin-top: 0.9rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ----------------------------------------------------------- article --- */
/* Legal and support pages: quiet, readable, low variance. */

.doc {
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) clamp(4rem, 3rem + 4vw, 6rem);
}

.doc__head {
  display: grid;
  gap: 0.9rem;
  padding-bottom: 2rem;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid var(--line);
}

.doc__updated {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--muted);
}

.doc__body {
  display: grid;
  gap: 2.25rem;
  max-width: 68ch;
}

.doc__body h2 {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.doc__body h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.doc__body p,
.doc__body li {
  color: var(--ink-soft);
}

.doc__body p + p {
  margin-top: 0.9rem;
}

.doc__body ul {
  margin: 0.9rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.55rem;
}

.doc__body a:not(.btn) {
  color: var(--accent);
  text-underline-offset: 3px;
}

.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-control) var(--r-control) 0;
  background: var(--surface);
  padding: 1.25rem 1.5rem;
}

.callout p {
  color: var(--ink);
}

.datatable {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}

.datatable__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 1rem 1.5rem;
  padding: 1.15rem 1.35rem;
}

.datatable__row + .datatable__row {
  border-top: 1px solid var(--line);
}

.datatable__row dt {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9375rem;
}

.datatable__row dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

@media (max-width: 640px) {
  .datatable__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

/* -------------------------------------------------------- motion ------- */
/* Entry reveals only. Motivated: establishes reading order on first paint,
   then gets out of the way. Nothing loops. */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal[data-delay="1"] { animation-delay: 0.07s; }
.reveal[data-delay="2"] { animation-delay: 0.14s; }
.reveal[data-delay="3"] { animation-delay: 0.21s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Scroll-driven reveal for below-the-fold sections, native CSS, no JS. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .on-scroll {
      opacity: 0;
      transform: translateY(22px);
      animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      animation-timeline: view();
      animation-range: entry 8% cover 26%;
    }
  }
}

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

/* ========================================================================
   2026 marketing redesign
   A denser editorial rhythm with one cinematic product stage. Legal/support
   pages keep the same shared components and benefit from the larger type.
   ======================================================================== */

:root {
  color-scheme: light;
  --ink: #17151d;
  --ink-soft: #57525f;
  --muted: #7f7889;
  --paper: #f7f5f2;
  --surface: #eeebe7;
  --surface-2: #e6e1dc;
  --line: #dcd6d1;
  --accent: #6935d3;
  --accent-soft: #e9e0fb;
  --accent-ink: #ffffff;
  --field: #171126;
  --field-2: #2a1855;
  --r-card: 30px;
  --r-control: 16px;
  --shell: 1320px;
  --step: clamp(1.25rem, 0.75rem + 2vw, 2.5rem);
  --font: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  font-size: 1.0625rem;
  background:
    radial-gradient(circle at 12% 8%, rgb(105 53 211 / 0.055), transparent 24rem),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 80;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

.nav {
  height: 82px;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-color: rgb(23 21 29 / 0.08);
  box-shadow: 0 10px 35px rgb(31 20 53 / 0.035);
}

.wordmark {
  gap: 0.72rem;
  font-size: 1.28rem;
  font-weight: 650;
}

.wordmark img {
  width: 30px;
  height: 30px;
}

.nav__links {
  gap: clamp(1.1rem, 0.7rem + 1.2vw, 2rem);
  font-size: 0.96rem;
  font-weight: 500;
}

.nav__links a:not(.nav__cta) {
  position: relative;
}

.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.35rem;
  height: 1px;
  background: var(--ink);
  transition: right 220ms ease;
}

.nav__links a:not(.nav__cta):hover::after {
  right: 0;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding-inline: 1.2rem;
  border-radius: 14px;
  color: #fff !important;
  background: var(--ink);
  transition: transform 200ms ease, background-color 200ms ease;
}

.nav__cta:hover {
  transform: translateY(-2px);
  background: var(--accent);
}

h1,
h2,
h3 {
  font-weight: 650;
  text-wrap: balance;
}

h1 {
  font-size: clamp(4.2rem, 2.2rem + 6.7vw, 8.2rem);
  line-height: 0.86;
  letter-spacing: -0.072em;
}

h2 {
  font-size: clamp(2.75rem, 1.7rem + 3.7vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

h3 {
  font-size: clamp(1.3rem, 1.15rem + 0.45vw, 1.65rem);
  letter-spacing: -0.035em;
}

.lede {
  font-size: clamp(1.18rem, 1.04rem + 0.48vw, 1.42rem);
  line-height: 1.58;
  max-width: 58ch;
  text-wrap: pretty;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

section {
  padding-block: clamp(4.25rem, 3.25rem + 3vw, 6.5rem);
}

.section-head {
  max-width: 880px;
  gap: 1.25rem;
  margin-bottom: clamp(2.75rem, 2rem + 2vw, 4.5rem);
}

.section-head .lede {
  max-width: 52ch;
}

/* Hero */

.hero {
  display: flex;
  min-height: calc(100dvh - 82px);
  padding-block: clamp(3.25rem, 2rem + 3vw, 5.5rem);
}

.hero__grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  align-items: center;
  gap: clamp(2.5rem, 1.2rem + 4vw, 6rem);
}

.hero__copy {
  gap: 1.75rem;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.hero h1 span {
  color: var(--accent);
}

.hero__lede {
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.65rem);
  line-height: 1.52;
  text-wrap: pretty;
}

.hero__actions {
  align-items: center;
  gap: 1.4rem;
}

.badge-appstore {
  height: 60px;
  padding-inline: 1.35rem;
  border-radius: 15px;
  box-shadow: 0 16px 35px -18px rgb(23 21 29 / 0.55);
}

.badge-appstore:hover {
  transform: translateY(-3px);
  background: var(--accent);
}

.badge-appstore strong {
  font-size: 1.25rem;
}

.hero__text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: 0.7rem;
  font-weight: 650;
  text-decoration: none;
}

.hero__text-link span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 220ms ease, border-color 220ms ease;
}

.hero__text-link:hover span {
  transform: translateY(3px);
  border-color: var(--ink);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  padding-top: 0.25rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero__trust span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__visual {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 4% 0;
  z-index: -2;
  border-radius: 54px 54px 150px 54px;
  background:
    radial-gradient(circle at 75% 18%, rgb(169 131 240 / 0.32), transparent 28%),
    radial-gradient(circle at 12% 82%, rgb(105 53 211 / 0.38), transparent 34%),
    linear-gradient(145deg, var(--field), #100d1a 68%);
  box-shadow: 0 44px 100px -55px rgb(42 24 85 / 0.8);
}

.hero__halo {
  position: absolute;
  width: 480px;
  height: 480px;
  z-index: -1;
  border: 1px solid rgb(255 255 255 / 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 54px rgb(255 255 255 / 0.035),
    0 0 0 108px rgb(255 255 255 / 0.018);
}

.hero__stage {
  width: min(330px, 68vw);
  margin-inline: auto;
  transform: rotate(2.2deg);
  filter: drop-shadow(0 32px 38px rgb(5 3 10 / 0.4));
}

.slideshow {
  border: 9px solid #07060a;
  border-radius: 48px;
  box-shadow: 0 38px 70px -24px rgb(0 0 0 / 0.62);
}

.slideshow__dots {
  bottom: 22px;
}

.metric-card {
  position: absolute;
  z-index: 4;
  min-width: 178px;
  padding: 1rem 1.15rem;
  border: 1px solid rgb(255 255 255 / 0.32);
  border-radius: 20px;
  color: #fff;
  background: rgb(255 255 255 / 0.13);
  box-shadow: 0 22px 50px -30px rgb(0 0 0 / 0.8), inset 0 1px rgb(255 255 255 / 0.2);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.metric-card p,
.metric-card span {
  color: rgb(255 255 255 / 0.68);
  font-size: 0.78rem;
}

.metric-card strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.metric-card--top {
  top: 17%;
  right: -2%;
}

.metric-card--bottom {
  left: -2%;
  bottom: 16%;
}

.metric-card__dot {
  float: left;
  width: 9px;
  height: 9px;
  margin: 0.35rem 0.55rem 0 0;
  border-radius: 50%;
  background: #c5ff6c;
  box-shadow: 0 0 0 5px rgb(197 255 108 / 0.12);
}

/* Core story */

.statement {
  color: #fff;
  background:
    radial-gradient(circle at 13% 50%, rgb(105 53 211 / 0.5), transparent 28rem),
    var(--field);
  border: 0;
}

.statement__grid {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
}

.statement__grid > div:last-child {
  display: grid;
  gap: 1.25rem;
}

.statement__figure {
  color: #fff;
  font-size: clamp(5.5rem, 2.5rem + 10vw, 10rem);
  font-weight: 650;
}

.statement__note {
  color: rgb(255 255 255 / 0.62);
  font-size: 0.96rem;
}

.statement .eyebrow {
  color: #bda5f1;
}

.statement h2 {
  color: #fff;
}

.statement .lede {
  color: rgb(255 255 255 / 0.68);
}

.flow__item {
  grid-template-columns: minmax(92px, 0.25fr) minmax(0, 0.75fr);
  align-items: start;
  padding-block: clamp(2.4rem, 1.8rem + 2vw, 3.8rem);
}

.flow__num {
  padding-top: 0;
  color: var(--accent);
  font-size: clamp(2.2rem, 1.3rem + 2vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
}

.flow__body {
  gap: 0.9rem;
  max-width: 70ch;
}

.flow__body p {
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.65;
}

.bento {
  gap: 1.15rem;
}

.tile {
  min-height: 240px;
  padding: clamp(1.8rem, 1.15rem + 1.8vw, 2.8rem);
  gap: 0.95rem;
  border: 0;
  background: var(--surface);
}

.tile--field {
  min-height: 360px;
  padding-right: clamp(2rem, 3vw, 5rem);
  background:
    radial-gradient(circle at 85% 15%, rgb(169 131 240 / 0.28), transparent 38%),
    linear-gradient(145deg, var(--field), var(--field-2));
}

.tile--accent {
  background: var(--accent-soft);
}

.tile p {
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.62;
}

.tile__icon {
  width: 34px;
  height: 34px;
  margin-bottom: auto;
}

/* Challenge rail */

.rail {
  grid-auto-flow: initial;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.15rem;
  overflow: visible;
}

.card {
  position: relative;
  min-height: 250px;
  grid-column: span 6;
  align-content: end;
  padding: clamp(1.7rem, 1.1rem + 2vw, 2.7rem);
  overflow: hidden;
  border: 0;
  background: var(--surface);
}

.card:nth-child(2),
.card:nth-child(3) {
  background: var(--accent-soft);
}

.card::after {
  content: attr(data-mark);
  position: absolute;
  top: -0.38em;
  right: 0.12em;
  color: rgb(105 53 211 / 0.11);
  font-family: var(--mono);
  font-size: 7.5rem;
  font-weight: 700;
  letter-spacing: -0.1em;
}

.card__kicker {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h3,
.card p {
  position: relative;
  z-index: 1;
}

.card p {
  max-width: 48ch;
  font-size: 1rem;
}

.field {
  position: relative;
  overflow: hidden;
  border-radius: 44px;
  padding: clamp(2.75rem, 1.5rem + 4vw, 5.5rem);
  background:
    radial-gradient(circle at 92% 10%, rgb(169 131 240 / 0.32), transparent 30rem),
    linear-gradient(145deg, var(--field), #100d1a 68%);
}

.field::after {
  content: "";
  position: absolute;
  right: -9rem;
  bottom: -13rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgb(255 255 255 / 0.025), 0 0 0 8rem rgb(255 255 255 / 0.018);
}

.field h2,
.field .lede,
.field .privacy-points,
.field > p {
  position: relative;
  z-index: 1;
}

.field__lede {
  margin-top: 1.1rem;
}

.field__action {
  margin-top: 2.25rem;
}

.privacy-points {
  gap: 2.5rem;
}

.privacy-points h3 {
  font-size: 1.25rem;
}

.privacy-points p {
  font-size: 1rem;
}

.faq {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faq-item {
  padding: 1.45rem 1.6rem;
  border: 0;
  background: var(--surface);
}

.faq-item summary {
  font-size: 1.08rem;
  line-height: 1.45;
}

.faq-item p {
  font-size: 1rem;
}

.faq__more {
  margin-top: 1.75rem;
}

.reviews {
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
  gap: 1.15rem;
}

.review-card {
  min-height: 220px;
  grid-column: span 6;
  padding: clamp(1.7rem, 1.15rem + 1.8vw, 2.6rem);
  gap: 1.25rem;
  border: 0;
  background: var(--surface);
}

.review-card:nth-child(2),
.review-card:nth-child(3) {
  background: var(--accent-soft);
}

.review-card blockquote {
  font-size: clamp(1.16rem, 1rem + 0.4vw, 1.35rem);
  line-height: 1.55;
}

.review-card__stars {
  font-size: 1rem;
}

.closing-section {
  padding-top: 2rem;
}

.closing {
  min-height: 640px;
  align-content: center;
  padding: clamp(3rem, 2rem + 6vw, 7rem) var(--step);
  overflow: hidden;
  border-radius: 52px 52px 180px 52px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 20%, rgb(169 131 240 / 0.32), transparent 34%),
    radial-gradient(circle at 14% 90%, rgb(105 53 211 / 0.38), transparent 30%),
    var(--field);
}

.closing .eyebrow {
  color: #bda5f1;
}

.closing h2 {
  color: #fff;
  font-size: clamp(3.5rem, 2rem + 6vw, 7rem);
}

.closing .lede {
  color: rgb(255 255 255 / 0.68);
}

.closing .badge-appstore {
  color: var(--ink);
  background: #fff;
}

.closing .badge-appstore:hover {
  color: #fff;
  background: var(--accent);
}

.closing__meta {
  color: rgb(255 255 255 / 0.45);
  font-size: 0.85rem;
}

.footer {
  border: 0;
  padding-block: 2rem 3rem;
}

/* Supporting pages */

.narrow {
  max-width: 860px;
}

.doc__head h1 {
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem) !important;
}

.doc__body {
  gap: 2.8rem;
  max-width: 72ch;
}

.doc__body h2 {
  font-size: clamp(1.65rem, 1.3rem + 1vw, 2.1rem);
}

.doc__body h3 {
  font-size: 1.18rem;
}

.doc__body p,
.doc__body li {
  font-size: 1.04rem;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 820px;
  }

  .hero__visual {
    min-height: 660px;
  }

  .hero__visual::before {
    inset-inline: 4%;
  }

  .metric-card--top {
    right: 13%;
  }

  .metric-card--bottom {
    left: 13%;
  }

  .bento {
    grid-template-columns: repeat(6, 1fr);
  }

  .tile--wide {
    grid-column: span 6;
  }

  .tile--third {
    grid-column: span 3;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1rem;
  }

  .nav {
    height: 70px;
  }

  .wordmark {
    font-size: 1.1rem;
  }

  .wordmark img {
    width: 27px;
    height: 27px;
  }

  .nav__links > a:not(.nav__cta) {
    display: none;
  }

  .nav__cta {
    min-height: 40px;
    padding-inline: 1rem;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(3.65rem, 17vw, 5.2rem);
    line-height: 0.9;
  }

  h2 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  section {
    padding-block: 4rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero__grid {
    gap: 2.5rem;
  }

  .hero__copy {
    gap: 1.4rem;
  }

  .hero__lede {
    font-size: 1.16rem;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__trust {
    gap: 0.65rem 1rem;
  }

  .hero__visual {
    min-height: 580px;
    margin-inline: calc(var(--step) * -0.5);
  }

  .hero__visual::before {
    inset: 2% 0;
    border-radius: 38px 38px 94px 38px;
  }

  .hero__halo {
    width: 330px;
    height: 330px;
  }

  .hero__stage {
    width: min(260px, 61vw);
  }

  .slideshow {
    border-width: 7px;
    border-radius: 39px;
  }

  .metric-card {
    min-width: 144px;
    padding: 0.8rem 0.9rem;
  }

  .metric-card strong {
    font-size: 1.25rem;
  }

  .metric-card--top {
    top: 15%;
    right: 1%;
  }

  .metric-card--bottom {
    left: 1%;
    bottom: 15%;
  }

  .statement__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .statement__figure {
    font-size: 7rem;
  }

  .flow__item {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 1rem;
  }

  .flow__num {
    font-size: 2rem;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .tile--wide,
  .tile--half,
  .tile--third {
    grid-column: auto;
  }

  .tile,
  .tile--field {
    min-height: 250px;
  }

  .rail,
  .reviews,
  .faq {
    grid-template-columns: 1fr;
  }

  .card,
  .review-card {
    grid-column: auto;
  }

  .field {
    border-radius: 34px;
  }

  .privacy-points {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .closing {
    min-height: 560px;
    border-radius: 38px 38px 100px 38px;
  }

  .footer__grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .badge-appstore {
    height: 56px;
  }

  .hero__text-link {
    font-size: 0.95rem;
  }

  .hero__visual {
    min-height: 520px;
  }

  .hero__stage {
    width: 225px;
  }

  .metric-card {
    min-width: 128px;
  }

  .metric-card p,
  .metric-card span {
    font-size: 0.68rem;
  }

  .metric-card strong {
    font-size: 1.1rem;
  }
}

/* ------------------------------------------------------------- blog teasers */

.blog-teasers {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.blog-teasers a {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.blog-teasers a:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.blog-teasers h3 {
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.blog-teasers p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  flex: 1;
}

.blog-teasers span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.blog-teasers__all {
  margin-top: 1.25rem;
}

.blog-teasers__all a {
  font-weight: 600;
  color: var(--ink);
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .blog-teasers {
    grid-template-columns: 1fr;
  }
}
