:root {
  --paper: #f8fafc;
  --paper-2: #feffff;
  --paper-3: #eef5ff;
  --card: rgba(254, 255, 255, 0.84);
  --card-strong: rgba(255, 255, 255, 0.96);
  --ink: #1a2942;
  --ink-soft: #64748b;
  --line: rgba(37, 99, 235, 0.12);
  --line-strong: rgba(37, 99, 235, 0.26);
  --purple: #2563eb;
  --indigo: #007aff;
  --peach: #d7e9ff;
  --mint: #eff6ff;
  --shadow-lg: 0 28px 70px rgba(26, 41, 66, 0.12);
  --shadow-md: 0 18px 36px rgba(26, 41, 66, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1120px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 122, 255, 0.14), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.12), transparent 26%),
    radial-gradient(circle at 82% 78%, rgba(0, 122, 255, 0.12), transparent 26%),
    linear-gradient(180deg, var(--paper) 0%, #fcfeff 48%, var(--paper-3) 100%);
}

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

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

button,
input {
  font: inherit;
}

.page-shell {
  overflow: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(248, 250, 252, 0.84);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 122, 255, 0.16);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-soft);
  font-weight: 600;
}

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

.nav-cta {
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.08);
}

.section {
  padding: 86px 0;
}

.surface-band {
  position: relative;
}

.surface-band::before {
  content: "";
  position: absolute;
  inset: 18px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(240, 247, 255, 0.92));
  border-top: 1px solid rgba(37, 99, 235, 0.08);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.surface-band > .container {
  position: relative;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.04;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  max-width: 12ch;
}

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

h3 {
  font-size: 1.25rem;
}

p,
li {
  color: var(--ink-soft);
  line-height: 1.72;
}

.lede {
  font-size: 1.1rem;
  max-width: 62ch;
}

.hero {
  padding-top: 60px;
  padding-bottom: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.hero-copy p {
  margin: 18px 0 0;
}

.hero-actions,
.cta-banner-actions,
.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--indigo), #2563eb);
  box-shadow: 0 20px 28px rgba(37, 99, 235, 0.24);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
}

.button-full {
  width: 100%;
}

.button-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.bullet-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.bullet-strip li {
  position: relative;
  padding-left: 20px;
  font-size: 0.96rem;
}

.bullet-strip li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 16px;
}

.hero-shot-frame {
  position: relative;
  padding: 24px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(243, 184, 216, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(241, 247, 255, 0.94));
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-lg);
}

.hero-proof {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(280px, calc(100% - 40px));
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 16px 32px rgba(26, 41, 66, 0.08);
}

.app-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  flex: none;
}

.kicker {
  margin: 0 0 6px;
  color: var(--indigo);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-proof strong {
  display: block;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.15;
}

.hero-proof span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero-shot-main {
  width: min(100%, 320px);
  height: auto;
  aspect-ratio: 314 / 680;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 32px;
  border: 10px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 48px rgba(26, 41, 66, 0.18);
}

.hero-shot-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-shot-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-shot-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 314 / 680;
  object-fit: cover;
  border-radius: 18px;
}

.money-card,
.stat-card,
.feature-card,
.persona-card,
.step-card,
.article-card,
.cluster-card,
.faq-card,
.aside-card,
.cta-banner,
.quick-take,
.callout-card {
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.money-card,
.highlight-card {
  padding: 18px;
}

.money-card span,
.stat-card span,
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--indigo);
  text-transform: uppercase;
}

.money-card strong,
.stat-card strong {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  color: var(--ink);
}

.highlight-card {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(139, 110, 232, 0.1));
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.chart-card {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 180px;
  padding: 20px 18px 12px;
  margin-top: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.bar {
  flex: 1;
  height: var(--h);
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, rgba(243, 184, 216, 0.58), rgba(37, 99, 235, 0.72));
}

.bar.active {
  background: linear-gradient(180deg, var(--peach), var(--indigo));
}

.stat-grid,
.feature-grid,
.persona-grid,
.step-grid,
.article-grid,
.cluster-summary-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.article-grid-large {
  margin-top: 28px;
}

.cluster-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 28px;
}

.stat-card,
.feature-card,
.persona-card,
.step-card,
.cluster-card,
.article-card,
.cta-banner,
.aside-card,
.quick-take,
.callout-card {
  padding: 24px;
}

.section-head {
  max-width: 70ch;
  margin-bottom: 28px;
}

.section-head p {
  margin: 16px 0 0;
}

.persona-card a,
.article-card a,
.cluster-card span {
  font-weight: 700;
  color: var(--indigo);
}

.step-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-family: "Space Grotesk", sans-serif;
  background: rgba(0, 122, 255, 0.08);
  color: var(--indigo);
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.article-card h3 a:hover {
  color: var(--indigo);
}

.article-card p {
  margin: 0;
  flex: 1;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.article-card-footer a {
  color: var(--indigo);
  font-weight: 700;
}

.faq-layout {
  display: grid;
  gap: 28px;
}

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

.faq-card summary {
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-weight: 700;
}

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

.faq-card p {
  margin: 12px 0 0;
}

.cta-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(243, 184, 216, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(0, 122, 255, 0.08), rgba(139, 110, 232, 0.1)),
    white;
}

.page-hero {
  padding-top: 58px;
  padding-bottom: 50px;
}

.filter-bar {
  display: grid;
  gap: 16px;
}

.search-input {
  width: 100%;
  padding: 15px 18px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

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

.filter-chip {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-weight: 700;
  cursor: pointer;
}

.filter-chip.is-active {
  color: white;
  background: linear-gradient(135deg, var(--indigo), #2563eb);
  border-color: transparent;
}

.article-card.is-hidden {
  display: none;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.meta-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.quick-take {
  margin-top: 26px;
}

.quick-take strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
}

.article-toc {
  margin-top: 18px;
}

.toc-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.toc-list a {
  color: var(--ink);
  font-weight: 600;
}

.toc-list a:hover {
  color: var(--indigo);
}

.sticky-card {
  position: sticky;
  top: 108px;
}

.prose .content-section + .content-section {
  margin-top: 30px;
}

.content-section {
  scroll-margin-top: 120px;
}

.prose h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  margin-bottom: 14px;
}

.prose p {
  margin: 0 0 16px;
  font-size: 1.02rem;
}

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

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
}

.article-aside-secondary .aside-card {
  background: rgba(255, 255, 255, 0.76);
}

.site-footer {
  padding: 58px 0 34px;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  background: rgba(255, 255, 255, 0.54);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.8fr;
  gap: 26px;
}

.footer-grid h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(37, 99, 235, 0.08);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease, transform 480ms ease;
}

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

@media (max-width: 1080px) {
  .feature-grid,
  .persona-grid,
  .step-grid,
  .article-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .article-shell,
  .footer-grid,
  .cta-banner,
  .cluster-summary-grid {
    grid-template-columns: 1fr;
  }

  .article-aside,
  .article-aside-secondary {
    order: -1;
  }

  .sticky-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 66px 0;
  }

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

  .site-nav {
    flex-wrap: wrap;
  }

  .feature-grid,
  .persona-grid,
  .step-grid,
  .article-grid,
  .cluster-summary-grid,
  .stat-grid,
  .mini-grid,
  .bullet-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-banner-actions,
  .section-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .button-full {
    width: 100%;
  }

  .chart-card {
    height: 150px;
  }

  .hero-proof {
    position: static;
    max-width: none;
    margin-bottom: 16px;
  }

  .hero-shot-main {
    margin-top: 0;
  }

  .stat-card,
  .feature-card,
  .persona-card,
  .step-card,
  .article-card,
  .cluster-card,
  .cta-banner,
  .aside-card,
  .quick-take,
  .callout-card {
    padding: 20px;
  }

  .footer-bar {
    flex-direction: column;
  }
}

/* Homepage redesign */
.homepage .site-header {
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(37, 99, 235, 0.16);
}

.homepage .site-nav {
  padding: 6px;
  border-radius: 999px;
  background: rgba(254, 255, 255, 0.85);
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.homepage .site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
}

.homepage .site-nav .nav-cta {
  color: #feffff;
  background: linear-gradient(135deg, var(--indigo), #2563eb);
}

.home-main .section {
  position: relative;
}

.home-hero {
  padding-top: 26px;
  padding-bottom: 72px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: center;
}

.home-hero-copy h1 {
  max-width: 11.5ch;
}

.home-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.home-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #00479e;
  background: rgba(0, 122, 255, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.home-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.home-metric-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 12px 24px rgba(26, 41, 66, 0.06);
}

.home-metric-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  color: var(--ink);
}

.home-metric-card p {
  margin: 6px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.home-hero-media {
  display: grid;
  gap: 14px;
}

.home-device-stage {
  position: relative;
  padding: 30px 24px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 16% 16%, rgba(0, 122, 255, 0.18), transparent 40%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 255, 0.96));
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 28px 58px rgba(26, 41, 66, 0.14);
}

.home-device-stage .hero-shot-main {
  width: min(100%, 328px);
  border: 10px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 44px rgba(26, 41, 66, 0.2);
}

.home-floating-note {
  position: absolute;
  top: 22px;
  left: 18px;
  display: grid;
  gap: 4px;
  max-width: min(230px, calc(100% - 36px));
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 12px 24px rgba(26, 41, 66, 0.1);
}

.home-floating-note strong {
  font-size: 0.9rem;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
}

.home-floating-note span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.home-floating-note-secondary {
  top: auto;
  left: auto;
  right: 18px;
  bottom: 24px;
}

.home-hero .hero-shot-rail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-hero .hero-shot-thumb {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.home-rhythm-band::before {
  content: "";
  position: absolute;
  inset: 14px 0;
  border-top: 1px solid rgba(37, 99, 235, 0.12);
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
  background:
    radial-gradient(circle at 14% 24%, rgba(0, 122, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(242, 248, 255, 0.94));
}

.home-rhythm-band > .container {
  position: relative;
}

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

.home-rhythm-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 16px 30px rgba(26, 41, 66, 0.08);
}

.home-rhythm-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-family: "Space Grotesk", sans-serif;
  color: #feffff;
  background: linear-gradient(135deg, var(--indigo), #2563eb);
}

.home-rhythm-card p {
  margin: 12px 0 0;
}

.home-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
  align-items: start;
}

.home-feature-spotlight {
  padding: 26px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 122, 255, 0.2), transparent 35%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(237, 245, 255, 0.96));
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: var(--shadow-md);
}

.home-feature-spotlight h3 {
  margin-top: 14px;
  font-size: clamp(1.3rem, 2.1vw, 1.95rem);
}

.home-fact-list {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.home-fact-list li {
  padding-left: 22px;
}

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

.home-feature-card {
  background: rgba(255, 255, 255, 0.82);
}

.home-feature-card p {
  margin-top: 12px;
}

.home-feature-index {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a4c9c;
}

.home-persona-section::before {
  content: "";
  position: absolute;
  inset: 22px 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0), rgba(232, 242, 255, 0.38), rgba(248, 250, 252, 0));
  pointer-events: none;
}

.home-persona-section > .container {
  position: relative;
}

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

.home-persona-card {
  display: grid;
  align-content: start;
}

.home-persona-card p {
  margin: 12px 0 18px;
}

.home-persona-card a {
  display: inline-flex;
  margin-top: auto;
}

.home-blog-preview {
  padding-top: 96px;
}

.home-blog-preview .article-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(37, 99, 235, 0.14);
}

.home-faq-section {
  padding-top: 96px;
}

.home-faq-section .faq-card {
  background: rgba(255, 255, 255, 0.86);
}

/* Testimonials */
.home-social-proof {
  padding-top: 96px;
}

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

.testimonial-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 16px 32px rgba(26, 41, 66, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--ink);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: grid;
  gap: 2px;
}

.testimonial-author strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
}

.testimonial-author span {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

/* How It Works */
.home-how-it-works {
  padding-top: 96px;
  padding-bottom: 96px;
}

.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.how-step-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 14% 14%, rgba(0, 122, 255, 0.1), transparent 40%),
    rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 18px 36px rgba(26, 41, 66, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.how-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #feffff;
  background: linear-gradient(135deg, var(--indigo), #2563eb);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}

.how-step-card h3 {
  margin: 0;
}

.how-step-card p {
  margin: 0;
  flex: 1;
}

.how-step-tag {
  display: inline-block;
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--indigo);
  text-transform: uppercase;
}

.home-how-it-works .section-cta {
  justify-content: center;
}

.home-cta-banner {
  border: 1px solid rgba(37, 99, 235, 0.18);
  background:
    radial-gradient(circle at 88% 16%, rgba(37, 99, 235, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(0, 122, 255, 0.12), rgba(241, 247, 255, 0.96), rgba(255, 255, 255, 0.96));
}

@media (max-width: 1080px) {
  .home-hero-grid,
  .home-feature-layout,
  .home-metric-grid,
  .home-rhythm-grid,
  .home-feature-grid,
  .home-persona-grid,
  .testimonial-grid,
  .how-steps-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-copy h1 {
    max-width: 14ch;
  }

  .home-rhythm-band::before,
  .home-persona-section::before {
    inset: 10px 0;
  }
}

@media (max-width: 760px) {
  .home-hero {
    padding-top: 16px;
  }

  .homepage .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .home-floating-note {
    position: static;
    max-width: none;
    margin-bottom: 12px;
  }

  .home-floating-note-secondary {
    margin-top: 12px;
    margin-bottom: 0;
  }

  .home-metric-card,
  .home-rhythm-card,
  .home-feature-spotlight {
    padding: 20px;
  }
}

@media (prefers-color-scheme: dark) {
  .homepage {
    color: #ffffff;
    background:
      radial-gradient(circle at 12% 0%, rgba(46, 150, 255, 0.22), transparent 30%),
      radial-gradient(circle at 88% 12%, rgba(10, 132, 255, 0.18), transparent 28%),
      linear-gradient(180deg, #002147 0%, #0a1f3f 48%, #1c1c23 100%);
  }

  .homepage p,
  .homepage li,
  .homepage .home-metric-card p,
  .homepage .home-floating-note span {
    color: #8391a9;
  }

  .homepage .site-header {
    background: rgba(0, 33, 71, 0.86);
    border-color: rgba(46, 150, 255, 0.26);
  }

  .homepage .site-nav {
    background: rgba(28, 28, 35, 0.9);
    border-color: rgba(46, 150, 255, 0.26);
  }

  .homepage .site-nav a {
    color: #ffffff;
  }

  .homepage .site-nav .nav-cta {
    background: linear-gradient(135deg, #0a84ff, #2e96ff);
  }

  .homepage .home-metric-card,
  .homepage .home-rhythm-card,
  .homepage .home-feature-card,
  .homepage .home-persona-card,
  .homepage .home-blog-preview .article-card,
  .homepage .home-faq-section .faq-card,
  .homepage .testimonial-card,
  .homepage .how-step-card {
    background: rgba(28, 28, 35, 0.84);
    border-color: rgba(46, 150, 255, 0.28);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  }

  .homepage .testimonial-quote {
    color: #c8d4e6;
  }

  .homepage .testimonial-author strong {
    color: #ffffff;
  }

  .homepage .how-step-tag {
    color: #2e96ff;
  }

  .homepage .home-feature-spotlight,
  .homepage .home-device-stage,
  .homepage .home-cta-banner {
    background: linear-gradient(160deg, rgba(28, 28, 35, 0.94), rgba(0, 33, 71, 0.84));
    border-color: rgba(46, 150, 255, 0.3);
  }

  .homepage .home-trust-row span,
  .homepage .home-floating-note {
    color: #ffffff;
    background: rgba(0, 33, 71, 0.82);
    border-color: rgba(46, 150, 255, 0.3);
  }

  .homepage .home-trust-row span,
  .homepage .home-feature-index,
  .homepage .eyebrow,
  .homepage .meta-pill,
  .homepage .persona-card a,
  .homepage .article-card a,
  .homepage .article-card-footer a {
    color: #2e96ff;
  }

  .homepage .meta-pill {
    background: rgba(46, 150, 255, 0.16);
    border-color: rgba(46, 150, 255, 0.28);
  }

  .homepage .home-rhythm-card span,
  .homepage .button-primary,
  .homepage .filter-chip.is-active {
    background: linear-gradient(135deg, #0a84ff, #2e96ff);
  }

  .homepage .button-secondary {
    color: #ffffff;
    background: rgba(0, 33, 71, 0.7);
    border-color: rgba(46, 150, 255, 0.36);
  }

  .homepage .surface-band::before,
  .homepage .home-rhythm-band::before {
    border-color: rgba(46, 150, 255, 0.26);
    background: linear-gradient(180deg, rgba(0, 33, 71, 0.48), rgba(28, 28, 35, 0.74));
  }

  .homepage .site-footer {
    border-color: rgba(46, 150, 255, 0.22);
    background: rgba(0, 33, 71, 0.48);
  }
}
