:root {
  --navy: #0c1b33;
  --navy-2: #13294a;
  --navy-3: #1d3a63;
  --ink: #172033;
  --muted: #5f6877;
  --red: #d51f3d;
  --red-dark: #ae1830;
  --cream: #f5f0e7;
  --paper: #ffffff;
  --soft: #f4f6f9;
  --line: #dfe3ea;
  --gold: #c99a57;
  --blue: #2d6cdf;
  --green: #1c8b60;
  --shadow: 0 18px 50px rgba(12, 27, 51, 0.12);
  --shadow-soft: 0 10px 30px rgba(12, 27, 51, 0.08);
  --radius: 26px;
  --radius-sm: 16px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
body.no-scroll { overflow: hidden; }
section[id], footer[id] { scroll-margin-top: 120px; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top notices */
.alert-bar {
  background: var(--navy);
  color: #e8edf6;
  font-size: 12px;
  letter-spacing: 0.01em;
}
.alert-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; }
.alert-inner strong { color: #fff; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 0; border-radius: 50%;
  color: inherit; background: transparent;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.1); }
.demo-strip { background: var(--cream); border-bottom: 1px solid #e7dfd0; font-size: 12px; }
.demo-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; color: #4c4a44; }
.demo-strip-inner strong { color: var(--navy); }
.demo-strip-inner a { display: inline-flex; align-items: center; gap: 6px; color: var(--red-dark); font-weight: 700; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.utility-bar { border-bottom: 1px solid var(--line); background: #fff; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; font-size: 12px; }
.utility-inner nav { display: flex; gap: 24px; color: var(--muted); }
.utility-inner nav a:hover { color: var(--red); }
.signin-link { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--navy); font-weight: 700; font-size: 12px; }
.signin-link svg { color: var(--red); }
.main-header-inner { display: flex; align-items: center; min-height: 84px; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 13px; color: var(--navy);
  background: linear-gradient(145deg, #f2f6fc, #dfe9f7);
}
.brand-mark svg { width: 30px; height: 30px; stroke: none; }
.brand-name { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; color: var(--navy); }
.brand-pill { margin-left: 2px; padding: 3px 7px; border-radius: 999px; background: #fbe8ec; color: var(--red-dark); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  border: 0; background: transparent; padding: 12px 11px;
  color: var(--ink); font-size: 13px; font-weight: 600;
}
.nav-link svg { width: 14px; height: 14px; color: var(--muted); transition: transform 0.2s; }
.nav-link:hover, .nav-item.open .nav-link { color: var(--red); }
.nav-item.open .nav-link svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 3px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(820px, 90vw); padding: 24px; border-radius: 18px;
  background: #fff; box-shadow: 0 26px 70px rgba(12, 27, 51, 0.18);
  opacity: 0; visibility: hidden; pointer-events: none; transition: 0.18s ease;
  border: 1px solid var(--line);
}
.nav-item.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 24px; }
.mega h3 { margin: 0 0 9px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.11em; color: var(--muted); }
.mega a { display: block; padding: 5px 0; font-size: 13px; color: var(--ink); }
.mega a:hover { color: var(--red); }
.mega-feature { display: flex !important; flex-direction: column; gap: 6px; padding: 16px !important; border-radius: 14px; background: var(--soft); }
.mega-feature-art { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; color: var(--red); }
.mega-feature strong { font-size: 14px; }
.mega-feature span { font-size: 12px; color: var(--muted); line-height: 1.45; }
.mega-feature em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--red); margin-top: 4px; }
.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; background: transparent; color: var(--navy); border-radius: 10px; }
.header-icon:hover { background: var(--soft); color: var(--red); }
.header-icon svg { width: 21px; height: 21px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
  font-size: 13px; font-weight: 700; transition: 0.18s ease; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(213, 31, 61, 0.2); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.header-signin { min-height: 40px; padding: 9px 15px; }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.14); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #081326; }
.btn-outline-dark { border-color: rgba(12, 27, 51, 0.25); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: rgba(12, 27, 51, 0.06); }
.mobile-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 10px; color: var(--navy); }

/* Hero */
.hero { padding: 34px 0 0; background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(280px, 0.95fr); gap: 18px; align-items: stretch; }
.hero-card {
  position: relative; min-height: 540px; border-radius: 30px; overflow: hidden;
  background:
    radial-gradient(700px 420px at 88% 12%, rgba(52, 105, 185, 0.45), transparent 60%),
    radial-gradient(500px 400px at 10% 100%, rgba(213, 31, 61, 0.16), transparent 60%),
    linear-gradient(135deg, #0a1930 0%, #10294d 55%, #163a66 100%);
  color: #fff; padding: 48px;
  box-shadow: 0 26px 60px rgba(12, 27, 51, 0.22);
}
.hero-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.05), transparent 40%);
}
.hero-copy { position: relative; z-index: 2; max-width: 56%; }
.eyebrow { margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: #f1b6c1; }
.eyebrow.dark { color: var(--red-dark); }
.hero-card h1 { margin: 0; font-size: clamp(44px, 5vw, 70px); line-height: 0.96; letter-spacing: -0.055em; font-weight: 800; }
.hero-card h1 span { color: #c9dcf5; }
.hero-text { max-width: 460px; margin: 22px 0 0; color: #c3d0e2; font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-note { margin: 18px 0 0; font-size: 11px; color: #8fa4bf; letter-spacing: 0.02em; }
.hero-art { position: absolute; right: -10px; bottom: 24px; width: 44%; height: 76%; z-index: 1; }
.art-orbit { position: absolute; border: 1px solid rgba(255,255,255,0.14); border-radius: 50%; }
.orbit-one { inset: 8% -6% 12% 10%; }
.orbit-two { inset: 21% 4% 25% 22%; border-color: rgba(255,255,255,0.09); }
.art-card {
  position: absolute; left: 10%; top: 26%; width: 74%; padding: 20px;
  border-radius: 19px; background: rgba(255,255,255,0.96); color: var(--ink);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.24); transform: rotate(-5deg);
}
.art-card-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.art-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.art-card strong { display: block; margin-top: 8px; font-size: 30px; letter-spacing: -0.04em; }
.art-bars { display: flex; align-items: flex-end; gap: 6px; height: 44px; margin-top: 16px; }
.art-bars i { display: block; flex: 1; border-radius: 4px 4px 2px 2px; background: #dbe7f5; }
.art-bars i:nth-child(1) { height: 35%; }
.art-bars i:nth-child(2) { height: 55%; }
.art-bars i:nth-child(3) { height: 42%; }
.art-bars i:nth-child(4) { height: 78%; background: var(--red); }
.art-bars i:nth-child(5) { height: 64%; background: #a9c4e5; }
.art-card-row { display: flex; justify-content: space-between; margin-top: 14px; font-size: 11px; color: var(--muted); }
.art-shield {
  position: absolute; right: 3%; top: 10%; width: 62px; height: 62px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: var(--red); box-shadow: 0 18px 35px rgba(213,31,61,0.3); transform: rotate(7deg);
}
.art-shield svg { width: 30px; height: 30px; }
.art-chip {
  position: absolute; right: 0; bottom: 12%; display: flex; flex-direction: column;
  padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(8px);
}
.art-chip span { font-size: 9px; color: #a8bdd8; text-transform: uppercase; letter-spacing: 0.1em; }
.art-chip strong { font-size: 13px; color: #fff; }
.hero-side { display: grid; grid-template-rows: 1.05fr 0.95fr; gap: 18px; }
.promo { position: relative; overflow: hidden; border-radius: 26px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; }
.promo h2 { margin: 0; font-size: 26px; line-height: 1.08; letter-spacing: -0.035em; }
.promo p { margin: 10px 0 0; font-size: 13px; line-height: 1.55; }
.promo a { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 12px; font-weight: 800; }
.promo a svg { width: 14px; height: 14px; }
.promo-red { background: linear-gradient(150deg, #d51f3d, #a7112c); color: #fff; box-shadow: 0 22px 45px rgba(174,24,48,0.22); }
.promo-red .eyebrow { color: #ffd3db; }
.promo-red p { color: #ffdbe1; }
.promo-red a { color: #fff; }
.promo-red::before { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); right: -60px; top: -70px; }
.promo-red::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); right: -10px; top: -30px; }
.promo-light { background: var(--cream); border: 1px solid #e7dece; color: var(--ink); box-shadow: var(--shadow-soft); }
.promo-light .eyebrow { color: #8a6a3e; }
.promo-icon { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--red); box-shadow: 0 6px 15px rgba(90, 62, 25, 0.1); }
.promo-icon svg { width: 22px; height: 22px; }
.rank-strip { margin-top: 28px; background: var(--red-dark); color: #fff; }
.rank-inner { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 58px; font-size: 12px; letter-spacing: 0.02em; flex-wrap: wrap; }
.rank-inner span { color: #ffd6de; text-transform: uppercase; letter-spacing: 0.12em; font-size: 10px; font-weight: 800; }
.rank-inner strong { font-weight: 600; }
.rank-inner i { width: 3px; height: 3px; border-radius: 50%; background: #ffb2c0; }

/* Sections */
.section { padding: 78px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.02; letter-spacing: -0.05em; }
.section-lede { max-width: 620px; margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.quick-actions { background: #fff; }
.tabs { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); gap: 2px; }
.tab { border: 0; background: transparent; padding: 9px 13px; border-radius: 9px; font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.tab.active { background: #fff; color: var(--navy); box-shadow: 0 3px 10px rgba(12, 27, 51, 0.08); }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tab-panel { display: none; }
.tab-panel.active { display: grid; }
.action-card {
  display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 2px;
  align-items: center; padding: 18px; border-radius: 16px; border: 1px solid var(--line);
  background: #fff; transition: 0.18s ease; box-shadow: 0 1px 0 rgba(12,27,51,0.02);
}
.action-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: #cfd7e3; }
.action-icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: #f1f5fb; color: var(--navy); }
.action-icon svg { width: 23px; height: 23px; }
.action-card strong { font-size: 14px; }
.action-card > span:last-child { color: var(--muted); font-size: 12px; line-height: 1.4; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--red-dark); font-size: 12px; font-weight: 800; }
.text-link svg { width: 14px; height: 14px; }
.text-link.light { color: #ffd9e1; }

/* Features */
.feature-section { background: var(--soft); }
.feature-grid { display: grid; grid-template-columns: 1.25fr 0.85fr 0.85fr; gap: 16px; }
.feature-card { background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(12,27,51,0.03); }
.feature-large { grid-row: span 1; }
.feature-art { position: relative; min-height: 220px; overflow: hidden; }
.feature-copy { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.feature-copy h3 { margin: 4px 0 8px; font-size: 23px; line-height: 1.12; letter-spacing: -0.035em; }
.feature-copy p { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.feature-copy .text-link { margin-top: auto; }
.art-checking { background: linear-gradient(145deg, #dfeaf8, #f7fafc 60%, #eef3f9); padding: 26px; }
.art-badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.mini-card { width: 270px; margin: 18px 0 0 30px; padding: 16px; border-radius: 15px; background: #fff; box-shadow: 0 14px 28px rgba(12,27,51,0.14); transform: rotate(-4deg); }
.mini-card-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.mini-card-top svg { width: 17px; height: 17px; }
.mini-card strong { display: block; margin-top: 18px; font-size: 16px; letter-spacing: 0.06em; }
.mini-card > span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.mini-balance { position: absolute; right: 24px; bottom: 24px; padding: 10px 13px; border-radius: 11px; background: rgba(255,255,255,0.9); box-shadow: 0 8px 20px rgba(12,27,51,0.1); }
.mini-balance span { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); }
.mini-balance strong { font-size: 15px; color: var(--navy); }
.art-home { background: linear-gradient(145deg, #f6e8d8, #fbf6ef); display: flex; align-items: flex-end; justify-content: center; }
.house { position: relative; width: 170px; height: 140px; margin-bottom: 28px; }
.roof { position: absolute; left: 10px; top: 6px; width: 150px; height: 80px; background: #b9784b; clip-path: polygon(50% 0, 100% 70%, 100% 100%, 0 100%, 0 70%); }
.house-body { position: absolute; left: 28px; bottom: 0; width: 114px; height: 86px; border-radius: 4px 4px 0 0; background: #f7f2ea; display: flex; gap: 8px; align-items: flex-end; justify-content: center; padding-bottom: 15px; }
.house-body span { width: 18px; height: 24px; background: #c8a57d; border-radius: 2px; }
.percent { position: absolute; top: 30px; right: 28px; font-size: 34px; font-weight: 800; color: #9a6334; opacity: 0.55; }
.art-wealth { background: linear-gradient(145deg, #dcefe8, #f6fbf8); }
.chart-line { position: absolute; left: 22px; right: 22px; bottom: 30px; height: 120px; border-bottom: 1px solid #b8d8c9; border-left: 1px solid #b8d8c9; }
.chart-line::before { content: ""; position: absolute; left: 10%; bottom: 10%; width: 80%; height: 70%; border-top: 3px solid var(--green); border-right: 3px solid var(--green); transform: skewY(-18deg); opacity: 0.85; }
.chart-line span { position: absolute; right: 18%; bottom: 58%; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(28,139,96,0.12); }
.wealth-stat { position: absolute; top: 24px; left: 24px; display: flex; flex-direction: column; padding: 10px 13px; border-radius: 11px; background: rgba(255,255,255,0.9); box-shadow: 0 8px 20px rgba(12,27,51,0.08); }
.wealth-stat span { font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.wealth-stat strong { color: var(--green); font-size: 15px; }

/* Digital */
.digital { background: var(--navy); color: #fff; padding: 86px 0; overflow: hidden; }
.digital-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 60px; align-items: center; }
.digital-copy h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.02; letter-spacing: -0.05em; }
.digital-copy > p { max-width: 520px; margin: 18px 0 0; color: #b9c8dc; font-size: 15px; line-height: 1.65; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; color: #dce5f2; font-size: 13px; }
.check-list svg { width: 18px; height: 18px; color: #8fb7ff; flex-shrink: 0; }
.digital-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.phone-wrap { display: flex; justify-content: center; }
.phone { width: 300px; height: 590px; border-radius: 45px; padding: 11px; background: #0b1220; border: 1px solid #2b3b54; box-shadow: 0 34px 70px rgba(0, 0, 0, 0.35); position: relative; transform: rotate(2deg); }
.phone::before { content: ""; position: absolute; inset: -12px; border-radius: 54px; border: 1px solid rgba(255,255,255,0.08); }
.phone-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 110px; height: 24px; border-radius: 0 0 16px 16px; background: #0b1220; z-index: 2; }
.phone-screen { height: 100%; border-radius: 35px; background: #f8fafc; color: var(--ink); overflow: hidden; padding: 24px 18px 18px; display: flex; flex-direction: column; }
.phone-top { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: var(--muted); }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; font-size: 10px; font-weight: 800; }
.phone-balance { margin-top: 22px; padding: 18px; border-radius: 16px; background: linear-gradient(145deg, #13294a, #1a4175); color: #fff; }
.phone-balance span { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: #b6cbe6; }
.phone-balance strong { display: block; margin-top: 5px; font-size: 26px; letter-spacing: -0.04em; }
.phone-balance em { display: inline-block; margin-top: 8px; padding: 3px 7px; border-radius: 999px; background: rgba(80, 220, 160, 0.16); color: #8df0c3; font-size: 9px; font-style: normal; }
.phone-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; }
.phone-actions span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 4px; border-radius: 11px; background: #fff; border: 1px solid var(--line); font-size: 9px; font-weight: 700; color: var(--navy); }
.phone-actions svg { width: 16px; height: 16px; color: var(--red); }
.phone-list { margin-top: 16px; display: grid; gap: 2px; }
.phone-list > div { display: flex; align-items: center; gap: 9px; padding: 9px 2px; border-bottom: 1px solid #e8edf4; font-size: 10px; }
.phone-list p { margin: 0; flex: 1; font-weight: 600; }
.phone-list small { display: block; color: var(--muted); font-weight: 400; font-size: 8px; margin-top: 1px; }
.phone-list strong { font-size: 10px; }
.phone-list strong.positive { color: var(--green); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot.blue { background: #3e73c9; } .dot.green { background: #2fa377; } .dot.red { background: var(--red); }
.phone-nav { margin-top: auto; display: flex; justify-content: space-around; padding-top: 12px; border-top: 1px solid var(--line); }
.phone-nav span { width: 6px; height: 6px; border-radius: 50%; background: #c8d2df; }
.phone-nav span.active { background: var(--red); }

/* Community */
.community { background: #fff; }
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.community-card { position: relative; min-height: 420px; border-radius: 24px; padding: 120px 28px 28px; color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.community-one { background: linear-gradient(145deg, #152f55, #0b1b33); }
.community-two { background: linear-gradient(145deg, #2f5d54, #153d36); }
.community-three { background: linear-gradient(145deg, #8e2439, #5e1222); }
.community-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px 200px at 80% 10%, rgba(255,255,255,0.16), transparent 70%); }
.community-art { position: absolute; top: 26px; left: 26px; width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); }
.community-art svg { width: 26px; height: 26px; }
.community-card .eyebrow { color: #ffd6de; }
.community-card h3 { margin: 2px 0 8px; font-size: 25px; line-height: 1.08; letter-spacing: -0.035em; }
.community-card p:not(.eyebrow) { margin: 0 0 18px; color: rgba(255,255,255,0.75); font-size: 13px; line-height: 1.55; }
.community-card .text-link { margin-top: auto; }

/* Quote */
.quote-section { background: var(--cream); }
.quote-inner { max-width: 860px; text-align: center; }
.quote-mark { display: block; font-size: 86px; line-height: 0.7; color: #d6b78b; font-family: Georgia, serif; }
blockquote { margin: 18px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; letter-spacing: -0.02em; color: var(--navy); }
.quote-inner > p { margin: 15px 0 0; color: #7d6442; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; }
.quote-actions { display: flex; justify-content: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }

/* CTA */
.cta-band { background: linear-gradient(120deg, #b31530, #d51f3d 60%, #e14b63); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.04; letter-spacing: -0.045em; }
.cta-inner p:not(.eyebrow) { margin: 8px 0 0; color: #ffd6de; font-size: 14px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #081426; color: #dfe7f2; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); gap: 28px; }
.footer-brand .brand-name { color: #fff; }
.brand-footer .brand-mark { background: rgba(255,255,255,0.08); color: #fff; }
.footer-brand p { max-width: 320px; margin: 16px 0 0; color: #91a1b7; font-size: 12px; line-height: 1.6; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; color: #c4d1e2; font-size: 12px; }
.footer-contact a:hover { color: #fff; }
.footer-grid h3 { margin: 0 0 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: #8ba0ba; }
.footer-grid > div:not(.footer-brand) a { display: block; padding: 4px 0; color: #b9c7d9; font-size: 12px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); color: #8fa1b8; font-size: 10px; flex-wrap: wrap; }
.footer-bottom > div:first-child { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom strong { color: #d9e4f1; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.14); color: #c3d1e3; }
.footer-social a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.footer-social svg { width: 13px; height: 13px; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }
.footer-legal { margin-top: 18px; color: #65768c; font-size: 9px; line-height: 1.5; }

/* Overlays */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(6, 14, 27, 0.62); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-panel, .search-panel { position: relative; width: min(560px, 100%); border-radius: 24px; background: #fff; padding: 30px; box-shadow: 0 30px 90px rgba(0,0,0,0.3); max-height: 90vh; overflow: auto; }
.panel-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.login-head .brand-mark { width: 46px; height: 46px; }
.login-head h2, .search-panel h2 { margin: 10px 0 4px; font-size: 28px; letter-spacing: -0.04em; line-height: 1.05; }
.login-head > p:not(.eyebrow), .search-panel > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 13px; }
.login-choices { display: grid; gap: 10px; margin-top: 22px; }
.login-choice { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; transition: 0.18s; }
.login-choice:hover { border-color: #b8c4d4; box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.choice-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #eef4fc; color: var(--blue); flex-shrink: 0; }
.choice-icon.dark { background: #eef1f5; color: var(--navy); }
.choice-icon svg { width: 21px; height: 21px; }
.login-choice > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.login-choice strong { font-size: 14px; }
.login-choice small { color: var(--muted); font-size: 11px; }
.choice-arrow { color: var(--muted); width: 17px; height: 17px; }
.demo-creds { margin-top: 20px; padding: 14px; border-radius: 14px; background: var(--soft); }
.demo-creds > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 11px; }
.demo-creds span { color: var(--muted); }
.demo-creds code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; color: var(--navy); background: #fff; padding: 4px 7px; border-radius: 6px; }
.search-panel { width: min(680px, 100%); }
.search-box { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 0 14px; border: 1px solid #cfd8e5; border-radius: 12px; background: #fff; }
.search-box svg { color: var(--muted); width: 19px; height: 19px; }
.search-box input { flex: 1; height: 50px; border: 0; outline: 0; background: transparent; font-size: 14px; }
.search-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 16px; }
.search-results a { padding: 10px 12px; border-radius: 9px; background: var(--soft); font-size: 12px; font-weight: 600; }
.search-results a:hover { background: #eaf0f8; color: var(--red-dark); }
.search-hint { margin-top: 16px !important; font-size: 10px !important; color: #8a94a4 !important; }
.mobile-nav { position: fixed; inset: 0; z-index: 110; background: #fff; overflow: auto; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.mobile-nav-body { padding: 18px 22px 30px; display: flex; flex-direction: column; }
.mobile-nav-body > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; }
.mobile-nav-actions { display: grid; gap: 8px; margin-top: 22px; }
.mobile-nav-meta { display: flex; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 12px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* Responsive */
@media (max-width: 1120px) {
  .main-nav { gap: 0; }
  .nav-link { padding: 12px 8px; font-size: 12px; }
  .hero-copy { max-width: 62%; }
  .hero-art { width: 40%; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-large { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .footer-brand { grid-column: span 3; }
}
@media (max-width: 960px) {
  .main-nav, .header-actions .header-icon, .header-signin { display: none; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-header-inner { min-height: 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 520px; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .promo { min-height: 250px; }
  .digital-grid { grid-template-columns: 1fr; gap: 44px; }
  .phone-wrap { order: 2; }
  .action-grid { grid-template-columns: 1fr 1fr; }
  .community-grid { grid-template-columns: 1fr 1fr; }
  .community-card:last-child { grid-column: span 2; min-height: 380px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading .tabs { margin-top: 4px; }
}
@media (max-width: 720px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .alert-inner { font-size: 10px; }
  .demo-strip-inner { font-size: 10px; }
  .demo-strip-inner a { display: none; }
  .utility-inner nav { display: none; }
  .utility-inner { justify-content: flex-end; min-height: 34px; }
  .hero { padding-top: 20px; }
  .hero-card { padding: 28px; min-height: 620px; border-radius: 24px; }
  .hero-copy { max-width: 100%; }
  .hero-card h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-text { font-size: 14px; max-width: 90%; }
  .hero-art { width: 80%; height: 45%; right: -4%; bottom: 16px; opacity: 0.9; }
  .art-card { width: 78%; left: 8%; top: 22%; padding: 14px; }
  .art-card strong { font-size: 23px; }
  .art-shield { width: 50px; height: 50px; }
  .art-chip { display: none; }
  .hero-side { grid-template-columns: 1fr; }
  .promo { min-height: 210px; }
  .rank-inner { gap: 10px; padding: 12px 0; }
  .rank-inner span { width: 100%; text-align: center; }
  .rank-inner i { display: none; }
  .section { padding: 54px 0; }
  .section-heading h2 { font-size: 32px; }
  .tabs { width: 100%; overflow-x: auto; }
  .tab { flex: 1; white-space: nowrap; }
  .action-grid, .feature-grid, .community-grid { grid-template-columns: 1fr; }
  .feature-large, .community-card:last-child { grid-column: auto; }
  .feature-art { min-height: 190px; }
  .digital { padding: 60px 0; }
  .phone { width: 280px; height: 550px; }
  .quote-actions, .digital-actions, .cta-actions { width: 100%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .login-panel, .search-panel { padding: 22px; }
  .search-results { grid-template-columns: 1fr; }
  .demo-creds > div { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 460px) {
  .brand-name { font-size: 21px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero-card { min-height: 650px; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

/* Interior pages */
.inner-nav .nav-link.active { color: var(--red); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--navy); background: #fff; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu[open] summary { color: var(--red); border-color: #efc2cb; }
.mobile-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(330px, 82vw); padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; z-index: 60; }
.mobile-menu-panel > a:not(.btn) { padding: 10px 8px; border-bottom: 1px solid #eef1f5; font-size: 13px; font-weight: 600; }
.mobile-menu-panel .btn { margin-top: 8px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 26px; color: var(--muted); font-size: 11px; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span { color: #b8c1ce; }
.page-hero { padding: 28px 0 50px; background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%); border-bottom: 1px solid var(--line); }
.page-hero-inner { max-width: 900px; }
.page-hero h1 { margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -0.055em; }
.page-lede { max-width: 760px; margin: 18px 0 0; color: #4d586a; font-size: 18px; line-height: 1.6; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.inner-section { padding-top: 58px; }
.inner-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.content-panel { min-width: 0; }
.prose-section { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.prose-section h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; letter-spacing: -0.04em; }
.prose-section p { max-width: 760px; margin: 0 0 12px; color: #465163; font-size: 14px; line-height: 1.7; }
.prose-section ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 760px; }
.prose-section li { position: relative; padding-left: 24px; color: #3f4a5b; font-size: 14px; line-height: 1.55; }
.prose-section li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 800; }
.page-note { padding: 15px 17px; border: 1px solid #e7dece; border-radius: 12px; background: var(--cream); color: #5d4b35; font-size: 12px; line-height: 1.55; }
.sidebar { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 14px; }
.side-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.side-card h3 { margin: 0 0 10px; font-size: 15px; letter-spacing: -0.02em; }
.side-card p { margin: 0 0 10px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.side-links { display: flex; flex-direction: column; }
.side-links a { padding: 7px 0; border-bottom: 1px solid #eef1f5; color: var(--muted); font-size: 12px; }
.side-links a:last-child { border-bottom: 0; }
.side-links a:hover { color: var(--red); }
.side-card .btn { width: 100%; margin-top: 6px; }
.side-card-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.side-card-dark .eyebrow { color: #f1b6c1; }
.side-card-dark h3 { color: #fff; font-size: 21px; line-height: 1.08; }
.side-card-dark p:not(.eyebrow) { color: #b9c8dc; }
.side-card-dark .btn { margin-top: 12px; }
.side-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; color: var(--red); font-size: 12px; font-weight: 700; }
.side-card-dark .side-link { color: #ffd6de; }
.side-link svg { width: 13px; height: 13px; }
.side-muted { margin-bottom: 0 !important; }
.related-section { background: var(--soft); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-card { position: relative; display: flex; flex-direction: column; gap: 5px; min-height: 110px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: 0.18s ease; }
.related-card span { font-size: 14px; font-weight: 700; }
.related-card small { max-width: 92%; color: var(--muted); font-size: 12px; line-height: 1.45; }
.related-card svg { position: absolute; right: 16px; bottom: 16px; width: 15px; height: 15px; color: var(--red); }
.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: #cfd7e3; }
@media (max-width: 960px) {
  .mobile-menu { display: block; }
  .inner-grid { grid-template-columns: 1fr; gap: 34px; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .breadcrumbs { padding-top: 18px; }
  .page-hero { padding-bottom: 38px; }
  .page-lede { font-size: 15px; }
  .page-actions .btn { flex: 1; }
  .sidebar { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

/* Browse-by-depth section */
.browse-section { background: #fff; }
.browse-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.browse-column { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.browse-column h3 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.browse-column a { display: block; padding: 6px 0; font-size: 13px; color: var(--ink); border-bottom: 1px solid #f0f2f6; }
.browse-column a:last-child { border-bottom: 0; }
.browse-column a:hover { color: var(--red); }
.browse-column a.sub { padding-left: 12px; color: #4a5668; }
.browse-column a.sub::before { content: "↳"; margin-right: 6px; color: #a7b3c2; }
.browse-column a.deep { padding-left: 28px; color: var(--muted); font-size: 12px; }
.browse-column a.deep::before { content: "↳"; margin-right: 6px; color: #c5ceda; }
@media (max-width: 960px) { .browse-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .browse-grid { grid-template-columns: 1fr; } }

.login-signup { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
.login-signup a { color: var(--red); font-weight: 700; }
