/* Hermit: calm, dark and precise. Cobalt for focus, a little dawn for reward. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #06080c;
  --bg-raised: #090c12;
  --bg-deep: #05070a;
  --surface: #0a0d13;
  --ink: #f2f1ec;
  --ink-soft: #b4bac6;
  --ink-muted: #a9b0bc;
  --ink-dim: #8a919c;
  --ink-faint: #7a828e;
  --cobalt: #2e5bff;
  --peri: #b9c4ff;
  --peri-soft: #c9d2ff;
  --peri-pale: #dce2ff;
  --dawn: #f2c48d;
  --dawn-soft: #ebc9a0;
  --line: rgba(185, 196, 255, 0.1);
  --line-soft: rgba(185, 196, 255, 0.07);
  --line-strong: rgba(185, 196, 255, 0.2);
  --glow: rgba(46, 91, 255, 0.35);
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 4vw, 40px);
  --max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--peri);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--peri);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection {
  background: var(--cobalt);
  color: #fff;
}

.icon {
  display: block;
  flex: none;
  width: 1em;
  height: 1em;
}

.container {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #050607;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Type */

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--font);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--peri);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.lead {
  max-width: 40rem;
  color: var(--ink-muted);
  font-size: clamp(1.06rem, 1.4vw, 1.19rem);
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--peri);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 180ms ease, translate 350ms var(--ease);
}

.text-link:hover {
  color: #fff;
  translate: 3px 0;
}

.pill-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--peri-pale);
  font-size: 0.94rem;
  font-weight: 500;
  transition: border-color 250ms ease, background 250ms ease, color 250ms ease;
}

.pill-link:hover {
  border-color: rgba(185, 196, 255, 0.4);
  background: rgba(185, 196, 255, 0.06);
  color: #fff;
}

.section {
  position: relative;
  padding: clamp(84px, 9vw, 120px) 0;
}

.anchor-alias {
  position: absolute;
  top: -96px;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(44px, 5vw, 60px);
}

.section-head .lead {
  margin-top: 20px;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  max-width: none;
}

.section-head-row > div {
  flex: 1 1 520px;
  max-width: 720px;
}

/* Navigation */

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 100;
  width: min(calc(100% - 32px), 1180px);
  border: 1px solid rgba(185, 196, 255, 0.12);
  border-radius: 999px;
  background: rgba(10, 13, 18, 0.62);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 20px 50px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transform: translateX(-50%);
}

.nav .container {
  width: 100%;
  padding-inline: 14px 12px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 0 20px var(--glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a:not(.btn) {
  color: #9aa2ae;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 180ms ease;
}

.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #0a0d12;
  font-family: var(--font);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: translate 350ms var(--ease), box-shadow 350ms ease, background 200ms ease;
}

.btn:hover {
  background: #fff;
  box-shadow: 0 8px 30px rgba(185, 196, 255, 0.28);
  color: #0a0d12;
  translate: 0 -1px;
}

.btn-nav {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.875rem;
}

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

/* Storefront badges */

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-top: 38px;
}

.store-row-centered {
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  height: 48px;
  border-radius: 12px;
  transition: translate 350ms var(--ease), box-shadow 350ms ease;
}

.store-badge:hover {
  box-shadow: 0 12px 30px rgba(46, 91, 255, 0.25);
  translate: 0 -2px;
}

.store-badge img {
  width: auto;
  height: 48px;
}

/* Phone frame */

.device {
  position: relative;
  padding: 2.9%;
  border-radius: 15.5% / 7.3%;
  background: linear-gradient(155deg, #343a47 0%, #0b0e13 32%, #0b0e13 70%, #262b35 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 30px 60px rgba(0, 0, 0, 0.5);
}

.device img {
  width: 100%;
  border-radius: 13.3% / 6.1%;
  background: #0e1520;
}

/* Hero */

.hero {
  --phone-w: clamp(250px, 21.5vw, 310px);
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(720px, 100svh, 1000px);
  padding: 140px 0 96px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 8, 12, 0.94) 0%, rgba(6, 8, 12, 0.72) 38%, rgba(6, 8, 12, 0.12) 72%, rgba(6, 8, 12, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 8, 12, 0) 55%, var(--bg) 100%);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.hero-copy {
  max-width: 660px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 7px 16px 7px 12px;
  border: 1px solid rgba(185, 196, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #c3c9d6;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-eyebrow-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--peri);
  box-shadow: 0 0 10px 2px rgba(46, 91, 255, 0.6);
}

.hero h1 {
  font-size: clamp(2.7rem, 4.9vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.hero-line {
  display: block;
}

.hero h1 .accent {
  margin-top: 0.06em;
  color: var(--peri-soft);
  font-family: var(--serif);
  font-size: 1.1em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.hero .lead {
  max-width: 34rem;
  margin-top: 30px;
  color: var(--ink-soft);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--ink-dim);
  font-size: 0.875rem;
}

.hero-note .icon {
  width: 16px;
  height: 16px;
}

.hero-device {
  position: relative;
  display: grid;
  justify-self: center;
  place-items: center;
}

.orbit,
.orbit-spin,
.orbit-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--size);
  height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-outer {
  --size: calc(var(--phone-w) * 2.06);
  border: 1px solid rgba(185, 196, 255, 0.07);
}

.orbit-spin {
  --size: calc(var(--phone-w) * 1.65);
}

.orbit-arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from var(--arc-from, 0deg),
    transparent 0deg,
    transparent var(--arc-gap, 200deg),
    rgba(46, 91, 255, 0.6) var(--arc-mid, 320deg),
    var(--dawn) 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
}

.orbit-star {
  position: absolute;
  left: 50%;
  top: -3px;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #f7d7ae;
  box-shadow: 0 0 14px 4px rgba(242, 196, 141, 0.65);
}

.orbit-glow {
  --size: calc(var(--phone-w) * 1.35);
  background: radial-gradient(closest-side, var(--glow), transparent);
  filter: blur(24px);
}

.hero-phone {
  width: var(--phone-w);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 50px 90px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(46, 91, 255, 0.2);
}

/* Thesis */

.hook {
  padding: clamp(90px, 10vw, 140px) 0;
}

.hook-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  text-align: center;
}

.hook-inner::before {
  content: "";
  width: 1px;
  height: 72px;
  margin-bottom: 44px;
  background: linear-gradient(180deg, rgba(185, 196, 255, 0), rgba(185, 196, 255, 0.6));
}

.hook blockquote {
  color: var(--ink);
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 1.28;
  text-wrap: balance;
}

.hook-quote {
  color: #7e8692;
}

.hook em {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.08em;
  font-style: italic;
  letter-spacing: -0.01em;
}

/* Screenshots: a native scroll-snap track; site.js adds one-step arrow paging. */

.screen-carousel {
  --per-view: 4;
  --shot-gap: clamp(18px, 2.2vw, 28px);
  --shot-max: 290px;
  position: relative;
  container-type: inline-size;
}

.screen-rail {
  display: flex;
  gap: var(--shot-gap);
  padding: 16px 0 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.screen-rail::-webkit-scrollbar {
  display: none;
}

.screen-rail:focus-visible {
  outline-offset: 4px;
  border-radius: 12px;
}

.screen-item {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--shot-gap)) / var(--per-view));
  min-width: 0;
  scroll-snap-align: start;
  transition: opacity 800ms ease, transform 1000ms var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.screen-item > * {
  width: min(100%, var(--shot-max));
  margin-inline: auto;
}

.screen-media {
  transition: translate 600ms var(--ease), box-shadow 600ms ease;
}

/* Centred on the CSS phone frame: 16px track padding + half its frame height. */
.carousel-button {
  position: absolute;
  top: calc(16px + min((100cqi - (var(--per-view) - 1) * var(--shot-gap)) / var(--per-view), var(--shot-max)) * 1.053);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(185, 196, 255, 0.18);
  border-radius: 50%;
  background: rgba(13, 17, 24, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 14px 34px rgba(0, 0, 0, 0.45);
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  translate: 0 -50%;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: opacity 250ms ease, background 200ms ease, border-color 200ms ease, scale 300ms var(--ease);
}

.carousel-button[hidden] {
  display: none;
}

.carousel-button:hover {
  border-color: rgba(185, 196, 255, 0.4);
  background: rgba(46, 91, 255, 0.55);
}

.carousel-button:active {
  scale: 0.94;
}

.carousel-button:disabled {
  opacity: 0;
  pointer-events: none;
}

.carousel-prev {
  inset-inline-start: -24px;
}

.carousel-next {
  inset-inline-end: -24px;
}

[dir="rtl"] .carousel-button .icon {
  scale: -1 1;
}

.screen-item figcaption {
  padding: 26px 4px 0;
}

/* Numbering is generated so the page text stays exactly the content copy. */
.screen-rail {
  counter-reset: screen;
}

.screen-item figcaption::before {
  content: counter(screen, decimal-leading-zero);
  counter-increment: screen;
  display: block;
  margin-bottom: 8px;
  color: var(--peri);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

.screen-item h3 {
  margin-bottom: 8px;
  font-size: 1.19rem;
}

.screen-item p {
  color: #8f97a3;
  font-size: 0.94rem;
  line-height: 1.55;
}

/* How it works */

.how {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-raised);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  list-style: none;
}

.step-marker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.step-number {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(185, 196, 255, 0.28);
  border-radius: 50%;
  background: rgba(46, 91, 255, 0.1);
  box-shadow: 0 0 30px rgba(46, 91, 255, 0.2);
  color: var(--peri-pale);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1;
}

.step-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(185, 196, 255, 0.4), rgba(185, 196, 255, 0.04));
  transform-origin: 0 50%;
  transition: transform 1200ms var(--ease) calc(250ms + var(--i, 0) * 120ms);
}

.step:last-child .step-line {
  display: none;
}

.step:last-child .step-number {
  border-color: rgba(242, 196, 141, 0.45);
  background: rgba(242, 196, 141, 0.08);
  box-shadow: 0 0 30px rgba(242, 196, 141, 0.18);
  color: #f7d7ae;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.step p {
  color: #8f97a3;
  font-size: 0.97rem;
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  position: relative;
  overflow: hidden;
  padding: 30px 30px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  transition:
    opacity 700ms ease var(--delay),
    transform 900ms var(--ease) var(--delay),
    translate 450ms var(--ease),
    border-color 300ms ease;
}

/* Pointer spotlight; site.js feeds --mx/--my on hover-capable devices. */
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(46, 91, 255, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 400ms ease;
}

.feature:hover {
  border-color: rgba(185, 196, 255, 0.24);
  translate: 0 -4px;
}

.feature:hover::before {
  opacity: 1;
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(185, 196, 255, 0.16);
  border-radius: 13px;
  background: rgba(46, 91, 255, 0.1);
  color: var(--peri-soft);
  font-size: 20px;
}

.feature-tag {
  padding: 5px 11px;
  border: 1px solid rgba(185, 196, 255, 0.14);
  border-radius: 999px;
  color: #a9b3d6;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.feature p {
  color: #8f97a3;
  font-size: 0.97rem;
}

/* Guides on the home page */

.guides {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-raised);
}

.guide-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 32px;
}

.guide-group ul {
  list-style: none;
}

.guide-topic {
  display: block;
  margin-bottom: 14px;
  color: #8f97a3;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.guide-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: #e6e8ee;
}

.guide-group li:last-child .guide-link {
  border-bottom: 1px solid var(--line);
}

.guide-link-title {
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.35;
  transition: color 200ms ease;
}

.guide-link small {
  grid-column: 1;
  margin-top: 6px;
  color: #858d99;
  font-size: 0.875rem;
  line-height: 1.5;
}

.guide-arrow {
  width: 18px;
  height: 18px;
  color: #6f7885;
  transition: translate 350ms var(--ease), color 250ms ease;
}

.guide-link .guide-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin-top: 2px;
}

.guide-link:hover {
  color: #fff;
}

.guide-link:hover .guide-arrow,
.library-card:hover .guide-arrow,
.related a:hover .guide-arrow {
  color: #fff;
  translate: 4px 0;
}

/* FAQ */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.4fr);
  gap: 80px;
  align-items: start;
}

.faq-layout .section-head {
  position: sticky;
  top: 120px;
  margin: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  color: #e6e8ee;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
  list-style: none;
  transition: color 200ms ease;
}

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

.faq-list summary:hover {
  color: #fff;
}

.faq-plus {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(185, 196, 255, 0.18);
  border-radius: 50%;
  color: var(--peri-soft);
  font-size: 14px;
  transition: rotate 350ms var(--ease), background 250ms ease;
}

.faq-list details[open] .faq-plus {
  background: rgba(185, 196, 255, 0.12);
  rotate: 45deg;
}

.faq-list .answer {
  max-width: 44rem;
  padding: 0 64px 28px 0;
}

.faq-list .answer p {
  color: #9aa1ad;
  line-height: 1.65;
}

.faq-list .learn-more {
  display: inline-flex;
  margin-top: 14px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Closing CTA */

.cta {
  position: relative;
  padding: clamp(110px, 12vw, 170px) 0;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}

.cta-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: 900px;
  height: 520px;
  margin-left: -450px;
  background: radial-gradient(closest-side, rgba(242, 196, 141, 0.16), transparent);
}

.cta-ring,
.cta-spin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--size);
  height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  border-radius: 50%;
}

.cta-ring {
  --size: 820px;
  border: 1px solid rgba(185, 196, 255, 0.07);
}

.cta-ring-outer {
  --size: 1080px;
  border-color: rgba(185, 196, 255, 0.05);
}

.cta-spin {
  --size: 580px;
  --arc-from: 180deg;
  --arc-gap: 250deg;
  --arc-mid: 330deg;
}

.cta .eyebrow {
  justify-content: center;
  margin-bottom: 22px;
  color: var(--dawn-soft);
}

.cta .eyebrow::after {
  content: "";
  flex: none;
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.cta h2 {
  max-width: 15ch;
  margin-inline: auto;
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.cta .container > p:not(.eyebrow) {
  max-width: 34rem;
  margin: 26px auto 0;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
}

.cta .container > p.cta-note {
  margin-top: 22px;
  color: var(--ink-dim);
  font-size: 0.875rem;
}

.cta .store-row {
  margin-top: 40px;
}

/* Footer */

.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-deep);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px 64px;
  padding: 72px 0 48px;
}

.footer-statement {
  flex: 1 1 280px;
  max-width: 360px;
}

.footer-statement p {
  margin-top: 20px;
  color: var(--ink-dim);
  font-size: 0.94rem;
}

.footer-nav {
  display: grid;
  flex: 2 1 520px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-label {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-nav a {
  display: block;
  margin-bottom: 12px;
  color: var(--ink-dim);
  font-size: 0.875rem;
  transition: color 180ms ease;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px 0 30px;
  color: var(--ink-faint);
  font-size: 0.82rem;
}

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

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

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

/* Guide hub */

.guides-hero {
  position: relative;
  padding: 184px 0 88px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line-soft);
}

.guides-hero::before,
.article::before,
.legal::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -180px;
  z-index: -1;
  width: 1100px;
  height: 640px;
  margin-left: -550px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(46, 91, 255, 0.2), transparent);
}

.guides-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.guides-hero .lead {
  max-width: 46rem;
  margin-top: 28px;
}

.guide-library {
  padding: 100px 0;
}

.library-group + .library-group {
  margin-top: 110px;
}

.library-group-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 36px;
}

.library-group-heading .eyebrow {
  margin-bottom: 8px;
}

.library-group-heading h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.library-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.library-card {
  position: relative;
  min-height: 200px;
  padding: 28px 64px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  color: inherit;
  transition:
    opacity 700ms ease var(--delay),
    transform 900ms var(--ease) var(--delay),
    translate 450ms var(--ease),
    border-color 300ms ease;
}

.library-card:hover {
  border-color: rgba(185, 196, 255, 0.24);
  color: inherit;
  translate: 0 -3px;
}

.library-card .guide-topic {
  margin-bottom: 18px;
  color: var(--peri);
}

.library-card h3 {
  max-width: 28rem;
  margin-bottom: 11px;
  font-size: 1.3rem;
}

.library-card p {
  max-width: 31rem;
  color: var(--ink-dim);
  font-size: 0.94rem;
}

.library-card .guide-arrow {
  position: absolute;
  top: 28px;
  inset-inline-end: 26px;
  width: 20px;
  height: 20px;
  color: var(--peri);
}

/* Articles */

.article {
  position: relative;
  padding-top: 164px;
  overflow: hidden;
  isolation: isolate;
}

.read-progress {
  display: none;
}

.article-inner {
  max-width: 760px;
}

.breadcrumb {
  margin-bottom: 28px;
  color: var(--ink-faint);
  font-size: 0.875rem;
}

.breadcrumb a {
  color: var(--ink-muted);
}

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

.article h1 {
  margin-bottom: 28px;
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
}

.article .lead {
  max-width: none;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 1.6vw, 1.31rem);
}

.article-inner > .article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.875rem;
}

.article-meta::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dawn);
  box-shadow: 0 0 10px rgba(242, 196, 141, 0.6);
}

.article-inner > h2 {
  margin: 64px 0 18px;
  font-size: clamp(1.65rem, 2.6vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.article-inner > h3 {
  margin: 40px 0 12px;
  font-size: 1.3rem;
}

.article-inner > p,
.article-inner > ul,
.article-inner > ol {
  max-width: 700px;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.75;
}

.article-inner > ul,
.article-inner > ol {
  display: grid;
  gap: 12px;
  list-style: none;
}

.article-inner > ul > li {
  position: relative;
  padding-inline-start: 22px;
}

.article-inner > ul > li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.74em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--peri);
  box-shadow: 0 0 8px rgba(46, 91, 255, 0.6);
}

.article-inner > ol {
  gap: 16px;
  counter-reset: step;
}

.article-inner > ol > li {
  position: relative;
  min-height: 32px;
  padding-inline-start: 50px;
  counter-increment: step;
}

.article-inner > ol > li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0.1em;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(185, 196, 255, 0.28);
  border-radius: 50%;
  background: rgba(46, 91, 255, 0.1);
  color: var(--peri-pale);
  font-family: var(--serif);
  font-size: 1.06rem;
  font-style: italic;
  line-height: 1;
}

.article strong {
  color: var(--ink);
  font-weight: 600;
}

.article-inner > :is(p, ul, ol, .callout) a {
  color: var(--peri-soft);
  text-decoration: underline;
  text-decoration-color: rgba(185, 196, 255, 0.4);
  text-underline-offset: 3px;
}

.article-inner > :is(p, ul, ol, .callout) a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.callout {
  max-width: 700px;
  margin: 36px 0;
  padding: 28px 32px;
  border: 1px solid rgba(185, 196, 255, 0.16);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(46, 91, 255, 0.1), rgba(255, 255, 255, 0.015) 60%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 24px 60px rgba(0, 0, 0, 0.3);
}

.callout p {
  color: var(--peri-pale);
  font-size: 1.19rem;
  line-height: 1.65;
}

.article-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
  margin: 44px 0;
  padding: 40px 24px 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(60% 70% at 50% 35%, rgba(46, 91, 255, 0.2), transparent), var(--surface);
}

.article-figure .device {
  width: min(100%, 300px);
}

.article-figure figcaption {
  max-width: 460px;
  margin-top: 22px;
  color: var(--ink-dim);
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
}

.article-cta {
  position: relative;
  margin-top: 72px;
  padding: clamp(36px, 5vw, 56px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(185, 196, 255, 0.14);
  border-radius: 30px;
  background: var(--surface);
  text-align: center;
}

.article-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -160px;
  z-index: -1;
  width: 640px;
  height: 360px;
  margin-left: -320px;
  background: radial-gradient(closest-side, rgba(242, 196, 141, 0.18), transparent);
}

.article-cta::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border: 1px solid rgba(185, 196, 255, 0.07);
  border-radius: 50%;
}

.article-cta h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.article-cta p {
  max-width: 30rem;
  margin: 16px auto 0;
  color: var(--ink-muted);
  font-size: 1.06rem;
}

.article-store-row {
  justify-content: center;
  margin-top: 30px;
}

.related {
  margin-top: 72px;
  padding-bottom: clamp(80px, 9vw, 120px);
}

.related h2 {
  margin-bottom: 22px;
  color: #8f97a3;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.related ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  list-style: none;
}

.related a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  height: 100%;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  color: #e6e8ee;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.4;
  transition: border-color 250ms ease, background 250ms ease;
}

.related a:hover {
  border-color: rgba(185, 196, 255, 0.26);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

/* Language switcher (rendered only when more than one language is published) */

.lang-switch {
  position: relative;
}

.lang-switch summary {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.84rem;
  list-style: none;
}

.lang-switch ul {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(8, 11, 15, 0.96);
  list-style: none;
}

.lang-switch a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
}

.lang-switch a[aria-current] {
  background: rgba(185, 196, 255, 0.08);
  color: #fff;
}

/* Legal */

.legal {
  position: relative;
  padding: 164px 0 96px;
  overflow: hidden;
  isolation: isolate;
}

.legal-inner {
  max-width: 740px;
}

.legal h1 {
  margin-bottom: 14px;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
}

.legal .updated {
  margin-bottom: 44px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.875rem;
}

.legal h2 {
  margin: 48px 0 14px;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}

.legal p,
.legal ul {
  margin-bottom: 18px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.legal ul {
  margin-inline-start: 22px;
}

.legal li {
  margin-bottom: 8px;
}

.legal strong {
  color: var(--ink);
}

/* 404 */

.not-found {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.not-found-orbit {
  position: absolute;
  top: 50%;
  right: -8rem;
  z-index: -1;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: inset 0 0 120px rgba(46, 91, 255, 0.08), 0 0 90px rgba(46, 91, 255, 0.1);
  transform: translateY(-50%);
}

.not-found-orbit::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid var(--line);
  border-radius: inherit;
}

.not-found h1 {
  max-width: 11ch;
}

.not-found-inner > p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.not-found-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.not-found-actions .text-link {
  margin-top: 0;
}

/* Scroll reveal (site.js toggles the classes; without JavaScript everything stays visible) */

/* Zero specificity so cards can add their own hover transitions. */
:where(.reveal) {
  --delay: calc(var(--i, 0) * 90ms);
  transition: opacity 700ms ease var(--delay), transform 900ms var(--ease) var(--delay);
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(22px);
}

/* The carousel stays put; its screens rise in one after another. */
.screen-carousel.reveal-pending {
  opacity: 1;
  transform: none;
}

.screen-carousel.reveal-pending .screen-item {
  opacity: 0;
  transform: translateY(40px);
}

.screen-carousel.reveal-pending .carousel-button {
  opacity: 0;
}

.step.reveal-pending .step-line {
  transform: scaleX(0);
}

/* Motion */

@keyframes rise {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@keyframes drift {
  from {
    transform: scale(1.06) translate3d(-1%, 0, 0);
  }

  to {
    transform: scale(1.12) translate3d(1.5%, -1.2%, 0);
  }
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

@keyframes breathe {
  50% {
    opacity: 0.6;
    scale: 1.06;
  }
}

@keyframes float {
  50% {
    translate: 0 -12px;
  }
}

@keyframes progress {
  to {
    transform: scaleX(1);
  }
}

@keyframes read-in {
  to {
    background-position: 0 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .hero-line {
    animation: rise 1100ms var(--ease) both;
  }

  .hero-copy > h1 {
    animation: none;
  }

  .hero-line:first-child {
    animation-delay: 120ms;
  }

  .hero-line.accent {
    animation-delay: 260ms;
  }

  .hero-copy > .lead {
    animation-delay: 400ms;
  }

  .hero-copy > .store-row {
    animation-delay: 520ms;
  }

  .hero-copy > .hero-note {
    animation-delay: 620ms;
  }

  .hero-device {
    animation: rise 1300ms var(--ease) 300ms both;
  }

  .hero-art img {
    animation: drift 30s ease-in-out infinite alternate;
  }

  .hero-device .orbit-spin {
    animation: spin 40s linear infinite;
  }

  .cta-spin {
    animation: spin 90s linear infinite reverse;
  }

  .orbit-glow,
  .cta-glow {
    animation: breathe 8s ease-in-out infinite;
  }

  .hero-phone {
    animation: float 9s ease-in-out infinite;
  }

  @media (hover: hover) {
    .screen-item:hover .screen-media {
      box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.14),
        0 0 0 1px rgba(0, 0, 0, 0.6),
        0 40px 80px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(46, 91, 255, 0.18);
      translate: 0 -8px;
    }
  }

  /* Scroll-linked touches where the browser supports them; static elsewhere. */
  @supports (animation-timeline: view()) {
    .hook-quote {
      background: linear-gradient(90deg, var(--ink-soft) 50%, #6b7380 50%) 100% 0 / 200% 100% no-repeat;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: read-in linear both;
      animation-timeline: view();
      animation-range: cover 15% cover 50%;
    }
  }
}

@supports (animation-timeline: scroll()) {
  .read-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 110;
    display: block;
    height: 2px;
    background: linear-gradient(90deg, rgba(46, 91, 255, 0.8), var(--peri) 70%, var(--dawn));
    transform: scaleX(0);
    transform-origin: 0 50%;
    animation: progress linear both;
    animation-timeline: scroll(root);
  }
}

@supports selector(::details-content) {
  .faq-list details {
    interpolate-size: allow-keywords;
  }

  .faq-list details::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 450ms var(--ease), content-visibility 450ms allow-discrete;
  }

  .faq-list details[open]::details-content {
    block-size: auto;
  }
}

/* Responsive */

@media (max-width: 1080px) {
  .screen-carousel {
    --per-view: 3;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
    gap: 40px;
  }

  .steps,
  .guide-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(2n) .step-line {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-layout {
    gap: 56px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-inner > [data-store-aware] {
    display: none;
  }

  .mobile-menu-toggle {
    position: relative;
    display: inline-grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(185, 196, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
    color: var(--ink);
    cursor: pointer;
    transition: transform 520ms var(--ease), border-color 520ms var(--ease), background 520ms var(--ease);
  }

  .mobile-menu-toggle:hover {
    border-color: rgba(185, 196, 255, 0.3);
    background: rgba(255, 255, 255, 0.075);
  }

  .mobile-menu-toggle:active {
    transform: scale(0.96);
  }

  .mobile-menu-line {
    position: absolute;
    width: 18px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 620ms var(--ease), opacity 320ms var(--ease);
  }

  .mobile-menu-line:first-child {
    transform: translateY(-4px);
  }

  .mobile-menu-line:last-child {
    transform: translateY(4px);
  }

  .nav.menu-open .mobile-menu-line:first-child {
    transform: translateY(0) rotate(45deg);
  }

  .nav.menu-open .mobile-menu-line:last-child {
    transform: translateY(0) rotate(-45deg);
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    display: block;
    width: 100%;
    padding: 8px;
    visibility: hidden;
    border: 1px solid rgba(185, 196, 255, 0.13);
    border-radius: 24px;
    background: rgba(8, 11, 15, 0.94);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.055);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(24px) saturate(130%);
    -webkit-backdrop-filter: blur(24px) saturate(130%);
    transform: translateY(-12px) scale(0.985);
    transform-origin: 50% 0;
    transition: opacity 420ms var(--ease), transform 620ms var(--ease), visibility 0s step-end 620ms;
  }

  .nav.menu-open .mobile-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition: opacity 420ms var(--ease), transform 620ms var(--ease), visibility 0s step-start;
  }

  .mobile-menu-links {
    display: grid;
    gap: 2px;
  }

  .mobile-menu-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 11px 16px;
    border-radius: 16px;
    color: var(--ink-soft);
    font-size: 0.98rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(12px);
    transition: color 260ms var(--ease), background 420ms var(--ease), opacity 480ms var(--ease), transform 580ms var(--ease);
    transition-delay: 0s;
  }

  .mobile-menu-link:hover,
  .mobile-menu-link[aria-current="page"] {
    background: rgba(185, 196, 255, 0.07);
    color: #fff;
  }

  .nav.menu-open .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(70ms + var(--menu-index) * 48ms);
  }

  .mobile-menu-download {
    width: 100%;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(12px);
    transition: background 260ms var(--ease), box-shadow 520ms var(--ease), opacity 480ms var(--ease), transform 580ms var(--ease);
  }

  .nav.menu-open .mobile-menu-download {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(110ms + var(--menu-count) * 48ms);
  }

  .hero {
    --phone-w: clamp(220px, 34vw, 280px);
    min-height: 0;
    padding: 128px 0 72px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(6, 8, 12, 0.85) 0%, rgba(6, 8, 12, 0.6) 50%, rgba(6, 8, 12, 0.4) 75%, var(--bg) 100%),
      linear-gradient(90deg, rgba(6, 8, 12, 0.4), rgba(6, 8, 12, 0.1));
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 72px;
  }

  .hero-copy {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 8.6vw, 3.9rem);
  }

  .hero .lead {
    margin-inline: auto;
  }

  .hero .store-row {
    justify-content: center;
  }

  .hero-note {
    display: block;
  }

  .hero-note .icon {
    display: inline-block;
    margin-inline-end: 6px;
    vertical-align: -3px;
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .faq-layout .section-head {
    position: static;
  }

  .library-group-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

@media (max-width: 760px) {
  .screen-carousel {
    --per-view: 2;
  }

  .carousel-prev {
    inset-inline-start: -14px;
  }

  .carousel-next {
    inset-inline-end: -14px;
  }

  .nav {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-inner {
    height: 60px;
  }

  .hook-inner::before {
    height: 48px;
    margin-bottom: 32px;
  }

  .steps,
  .feature-grid,
  .guide-groups,
  .library-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-line {
    display: none;
  }

  .feature {
    padding: 26px 24px 28px;
  }

  .faq-list .answer {
    padding-inline-end: 0;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guides-hero {
    padding: 144px 0 72px;
  }

  .guide-library {
    padding: 80px 0;
  }

  .library-group + .library-group {
    margin-top: 84px;
  }

  .library-card {
    min-height: 0;
    padding: 24px 56px 26px 22px;
  }

  .article,
  .legal {
    padding-top: 128px;
  }

  .callout {
    padding: 22px 22px;
  }

  .article-figure {
    padding: 32px 16px 24px;
  }
}

/* Phones: one screenshot at a time, arrows beside it. */
@media (max-width: 560px) {
  .screen-carousel {
    --per-view: 1;
    --shot-max: min(250px, 100cqi - 112px);
  }

  .screen-item {
    scroll-snap-stop: always;
  }

  .screen-item figcaption {
    width: min(100%, 330px);
    text-align: center;
  }

  .carousel-button {
    width: 44px;
    height: 44px;
  }

  .carousel-prev {
    inset-inline-start: 0;
  }

  .carousel-next {
    inset-inline-end: 0;
  }
}

@media (max-width: 500px) {
  .store-row {
    gap: 8px;
  }

  .store-badge,
  .store-badge img {
    height: 43px;
  }

  .hero-eyebrow {
    padding: 6px 12px 6px 10px;
    font-size: 0.72rem;
    letter-spacing: 0;
  }

  .hero-note {
    font-size: 0.82rem;
  }

  .article-cta {
    padding-inline: 18px;
  }

  .footer-bottom,
  .not-found-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-inner > p,
  .article-inner > ul,
  .article-inner > ol {
    font-size: 1.06rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .reveal.reveal-pending,
  .screen-carousel.reveal-pending .screen-item,
  .screen-carousel.reveal-pending .carousel-button {
    opacity: 1;
    transform: none;
  }

  .step.reveal-pending .step-line {
    transform: none;
  }
}

/* Locale typography: right-to-left layout, and scripts where tracking, caps and italics would break the text. */

[dir="rtl"] .icon.guide-arrow,
[dir="rtl"] .btn .icon,
[dir="rtl"] .pill-link .icon {
  scale: -1 1;
}

[dir="rtl"] .guide-link:hover .guide-arrow,
[dir="rtl"] .library-card:hover .guide-arrow,
[dir="rtl"] .related a:hover .guide-arrow {
  translate: -4px 0;
}

:lang(ar), :lang(fa), :lang(ur), :lang(he), :lang(am), :lang(hi), :lang(bn), :lang(gu), :lang(kn), :lang(ml),
:lang(mr), :lang(ne), :lang(or), :lang(pa), :lang(si), :lang(ta), :lang(te), :lang(th), :lang(lo), :lang(km),
:lang(my), :lang(ka), :lang(hy), :lang(ja), :lang(zh), :lang(ko) {
  --serif: var(--font);
}

:lang(ar) *, :lang(fa) *, :lang(ur) *, :lang(he) *, :lang(am) *, :lang(hi) *, :lang(bn) *, :lang(gu) *,
:lang(kn) *, :lang(ml) *, :lang(mr) *, :lang(ne) *, :lang(or) *, :lang(pa) *, :lang(si) *, :lang(ta) *,
:lang(te) *, :lang(th) *, :lang(lo) *, :lang(km) *, :lang(my) *, :lang(ka) *, :lang(hy) *, :lang(ja) *,
:lang(zh) *, :lang(ko) * {
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-style: normal !important;
}

:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(fa) h1, :lang(fa) h2, :lang(fa) h3, :lang(ur) h1, :lang(ur) h2,
:lang(ur) h3, :lang(he) h1, :lang(he) h2, :lang(he) h3, :lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(bn) h1,
:lang(bn) h2, :lang(bn) h3, :lang(gu) h1, :lang(gu) h2, :lang(gu) h3, :lang(kn) h1, :lang(kn) h2, :lang(kn) h3,
:lang(ml) h1, :lang(ml) h2, :lang(ml) h3, :lang(mr) h1, :lang(mr) h2, :lang(mr) h3, :lang(ne) h1, :lang(ne) h2,
:lang(ne) h3, :lang(or) h1, :lang(or) h2, :lang(or) h3, :lang(pa) h1, :lang(pa) h2, :lang(pa) h3, :lang(si) h1,
:lang(si) h2, :lang(si) h3, :lang(ta) h1, :lang(ta) h2, :lang(ta) h3, :lang(te) h1, :lang(te) h2, :lang(te) h3,
:lang(th) h1, :lang(th) h2, :lang(th) h3, :lang(lo) h1, :lang(lo) h2, :lang(lo) h3, :lang(km) h1, :lang(km) h2,
:lang(km) h3, :lang(my) h1, :lang(my) h2, :lang(my) h3, :lang(am) h1, :lang(am) h2, :lang(am) h3 {
  line-height: 1.35;
}

h1, h2, h3, h4, p, li, summary, dt, dd, figcaption {
  overflow-wrap: anywhere;
}

.brand {
  flex-shrink: 0;
}

.lang-switch summary {
  max-width: 44vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

footer a {
  overflow-wrap: anywhere;
}
