/* ───────────────────────────────────────────────────────────
   HorizonPeakFin — shared design system
   Alpine register: cool glacier blues, deep summit slate,
   sunrise-gold accent. Geometric display type (Sora) over a
   neutral humanist body (Inter). Used across the landing page,
   dashboard, legal pages, articles and confirmation screens.
   ─────────────────────────────────────────────────────────── */

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

:root {
  --paper: #f3f7fb;
  --paper-2: #e8f0f6;
  --card: #ffffff;
  --ink: #0c2233;
  --ink-soft: #3c5567;
  --ink-faint: #6e8595;
  --line: #d6e2ec;

  --blue: #1a6aa8;
  --blue-deep: #0c3654;
  --blue-night: #08243a;
  --blue-bright: #2f93d4;
  --blue-tint: #e2eef8;
  --gold: #e0a43b;
  --gold-deep: #c4862a;
  --gold-soft: #f6e6c6;
  --mist: #dbe7f1;

  --maxw: 1180px;
  --prosew: 780px;
  --r: 16px;
  --r-sm: 11px;
  --shadow-sm: 0 1px 2px rgba(12, 54, 84, .06), 0 6px 18px -10px rgba(12, 54, 84, .22);
  --shadow-md: 0 2px 5px rgba(12, 54, 84, .06), 0 26px 52px -24px rgba(8, 36, 58, .38);
  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  max-width: 100%;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid var(--gold);
  display: inline-block;
}

/* ───── Buttons ───── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: .005em;
  padding: 14px 26px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s, color .18s;
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: linear-gradient(165deg, #2278b6, var(--blue-deep));
  color: #f4fafe;
}

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

.btn-gold {
  background: linear-gradient(165deg, #edb24f, var(--gold-deep));
  color: #2a1d05;
}

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

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ───── Brand lockup ───── */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-lockup .brand-logo-img {
  height: 54px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* ───── Nav ───── */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 247, 251, .8);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(214, 226, 236, .8);
}

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

@media (max-width: 500px) {
  .nav-inner {
    padding-left: 14px;
    padding-right: 14px;
  }
}

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

.nav-links a.link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .15s;
}

.nav-links a.link:hover {
  color: var(--blue);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

  .nav-cta .btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* ───── Hero (full-bleed mountain) ───── */
.hero {
  position: relative;
  overflow: hidden;
  color: #eaf3fb;
  background: var(--blue-night);
}

.hero-bg {
  position: absolute;
  inset: -120px;
  background-image: url("https://images.pexels.com/photos/5930841/pexels-photo-5930841.jpeg");
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 36, 58, .58) 0%, rgba(8, 36, 58, .35) 38%, rgba(8, 36, 58, .82) 100%),
    radial-gradient(70% 60% at 78% 12%, rgba(224, 164, 59, .22), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 120px 0 0;
  max-width: 760px;
}

.hero .eyebrow {
  color: #ffd590;
}

.hero .eyebrow::before {
  background: var(--gold);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 80px 0 0;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: #f3b54e;
}

.hero .lede {
  margin-top: 22px;
  font-size: 19.5px;
  line-height: 1.6;
  color: #d4e4f1;
  max-width: 60ch;
}

.hero .lede b {
  color: #fff;
  font-weight: 500;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-form-card {
  position: relative;
  z-index: 1;
  margin: 36px 0 16px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 24px 28px;
}

.hero-form-top {
  display: flex;
  align-items: center;
  gap: 16px 32px;
  flex-wrap: wrap;
}

.hero-form-copy {
  flex: 1 1 230px;
}

.hero-form-copy strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--ink);
}

.hero-form-copy span {
  font-size: 14px;
  color: var(--ink-soft);
}

.hero-form-fields {
  flex: 1.4 1 320px;
}

.hero-form .field-row {
  display: flex;
  gap: 10px;
}

.hero-form input[type="tel"] {
  flex: 1;
  min-width: 0;
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color .15s, background .15s;
}

.hero-form input[type="tel"]:focus {
  border-color: var(--blue);
  background: #fff;
}

.hero-form input[type="tel"]::placeholder {
  color: var(--ink-faint);
}

.hero-form .err {
  margin-top: 10px;
  color: #c0492f;
}

.hero-form .foot-form-disclaimers {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 32px;
}

.hero-form .foot-form-disclaimers label {
  margin-bottom: 0;
}

.hero-form .foot-form-disclaimers input[type="checkbox"] {
  accent-color: var(--blue);
}

.hero-form .foot-form-disclaimers a {
  color: var(--blue);
}

@media (max-width: 720px) {
  .hero-form-card {
    margin: 30px 0 72px;
    padding: 22px 20px;
  }

  .hero-form .field-row {
    flex-direction: column;
  }

  .hero-form .field-row .btn {
    width: 100%;
  }

  .hero-form .foot-form-disclaimers {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 26px;
}

.hero-stats .stat {
  min-width: 150px;
}

.hero-stats .num {
  font-family: var(--display);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -.02em;
  color: #fff;
}

.hero-stats .num span {
  color: #f3b54e;
}

.hero-stats .lbl {
  font-size: 13.5px;
  color: #b9d0e2;
  margin-top: 2px;
}

@media (max-width: 760px) {
  .hero-inner {
    padding: 84px 0 0;
  }

  .hero-stats {
    gap: 22px;
  }
}

/* ───── Trust strip ───── */
.trust {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 40px;
  flex-wrap: wrap;
  padding: 22px 0;
  color: var(--ink-faint);
  font-size: 14px;
  font-weight: 500;
}

.trust-inner .t-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.trust-inner .t-item svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

/* ───── Why band ───── */
.why {
  background: var(--blue-deep);
  color: #e6f0f8;
  position: relative;
  overflow: hidden;
}

.why-inner {
  position: relative;
  z-index: 1;
  padding: 92px 0;
  max-width: 880px;
}

.why .eyebrow {
  color: #ffd590;
}

.why h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin-top: 18px;
}

.why p {
  font-size: 19.5px;
  line-height: 1.62;
  color: #c8dcec;
  margin-top: 24px;
  max-width: 62ch;
}

.why p b {
  color: #fff;
  font-weight: 500;
}

@media (max-width: 860px) {
  .why-inner {
    padding: 64px 0;
  }
}

/* ───── Features ───── */
.features {
  padding: 96px 0 90px;
}

.section-head {
  max-width: 680px;
}

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

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-top: 16px;
}

.section-head p.sub {
  margin-top: 14px;
  font-size: 17.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

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

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 28px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  position: relative;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #bcd5e6;
}

.feature .ico {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--blue-tint);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.feature .ico svg {
  width: 26px;
  height: 26px;
}

.feature .step {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  color: var(--gold-deep);
  letter-spacing: .04em;
}

.feature h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: -.015em;
}

.feature p {
  margin-top: 11px;
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--ink-soft);
}

.feature.cta-feature {
  background: linear-gradient(158deg, var(--blue), var(--blue-deep));
  color: #eef6fc;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
}

.feature.cta-feature h3 {
  color: #fff;
  font-size: 23px;
}

.feature.cta-feature p {
  color: #cfe2f0;
  margin: 0;
}

.feature.cta-feature .btn {
  margin-top: 6px;
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ───── Elevation / stats band over photo ───── */
.elevation {
  position: relative;
  overflow: hidden;
  color: #eef6fc;
  background: var(--blue-night);
}

.elevation-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/articles/cta.jpg");
  background-size: cover;
  background-position: center;
}

.elevation::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 36, 58, .8), rgba(8, 36, 58, .66));
}

.elevation-inner {
  position: relative;
  z-index: 1;
  padding: 76px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.elevation .stat .num {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -.02em;
  color: #fff;
}

.elevation .stat .num span {
  color: #f3b54e;
}

.elevation .stat .lbl {
  margin-top: 6px;
  font-size: 14.5px;
  color: #c2d7e7;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .elevation-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 20px;
    padding: 56px 0;
  }
}

/* ───── Steps / how it works (split with image) ───── */
.howto {
  padding: 96px 0;
}

.howto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.howto-figure {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}

.howto-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.step-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.step-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-row .dot {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-family: var(--display);
  font-weight: 500;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.step-row h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -.01em;
}

.step-row p {
  margin-top: 5px;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.56;
}

@media (max-width: 860px) {
  .howto-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .howto-figure {
    aspect-ratio: 16 / 10;
  }
}

/* ───── Articles ───── */
.articles {
  padding: 24px 0 100px;
}

.articles .top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.articles h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -.025em;
  margin-top: 14px;
}

.article-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--mist);
}

.article .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.article:hover .thumb img {
  transform: scale(1.05);
}

.article .body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.22;
  letter-spacing: -.015em;
}

.article p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.56;
  color: var(--ink-soft);
  flex: 1;
}

.article .more {
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article .more svg {
  width: 15px;
  height: 15px;
  transition: transform .2s;
}

.article:hover .more svg {
  transform: translateX(3px);
}

@media (max-width: 920px) {
  .article-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ───── Final CTA ───── */
.final-cta {
  padding: 0 0 100px;
}

.final-cta-inner {
  background: linear-gradient(158deg, var(--blue), var(--blue-deep));
  color: #eef6fc;
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 44px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.final-cta-inner::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 164, 59, .35), transparent 70%);
}

.final-cta .eyebrow {
  color: #ffd590;
}

.final-cta h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -.025em;
  position: relative;
  margin-top: 14px;
  color: #fff;
}

.final-cta .side {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

@media (max-width: 820px) {
  .final-cta-inner {
    grid-template-columns: 1fr;
    padding: 44px 30px;
    gap: 26px;
  }

  .final-cta .side {
    justify-content: flex-start;
  }
}

/* ───── Page header (legal / articles) ───── */
.page-head {
  position: relative;
  overflow: hidden;
  padding: 64px 0 52px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 92% 0%, rgba(26, 106, 168, .12), transparent 60%);
  pointer-events: none;
}

.page-head .wrap {
  position: relative;
}

.page-head h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin-top: 16px;
}

.page-head .sub {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: 14px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 13.5px;
  color: var(--ink-faint);
  margin-bottom: 16px;
}

.page-head .eyebrow {
  white-space: nowrap;
}

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

.breadcrumb .sep {
  opacity: .5;
}

/* ───── Legal prose ───── */
.prose-wrap {
  padding: 40px 0 90px;
}

.prose {
  max-width: var(--prosew);
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  padding: 52px 56px 56px;
}

.prose .lead-block {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  background: var(--blue-tint);
  border-radius: 13px;
  padding: 20px 22px;
  margin-bottom: 30px;
  line-height: 1.55;
}

.prose h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}

.prose h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -.01em;
  margin: 34px 0 10px;
  color: var(--ink);
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.prose h3 .num {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-tint);
  border-radius: 7px;
  padding: 3px 9px;
  letter-spacing: .02em;
  flex-shrink: 0;
  transform: translateY(-2px);
}

.prose p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.68;
}

.prose p strong,
.prose strong {
  color: var(--ink);
  font-weight: 500;
}

.prose a:not(.btn-primary):not(.btn) {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose ul {
  margin: 4px 0 16px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.prose ul li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid var(--gold);
}

.prose .caps {
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-faint);
  letter-spacing: .005em;
}

.prose .addr {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper-2);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 6px 0 18px;
  white-space: pre-line;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}

.prose .note {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 8px;
}

@media (max-width: 720px) {
  .prose {
    padding: 34px 24px 38px;
  }
}

/* ───── Article views ───── */
.article-figure {
  margin: 0 0 30px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 16 / 9;
}

.article-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-body h3 {
  display: block;
  font-size: 22px;
  margin-top: 36px;
  color: var(--ink);
}

.article-body p.intro {
  font-size: 17.5px;
  color: var(--ink);
}

.article-body ol {
  margin: 6px 0 16px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.article-body ol li {
  line-height: 1.6;
  padding-left: 6px;
}

.article-body ol li::marker {
  color: var(--blue);
  font-weight: 700;
}

.article-body sup {
  line-height: 0;
}

.article-body sup a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 11px;
  padding: 0 1px;
}

.article-body sup a:hover {
  text-decoration: underline;
}

.article-cta {
  margin-top: 40px;
  padding: 30px 32px;
  background: var(--blue-tint);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.article-cta h3 {
  display: block;
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -.02em;
}

/* ───── Unsubscribe / confirmation cards ───── */
.unsub-wrap {
  padding: 56px 0 96px;
}

.unsub-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  padding: 44px 44px 40px;
  text-align: center;
}

.unsub-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin: 0 auto 22px;
  background: var(--blue-tint);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
}

.unsub-card .icon svg {
  width: 30px;
  height: 30px;
}

.unsub-card h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -.025em;
}

.unsub-card p.intro {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

.unsub-form {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.unsub-form label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .01em;
}

.unsub-form input[type="tel"] {
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color .15s, background .15s;
  width: 100%;
}

.unsub-form input[type="tel"]:focus {
  border-color: var(--blue);
  background: #fff;
}

.unsub-form input[type="tel"]::placeholder {
  color: var(--ink-faint);
}

.unsub-form .err {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #c0492f;
  font-weight: 500;
}

.unsub-form .err svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.unsub-form .btn {
  width: 100%;
  margin-top: 4px;
}

.unsub-note {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--ink-faint);
  line-height: 1.55;
}

.unsub-note b {
  color: var(--ink-soft);
}

.benefit-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.benefit-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.5;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 11px solid var(--gold);
}

/* shared error style */
.err {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #c0492f;
  font-weight: 500;
}

.err svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ───── Footer ───── */
footer.foot {
  background: var(--blue-night);
  color: #b9d0e2;
  padding: 60px 0 40px;
}

.foot-signup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 40px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.foot-signup .eyebrow {
  color: #ffd590;
}

.foot-signup h2 {
  font-family: var(--display);
  font-weight: 500;
  color: #fff;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.14;
  letter-spacing: -.02em;
  margin-top: 14px;
}

.foot-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.foot-form .field-row {
  display: flex;
  gap: 11px;
}

@media (max-width: 500px) {
  .foot-form .field-row {
    flex-direction: column;
  }
}

.foot-form input[type="tel"] {
  flex: 1;
  min-width: 0;
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 17px;
  border: 1.5px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  outline: none;
  transition: border-color .15s, background .15s;
}

.foot-form input[type="tel"]::placeholder {
  color: #7fa1ba;
}

.foot-form input[type="tel"]:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, .1);
}

.foot-form .btn-primary {
  background: linear-gradient(165deg, #edb24f, var(--gold-deep));
  color: #2a1d05;
  white-space: nowrap;
}

.foot-form .btn-primary:hover {
  filter: brightness(1.05);
}

.foot-form .err {
  color: #f4b8a6;
}

.foot-form-disclaimers {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #7fa1ba;
}

.foot-form-disclaimers label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-bottom: 11px;
  cursor: pointer;
  font-weight: 400;
}

.foot-form-disclaimers label:last-child {
  margin-bottom: 0;
}

.foot-form-disclaimers input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  accent-color: var(--gold);
  cursor: pointer;
}

.foot-form-disclaimers a {
  color: #c9def0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 760px) {
  .foot-signup {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  flex-wrap: wrap;
}

.foot .brand-lockup .brand-logo-img {
  filter: brightness(0) invert(1);
}

.foot-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.foot-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: #aac6da;
  transition: color .15s;
}

.foot-links a:hover {
  color: #fff;
}

.foot .copyright {
  margin-top: 24px;
  font-size: 13.5px;
  color: #6f93ac;
}

.sms-terms {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 11.5px;
  line-height: 1.6;
  color: #7fa1ba;
  max-width: 920px;
}

.sms-terms .label {
  display: block;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ffd590;
  font-size: 11px;
  margin-bottom: 8px;
}

.sms-terms a {
  color: #c9def0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ───── Auth (sign in / sign up) ───── */
.auth-wrap {
  padding: 56px 0 96px;
  display: flex;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.auth-card.signup {
  max-width: 560px;
}

.auth-banner {
  background: linear-gradient(158deg, var(--blue), var(--blue-deep));
  color: #eef6fc;
  padding: 36px 40px 32px;
  text-align: center;
}

.auth-banner .eyebrow {
  color: #ffd590;
  justify-content: center;
}

.auth-banner h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 31px;
  letter-spacing: -.025em;
  line-height: 1.08;
  margin-top: 12px;
  color: #fff;
}

.auth-banner p {
  margin-top: 8px;
  color: #cfe2f0;
  font-size: 14.5px;
}

.auth-body {
  padding: 32px 40px 36px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-row {
  display: flex;
  gap: 14px;
}

.auth-row .auth-field {
  flex: 1;
  min-width: 0;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.auth-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .01em;
}

.auth-field input {
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color .15s, background .15s;
  width: 100%;
}

.auth-field input:focus {
  border-color: var(--blue);
  background: #fff;
}

.auth-field input::placeholder {
  color: var(--ink-faint);
}

.auth-consent {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-faint);
}

.auth-consent a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
}

.auth-switch {
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.auth-switch a {
  color: var(--blue);
  font-weight: 500;
  margin-left: 6px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 575px) {
  .auth-row {
    flex-direction: column;
    gap: 16px;
  }

  .auth-body,
  .auth-banner {
    padding-left: 26px;
    padding-right: 26px;
  }
}

/* Auth modal (SMS consent on sign up) */
.auth-modal {
  border: none;
  border-radius: var(--r);
  padding: 0;
  max-width: 480px;
  width: calc(100% - 32px);
  box-shadow: var(--shadow-md);
  background: var(--card);
  color: var(--ink);
  margin: 30px auto 0 auto;
}

.auth-modal::backdrop {
  background: rgba(8, 36, 58, .55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.auth-modal .modal-inner {
  padding: 32px 32px 28px;
}

.auth-modal h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 25px;
  letter-spacing: -.02em;
}

.auth-modal .modal-sub {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.auth-modal form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-terms {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-faint);
}

.modal-terms input {
  margin-top: 3px;
  flex-shrink: 0;
}

.modal-terms a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ───── Logged-in dashboard ───── */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 52px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 92% 0%, rgba(26, 106, 168, .12), transparent 60%);
  pointer-events: none;
}

.home-hero .wrap {
  position: relative;
}

.home-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin-top: 16px;
}

.home-hero h1 em {
  font-style: normal;
  color: var(--gold-deep);
}

.home-hero .lede {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}

.btn-logout {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-logout:hover {
  border-color: var(--blue);
  color: var(--blue);
}
