:root {
  --navy: #0C2B4E;
  --navy-2: #1A3D64;
  --teal: #1D546C;
  --paper: #F4F4F4;
  --white: #ffffff;
  --ink: #0C2B4E;
  --ink-rgb: 12, 43, 78;
  --muted: rgba(12, 43, 78, 0.72);
  --bg: #F4F4F4;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --border: rgba(12, 43, 78, 0.14);
  --border-strong: rgba(12, 43, 78, 0.24);
  --accent: #1D546C;
  --accent-2: #38bdf8;
  --aqua: #32d6c3;
  --gold: #fbbf24;
  --rose: #fb7185;
  --shadow: 0 22px 70px rgba(12, 43, 78, 0.16);
  --shadow-soft: 0 16px 42px rgba(12, 43, 78, 0.12);
  --radius: 24px;
  --radius-lg: 32px;
  --pill: 999px;
  --focus: 0 0 0 4px rgba(29, 84, 108, 0.24);
  --header-h: 74px;
}

html[data-theme="dark"] {
  --bg: #071827;
  --surface: rgba(10, 32, 52, 0.78);
  --surface-strong: rgba(12, 45, 72, 0.96);
  --ink: #F4F4F4;
  --ink-rgb: 244, 244, 244;
  --muted: rgba(244, 244, 244, 0.72);
  --border: rgba(244, 244, 244, 0.14);
  --border-strong: rgba(244, 244, 244, 0.24);
  --accent: #60a5fa;
  --accent-2: #34d399;
  --shadow: 0 24px 76px rgba(0, 0, 0, 0.52);
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.40);
  --focus: 0 0 0 4px rgba(96, 165, 250, 0.28);
}

html[data-contrast="high"] {
  --bg: #000;
  --surface: #000;
  --surface-strong: #000;
  --ink: #fff;
  --ink-rgb: 255, 255, 255;
  --muted: #fff;
  --border: #fff;
  --border-strong: #fff;
  --accent: #fff;
  --accent-2: #fff;
  --aqua: #fff;
  --gold: #fff;
  --rose: #fff;
  --shadow: none;
  --shadow-soft: none;
  --focus: 0 0 0 4px #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(56, 189, 248, 0.22), transparent 36rem),
    radial-gradient(circle at 88% 14%, rgba(50, 214, 195, 0.18), transparent 34rem),
    radial-gradient(circle at 10% 88%, rgba(251, 113, 133, 0.12), transparent 30rem),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 12% 8%, rgba(96, 165, 250, 0.18), transparent 36rem),
    radial-gradient(circle at 88% 14%, rgba(52, 211, 153, 0.12), transparent 34rem),
    radial-gradient(circle at 10% 88%, rgba(167, 139, 250, 0.12), transparent 30rem),
    var(--bg);
}

html[data-contrast="high"] body {
  background: #000;
}

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

a {
  color: inherit;
}

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

button:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(244, 244, 244, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

html[data-theme="dark"] .site-header {
  background: rgba(7, 24, 39, 0.72);
}

html[data-contrast="high"] .site-header {
  background: #000;
  border-bottom-color: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 14px 38px rgba(12, 43, 78, 0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(12, 43, 78, 0.20);
}

html[data-theme="dark"] .brand-mark,
html[data-contrast="high"] .brand-mark {
  color: #000;
  background: #fff;
  box-shadow: none;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.96rem;
  font-weight: 900;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.42);
  min-width: 0;
}

html[data-theme="dark"] .nav {
  background: rgba(255, 255, 255, 0.06);
}

.nav a {
  padding: 8px 12px;
  border-radius: var(--pill);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav a:hover {
  background: rgba(var(--ink-rgb), 0.08);
  color: var(--ink);
  transform: translateY(-1px);
}

.header-actions {
  display: inline-flex;
  gap: 8px;
  flex: 0 0 auto;
}

.icon-button {
  width: 44px;
  height: 44px;
  border-radius: var(--pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.46);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  position: relative;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

html[data-theme="dark"] .icon-button {
  background: rgba(255, 255, 255, 0.07);
}

.icon-button:hover {
  transform: translateY(-1px);
  background: rgba(var(--ink-rgb), 0.08);
}

.icon-button[aria-pressed="true"] {
  border-color: rgba(29, 84, 108, 0.40);
  background: rgba(29, 84, 108, 0.12);
}

html[data-contrast="high"] .icon-button,
html[data-contrast="high"] .nav {
  background: #000;
  border: 2px solid #fff;
}

.theme-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 140ms ease, transform 140ms ease;
}

.ui-icon {
  width: 19px;
  height: 19px;
  display: block;
  color: currentColor;
}

html[data-theme="light"] .theme-moon,
html[data-theme="dark"] .theme-sun {
  opacity: 0;
  transform: scale(0.88);
}

.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(42px, 6vw, 80px);
}

.hero-grid,
.split-grid,
.two-column,
.subtitle-grid,
.help-grid {
  display: grid;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
}

.split-grid,
.two-column,
.help-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.subtitle-grid {
  grid-template-columns: 0.9fr 0.8fr;
  grid-template-areas:
    "copy steps"
    "image image";
}

.subtitle-grid .section-copy {
  grid-area: copy;
}

.subtitle-grid .instruction-panel {
  grid-area: steps;
}

.subtitle-grid .media-card {
  grid-area: image;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.eyebrow-light {
  color: #bae6fd;
}

html[data-contrast="high"] .eyebrow-light {
  color: #fff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.35rem, 6vw, 5.15rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.55rem);
  font-weight: 900;
}

h3 {
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  margin: 14px 0 0;
}

.hero-lead {
  max-width: 680px;
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--pill);
  border: 1px solid var(--border);
  font-weight: 900;
  font-size: 0.94rem;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: 0 18px 38px rgba(12, 43, 78, 0.24);
}

html[data-theme="dark"] .btn-primary {
  color: #04101b;
  background: linear-gradient(135deg, #60a5fa, #34d399);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
}

html[data-theme="dark"] .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
}

.btn-light {
  background: #fff;
  color: #0C2B4E;
}

html[data-contrast="high"] .btn,
html[data-contrast="high"] .btn-primary,
html[data-contrast="high"] .btn-secondary,
html[data-contrast="high"] .btn-light {
  color: #fff;
  background: #000;
  border: 2px solid #fff;
  box-shadow: none;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 8px 12px;
  border-radius: var(--pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.46);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

html[data-theme="dark"] .trust-list li {
  background: rgba(255, 255, 255, 0.07);
}

.hero-media,
.media-card {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.96));
  box-shadow: var(--shadow);
  padding: 12px;
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] .hero-media,
html[data-theme="dark"] .media-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

html[data-contrast="high"] .hero-media,
html[data-contrast="high"] .media-card {
  background: #000;
  border: 2px solid #fff;
}

.hero-media::before,
.media-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(56, 189, 248, 0.18), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(50, 214, 195, 0.14), transparent 34%);
  opacity: 0.8;
}

html[data-contrast="high"] .hero-media::before,
html[data-contrast="high"] .media-card::before {
  display: none;
}

.responsive-picture {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 10px);
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(circle at 22% 18%, rgba(56, 189, 248, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(12, 43, 78, 0.08), rgba(29, 84, 108, 0.10));
  border: 1px solid var(--border);
}

.responsive-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.responsive-picture[data-zoom-webp],
.responsive-picture[data-zoom-jpg] {
  cursor: grab;
  touch-action: auto;
  user-select: none;
}

.responsive-picture[data-zoom-webp]:active,
.responsive-picture[data-zoom-jpg]:active,
.responsive-picture[data-zoom-webp].is-dragging,
.responsive-picture[data-zoom-jpg].is-dragging {
  cursor: grabbing;
}

.responsive-picture[data-zoom-webp].is-zoomed,
.responsive-picture[data-zoom-jpg].is-zoomed,
.responsive-picture[data-zoom-webp].is-pinching,
.responsive-picture[data-zoom-jpg].is-pinching {
  touch-action: none;
}

.responsive-picture[data-zoom-webp] img,
.responsive-picture[data-zoom-jpg] img {
  transform-origin: center center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 80ms ease-out;
}

.responsive-picture[data-zoom-webp].is-dragging img,
.responsive-picture[data-zoom-jpg].is-dragging img,
.responsive-picture[data-zoom-webp].is-pinching img,
.responsive-picture[data-zoom-jpg].is-pinching img {
  transition: none;
}

.responsive-picture[data-zoom-webp]:focus-visible,
.responsive-picture[data-zoom-jpg]:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.responsive-picture.is-missing {
  cursor: default;
  touch-action: auto;
}

.zoom-cue {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 4;
  padding: 6px 10px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 43, 78, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0.92;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

html[data-theme="dark"] .zoom-cue {
  background: rgba(7, 24, 39, 0.80);
}

html[data-contrast="high"] .zoom-cue {
  background: #000;
  color: #fff;
  border: 2px solid #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.zoom-hints-dismissed .zoom-cue,
.responsive-picture[data-zoom-webp].zoom-hint-hidden+.zoom-cue,
.responsive-picture[data-zoom-jpg].zoom-hint-hidden+.zoom-cue,
.responsive-picture[data-zoom-webp].is-zoomed+.zoom-cue,
.responsive-picture[data-zoom-jpg].is-zoomed+.zoom-cue,
.responsive-picture[data-zoom-webp].is-dragging+.zoom-cue,
.responsive-picture[data-zoom-jpg].is-dragging+.zoom-cue,
.responsive-picture[data-zoom-webp].is-pinching+.zoom-cue,
.responsive-picture[data-zoom-jpg].is-pinching+.zoom-cue,
.responsive-picture.is-missing+.zoom-cue {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
}

.responsive-picture.is-missing img {
  display: none;
}

.responsive-picture.is-missing::after {
  content: attr(data-fallback-title) "\A" attr(data-fallback-note);
  white-space: pre-line;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--ink);
  font-weight: 900;
  background:
    radial-gradient(circle at 18% 18%, rgba(56, 189, 248, 0.25), transparent 38%),
    radial-gradient(circle at 86% 82%, rgba(50, 214, 195, 0.20), transparent 42%),
    rgba(255, 255, 255, 0.68);
}

html[data-theme="dark"] .responsive-picture.is-missing::after {
  background:
    radial-gradient(circle at 18% 18%, rgba(96, 165, 250, 0.20), transparent 38%),
    radial-gradient(circle at 86% 82%, rgba(52, 211, 153, 0.16), transparent 42%),
    rgba(7, 24, 39, 0.82);
}

html[data-contrast="high"] .responsive-picture,
html[data-contrast="high"] .responsive-picture.is-missing::after {
  background: #000;
  border: 2px solid #fff;
  color: #fff;
}

.hero-media figcaption,
.media-card figcaption {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.section {
  padding: clamp(54px, 8vw, 104px) 0;
}

.section-soft {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.38), transparent);
}

html[data-theme="dark"] .section-soft {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.035), transparent);
}

html[data-contrast="high"] .section-soft {
  background: #000;
}

.section-ink {
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(56, 189, 248, 0.18), transparent 32rem),
    radial-gradient(circle at 88% 20%, rgba(50, 214, 195, 0.16), transparent 30rem),
    linear-gradient(135deg, #0C2B4E, #1A3D64 52%, #1D546C);
}

.section-ink p,
.section-ink figcaption,
.section-ink .numbered-list li {
  color: rgba(255, 255, 255, 0.78);
}

html[data-contrast="high"] .section-ink {
  background: #000;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 30px;
}

.section-heading p {
  font-size: 1.02rem;
}

.steps,
.feature-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

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

.step-card,
.feature-card,
.instruction-panel,
.support-card,
.final-card,
.mini-note {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
}

.step-card,
.feature-card {
  padding: 18px;
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 15px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff;
  font-weight: 900;
}

html[data-theme="dark"] .step-number {
  background: linear-gradient(135deg, #60a5fa, #34d399);
  color: #04101b;
}

html[data-contrast="high"] .step-card,
html[data-contrast="high"] .feature-card,
html[data-contrast="high"] .instruction-panel,
html[data-contrast="high"] .support-card,
html[data-contrast="high"] .final-card,
html[data-contrast="high"] .mini-note,
html[data-contrast="high"] .step-number {
  color: #fff;
  background: #000;
  border: 2px solid #fff;
  box-shadow: none;
}

.clean-list,
.numbered-list {
  margin: 20px 0 0;
  padding: 0;
}

.clean-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.clean-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-weight: 600;
}

.clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(50, 214, 195, 0.16);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
}

.numbered-list {
  list-style: none;
  counter-reset: item;
  display: grid;
  gap: 12px;
}

.numbered-list li {
  counter-increment: item;
  position: relative;
  min-height: 40px;
  padding-left: 54px;
  font-weight: 700;
}

.numbered-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: -2px;
  width: 38px;
  height: 38px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 900;
}

.soft-numbers li {
  color: var(--muted);
}

.soft-numbers li::before {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff;
  border: 0;
}

.instruction-panel {
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.dark-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

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

.feature-card {
  min-height: 190px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(29, 84, 108, 0.10);
  font-size: 1.3rem;
}

.feature-svg {
  width: 24px;
  height: 24px;
  display: block;
  color: var(--accent);
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  margin-top: 38px;
}

.showcase-copy h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.mini-note {
  margin-top: 22px;
  padding: 18px;
  color: var(--muted);
}

.control-list,
.definition-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.control-list div,
.definition-list div {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.46);
  color: var(--muted);
}

.control-list strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}

.inline-icons {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.inline-svg {
  width: 1.05em;
  height: 1.05em;
  display: inline-block;
  flex: 0 0 auto;
  color: currentColor;
  vertical-align: -0.16em;
}

html[data-theme="dark"] .control-list div,
html[data-theme="dark"] .definition-list div {
  background: rgba(255, 255, 255, 0.07);
}

html[data-contrast="high"] .control-list div,
html[data-contrast="high"] .definition-list div {
  background: #000;
  border: 2px solid #fff;
}

.definition-list {
  margin-bottom: 0;
}

.definition-list dt {
  color: var(--ink);
  font-weight: 900;
}

.definition-list dd {
  margin: 3px 0 0;
  color: var(--muted);
}

.support-card {
  margin-top: 24px;
  padding: 18px;
  display: grid;
  gap: 8px;
  max-width: 420px;
}

.support-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.support-card a {
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 900;
  text-decoration: none;
}

.copy-button {
  justify-self: start;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  background: rgba(29, 84, 108, 0.10);
  color: var(--ink);
  padding: 9px 12px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

#copyStatus {
  min-height: 1.2em;
  margin: 0;
  font-size: 0.78rem;
}

.final-cta {
  padding: clamp(52px, 8vw, 96px) 0;
}

.final-card {
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
  background:
    radial-gradient(circle at 14% 18%, rgba(56, 189, 248, 0.18), transparent 32rem),
    radial-gradient(circle at 88% 86%, rgba(50, 214, 195, 0.18), transparent 30rem),
    linear-gradient(135deg, #0C2B4E, #1D546C);
  text-align: center;
  overflow: hidden;
}

.final-card p {
  max-width: 720px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.78);
}

.final-card .btn {
  margin-top: 24px;
}

.site-footer {
  padding: 24px 0 36px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  font-weight: 800;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-grid,
  .split-grid,
  .two-column,
  .help-grid,
  .app-showcase,
  .subtitle-grid {
    grid-template-columns: 1fr;
  }

  .subtitle-grid {
    grid-template-areas:
      "copy"
      "steps"
      "image";
  }

  .hero-copy {
    text-align: left;
  }

  .steps,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reverse-on-mobile .media-card {
    order: 2;
  }

  .reverse-on-mobile .section-copy {
    order: 1;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, 1160px);
  }

  .site-header {
    min-height: 66px;
  }

  :root {
    --header-h: 66px;
  }

  .brand-text small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .header-actions {
    gap: 6px;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.55rem);
  }

  .hero-actions,
  .trust-list {
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .section {
    padding: 54px 0;
  }

  .hero-media,
  .media-card {
    border-radius: 24px;
    padding: 9px;
  }

  .responsive-picture {
    border-radius: 18px;
  }

  .zoom-cue {
    top: 17px;
    right: 17px;
  }

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

@media (prefers-reduced-motion: reduce) {

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}