:root {
  --primary: #1e3a8a;
  --primary-hover: #1e40af;
  --primary-light: #eef2ff;
  --primary-soft: #dbeafe;
  --primary-dark: #172554;
  --gold: #b7791f;
  --gold-light: #fef3c7;
  --gold-soft: #fde68a;
  --accent: #e94560;
  --accent-light: #fee2e2;
  --success: #16a34a;
  --success-bg: #f0fdf4;
  --bg: #f7f8fb;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --inverse: #ffffff;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 38px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 22px 58px rgba(15, 23, 42, 0.16);
  --ring: rgba(30, 58, 138, 0.16);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.78);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  color: var(--ink);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

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

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 11px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius-md);
  padding: 11px 17px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:focus-visible,
.nav-links a:focus-visible,
.app-store-badge:focus-visible,
.text-link:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--primary);
  color: var(--inverse);
  box-shadow: 0 8px 22px rgba(30, 58, 138, 0.2);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04), 0 8px 20px rgba(15, 23, 42, 0.05);
}

.btn-secondary:hover {
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.btn-gold {
  background: var(--gold);
  color: #fffaf0;
  box-shadow: 0 8px 20px rgba(183, 121, 31, 0.2);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.app-store-badge {
  display: inline-flex;
  width: 166px;
  height: 44px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.app-store-badge img {
  width: 166px;
  height: 44px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 166px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--inverse);
  padding: 6px 12px;
  box-shadow: var(--shadow-sm);
}

.store-btn-disabled {
  cursor: default;
  opacity: 0.62;
}

.store-btn small,
.store-btn strong {
  display: block;
  line-height: 1.05;
}

.store-btn small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
}

.store-btn strong {
  margin-top: 3px;
  font-size: 15px;
}

.hero {
  position: relative;
  padding: 62px 0 76px;
  background:
    linear-gradient(180deg, rgba(238, 242, 255, 0.82), rgba(247, 248, 251, 0)),
    var(--bg);
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid rgba(30, 58, 138, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--primary);
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 800;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.3rem, 4.85vw, 4.35rem);
  max-width: 820px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

h3 {
  margin-bottom: 9px;
  font-size: 1.22rem;
}

.lead {
  max-width: 720px;
  color: var(--text);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.62;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  padding: 5px 9px;
}

.phone-stage {
  position: relative;
  display: grid;
  min-height: 610px;
  place-items: center;
}

.phone-stage::before {
  position: absolute;
  width: min(92%, 470px);
  height: 78%;
  border: 1px solid rgba(30, 58, 138, 0.08);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(219, 234, 254, 0.34));
  content: "";
  transform: rotate(-2deg);
}

.phone-cluster {
  position: relative;
  width: min(100%, 520px);
  height: 600px;
}

.phone-shot {
  position: absolute;
  width: 235px;
  overflow: hidden;
  border: 10px solid #0b1220;
  border-radius: 34px;
  background: #0b1220;
  box-shadow: var(--shadow-md);
}

.phone-shot img {
  width: 100%;
  aspect-ratio: 1170 / 2532;
  object-fit: cover;
}

.phone-shot.primary {
  left: 138px;
  top: 0;
  z-index: 3;
}

.phone-shot.secondary {
  left: 0;
  top: 88px;
  z-index: 2;
  transform: rotate(-5deg);
}

.phone-shot.tertiary {
  right: 0;
  top: 110px;
  z-index: 1;
  transform: rotate(5deg);
}

.metric-card {
  position: absolute;
  z-index: 5;
  right: 18px;
  bottom: 46px;
  width: 188px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  padding: 16px;
  box-shadow: var(--shadow-md);
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric-value {
  color: var(--gold);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.section {
  padding: 72px 0;
}

.section.tight {
  padding: 48px 0;
}

.section.white {
  background: var(--surface);
}

.section.primary-band {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.82);
}

.section.primary-band h2,
.section.primary-band h3 {
  color: var(--inverse);
}

.section-head {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.kicker {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.primary-band .kicker {
  color: var(--gold-soft);
}

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

.primary-band .muted {
  color: rgba(255, 255, 255, 0.74);
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.value-item,
.feature-card,
.blog-card,
.faq-item,
.step-card,
.stat-card {
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.value-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.value-item::before {
  display: none;
}

.value-item:hover,
.feature-card:hover,
.blog-card:hover,
.step-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
}

.icon-box {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
}

.icon-box.gold {
  background: var(--gold-light);
  color: var(--gold);
}

.icon-box.accent {
  background: var(--accent-light);
  color: var(--accent);
}

.icon-box.success {
  background: var(--success-bg);
  color: var(--success);
}

.split {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 52px;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-weight: 700;
}

.check {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success);
  margin-top: 2px;
}

.screen-panel {
  position: relative;
  display: grid;
  justify-items: center;
  isolation: isolate;
  min-height: 560px;
  place-items: center;
}

.screen-panel::before {
  position: absolute;
  z-index: -1;
  width: min(100%, 360px);
  height: min(88%, 500px);
  border: 1px solid rgba(30, 58, 138, 0.08);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 242, 255, 0.58)),
    var(--surface);
  box-shadow: 0 24px 70px rgba(30, 58, 138, 0.12);
  content: "";
}

.screen-card {
  width: min(100%, 310px);
  overflow: hidden;
  border: 10px solid #0b1220;
  border-radius: 36px;
  background: #0b1220;
  box-shadow: var(--shadow-md);
}

.screen-card img {
  aspect-ratio: 1170 / 2532;
  object-fit: cover;
}

.insight-box {
  position: absolute;
  right: 0;
  bottom: 28px;
  width: 210px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 16px;
  box-shadow: var(--shadow-md);
}

.insight-box strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.feature-card::after {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  content: "";
  opacity: 0.76;
}

.feature-card p,
.blog-card p,
.faq-item p,
.step-card p {
  margin-bottom: 0;
}

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

.step-card {
  position: relative;
  padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.step-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: var(--inverse);
  font-weight: 900;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.screens-grid .screen-card {
  width: 100%;
  border-width: 7px;
  border-radius: 26px;
}

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

.blog-card {
  display: grid;
  gap: 12px;
  min-height: 238px;
  padding: 22px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.blog-card .meta,
.article-meta {
  width: fit-content;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 5px 9px;
  font-size: 13px;
  font-weight: 800;
}

.blog-card h3 {
  margin: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: var(--primary);
  font-weight: 900;
}

.cta-band {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-dark));
  color: rgba(255, 255, 255, 0.78);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  margin-bottom: 8px;
  color: var(--inverse);
}

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

.faq-item {
  position: relative;
  padding: 20px;
}

.faq-item h3 {
  font-size: 1.05rem;
}

.page-hero {
  padding: 62px 0 58px;
  background:
    linear-gradient(180deg, rgba(238, 242, 255, 0.86), rgba(247, 248, 251, 0));
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: 46px;
  align-items: center;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.stat-card {
  position: relative;
  padding: 18px;
  overflow: hidden;
}

.stat-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--gold);
  content: "";
}

.stat-card strong {
  display: block;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.1;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 740px) 300px;
  gap: 46px;
  align-items: start;
}

.article {
  padding: 0;
  max-width: 760px;
}

.article h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
}

.article h2 {
  margin-top: 34px;
  font-size: clamp(1.55rem, 2.7vw, 2.05rem);
}

.article p,
.article li {
  color: var(--text);
  font-size: 17px;
}

.article ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.article-toc,
.article-answer,
.article-rich-block,
.article-callout,
.article-link-section,
.article-checklist {
  margin: 28px 0;
}

.article-toc {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(30, 58, 138, 0.14);
  border-radius: var(--radius-md);
  background: rgba(238, 242, 255, 0.72);
  padding: 18px;
}

.article-toc strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.article-toc div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(30, 58, 138, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary);
  padding: 6px 11px;
  font-size: 14px;
  font-weight: 850;
}

.article-answer {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.92), rgba(255, 255, 255, 0.92));
  padding: 22px;
}

.article-answer::before,
.article-callout::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--success);
  content: "";
}

.article-answer h2,
.article-callout h2,
.article-rich-block h2,
.article-link-section h2,
.article-checklist h2 {
  margin-top: 0;
}

.article-answer ul,
.article-checklist ul {
  padding-left: 0;
  list-style: none;
}

.article-answer li {
  position: relative;
  padding-left: 20px;
}

.article-answer li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  content: "";
}

.article-table-wrap {
  overflow: hidden;
  border: 1px solid rgba(30, 58, 138, 0.14);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.article-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 15px;
  table-layout: fixed;
}

.article-table th,
.article-table td {
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
  padding: 15px 16px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.article-table th {
  background: linear-gradient(180deg, #eef2ff, #e0e7ff);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.article-table tr:last-child td {
  border-bottom: 0;
}

.article-table td:first-child {
  color: var(--ink);
  font-weight: 900;
}

.article-table tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.78);
}

.article-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px !important;
}

.article-callout {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.9));
  padding: 20px 20px 20px 22px;
}

.article-callout::before {
  background: var(--gold);
}

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

.article-link-card {
  position: relative;
  display: grid;
  min-height: 126px;
  gap: 8px;
  align-content: start;
  border: 1px solid rgba(30, 58, 138, 0.13);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96)),
    var(--surface);
  padding: 16px 42px 16px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.article-link-card:hover {
  border-color: rgba(30, 58, 138, 0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-link-card span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.article-link-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.article-link-card .btn-icon {
  position: absolute;
  top: 17px;
  right: 15px;
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.article-checklist {
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  padding: 20px;
}

.article-checklist li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.article-checklist svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--success);
}

.article-cta {
  margin: 30px 0;
  border: 1px solid rgba(30, 58, 138, 0.18);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--primary-light), rgba(255, 255, 255, 0.72));
  padding: 20px;
}

.sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.sidebar-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.download-panel {
  position: relative;
  display: grid;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 242, 255, 0.52)),
    var(--surface);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.download-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--accent));
  content: "";
}

.download-shot {
  width: min(100%, 220px);
  justify-self: center;
  overflow: hidden;
  border: 8px solid #0b1220;
  border-radius: 30px;
  background: #0b1220;
  box-shadow: var(--shadow-md);
}

.download-shot img {
  aspect-ratio: 1170 / 2532;
  object-fit: cover;
}

.download-panel .store-row {
  display: grid;
}

.footer {
  padding: 46px 0 92px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 26px;
}

.footer h3 {
  font-size: 0.95rem;
}

.footer a {
  display: block;
  margin: 7px 0;
  color: var(--muted);
  font-weight: 700;
}

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

.sticky-mobile-cta {
  display: none;
}

.sticky-install-card,
.sticky-install-button {
  display: flex;
  align-items: center;
}

.sticky-install-card {
  gap: 11px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 10px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(18px);
}

.sticky-install-card img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.sticky-install-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 1px;
}

.sticky-install-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-install-copy span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-install-button {
  justify-content: center;
  gap: 6px;
  min-width: 78px;
  min-height: 40px;
  flex: 0 0 auto;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--inverse);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(30, 58, 138, 0.22);
}

.sticky-install-button .btn-icon {
  width: 15px;
  height: 15px;
}

.blog-install-popup {
  position: fixed;
  right: auto;
  bottom: calc(22px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 1000;
  display: grid;
  width: min(396px, calc(100vw - 36px));
  gap: 14px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  padding: 16px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  backdrop-filter: blur(18px);
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.blog-install-popup.is-visible {
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.blog-install-popup.is-hidden {
  visibility: hidden;
  transform: translateX(-50%) translateY(18px);
  opacity: 0;
  pointer-events: none;
}

.blog-install-body {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  padding-right: 28px;
}

.blog-install-body img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.blog-install-body strong,
.blog-install-body span {
  display: block;
}

.blog-install-body strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.blog-install-body span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.blog-install-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--inverse);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(30, 58, 138, 0.22);
}

.blog-install-action:hover {
  background: var(--primary-hover);
}

.blog-install-action .btn-icon {
  width: 16px;
  height: 16px;
}

.blog-install-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.blog-install-close:hover,
.blog-install-close:focus-visible {
  background: var(--primary-light);
  color: var(--primary);
}

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

  .menu-toggle {
    display: grid;
  }

  .nav-links.is-open {
    position: absolute;
    inset: 72px 20px auto;
    display: grid;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    padding: 12px;
    box-shadow: var(--shadow-md);
  }

  .hero-grid,
  .split,
  .split.reverse,
  .page-hero-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .split.reverse > .screen-panel {
    order: 2;
  }

  .split.reverse > div:not(.screen-panel) {
    order: 1;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-grid,
  .page-hero-grid,
  .split {
    gap: 38px;
  }

  .phone-stage {
    min-height: 520px;
  }

  .phone-cluster {
    height: 520px;
  }

  .phone-shot {
    width: 205px;
  }

  .phone-shot.primary {
    left: calc(50% - 102px);
  }

  .phone-shot.secondary {
    left: 22px;
  }

  .phone-shot.tertiary {
    right: 22px;
  }

  .screen-panel {
    min-height: 510px;
  }

  .value-strip,
  .feature-grid,
  .steps,
  .screens-grid,
  .blog-grid,
  .stats-row,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sidebar {
    position: static;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav {
    height: 64px;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .nav-links.is-open {
    inset: 64px 14px auto;
  }

  h1 {
    margin: 16px 0;
    font-size: clamp(2.05rem, 11vw, 2.55rem);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(1.72rem, 8vw, 2.18rem);
    line-height: 1.12;
  }

  h3 {
    font-size: 1.08rem;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero {
    padding: 34px 0 48px;
  }

  .page-hero {
    padding: 42px 0 44px;
  }

  .hero-grid,
  .page-hero-grid,
  .split {
    gap: 30px;
  }

  .eyebrow {
    max-width: 100%;
    padding: 7px 10px;
    font-size: 12px;
  }

  .hero-actions,
  .store-row {
    display: grid;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .btn {
    width: 100%;
    min-height: 48px;
  }

  .store-btn {
    width: min(100%, 220px);
    min-height: 48px;
  }

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

  .app-store-badge img {
    width: 100%;
    height: auto;
  }

  .phone-stage {
    min-height: 360px;
    margin-bottom: 18px;
  }

  .phone-cluster {
    height: 350px;
  }

  .phone-shot {
    width: 132px;
    border-width: 6px;
    border-radius: 23px;
  }

  .phone-shot.primary {
    left: calc(50% - 66px);
  }

  .phone-shot.secondary {
    left: 2px;
    top: 82px;
  }

  .phone-shot.tertiary {
    display: block;
    right: 2px;
    top: 86px;
  }

  .metric-card {
    right: calc(50% - 76px);
    bottom: 0;
    width: 152px;
    padding: 12px;
  }

  .metric-value {
    font-size: 29px;
  }

  .section {
    padding: 46px 0;
  }

  .section.tight {
    padding: 30px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .value-strip,
  .feature-grid,
  .steps,
  .screens-grid,
  .blog-grid,
  .stats-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .value-item,
  .feature-card,
  .step-card,
  .blog-card,
  .faq-item,
  .stat-card {
    border-radius: var(--radius-md);
  }

  .value-item {
    min-height: 108px;
    padding: 18px;
  }

  .stats-row {
    gap: 10px;
    margin-top: 22px;
  }

  .screen-card {
    width: min(100%, 258px);
    border-width: 8px;
    border-radius: 30px;
  }

  .screen-panel {
    min-height: auto;
    padding: 20px 0 6px;
  }

  .screen-panel::before {
    width: min(100%, 315px);
    height: auto;
    top: 8px;
    bottom: 0;
    left: 50%;
    border-radius: 22px;
    transform: translateX(-50%);
  }

  .insight-box {
    position: static;
    width: min(100%, 258px);
    margin-top: 12px;
    padding: 14px;
  }

  .insight-box strong {
    font-size: 22px;
  }

  .screens-grid .screen-card {
    width: min(100%, 258px);
    justify-self: center;
  }

  .cta-band {
    padding: 24px;
  }

  .article-layout {
    gap: 28px;
  }

  .article p,
  .article li {
    font-size: 16px;
  }

  .article-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .article-table,
  .article-table thead,
  .article-table tbody,
  .article-table tr,
  .article-table td {
    display: block;
    width: 100%;
  }

  .article-table thead {
    display: none;
  }

  .article-table {
    border-collapse: separate;
    border-spacing: 0;
  }

  .article-table tr {
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid rgba(30, 58, 138, 0.13);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }

  .article-table td {
    display: grid;
    grid-template-columns: minmax(108px, 0.42fr) minmax(0, 1fr);
    gap: 12px;
    border-bottom: 1px solid var(--border);
    padding: 12px 14px;
    font-size: 14px;
  }

  .article-table td::before {
    color: var(--primary);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    content: attr(data-label);
  }

  .article-table td:last-child {
    border-bottom: 0;
  }

  .article-link-grid {
    grid-template-columns: 1fr;
  }

  .article-link-card {
    min-height: 0;
  }

  .article-toc div {
    display: grid;
  }

  .article-toc a {
    width: 100%;
    border-radius: 12px;
  }

  .article-cta {
    padding: 18px;
  }

  .download-panel {
    padding: 24px;
  }

  .download-shot {
    width: min(100%, 198px);
    border-width: 7px;
    border-radius: 27px;
  }

  .footer {
    padding-bottom: 104px;
  }

  .sticky-mobile-cta {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 50;
    display: block;
  }

  .blog-post-page .sticky-mobile-cta {
    display: none;
  }

  .blog-install-popup {
    right: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 50%;
    z-index: 120;
    width: min(396px, calc(100vw - 24px));
    padding: 13px;
  }

  .blog-install-body {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
  }

  .blog-install-body img {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(1.95rem, 10.2vw, 2.35rem);
  }

  .hero-trust {
    gap: 8px;
  }

  .trust-item {
    font-size: 13px;
    padding: 5px 8px;
  }

  .phone-stage {
    min-height: 338px;
  }

  .phone-cluster {
    height: 330px;
  }

  .phone-shot {
    width: 124px;
  }

  .phone-shot.primary {
    left: calc(50% - 62px);
  }

  .phone-shot.secondary {
    left: 0;
    top: 78px;
  }

  .phone-shot.tertiary {
    right: 0;
    top: 82px;
  }

  .metric-card {
    right: calc(50% - 72px);
    width: 144px;
  }

  .sticky-install-card {
    gap: 9px;
    padding: 9px;
  }

  .sticky-install-card img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .sticky-install-copy strong {
    font-size: 13px;
  }

  .sticky-install-copy span {
    font-size: 10px;
  }

  .sticky-install-button {
    min-width: 70px;
    min-height: 38px;
  }
}
