/* ───────────────────────────────────────────────────────────
   FinNotifier — shared design system
   Used across the landing page, legal pages, articles and
   confirmation pages. Extracted from the new design.
   ─────────────────────────────────────────────────────────── */

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

:root {
  --paper: #f3f5fa;
  --paper-2: #e8ecf4;
  --card: #fdfdff;
  --ink: #1a2238;
  --ink-soft: #414d68;
  --ink-faint: #707a90;
  --line: #d6dbe8;

  --blue: #3a56b4;
  --blue-deep: #1d2d63;
  --blue-tint: #e6ebf8;
  --coral: #d96f4a;
  --mist: #dde3f0;

  --maxw: 1180px;
  --prosew: 780px;
  --r: 18px;
  --r-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(26, 34, 56, .06), 0 4px 14px -8px rgba(26, 34, 56, .18);
  --shadow-md: 0 2px 4px rgba(26, 34, 56, .05), 0 22px 48px -22px rgba(26, 34, 56, .32);
  --display: "Protest Strike", "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --sans: "Hanken Grotesk", 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.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--blue);
  display: inline-block;
}

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

.btn-primary {
  background-color: #3a56b4;
  background: var(--blue);
  color: #f9faff;
  box-shadow: 0 1px 2px rgba(26, 34, 56, .18), 0 14px 26px -14px rgba(58, 86, 180, .7);
}

.btn-primary:hover {
  background-color: #1d2d63;
  background: var(--blue-deep);
  transform: translateY(-1px);
}

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

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

/* ───── Nav ───── */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 245, 250, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(214, 219, 232, .7);
}

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

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

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-lockup .mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue);
  display: grid;
  place-items: center;
  color: #f9faff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 16px -8px rgba(58, 86, 180, .8);
}

.brand-lockup .mark svg {
  width: 21px;
  height: 21px;
}

.brand-lockup .name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -.01em;
  line-height: 1;
}

.brand-lockup .name b {
  color: var(--blue);
  font-weight: 600;
}

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

.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: 14px;
}

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

  .nav-cta .btn {
    padding: 10px 15px;
    font-size: 12px;
  }
}

/* ───── Brand logo (header + footer) ───── */
.brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  height: 34px;
  width: auto;
  display: block;
}

/* footer sits on the dark navy band — knock the logo out to white */
.foot .brand-logo img {
  height: 38px;
  filter: brightness(0) invert(1);
}

@media (max-width: 575px) {
  .brand-logo img {
    height: 28px;
  }

  .foot .brand-logo img {
    height: 32px;
  }
}

/* ───── Hero ───── */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 88% 8%, rgba(58, 86, 180, .10), transparent 60%),
    radial-gradient(50% 60% at 6% 90%, rgba(217, 111, 74, .10), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 96px 0 104px;
}

.hero-copy {
  max-width: 880px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 22px 0 0;
}

.hero h1 em {
  font-style: normal;
  font-weight: 400;
  color: var(--blue);
}

.hero .lede {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.hero .lede b {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* signup card (optional inline hero/standalone card) */
.signup-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  padding: 30px 30px 26px;
  position: relative;
}

.signup-card .badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--coral);
  color: #33140a;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 14px -8px rgba(217, 111, 74, .9);
}

.signup-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -.01em;
  margin-top: 8px;
}

.signup-form {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

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

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

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

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

.signup-card .btn {
  width: 100%;
}

.terms-note {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-faint);
  max-height: 132px;
  overflow-y: auto;
  padding-right: 6px;
}

.terms-note b {
  color: var(--ink-soft);
  font-weight: 700;
}

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

@media (max-width: 940px) {
  .hero-inner {
    padding: 60px 12px 68px;
  }
}

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

.why::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 70%);
}

.why-inner {
  padding: 88px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.why .eyebrow {
  color: #9db1f0;
}

.why .eyebrow::before {
  background: #9db1f0;
}

.why h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin-top: 18px;
}

.why p {
  font-size: 20px;
  line-height: 1.62;
  color: #c8d3ef;
  margin-top: 26px;
  max-width: 60ch;
}

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

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

/* ───── Features ───── */
.features {
  padding: 92px 0 88px;
}

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

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

.feature-grid {
  margin-top: 48px;
  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;
}

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

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

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

.feature h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.01em;
}

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

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

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

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

.feature.cta-feature .btn {
  background: #f9faff;
  color: var(--blue-deep);
  margin-top: 6px;
}

.feature.cta-feature .btn:hover {
  background: #fff;
}

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

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

/* ───── Articles ───── */
.articles {
  padding: 20px 0 96px;
}

.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: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -.02em;
  margin-top: 14px;
}

.article-grid {
  margin-top: 42px;
  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: 400;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.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: 600;
  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 96px;
}

.final-cta-inner {
  background: var(--card);
  border: 1px solid var(--line);
  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;
  left: -80px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-tint), transparent 70%);
}

.final-cta h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -.02em;
  position: relative;
}

.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;
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 92% 0%, rgba(58, 86, 180, .10), transparent 60%);
  pointer-events: none;
}

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

.page-head h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  letter-spacing: -.02em;
  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: 8px 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: 600;
  background: var(--blue-tint);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 30px;
  line-height: 1.55;
}

.prose h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 27px;
  letter-spacing: -.01em;
  margin: 0 0 18px;
}

.prose h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 19.5px;
  letter-spacing: -.005em;
  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: 600;
}

.prose a:not(.btn-primary) {
  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: 4px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
  transform: rotate(45deg);
}

/* all-caps statutory blocks — readable, muted, slightly smaller */
.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: 600;
  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: 400;
  font-size: 22px;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -.01em;
}

/* ───── 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: 400;
  font-size: 34px;
  letter-spacing: -.02em;
}

.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: 600;
  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: #b4452f;
  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 used on thank-you / unsubscribed confirmation cards */
.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: 4px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--blue);
  transform: rotate(45deg);
}

/* ───── Footer ───── */
footer.foot {
  background: var(--blue-deep);
  color: #c3cee9;
  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: #9db1f0;
}

.foot-signup .eyebrow::before {
  background: #9db1f0;
}

.foot-signup h2 {
  font-family: var(--display);
  font-weight: 400;
  color: #fff;
  font-size: clamp(24px, 2.8vw, 33px);
  line-height: 1.12;
  letter-spacing: -.015em;
  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: #8d9ac2;
}

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

.foot-form .btn-primary {
  background: #4b69d1;
  background-color: #4b69d1;
  white-space: nowrap;
}

.foot-form .btn-primary:hover {
  background: #5d7ae2;
  background-color: #5d7ae2;
}

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

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

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

.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: #4b69d1;
  cursor: pointer;
}

.foot-form-disclaimers a {
  color: #b4c3e6;
  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 .name {
  color: #fff;
}

.foot .brand-lockup .name b {
  color: #9db1f0;
}

.foot .brand-lockup .mark {
  background: #4b69d1;
}

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

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

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

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

/* SMS terms — small print */
.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: #7e8bb4;
  max-width: 920px;
}

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

.sms-terms a {
  color: #b4c3e6;
  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(160deg, var(--blue), var(--blue-deep));
  color: #eef2fc;
  padding: 36px 40px 32px;
  text-align: center;
}

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

.auth-banner .eyebrow::before {
  background: #9db1f0;
}

.auth-banner h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -.02em;
  line-height: 1.06;
  margin-top: 12px;
  color: #fff;
}

.auth-banner p {
  margin-top: 8px;
  color: #c8d3ef;
  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: 600;
  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: 600;
  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(26, 34, 56, .5);
  -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: 400;
  font-size: 26px;
  letter-spacing: -.01em;
}

.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 home ───── */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 52px;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 92% 0%, rgba(58, 86, 180, .10), transparent 60%);
  pointer-events: none;
}

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

.home-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.03;
  letter-spacing: -.02em;
  margin-top: 16px;
}

.home-hero h1 em {
  font-style: normal;
  font-weight: 400;
  color: var(--blue);
}

.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);
}