/*
Theme Name: FinAI
Theme URI: https://finassistai.app
Author: FinAI
Author URI: https://finassistai.app
Description: WordPress theme for the FinAI 2.0 public website and policy pages.
Version: 2.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: finassistai
*/

:root {
  /* FinAI 2.0 — aligned with DesignTemplate.tsx */
  --primary: #14b8a6;
  --primary-dark: #0d9488;
  --navy: #1e293b;
  --navy-mid: #334155;
  --amber: #f59e0b;
  --success: #22c55e;
  --warning: #fb923c;
  --error: #ef4444;
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --label: #94a3b8;
  --text: #0f172a;
  --text-sub: #64748b;
  --primary-bg: #ccfbf1;
  --amber-bg: #fef3c7;
  --success-bg: #dcfce7;
  --navy-bg: #f1f5f9;
  --radius-2xl: 16px;
  --radius-xl: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 24px rgba(15, 23, 42, 0.12);

  /* Legacy aliases */
  --ink: var(--text);
  --muted: var(--text-sub);
  --line: var(--border);
  --navy-dark: var(--navy);
  --green: var(--primary);
  --green-dark: var(--primary-dark);
  --mint: var(--primary-bg);
  --amber-soft: var(--amber-bg);
  --red: var(--error);
  --paper: var(--surface);
  --soft: var(--primary-bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.siteShell {
  min-height: 100vh;
}

.topNav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 5vw, 56px);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xl);
  background: var(--surface) url("assets/finai-icon.png") center / cover no-repeat;
  box-shadow: var(--shadow-sm);
  color: transparent;
  font-size: 0;
}

.navLinks {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-sub);
}

.navLinks a {
  color: var(--text-sub);
  font-weight: 600;
}

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

.navWrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.loginButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: var(--radius-2xl);
  padding: 0 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
}

.loginButton:hover {
  color: #ffffff;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(24px, 6vw, 72px);
  padding: clamp(42px, 8vw, 88px) clamp(18px, 5vw, 56px);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sectionHeader .eyebrow {
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 780px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--label);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.sectionHeader .eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
}

h1 {
  margin-top: 16px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 780px;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.25;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

p {
  margin: 0;
  color: var(--text-sub);
  font-weight: 500;
}

code {
  border-radius: 8px;
  padding: 2px 6px;
  background: var(--soft);
  color: var(--navy-dark);
}

.lead {
  margin-top: 18px;
  max-width: 720px;
  font-size: clamp(1rem, 2.5vw, 1.22rem);
}

.heroHighlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip,
.heroHighlights span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 0.625rem;
  font-weight: 700;
}

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

.chip.amber {
  background: var(--amber-bg);
  color: var(--amber);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius-2xl);
  padding: 0 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
}

.button:hover {
  color: #ffffff;
  text-decoration: none;
}

.button.secondary {
  background: var(--surface);
  color: var(--primary-dark);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.phoneCard {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 70px rgba(22, 92, 102, 0.16);
}

.phoneScreen {
  display: grid;
  gap: 12px;
  min-height: 520px;
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #f3fbf7 58%, #fff8ee 100%);
  color: var(--ink);
}

.miniHeader {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.balance {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(20, 169, 123, 0.14);
  box-shadow: 0 14px 32px rgba(22, 92, 102, 0.10);
}

.balance strong {
  font-size: 2rem;
  line-height: 1;
}

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

.tile {
  display: grid;
  gap: 4px;
  min-height: 92px;
  border-radius: 16px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid rgba(20, 169, 123, 0.12);
}

.tile span,
.balance span {
  color: #7c8ba8;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tile strong {
  font-size: 1.18rem;
}

.tile.due {
  background: var(--amber-soft);
  border-color: rgba(186, 117, 23, 0.24);
}

.dotRow {
  display: flex;
  gap: 7px;
  margin-top: auto;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--green);
}

.dot.red {
  background: var(--red);
}

.dot.amber {
  background: var(--amber);
}

.section {
  padding: clamp(34px, 7vw, 76px) clamp(18px, 5vw, 56px);
}

.introBand {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.introCopy {
  display: grid;
  gap: 12px;
}

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

.statCard {
  display: grid;
  gap: 8px;
  min-height: 150px;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.statCard strong {
  color: var(--primary-dark);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
}

.statCard span {
  color: var(--muted);
  font-weight: 700;
}

.sectionHeader {
  display: grid;
  gap: 10px;
  max-width: 780px;
  margin-bottom: 24px;
}

.compactHeader {
  margin-bottom: 0;
}

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

.card,
.policyCard {
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.cardIcon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--amber-soft) 100%);
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.splitSection {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: start;
}

.stepList {
  display: grid;
  gap: 12px;
}

.stepItem {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: var(--paper);
  box-shadow: 0 16px 38px rgba(34, 56, 97, 0.07);
}

.stepItem span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xl);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
}

.stepItem div {
  display: grid;
  gap: 6px;
}

.featureBand {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.featurePanel {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 4vw, 32px);
  background: var(--paper);
}

.accentPanel {
  background: linear-gradient(180deg, var(--mint) 0%, #ffffff 100%);
}

.checkList {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.checkList li {
  position: relative;
  padding-left: 26px;
  font-weight: 700;
}

.checkList li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--success);
}

.audienceSection {
  padding-bottom: clamp(46px, 8vw, 92px);
}

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

.miniCard {
  display: grid;
  gap: 10px;
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-2xl);
  padding: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.trustSection {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: start;
  background: var(--surface);
  border-block: 1px solid var(--border);
}

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

.trustCard {
  display: grid;
  gap: 8px;
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(22, 92, 102, 0.08);
}

.trustCard strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.policyGrid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  align-items: start;
}

.policyCard {
  display: grid;
  gap: 14px;
}

.list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.list li + li {
  margin-top: 8px;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(34px, 7vw, 76px) clamp(18px, 5vw, 48px);
}

.pageHeader {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.prose {
  display: grid;
  gap: 18px;
}

.prose section {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: var(--paper);
}

.notice {
  margin-bottom: 18px;
  border-left: 4px solid var(--amber);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff7e8;
  color: #5f3c10;
}

.successNotice {
  border-left-color: var(--green);
  background: #eaf8f2;
  color: #17654d;
}

.contactSection {
  gap: 16px;
}

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

.contactForm label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.contactForm span {
  font-size: 0.9rem;
}

.contactForm input,
.contactForm select,
.contactForm textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 13px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.contactForm textarea {
  resize: vertical;
}

.fullField,
.contactSubmit {
  grid-column: 1 / -1;
}

.contactSubmit {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.faqList {
  display: grid;
  gap: 10px;
}

.faqList article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.faqList h3 {
  margin: 0;
  font-size: 1rem;
}

.faqList p,
.contactCard p {
  margin: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px clamp(18px, 5vw, 56px);
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-sub);
  font-size: 0.875rem;
  font-weight: 500;
}

.footerLinks {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .topNav {
    align-items: flex-start;
    flex-direction: column;
  }

  .navLinks {
    justify-content: flex-start;
  }

  .navWrap {
    justify-content: flex-start;
  }

  .hero,
  .introBand,
  .splitSection,
  .featureBand,
  .trustSection,
  .policyGrid {
    grid-template-columns: 1fr;
  }

  .cardGrid,
  .statGrid,
  .trustGrid,
  .miniGrid,
  .contactForm,
  .screenshotGallery {
    grid-template-columns: 1fr;
  }

  .phoneScreen {
    min-height: 420px;
  }
}

/* FinAI 2.0 layout — DesignTemplate.tsx patterns */
.hero {
  position: relative;
  min-height: calc(100vh - 73px);
  background: var(--bg);
}

.lead {
  color: var(--text-sub);
  font-weight: 500;
}

.heroProof {
  display: grid;
  grid-template-columns: auto minmax(0, 150px) auto minmax(0, 180px);
  gap: 8px 12px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.heroProof strong {
  color: var(--text);
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1;
}

.heroProof span {
  color: var(--label);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.productPreview {
  position: relative;
  max-width: 430px;
  justify-self: end;
  border-radius: var(--radius-2xl);
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.productPreview::after {
  display: none;
}

.phoneShot {
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-2xl) - 4px);
  box-shadow: var(--shadow-sm);
}

.phoneShot img {
  display: block;
  width: 100%;
  max-width: 430px;
  height: auto;
}

.screenshotSection {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.screenshotGallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 36px);
  max-width: 1080px;
  margin: 0 auto;
}

.screenshotCard {
  display: grid;
  gap: 14px;
  margin: 0;
}

.screenshotCard img {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.screenshotCard figcaption {
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}

.appFrame {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  min-height: 560px;
  border-radius: 26px;
  padding: 20px;
  background:
    radial-gradient(circle at 78% 0%, rgba(255, 255, 255, 0.78), transparent 30%),
    linear-gradient(180deg, #f8fcfa 0%, #edf8f3 100%);
  box-shadow: inset 0 0 0 1px rgba(20, 169, 123, 0.10);
}

.appTopline {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.healthPanel {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.26), transparent 22%),
    linear-gradient(135deg, var(--green) 0%, var(--navy-dark) 100%);
  color: #ffffff;
  box-shadow: 0 22px 48px rgba(23, 53, 95, 0.22);
}

.healthPanel span,
.safeSpendPanel span,
.assistantPreview span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.healthPanel strong {
  font-size: 3rem;
  line-height: 0.95;
}

.healthPanel small {
  font-size: 1rem;
}

.healthPanel p,
.assistantPreview p {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

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

.safeSpendPanel div,
.assistantPreview,
.categoryPreview {
  border: 1px solid rgba(20, 169, 123, 0.13);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(22, 92, 102, 0.08);
}

.safeSpendPanel span {
  display: block;
  color: var(--muted);
}

.safeSpendPanel strong {
  display: block;
  margin-top: 7px;
  color: var(--navy-dark);
  font-size: 1.45rem;
  line-height: 1;
}

.safeSpendPanel .warningText {
  color: var(--red);
}

.categoryPreview {
  display: grid;
  gap: 12px;
}

.categoryLine {
  display: grid;
  grid-template-columns: minmax(92px, 0.8fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.categoryLine i {
  position: relative;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfeee8;
}

.categoryLine i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--navy));
}

.dueLine i::before {
  background: linear-gradient(90deg, var(--amber), var(--red));
}

.categoryLine strong {
  color: var(--navy-dark);
  white-space: nowrap;
}

.assistantPreview {
  background: linear-gradient(135deg, rgba(23, 53, 95, 0.96), rgba(8, 120, 95, 0.9));
  color: #ffffff;
}

.proofBand {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 56px) clamp(34px, 7vw, 70px);
  background: var(--bg);
}

.proofBand article {
  display: grid;
  gap: 10px;
  min-height: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--primary);
}

.proofBand article:first-child,
.proofBand article:last-child {
  border-radius: var(--radius-2xl);
}

.proofBand span {
  color: var(--label);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proofBand strong {
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
}

.proofBand p {
  color: var(--text-sub);
  font-weight: 500;
}

.introBand,
.featureBand,
.trustSection {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.card,
.statCard,
.stepItem,
.featurePanel,
.trustCard,
.miniCard {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.card {
  min-height: 220px;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow: var(--shadow-md);
}

.cardIcon {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xl);
  background: var(--navy-bg);
  border-left: 2px solid var(--primary);
}

.cardIcon::before,
.cardIcon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.spendIcon::before {
  inset: 10px 13px;
  border: 2px solid var(--green-dark);
}

.spendIcon::after {
  width: 13px;
  height: 2px;
  left: 14px;
  top: 20px;
  background: var(--green-dark);
}

.budgetIcon::before {
  inset: 9px;
  border: 2px solid var(--green-dark);
}

.budgetIcon::after {
  width: 18px;
  height: 18px;
  left: 12px;
  top: 12px;
  border: 2px solid transparent;
  border-top-color: var(--amber);
  border-right-color: var(--amber);
}

.dueIcon::before {
  inset: 9px;
  border: 2px solid var(--green-dark);
}

.dueIcon::after {
  width: 8px;
  height: 13px;
  left: 20px;
  top: 12px;
  border-left: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  border-radius: 0;
}

.calendarIcon::before {
  inset: 10px 9px 8px;
  border: 2px solid var(--green-dark);
  border-radius: 7px;
}

.calendarIcon::after {
  width: 18px;
  height: 2px;
  left: 12px;
  top: 17px;
  background: var(--green-dark);
}

.importIcon::before {
  width: 18px;
  height: 16px;
  left: 12px;
  top: 16px;
  border: 2px solid var(--green-dark);
  border-top: 0;
  border-radius: 0 0 7px 7px;
}

.importIcon::after {
  width: 11px;
  height: 11px;
  left: 15px;
  top: 8px;
  border-left: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  border-radius: 0;
  transform: rotate(-45deg);
}

.aiIcon::before {
  content: "AI";
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 950;
}

.aiIcon::after {
  display: none;
}

.healthIcon::before {
  inset: 9px;
  border: 2px solid var(--green-dark);
  border-radius: 50%;
}

.healthIcon::after {
  width: 10px;
  height: 10px;
  left: 16px;
  top: 16px;
  background: var(--green);
}

.goalsIcon::before {
  inset: 10px 12px 8px;
  border: 2px solid var(--green-dark);
  border-radius: 4px;
}

.goalsIcon::after {
  width: 14px;
  height: 2px;
  left: 14px;
  top: 22px;
  background: var(--amber);
}

.featureBand {
  gap: 24px;
}

.featurePanel {
  min-height: 430px;
}

.accentPanel {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.accentPanel .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}

.accentPanel h2,
.accentPanel .checkList li {
  color: #ffffff;
}

.accentPanel p,
.accentPanel .checkList {
  color: rgba(255, 255, 255, 0.72);
}

.finalCta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(18px, 5vw, 56px) clamp(42px, 7vw, 76px);
  padding: clamp(24px, 5vw, 36px);
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  box-shadow: var(--shadow-lg);
}

.finalCta .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.finalCta h2 {
  max-width: 820px;
  margin-top: 12px;
  color: #ffffff;
  font-weight: 700;
}

.finalCta .button {
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

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

  .productPreview {
    justify-self: stretch;
    max-width: none;
  }

  .proofBand {
    grid-template-columns: 1fr;
  }

  .proofBand article,
  .proofBand article:first-child,
  .proofBand article:last-child {
    min-height: auto;
    border-radius: 22px;
  }
}

@media (max-width: 680px) {
  .topNav {
    gap: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  h1 {
    letter-spacing: -0.04em;
  }

  .actions .button {
    width: 100%;
  }

  .heroProof {
    grid-template-columns: 1fr 1fr;
  }

  .heroProof strong {
    font-size: 1.15rem;
  }

  .productPreview {
    padding: 10px;
    border-radius: 26px;
  }

  .phoneShot {
    border-radius: 26px;
  }

  .screenshotGallery {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .appFrame {
    min-height: 0;
    padding: 15px;
    border-radius: 21px;
  }

  .healthPanel {
    padding: 18px;
  }

  .healthPanel strong {
    font-size: 2.4rem;
  }

  .safeSpendPanel,
  .categoryLine {
    grid-template-columns: 1fr;
  }

  .proofBand {
    padding-right: 18px;
    padding-left: 18px;
  }

  .card {
    min-height: auto;
  }

  .finalCta {
    display: grid;
    margin-right: 18px;
    margin-left: 18px;
    border-radius: 24px;
  }

  .finalCta .button {
    width: 100%;
  }
}
