/* template_28 — Aurora Glass
   Light theme with glassmorphism cards, soft gradient mesh, neon accents.
   All colors via CSS variables — overridable per-offer via {{ offer.brand_color }}.
*/

:root {
  /* Surface */
  --bg-base: #f4f6fb;
  --bg-1: #ffffff;
  --bg-2: #eef1f7;
  --bg-elevated: rgba(255, 255, 255, 0.6);
  --glass-1: rgba(255, 255, 255, 0.55);
  --glass-2: rgba(255, 255, 255, 0.35);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --border-soft: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.16);

  /* Text */
  --text-1: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --text-on-accent: #04111f;

  /* Accent (overridable) */
  --accent: #14b8a6;
  --accent-2: #6366f1;
  --accent-3: #ec4899;
  --aurora-1: rgba(20, 184, 166, 0.32);
  --aurora-2: rgba(99, 102, 241, 0.28);
  --aurora-3: rgba(236, 72, 153, 0.22);

  /* State */
  --positive: #16a34a;
  --negative: #dc2626;
  --warning: #f59e0b;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.08), 0 24px 48px rgba(15, 23, 42, 0.10);
  --shadow-glow: 0 0 0 1px rgba(20, 184, 166, 0.20), 0 12px 32px rgba(20, 184, 166, 0.18);

  /* Radii / motion */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --container: 1200px;
  --gap: 24px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-1);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--text-1); text-decoration: none; transition: color 200ms var(--ease); }
a:hover { color: var(--accent); }

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

button { font-family: inherit; cursor: pointer; }

p { margin: 0 0 1em; }

h1, h2, h3, h4, h5 { margin: 0 0 0.5em; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }

em { font-style: normal; background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; }

/* ---------- Aurora background ---------- */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.aurora__layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.85;
}
.aurora__layer--1 {
  top: -20vh;
  left: -10vw;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--aurora-1) 0%, transparent 70%);
  animation: aurora-drift-1 22s ease-in-out infinite alternate;
}
.aurora__layer--2 {
  bottom: -25vh;
  right: -15vw;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, var(--aurora-2) 0%, transparent 70%);
  animation: aurora-drift-2 28s ease-in-out infinite alternate;
}
.aurora__layer--3 {
  top: 30vh;
  right: 20vw;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--aurora-3) 0%, transparent 70%);
  animation: aurora-drift-3 35s ease-in-out infinite alternate;
}
@keyframes aurora-drift-1 { to { transform: translate(8vw, 5vh); } }
@keyframes aurora-drift-2 { to { transform: translate(-6vw, -8vh); } }
@keyframes aurora-drift-3 { to { transform: translate(4vw, -4vh); } }

@media (prefers-reduced-motion: reduce) {
  .aurora__layer { animation: none; }
}

/* ---------- Layout ---------- */
.wrap {
  position: relative;
  z-index: 1;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

main {
  padding: 80px 0 100px;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(20px, calc((100vw - var(--container)) / 2 + 20px));
  background: var(--glass-strong);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  color: var(--text-1);
}
.logo-link:hover { color: var(--text-1); }
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.logo-img { height: 32px; width: auto; }

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.site-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 4px 0;
}
.site-nav a:hover { color: var(--text-1); }
.site-nav a[aria-current="page"] {
  color: var(--text-1);
  font-weight: 600;
}
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.30), 0 16px 36px rgba(20, 184, 166, 0.30);
}
.btn-ghost {
  background: var(--glass-1);
  color: var(--text-1);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--glass-strong);
  color: var(--text-1);
  border-color: var(--accent);
}

/* ---------- Lang dropdown ---------- */
.lang-dropdown { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--glass-1);
  border: 1px solid var(--border-soft);
  font-size: 0.85rem;
  color: var(--text-2);
  font-family: inherit;
  transition: all 180ms var(--ease);
}
.lang-btn:hover { border-color: var(--accent); color: var(--text-1); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 100;
  max-height: 60vh;
  overflow-y: auto;
}
.lang-menu.open { display: block; }
.lang-menu li { list-style: none; }
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-2);
}
.lang-menu a:hover { background: var(--bg-2); color: var(--text-1); }
.lang-dropdown__option--active {
  color: var(--accent) !important;
  background: rgba(20, 184, 166, 0.08);
}

/* ---------- Mobile nav ---------- */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-soft);
  background: var(--glass-1);
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--text-1);
  transition: transform 200ms var(--ease);
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  flex-direction: column;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-nav__close {
  background: none;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--text-1);
}
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}
.mobile-nav nav a {
  padding: 14px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-nav__cta {
  margin: 24px 24px 32px;
}

@media (max-width: 960px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
body.nav-open { overflow: hidden; }

/* ---------- Section primitives ---------- */
.section-eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(20, 184, 166, 0.10);
  border: 1px solid rgba(20, 184, 166, 0.22);
}
.section-h {
  margin: 16px 0 12px;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}
.section-sub {
  font-size: 1.02rem;
  color: var(--text-2);
  max-width: 640px;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 24px 0 64px;
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--text-2);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-trust span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.18);
}

/* Glass portfolio card */
.glass-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-lg);
}
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0.7), transparent 50%, rgba(255,255,255,0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.portfolio-card .ledger-topline {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 8px;
}
.portfolio-card .ledger-total {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.portfolio-card .ledger-chart {
  width: 100%;
  height: 110px;
  display: block;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
}
.portfolio-card .ledger-chart .chart-fill {
  fill: url(#aurora-grad);
  stroke: none;
}
.portfolio-assets {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.asset-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg-1);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
}
.asset-name { font-weight: 700; }
.asset-symbol { font-size: 0.78rem; color: var(--text-3); }
.asset-price { font-weight: 700; }
.asset-pct.up { color: var(--positive); font-size: 0.84rem; font-weight: 600; }
.asset-pct.down { color: var(--negative); font-size: 0.84rem; font-weight: 600; }

/* ---------- Ticker ---------- */
.ticker-strip {
  margin: 56px 0;
  padding: 14px 0;
  background: var(--glass-1);
  border-block: 1px solid var(--border-soft);
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 36px;
  animation: ticker 50s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-2);
}
.ticker-item__name { font-weight: 700; color: var(--text-1); }
.ticker-item__chg.up { color: var(--positive); }
.ticker-item__chg.down { color: var(--negative); }
.ticker-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-3);
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- Stats ---------- */
.stats-section { padding: 36px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.stat-item {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  border: 1px solid var(--border-soft);
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat-lbl {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 0.92rem;
}

/* ---------- Features ---------- */
.features-section { padding: 80px 0; }
.features-header { text-align: center; margin-bottom: 56px; }
.features-header .section-sub { margin: 16px auto 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.feature-cell {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.feature-cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.16), rgba(99, 102, 241, 0.16));
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-icon.indigo {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(236, 72, 153, 0.16));
  color: var(--accent-2);
}
.feature-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-desc {
  color: var(--text-2);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ---------- Brief ---------- */
.brief-section { padding: 80px 0; }
.brief-board {
  padding: 40px;
  border-radius: var(--radius-xl);
  background: var(--glass-strong);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}
.brief-head { text-align: center; margin-bottom: 32px; }
.brief-head .section-sub { margin: 12px auto 0; }
.brief-table {
  display: grid;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  background: var(--bg-1);
}
.brief-row {
  display: grid;
  grid-template-columns: 1.4fr 2fr 1fr;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.9rem;
  align-items: center;
}
.brief-row:last-child { border-bottom: 0; }
.brief-row--head {
  background: var(--bg-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  color: var(--text-3);
}
.brief-row strong { color: var(--accent); font-weight: 700; }
.brief-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.brief-stack__item {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
}
.brief-stack__item span {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent);
  margin-bottom: 10px;
}
.brief-stack__item strong { display: block; font-size: 1.02rem; margin-bottom: 6px; }
.brief-stack__item p { font-size: 0.9rem; color: var(--text-2); margin: 0; }
.brief-cta { margin-top: 32px; display: inline-flex; }

@media (max-width: 720px) {
  .brief-row { grid-template-columns: 1fr; gap: 4px; }
  .brief-row--head { display: none; }
}

/* ---------- Proof / testimonials ---------- */
.proof-section { padding: 80px 0; text-align: center; }
.proof-section .section-sub { margin: 0 auto; }
.logos-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 40px 0 56px;
}
.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass-1);
  border: 1px solid var(--border-soft);
  font-size: 0.82rem;
  color: var(--text-2);
  font-weight: 600;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  text-align: left;
}
.testimonial-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.stars {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 14px;
  color: var(--warning);
}
.star { width: 16px; height: 16px; }
.testimonial-text {
  color: var(--text-1);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 22px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
}
.author-name { font-weight: 700; font-size: 0.92rem; }
.author-role { font-size: 0.8rem; color: var(--text-3); }

/* ---------- How it works ---------- */
.how-section { padding: 80px 0; text-align: center; }
.how-section .section-sub { margin: 0 auto; }
.how-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 56px;
  text-align: left;
}
.how-step {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.how-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 14px;
}
.how-step__title { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.how-step__desc { color: var(--text-2); font-size: 0.94rem; line-height: 1.55; margin: 0; }
.how-connector {
  display: grid;
  place-items: center;
  color: var(--accent);
}
@media (max-width: 880px) {
  .how-steps { grid-template-columns: 1fr; }
  .how-connector { transform: rotate(90deg); padding: 4px 0; }
}

/* ---------- Calculator ---------- */
.calc-section { padding: 80px 0; }
.calc-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  padding: 48px;
  border-radius: var(--radius-xl);
  background: var(--glass-strong);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}
@media (max-width: 880px) {
  .calc-inner { grid-template-columns: 1fr; padding: 28px; }
}
.calc-controls .section-eyebrow { margin-bottom: 14px; }
.range-group { margin-bottom: 22px; }
.range-label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
}
.range-val {
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 700;
}
input[type=range] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  outline: none;
}
input[type=range]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--accent);
  cursor: pointer;
  box-shadow: var(--shadow-md);
}
input[type=range]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--accent);
  cursor: pointer;
}
.calc-results {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.calc-result-row.highlight {
  border-bottom: 0;
  margin-top: 12px;
  padding-bottom: 24px;
}
.calc-result-label { color: var(--text-2); font-size: 0.92rem; }
.calc-result-val {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.calc-result-row.highlight .calc-result-val {
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.calc-pct-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---------- Lead form ---------- */
.contact-section { padding: 80px 0; }
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px;
  border-radius: var(--radius-xl);
  background: var(--glass-strong);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.contact-inner > .section-eyebrow { margin-bottom: 14px; }
.contact-inner .section-sub { margin: 12px auto 32px; }
.contact-form { text-align: left; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-2);
}
.rf-form-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: var(--bg-1);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--text-1);
  transition: all 180ms var(--ease);
}
.rf-form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.16);
}
.has-error .rf-form-input { border-color: var(--negative); }
.has-error .err { display: block; }
.err {
  display: none;
  margin-top: 6px;
  color: var(--negative);
  font-size: 0.82rem;
}
.iti-wrap .iti, .iti-wrap .iti--allow-dropdown { width: 100%; }
.iti-wrap .iti__flag-container { background: transparent; }
.form-submit {
  width: 100%;
  padding: 14px 22px;
  font-size: 0.98rem;
  margin-top: 6px;
}
.form-note {
  font-size: 0.78rem;
  color: var(--text-3);
  text-align: center;
  margin-top: 16px;
}
.form-note a { color: var(--accent); text-decoration: underline; }
.form-preloader-orange {
  display: none;
  margin: 16px auto;
}
.form-preloader-orange.hidden { display: none; }
.dot-spinner {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.dot-spinner .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: dot-bounce 1.2s infinite ease-in-out;
}
.dot-spinner .dot:nth-child(2) { animation-delay: 0.2s; }
.dot-spinner .dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-bounce { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
.form_error { color: var(--negative); font-size: 0.86rem; margin-bottom: 12px; }

/* ---------- FAQ ---------- */
.faq-section { padding: 80px 0; text-align: center; }
.faq {
  max-width: 760px;
  margin: 56px auto 0;
  text-align: left;
  display: grid;
  gap: 12px;
}
.faq-item {
  padding: 0;
  border-radius: var(--radius);
  background: var(--glass-strong);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: border-color 200ms var(--ease);
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform 200ms var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item__body {
  padding: 0 24px 18px;
  color: var(--text-2);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ---------- About page ---------- */
.page-hero {
  text-align: center;
  padding: 24px 0 64px;
}
.page-hero .section-sub { margin: 16px auto 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  margin-bottom: 80px;
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-text h2 { margin-top: 32px; }
.about-text h2:first-child { margin-top: 0; }
.about-text p { color: var(--text-2); }
.about-stats {
  display: grid;
  gap: 14px;
  align-content: start;
}
.about-stat-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.about-stat-card .big-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.about-stat-card .lbl {
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--text-2);
}

/* ---------- Plans ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  padding-bottom: 40px;
}
.plan-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-xl);
  background: var(--glass-strong);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}
.plan-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-8px);
}
.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
}
.plan-name {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 12px;
}
.plan-price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.plan-price span {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-3);
  margin-left: 4px;
}
.plan-features {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-2);
}
.plan-feature::before {
  content: "✓";
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent);
  text-align: center;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 20px;
  flex-shrink: 0;
}
.plan-cta { margin-top: auto; }

/* ---------- Documents ---------- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.doc-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  border: 1px solid var(--border-soft);
  display: block;
  color: var(--text-1);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.doc-card:hover {
  color: var(--text-1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.doc-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.doc-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.doc-card__desc { color: var(--text-2); font-size: 0.92rem; line-height: 1.5; }

/* ---------- Risk ---------- */
.risk-section { display: grid; gap: 40px; }
.risk-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.risk-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.risk-card h3 { margin-bottom: 8px; color: var(--accent); }
.risk-card p { color: var(--text-2); font-size: 0.94rem; margin: 0; }
.risk-body {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-2);
}
.risk-body h2, .risk-body h3 { color: var(--text-1); margin-top: 1.4em; }
.risk-body h2:first-child, .risk-body h3:first-child { margin-top: 0; }

/* ---------- Articles ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.article-card {
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
  color: var(--text-1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--text-1);
}
.article-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article-card__img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: white;
}
.article-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card__date { font-size: 0.78rem; color: var(--text-3); }
.article-card__title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.article-card__preview { color: var(--text-2); font-size: 0.92rem; line-height: 1.5; }
.article-card__more {
  margin-top: auto;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- Article single ---------- */
.article-hero {
  padding: 24px 0 40px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.article-body {
  max-width: 760px;
  margin: 0 auto 80px;
  padding: 0 var(--gap);
  color: var(--text-1);
  font-size: 1.02rem;
  line-height: 1.7;
}
.article-body p { margin: 0 0 1.2em; }

/* ---------- Thank you ---------- */
.thank-you-section {
  padding: 96px 0;
  display: grid;
  place-items: center;
}
.thank-you-card {
  max-width: 520px;
  padding: 56px 40px;
  border-radius: var(--radius-xl);
  background: var(--glass-strong);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
}
.thank-you-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
}
.thank-you-card h1 { margin-bottom: 16px; }
.thank-you-card p { color: var(--text-2); margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 40px;
  margin-top: 40px;
  border-top: 1px solid var(--border-soft);
  background: var(--glass-1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-2);
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-3);
  max-width: 720px;
}
