:root {
  color-scheme: dark;
  --bg: #080707;
  --bg-top: #161012;
  --surface: rgba(21, 15, 17, 0.84);
  --surface-strong: rgba(31, 20, 23, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.06);
  --text: #fbf4e8;
  --muted: #d8c8b5;
  --muted-strong: #eadfce;
  --border: rgba(255, 231, 181, 0.14);
  --red: #cf2546;
  --gold: #f2c743;
  --blue: #3e98e5;
  --green: #3bab58;
  --white-glow: rgba(255, 249, 240, 0.86);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Trebuchet MS", "Gill Sans", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(242, 199, 67, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(62, 152, 229, 0.16), transparent 28%),
    radial-gradient(circle at 50% 20%, rgba(58, 171, 88, 0.14), transparent 22%),
    radial-gradient(circle at 50% 120%, rgba(207, 37, 70, 0.14), transparent 30%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 52%, #040303 100%);
}

body.menu-open {
  overflow: hidden;
}

main {
  display: grid;
  gap: 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

a.inline-link {
  color: var(--muted-strong);
  text-decoration: underline;
  text-decoration-color: rgba(255, 244, 219, 0.42);
  text-underline-offset: 0.15em;
}

a.inline-link:focus-visible {
  outline: none;
  color: var(--text);
  text-decoration-color: rgba(255, 217, 114, 0.9);
}

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

.shell {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(12, 10, 11, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--green) 0 45%, rgba(255, 255, 255, 0.72) 46% 57%, rgba(78, 49, 36, 0.95) 58% 72%, transparent 73%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0 3px, transparent 3px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.32),
    0 0 30px rgba(242, 199, 67, 0.18);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 12px;
  background: var(--red);
  box-shadow:
    inset 0 0 0 4px rgba(8, 7, 7, 0.9),
    inset 0 0 0 10px rgba(0, 0, 0, 0);
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong {
  display: block;
  margin-bottom: 2px;
  font-family: "Avenir Next Condensed", "Avenir Next", "Trebuchet MS", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-backdrop {
  display: none;
}

.nav-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 217, 114, 0.28);
}

.nav-toggle-text {
  font-size: 0.92rem;
}

.nav-toggle-text-close {
  display: none;
}

.nav-toggle-icon {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow:
    0 -5px 0 currentColor,
    0 5px 0 currentColor;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  transition: 0.18s ease;
}

.nav a.active,
.nav a:hover {
  color: var(--text);
  border-color: var(--border);
  background: var(--surface-soft);
}

.nav a:focus-visible {
  outline: none;
  border-color: rgba(255, 217, 114, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero,
.section,
.callout,
.card,
.footer {
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.92fr);
  gap: 24px;
  padding: 32px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card,
.card,
.section {
  padding: 24px;
}

.hero-card {
  border-radius: 26px;
  border: 1px solid rgba(255, 224, 161, 0.18);
  background:
    radial-gradient(circle at top left, rgba(58, 171, 88, 0.22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(207, 37, 70, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(39, 26, 27, 0.9), rgba(18, 14, 16, 0.9));
}

.eyebrow,
.release-label {
  margin: 0 0 12px;
  color: #ffd972;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.08;
  font-family: "Avenir Next Condensed", "Avenir Next", "Trebuchet MS", sans-serif;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(1.65rem, 2.2vw, 2.35rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.14rem;
  letter-spacing: -0.02em;
}

p,
li {
  color: var(--muted);
}

p {
  margin: 0 0 16px;
}

strong {
  color: var(--text);
}

ul,
ol {
  margin: 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 8px;
}

.lede {
  font-size: 1.08rem;
  max-width: 48rem;
}

.small {
  font-size: 0.94rem;
}

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

.cta-note {
  max-width: 40rem;
}

.hero-badges,
.button-row,
.meta-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge,
.pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.92rem;
}

.pill {
  background: rgba(255, 255, 255, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 700;
  transition: 0.18s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--gold) 0%, #e09d2f 100%);
  border-color: transparent;
  color: #1b1207;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.button:hover {
  transform: translateY(-1px);
}

.app-store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: 0.18s ease;
}

.app-store-badge-link:hover {
  transform: translateY(-1px);
}

.app-store-badge-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 217, 114, 0.28);
}

.app-store-badge {
  width: min(240px, 100%);
  height: auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.trust-card {
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 217, 114, 0.6), rgba(255, 255, 255, 0.12), transparent);
}

.trust-stat {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-family: "Avenir Next Condensed", "Avenir Next", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.trust-detail {
  margin-top: 10px;
  font-size: 0.92rem;
}

.trust-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.trust-pill {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.trust-pill strong {
  display: block;
  margin-bottom: 4px;
  color: #fff5d3;
}

.app-store-proof {
  display: grid;
  gap: 18px;
}

.app-store-proof-main {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 18px;
}

.app-store-proof-panel {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 22px 24px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(10, 8, 9, 0.94);
  box-shadow: var(--shadow);
}

.app-store-proof-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 217, 114, 0.64), rgba(62, 152, 229, 0.26), transparent);
}

.app-store-proof-kicker,
.app-store-proof-label {
  margin: 0;
  color: #ffe39c;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-store-proof-panel h3 {
  margin-bottom: 0;
}

.app-store-proof-panel p:last-of-type,
.app-store-proof-panel blockquote:last-of-type {
  margin-bottom: 0;
}

.app-store-proof-quote {
  margin: 0;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 217, 114, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff1cb;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.app-store-proof-verified {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.app-store-proof-stack {
  display: grid;
  gap: 12px;
}

.app-store-proof-statline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
}

.app-store-proof-statline strong {
  color: #fff3c8;
  font-size: 1rem;
}

.app-store-proof-statline span {
  color: var(--muted);
  font-size: 0.92rem;
}

.app-store-proof-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.app-store-proof-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 100%;
  padding: 18px 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(11, 8, 9, 0.95);
}

.app-store-proof-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 217, 114, 0.55), rgba(255, 255, 255, 0.14), transparent);
}

.app-store-proof-stat {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-family: "Avenir Next Condensed", "Avenir Next", "Trebuchet MS", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.app-store-proof-card h3 {
  margin-bottom: 0;
  font-size: 1.02rem;
}

.app-store-proof-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.button:focus-visible,
.chip-button:focus-visible,
.search-input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 217, 114, 0.28);
}

.search-panel {
  display: grid;
  gap: 18px;
}

.search-panel .button-row {
  align-items: center;
}

.search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: 18px;
}

.search-field {
  display: grid;
  gap: 10px;
}

.search-field label,
.search-label {
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-input {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
}

.search-input::placeholder {
  color: rgba(251, 244, 232, 0.54);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s ease;
}

.chip-button[aria-pressed="true"],
.chip-button:hover {
  color: var(--text);
  border-color: rgba(255, 217, 114, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.glossary-status {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.glossary-result-meta {
  margin: 0;
}

.glossary-empty {
  margin: 0;
  color: var(--muted-strong);
}

.intent-grid,
.learning-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.intent-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.intent-breadcrumbs a {
  color: var(--muted);
}

.intent-breadcrumbs a:hover {
  color: var(--text);
}

.intent-breadcrumbs-separator {
  color: rgba(255, 255, 255, 0.28);
}

.intent-breadcrumbs-current {
  color: var(--text);
  font-weight: 700;
}

.intent-strip {
  display: grid;
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(13, 10, 11, 0.92);
}

.intent-strip-label {
  margin: 0;
  color: #ffe39c;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intent-strip-copy {
  margin: 0;
  color: var(--muted);
  max-width: 48rem;
}

.intent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intent-link.is-current,
.intent-link[aria-current="page"] {
  border-color: rgba(255, 217, 114, 0.34);
  background: rgba(255, 217, 114, 0.12);
  color: #fff4ca;
  box-shadow: inset 0 0 0 1px rgba(255, 217, 114, 0.12);
}

.annual-handoff {
  background:
    radial-gradient(circle at top left, rgba(255, 217, 114, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(34, 23, 25, 0.94), rgba(13, 10, 11, 0.98));
}

.annual-visual-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  gap: 18px;
  margin-bottom: 20px;
}

.annual-visual-figure,
.annual-visual-copy {
  position: relative;
  min-height: 100%;
  padding: 20px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(10, 8, 9, 0.94);
  box-shadow: var(--shadow);
}

.annual-visual-figure {
  margin: 0;
  overflow: hidden;
}

.annual-visual-figure::before,
.annual-visual-copy::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 217, 114, 0.64), rgba(62, 152, 229, 0.26), transparent);
}

.annual-visual-image {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.annual-visual-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.annual-visual-label {
  margin: 0;
  color: #ffe39c;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.annual-visual-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.annual-visual-copy h3 {
  margin-bottom: 0;
}

.annual-visual-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.annual-handoff-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.annual-handoff-rail::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 38px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 217, 114, 0.18), rgba(255, 217, 114, 0.58), rgba(62, 152, 229, 0.34));
  pointer-events: none;
}

.annual-step {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 100%;
  padding: 18px 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(10, 8, 9, 0.94);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.annual-step:hover,
.annual-step:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 217, 114, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 217, 114, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(10, 8, 9, 0.96);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.annual-step.is-current,
.annual-step[aria-current="page"] {
  border-color: rgba(255, 217, 114, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 217, 114, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(10, 8, 9, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 217, 114, 0.12),
    0 24px 48px rgba(0, 0, 0, 0.28);
}

.annual-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 217, 114, 0.28);
  background: rgba(255, 217, 114, 0.12);
  color: #fff1be;
  font-size: 0.95rem;
  font-weight: 900;
}

.annual-step-meta {
  color: #ffe39c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.annual-step h3 {
  margin-bottom: 0;
}

.annual-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.annual-step-compact {
  min-height: auto;
}

.annual-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.annual-topic-card {
  position: relative;
  overflow: hidden;
}

.annual-topic-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 217, 114, 0.62), rgba(62, 152, 229, 0.22), transparent);
}

.learn-rail {
  display: grid;
  gap: 18px;
}

.learn-rail-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.learn-rail-step {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(12, 9, 10, 0.94);
  box-shadow: var(--shadow);
}

.learn-rail-step::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 217, 114, 0.58), rgba(62, 152, 229, 0.22), transparent);
}

.learn-rail-step-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 217, 114, 0.24);
  background: rgba(255, 217, 114, 0.1);
  color: #fff0be;
  font-weight: 800;
}

.learn-rail-step h3 {
  margin-bottom: 0;
}

.learn-rail-step p:last-of-type {
  margin-bottom: 0;
}

.what-people-mean {
  background:
    radial-gradient(circle at right top, rgba(255, 217, 114, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(21, 15, 17, 0.96), rgba(11, 8, 9, 0.98));
}

.meaning-card {
  position: relative;
  overflow: hidden;
}

.meaning-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 217, 114, 0.58), rgba(255, 255, 255, 0.14), transparent);
}

.meaning-card p {
  font-weight: 600;
  color: #fff0d6;
}

.formula-diagram {
  display: grid;
  gap: 18px;
}

.formula-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.formula-card,
.formula-symbol {
  display: grid;
  place-items: center;
  min-height: 126px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.formula-card strong {
  display: block;
  margin-bottom: 6px;
  color: #fff4d1;
}

.formula-symbol {
  min-width: 72px;
  color: #ffe39c;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 900;
}

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

.concept-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.concept-card {
  position: relative;
  overflow: hidden;
}

.concept-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(62, 152, 229, 0.4), rgba(255, 217, 114, 0.42), transparent);
}

.concept-card h3 {
  margin-bottom: 8px;
}

.concept-meta {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(62, 152, 229, 0.24);
  background: rgba(62, 152, 229, 0.1);
  color: #c7e4ff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 700;
}

.archive-grid {
  display: grid;
  gap: 18px;
}

.archive-entry {
  position: relative;
  display: grid;
  gap: 12px;
}

.archive-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.archive-chip {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 217, 114, 0.2);
  background: rgba(255, 217, 114, 0.08);
  color: #ffe39c;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-annual-links .button {
  flex: 1 1 140px;
}

.screenshot-lightbox-trigger {
  position: relative;
  display: grid;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.screenshot-lightbox-trigger picture {
  display: grid;
  place-items: center;
}

.screenshot-lightbox-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 217, 114, 0.28);
  border-radius: 28px;
}

.screenshot-zoom-chip {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 7, 7, 0.76);
  color: #fff7da;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.screenshot-lightbox-trigger:hover .screenshot-zoom-chip,
.screenshot-lightbox-trigger:focus-visible .screenshot-zoom-chip {
  opacity: 1;
  transform: translateY(0);
}

.lightbox-dialog {
  width: min(1120px, calc(100vw - 32px));
  max-width: 1120px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(10, 8, 9, 0.98);
  color: var(--text);
}

.lightbox-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.lightbox-shell {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.lightbox-close {
  justify-self: end;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lightbox-media {
  display: grid;
  place-items: center;
  max-height: 72vh;
  overflow: auto;
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(242, 199, 67, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(29, 20, 22, 0.9), rgba(9, 7, 8, 0.98));
}

.lightbox-image {
  width: auto;
  max-width: 100%;
  max-height: 72vh;
  height: auto;
  border-radius: 20px;
}

.lightbox-copy {
  display: grid;
  gap: 6px;
}

.lightbox-title {
  margin: 0;
  color: #fff5d1;
  font-size: 1.05rem;
  font-weight: 800;
}

.lightbox-description {
  margin: 0;
  color: var(--muted);
}

.related-searches {
  gap: 16px;
}

.related-searches-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-search-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 140ms ease;
}

.related-search-link:hover,
.related-search-link:focus-visible {
  border-color: rgba(255, 217, 114, 0.32);
  background: rgba(255, 217, 114, 0.1);
  color: #fff4ca;
  transform: translateY(-1px);
}

.learning-card {
  position: relative;
  overflow: hidden;
}

.learning-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 217, 114, 0.65), rgba(62, 152, 229, 0.3), transparent);
}

.learning-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 217, 114, 0.18);
  background: rgba(255, 217, 114, 0.08);
  color: #ffe39c;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.learning-card p:last-of-type {
  margin-bottom: 18px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 217, 114, 0.4), rgba(62, 152, 229, 0.2));
}

.timeline-entry {
  position: relative;
  padding-left: 24px;
}

.timeline-entry::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 217, 114, 0.55);
  background: #140f10;
  box-shadow: 0 0 0 6px rgba(255, 217, 114, 0.06);
}

.timeline-date {
  display: block;
  margin-bottom: 8px;
  color: #ffe39c;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section,
.callout,
.footer {
  padding: 24px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-header > * {
  flex: 1 1 0;
}

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

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

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

.span-5 {
  grid-column: span 5;
}

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

.span-7 {
  grid-column: span 7;
}

.span-8 {
  grid-column: span 8;
}

.card {
  background: var(--surface-strong);
  height: 100%;
}

.card p:last-child,
.hero-card p:last-child,
.callout p:last-child,
.meta-item p:last-child {
  margin-bottom: 0;
}

.meta-list {
  display: grid;
  gap: 12px;
}

.meta-item {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.meta-item strong {
  display: block;
  margin-bottom: 4px;
}

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

.screenshot-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: rgba(10, 8, 9, 0.92);
  box-shadow: var(--shadow);
}

.screenshot-card-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  grid-template-rows: none;
}

.screenshot-card-featured .screenshot-frame {
  min-height: clamp(360px, 38vw, 520px);
}

.screenshot-card-featured .screenshot-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.screenshot-frame {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: clamp(420px, 52vw, 720px);
  padding: 18px;
  background:
    radial-gradient(circle at top, rgba(242, 199, 67, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(29, 20, 22, 0.9), rgba(9, 7, 8, 0.98));
}

.screenshot-frame img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 24px;
}

.screenshot-frame-curated img {
  max-height: clamp(380px, 56vw, 760px);
  object-fit: contain;
  object-position: center top;
}

.screenshot-frame-tablet {
  min-height: clamp(320px, 34vw, 480px);
}

.screenshot-frame-tablet img {
  max-height: clamp(260px, 28vw, 420px);
}

.screenshot-meta {
  padding: 18px;
}

.device-chip {
  display: inline-flex;
  padding: 6px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(62, 152, 229, 0.14);
  border: 1px solid rgba(62, 152, 229, 0.26);
  color: #b9dbff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-list {
  display: grid;
  gap: 12px;
}

.detail-item {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.detail-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd972;
}

.term-grid {
  align-items: stretch;
}

.term-card {
  position: relative;
  padding-top: 54px;
}

.term-index {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 800;
}

.term-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.term-red {
  background: rgba(207, 37, 70, 0.16);
  border-color: rgba(207, 37, 70, 0.26);
  color: #ffc4d0;
}

.term-white {
  background: rgba(255, 249, 240, 0.12);
  border-color: rgba(255, 249, 240, 0.2);
  color: #fff4df;
}

.term-blue {
  background: rgba(62, 152, 229, 0.16);
  border-color: rgba(62, 152, 229, 0.26);
  color: #b9dbff;
}

.term-yellow {
  background: rgba(242, 199, 67, 0.16);
  border-color: rgba(242, 199, 67, 0.26);
  color: #ffe28f;
}

.callout {
  background:
    radial-gradient(circle at right top, rgba(62, 152, 229, 0.18), transparent 30%),
    radial-gradient(circle at left bottom, rgba(58, 171, 88, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(34, 23, 25, 0.96), rgba(15, 11, 12, 0.98));
}

.footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.footer-block {
  min-width: 0;
}

.footer-title {
  margin: 0 0 12px;
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-note {
  max-width: 28rem;
}

.footer-link {
  color: var(--muted-strong);
  text-decoration: underline;
  text-decoration-color: rgba(255, 244, 219, 0.42);
  text-underline-offset: 0.15em;
}

@media (min-width: 1180px) {
  .shell {
    width: min(1320px, calc(100% - 56px));
    padding-bottom: 96px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 430px);
    gap: 32px;
    padding: 40px;
  }

  .page-home .hero-home h1 {
    max-width: 13ch;
  }

  .page-home .home-highlights {
    gap: 20px;
  }

  .page-home .section-screenshots .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .page-home .callout-learning {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) auto;
    align-items: end;
    gap: 24px;
  }

  .page-home .callout-learning .button-row {
    justify-content: flex-end;
    align-self: end;
  }

  .page-home .callout-support {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) auto;
    align-items: end;
    gap: 24px;
  }

  .page-home .callout-support .button-row {
    justify-content: flex-end;
    align-self: end;
  }

  .page-get-app .callout-launch {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) auto;
    align-items: end;
    gap: 24px;
  }

  .page-get-app .callout-launch .button-row {
    justify-content: flex-end;
    align-self: end;
  }

  .footer {
    grid-template-columns: 1.2fr 0.85fr 0.95fr 1.1fr;
    align-items: start;
  }
}

@media (max-width: 980px) {
  .section-header,
  .footer {
    grid-template-columns: 1fr;
  }

  .section-header {
    display: grid;
  }

  .annual-handoff-rail {
    grid-template-columns: 1fr;
  }

  .annual-topic-grid,
  .learn-rail-track,
  .formula-row,
  .formula-note-grid,
  .trust-rail,
  .app-store-proof-metrics {
    grid-template-columns: 1fr;
  }

  .annual-visual-layout,
  .app-store-proof-main {
    grid-template-columns: 1fr;
  }

  .annual-handoff-rail::before {
    left: 19px;
    right: auto;
    top: 26px;
    bottom: 26px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(255, 217, 114, 0.22), rgba(255, 217, 114, 0.5), rgba(62, 152, 229, 0.28));
  }

  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    position: sticky;
    overflow: visible;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    justify-self: end;
  }

  .topbar .nav {
    display: flex;
    grid-column: 1 / -1;
    margin-top: 0;
    padding-top: 0;
    border-top: 0 solid transparent;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      margin-top 0.18s ease,
      padding-top 0.18s ease,
      border-top-width 0.18s ease,
      max-height 0.18s ease,
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s ease;
  }

  .topbar .nav a {
    width: 100%;
    border-radius: 18px;
  }

  .nav-toggle-input:checked + .nav-toggle {
    border-color: var(--border);
    background: var(--surface-soft);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  }

  .nav-toggle-input:checked + .nav-toggle .nav-toggle-text-menu {
    display: none;
  }

  .nav-toggle-input:checked + .nav-toggle .nav-toggle-text-close {
    display: inline;
  }

  .nav-toggle-input:checked ~ .nav {
    margin-top: 8px;
    padding-top: 10px;
    border-top-width: 1px;
    max-height: 520px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .footer {
    display: grid;
  }

  .page-home .callout-learning,
  .page-home .callout-support,
  .page-get-app .callout-launch {
    grid-template-columns: 1fr;
  }

  .page-home .callout-learning .button-row,
  .page-home .callout-support .button-row,
  .page-get-app .callout-launch .button-row {
    justify-content: flex-start;
  }

  .search-layout {
    grid-template-columns: 1fr;
  }

  .span-4,
  .span-3,
  .span-5,
  .span-6,
  .span-7,
  .span-8 {
    grid-column: span 12;
  }

  .formula-symbol {
    min-height: 72px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100%, calc(100% - 20px));
    padding-top: 10px;
  }

  .topbar,
  .hero,
  .section,
  .callout,
  .footer,
  .card {
    border-radius: 24px;
  }

  .topbar,
  .hero,
  .section,
  .callout,
  .footer {
    padding: 20px;
  }

  .topbar > .brand,
  .topbar > .nav-toggle,
  .topbar > .nav {
    position: relative;
    z-index: 1;
  }

  .topbar .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin-top: 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(12, 10, 11, 0.97);
    backdrop-filter: blur(24px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    gap: 10px;
    max-height: min(520px, calc(100vh - 120px));
    overflow: auto;
    z-index: 3;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    display: block;
    background: rgba(3, 3, 4, 0.64);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    z-index: 0;
  }

  .nav-toggle-input:checked ~ .nav {
    margin-top: 0;
    padding-top: 16px;
    border-top-width: 1px;
    transform: translateY(0);
  }

  .nav-toggle-input:checked ~ .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a,
  .button {
    width: 100%;
  }

  .intent-links .button {
    justify-content: flex-start;
  }

  .button-row {
    width: 100%;
  }

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

  .annual-visual-figure,
  .annual-visual-copy,
  .app-store-proof-panel,
  .app-store-proof-card {
    padding: 18px;
  }

  .screenshot-card-featured {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .screenshot-frame {
    min-height: auto;
  }

  .screenshot-frame-curated img,
  .screenshot-frame-tablet img {
    max-height: none;
  }

  .chip-row,
  .glossary-status {
    align-items: stretch;
  }

  .chip-button {
    width: 100%;
  }
}
