/* ============================================================
   Zeongrow — Template 5 stylesheet
   Polished modern minimalist look + dark mode + responsive
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-secondary: #f8f9fa;
  --surface: rgba(0, 0, 0, 0.02);
  --surface-2: rgba(0, 0, 0, 0.04);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --text: #1a1a1a;
  --text-secondary: #666666;
  --muted: #999999;
  --accent: #2563eb;
  --accent-2: #1d4ed8;
  --accent-light: rgba(37, 99, 235, 0.10);
  --accent-dim: rgba(37, 99, 235, 0.08);
  --success: #10b981;
  --danger: #ef4444;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 48px rgba(37, 99, 235, 0.18);
  --header-bg: rgba(255, 255, 255, 0.78);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f0f;
    --bg-secondary: #151515;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-2: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #ffffff;
    --text-secondary: #b0b0b0;
    --muted: #808080;
    --accent: #60a5fa;
    --accent-2: #3b82f6;
    --accent-light: rgba(96, 165, 250, 0.12);
    --accent-dim: rgba(96, 165, 250, 0.08);
    --shadow-xl: 0 24px 48px rgba(96, 165, 250, 0.25);
    --header-bg: rgba(15, 15, 15, 0.78);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.2s ease, color 0.2s ease;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Atmospheric background ---------- */
.hero-atmos {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-atmos__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.03;
}
.hero-atmos__dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 50%, var(--bg) 100%);
}
.hero-atmos__accent {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 600px at 100% 0%, var(--accent-light) 0%, transparent 60%),
    radial-gradient(ellipse 800px 500px at 0% 100%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
}
.hero-atmos__edge {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.03);
}
.noise { display: none; }
.orb { display: none; }

/* ---------- Layout ---------- */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

main { display: block; }

/* ---------- Header ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  background: var(--header-bg);
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { text-decoration: none; }
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--success) 100%);
  display: grid; place-items: center;
  color: white;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
  min-width: 0;
}
.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.site-nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-light);
}

.header-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Lang dropdown */
.lang-dropdown { position: relative; display: inline-flex; align-items: center; }
.lang-dropdown__btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.lang-dropdown__btn:hover {
  background: var(--accent-light);
  border-color: var(--accent);
}
.lang-dropdown__arrow {
  opacity: 0.6;
  transition: transform 0.2s ease;
}
.lang-dropdown__btn[aria-expanded="true"] .lang-dropdown__arrow {
  transform: rotate(180deg);
}
.lang-dropdown__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 170px;
  box-shadow: var(--shadow-md);
  list-style: none;
  margin: 0;
  display: none;
  flex-direction: column;
  z-index: 1000;
}
.lang-dropdown__list.is-open { display: flex; }
.lang-dropdown__list li { list-style: none; }
.lang-dropdown__option,
.lang-dropdown__item {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lang-dropdown__option:hover,
.lang-dropdown__item:hover,
.lang-dropdown__option--active,
.lang-dropdown__item.is-active {
  color: var(--accent);
  background: var(--accent-light);
  text-decoration: none;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.nav-toggle__bar {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

@media (max-width: 980px) {
  .site-nav { display: none; }
  /* !important needed — .btn { display: inline-flex } further down the file would
     otherwise win by source order at the same specificity. */
  .header-cta { display: none !important; }
  .nav-toggle { display: flex; }
  /* Center the language dropdown horizontally between logo and hamburger */
  .header-right .lang-dropdown,
  header > .lang-dropdown {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__inner { display: flex; flex-direction: column; min-height: 100%; }
.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.mobile-nav__close {
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 8px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  flex: 1;
}
.mobile-nav nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  transition: color 0.15s ease, background 0.15s ease;
}
.mobile-nav nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.mobile-nav nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-light);
}
.lang-flags-mobile {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
}
.lang-flags-mobile__link {
  display: inline-flex;
  border-radius: 3px;
  opacity: 0.55;
  transition: opacity 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  font-size: 0;
  flex-shrink: 0;
  background: transparent;
  border: none;
  padding: 0;
}
.lang-flags-mobile__link .fi {
  width: 32px;
  height: 24px;
  border-radius: 3px;
}
.lang-flags-mobile__link:hover,
.lang-flags-mobile__link.is-active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--accent);
}
.lang-flags-mobile__link span { font-size: 1.2rem; }
.mobile-nav__cta {
  margin: 16px 24px 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
  line-height: 1.2;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
  color: white;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  padding: 72px 0 56px;
  min-height: 520px;
  position: relative;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0;
    min-height: auto;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 22px;
  width: fit-content;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--success) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.trust span {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust strong { color: var(--text); font-weight: 600; }

/* Card stack */
.card-stack {
  position: relative;
  height: 420px;
  perspective: 1000px;
}
@media (max-width: 900px) { .card-stack { height: 320px; } }

.glass-card {
  position: absolute;
  width: 100%;
  max-width: 360px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.glass-card.card-float {
  top: 0;
  right: 20px;
  height: 200px;
  transform: rotate(3deg);
  opacity: 0.85;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--surface) 100%);
}
.glass-card.card-float::before {
  content: "ETH / USDT";
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 8px;
}
.glass-card.card-float::after {
  content: "$3 241  +1,18%";
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}
.glass-card.card-main {
  height: 240px;
  top: 90px;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .glass-card.card-float { display: none; }
  .glass-card.card-main { max-width: 100%; top: 0; left: 0; }
}
.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rate-label { font-weight: 600; color: var(--text-secondary); font-size: 0.9rem; }
.rate-change { color: var(--success); font-weight: 700; font-size: 0.9rem; }
.rate-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text);
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}
.rate-chart {
  height: 40px;
  background:
    linear-gradient(180deg, var(--accent-light) 0%, transparent 100%),
    repeating-linear-gradient(to right, transparent 0 18px, var(--border) 18px 19px);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}
.rate-chart svg { width: 100%; height: 100%; }
.row-actions { display: flex; gap: 10px; }
.row-actions .btn { flex: 1; padding: 10px 16px; font-size: 0.9rem; }

/* ---------- Sections ---------- */
section { padding: 64px 0; position: relative; }
@media (max-width: 768px) { section { padding: 48px 0; } }

h2 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 680px;
  line-height: 1.7;
}
.section-center { text-align: center; }
.section-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Empower / Features ---------- */
.empower-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.empower-panel { display: block; }
.empower-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .empower-split { grid-template-columns: 1fr; gap: 32px; }
}
.empower-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.empower-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.empower-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.empower-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--accent);
}
.empower-icon svg { width: 22px; height: 22px; stroke-width: 2; }
.empower-text {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 500;
  align-self: center;
  line-height: 1.5;
  flex: 1;
  margin: 0;
}
.empower-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.empower-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details,
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq details[open],
details.faq-item[open] { border-color: var(--accent); }
.faq details summary,
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq details summary::-webkit-details-marker,
details.faq-item summary::-webkit-details-marker { display: none; }
.faq details summary::after,
details.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.2s ease;
  font-weight: 400;
}
.faq details[open] summary::after,
details.faq-item[open] summary::after { content: "–"; }
.faq-a {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---------- Contact / Lead form ---------- */
.contact-block {
  padding: 72px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 90px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-copy h2 { margin-bottom: 16px; }
.contact-copy p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.65;
}

.contact-form-shell {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.contact2-form-box-all { width: 100%; }
.contact-form { width: 100%; }
.hadding2 h3 { margin-bottom: 6px; font-size: 1.35rem; }
.contact-form .form-sub {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.space24 { height: 16px; }

.form,
.sign_up_form {
  display: grid;
  gap: 14px;
}
.form_header { display: none; }
.form_error {
  display: none;
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
}
.form_error.is-shown { display: block; }
.clear_both { clear: both; height: 0; }

.input_group,
.field,
.rf-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  margin-bottom: 0;
}
.input_group label,
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.input_group input,
.input_group select,
.field input,
.field select,
.rf-form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.input_group input:focus,
.input_group select:focus,
.field input:focus,
.field select:focus,
.rf-form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.input_group.has-error input,
.field.is-error input,
.rf-form-field.has-error .rf-form-input { border-color: var(--danger); }
.input_group .err,
.field .err,
.error-msg {
  display: none;
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 2px;
}
.input_group.has-error .err,
.field.is-error .err,
.error-msg:not(.hide) { display: block; }
.error-msg.hide { display: none; }

/* Phone group with country select */
.phone-group {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px;
}
.phone-group select {
  background: var(--bg);
  cursor: pointer;
}

/* intl-tel-input integration (v23 separate-dial-code layout) */
.iti { width: 100%; display: block; }
.iti-wrap { width: 100%; position: relative; }
.iti--separate-dial-code {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg);
  box-sizing: border-box;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.iti--separate-dial-code:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.iti--separate-dial-code .iti__flag-container { width: 110px; }
.iti--separate-dial-code .iti__selected-flag {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 14px;
  box-sizing: border-box;
  background: transparent;
}
.iti--separate-dial-code .iti__selected-flag::after {
  content: "";
  display: block;
  width: 1px;
  height: 60%;
  margin-left: 10px;
  background: var(--border);
}
.iti__selected-dial-code { margin-left: 6px; line-height: 1; white-space: nowrap; color: var(--text); }
.iti--separate-dial-code input,
.iti--separate-dial-code input#phone_input {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 12px 14px 12px 126px !important;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
  height: auto;
  outline: none;
}
.iti--separate-dial-code input:focus { box-shadow: none !important; }
.iti__country-list {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-height: 240px;
  overflow-y: auto;
  z-index: 9999;
}
.iti__dropdown-content {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 9999;
}
.iti__search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  outline: none;
  font-size: 0.9rem;
}
.iti__country-name { color: var(--text); }
.iti.phone-error { border-color: var(--danger) !important; }

.input_submit { margin-top: 6px; }
.btn-submit,
.submit {
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-submit:hover:not(:disabled),
.submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
}
.btn-submit:disabled,
.submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-submit.is-loading,
.submit.is-loading { color: transparent; pointer-events: none; }
.btn-submit.is-loading::after,
.submit.is-loading::after,
.waiting_block:not(.hidden) .dot-spinner {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  content: "";
}
@keyframes spin { to { transform: rotate(360deg); } }

.waiting_block { position: relative; min-height: 0; }
.waiting_block.hidden { display: none; }
.dot-spinner { display: none; }

.form-disclaimer,
.disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 10px;
}
.form-disclaimer .underline,
.form-disclaimer a,
.disclaimer a {
  color: var(--accent);
  text-decoration: underline;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 28px 12px;
}
.form-success.is-shown { display: block; animation: fadeIn 0.3s ease; }
.form-success .ok-mark {
  width: 56px; height: 56px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  font-size: 28px;
  font-weight: 700;
}
.form-success h3 { font-size: 1.35rem; margin-bottom: 8px; }
.form-success p { color: var(--text-secondary); }
.form-success .reset-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  cursor: pointer;
  font-weight: 600;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Subpage intro ---------- */
.subpage-intro {
  text-align: center;
  padding: 56px 0 24px;
}
.subpage-intro h1 { margin-bottom: 12px; }
.subpage-intro .lead { margin: 0 auto; }

.subpage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.subpage-card h2 { font-size: 1.4rem; margin-bottom: 16px; }
.subpage-card p { color: var(--text-secondary); line-height: 1.65; margin-bottom: 12px; }
.subpage-card ul { padding-left: 20px; margin-bottom: 12px; }
.subpage-card li { color: var(--text-secondary); margin-bottom: 8px; line-height: 1.6; }

/* ---------- Plans ---------- */
.plans-pricing { padding: 40px 0 64px; }
.plans-pricing-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 12px;
}
.plans-pricing-lead {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px 0;
}
@media (max-width: 900px) { .plans-grid { grid-template-columns: 1fr; } }

.plan-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.plan-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-xl);
}
.plan-card--featured::before {
  content: "POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.plan-card-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.plan-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.plan-card-price,
.plan-card-price-box {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}
.plan-card-price-box--long { font-size: 1.6rem; }
.plan-card-price small { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; }
.plan-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.plan-card-note { color: var(--text-secondary); font-size: 0.92rem; }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 12px 0 24px;
  display: grid;
  gap: 10px;
}
.plan-features li {
  font-size: 0.92rem;
  color: var(--text);
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.plan-cta { margin-top: auto; }
.plans-footnote {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Documents ---------- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.doc-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  text-decoration: none;
}
.doc-card__icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--accent);
}
.doc-card__title { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.doc-card__desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.55; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.about-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.about-stat__num {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--success) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
  line-height: 1.1;
}
.about-stat__label { color: var(--text-secondary); font-size: 0.92rem; }

.about-body { max-width: 760px; margin: 0 auto; }
.about-body p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ---------- Legal ---------- */
.legal-doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 0;
}
.legal-doc h1 { margin-bottom: 12px; }
.legal-updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.legal-doc h2 {
  margin-top: 36px;
  font-size: 1.5rem;
}
.legal-doc h3 { margin-top: 24px; font-size: 1.2rem; }
.legal-doc p {
  margin-bottom: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.legal-doc ul, .legal-doc ol { padding-left: 22px; margin-bottom: 16px; }
.legal-doc li { margin-bottom: 8px; color: var(--text-secondary); line-height: 1.7; }
.legal-note {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 8px;
  color: var(--text);
  margin: 20px 0;
}
.legal-lang-note {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 20px;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 40px;
}
footer p { margin-bottom: 6px; }
footer a { color: var(--text-secondary); }
footer a:hover { color: var(--accent); }
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

/* ---------- Utilities ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }
.hide { display: none; }

/* ---------- Tables ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
table thead { background: var(--surface); border-bottom: 2px solid var(--border); }
table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}
table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
table tbody tr:hover { background: var(--surface); }

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print ---------- */
@media print {
  body { background: white; color: black; }
  header, footer, .hero-atmos, .nav-toggle, .lang-dropdown { display: none; }
  a { text-decoration: underline; color: black; }
  section { page-break-inside: avoid; }
}

/* ============================================================
   Mobile optimizations (<= 640px / <= 420px)
   ============================================================ */
@media (max-width: 640px) {
  /* Layout & typography */
  .wrap { padding: 0 16px 56px; }
  .container { padding: 0 16px; }
  section { padding: 40px 0; }

  h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); line-height: 1.15; margin-bottom: 16px; }
  h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); margin-bottom: 12px; }
  h3 { font-size: 1.1rem; }
  .lead { font-size: 1rem; margin-bottom: 20px; }
  .section-sub { font-size: 0.98rem; margin-bottom: 28px; }

  /* Header */
  header { padding: 12px 0; gap: 10px; flex-wrap: nowrap; }
  .logo { font-size: 1.05rem; gap: 8px; min-width: 0; }
  .logo span:not(.logo-mark) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .logo-mark { width: 28px; height: 28px; font-size: 12px; border-radius: 8px; flex-shrink: 0; }
  .logo-img { height: 26px; }
  .header-right { gap: 6px !important; flex-shrink: 0; }
  /* Compact language picker — keep just the flag + arrow, hide the long label */
  .lang-dropdown__btn { padding: 7px 9px; font-size: 0.8rem; gap: 6px; }
  .lang-dropdown__label { display: none; }
  .lang-dropdown__list { min-width: 150px; }
  .nav-toggle { padding: 8px; flex-shrink: 0; }
  .nav-toggle__bar { width: 18px; }

  /* Hero */
  .hero { padding: 28px 0 24px; gap: 28px; }
  .badge { font-size: 0.76rem; padding: 5px 12px; margin-bottom: 16px; }
  /* Stack hero CTAs on mobile — long translations (e.g. French) would otherwise
     overflow when two buttons share a flex:1 row. */
  .hero-cta {
    margin-bottom: 24px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
    min-width: 0;
    padding: 13px 16px;
    font-size: 0.95rem;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.25;
  }
  .trust { gap: 8px 14px; padding-top: 14px; }
  .trust span { font-size: 0.82rem; }

  .card-stack { height: 280px; }
  .glass-card.card-main { padding: 18px; height: 220px; top: 0; }
  .rate-value { font-size: 1.7rem; margin: 8px 0 12px; }

  /* Features */
  .empower-split { gap: 24px; }
  .empower-item { padding: 14px; gap: 12px; }
  .empower-icon { width: 38px; height: 38px; }
  .empower-icon svg { width: 19px; height: 19px; }
  .empower-text { font-size: 0.94rem; }
  .empower-img { max-width: 100%; }

  /* FAQ */
  .faq { gap: 8px; }
  .faq details summary,
  details.faq-item summary {
    padding: 14px 16px;
    font-size: 0.95rem;
    gap: 12px;
  }
  .faq-a { padding: 0 16px 16px; font-size: 0.93rem; }

  /* Contact / Lead form */
  .contact-block { padding: 48px 0; scroll-margin-top: 72px; }
  .contact-form-shell { padding: 20px; border-radius: 14px; }
  .hadding2 h3 { font-size: 1.2rem; }
  .contact-form .form-sub { font-size: 0.88rem; margin-bottom: 16px; }

  /* Prevent iOS auto-zoom on focus — inputs need >= 16px */
  .input_group input,
  .input_group select,
  .field input,
  .field select,
  .rf-form-input,
  .iti--separate-dial-code input,
  .iti--separate-dial-code input#phone_input {
    font-size: 16px !important;
  }
  .input_group input,
  .input_group select,
  .field input,
  .field select,
  .rf-form-input { padding: 13px 14px; }

  /* Narrower flag container so the phone number has more room */
  .iti--separate-dial-code .iti__flag-container { width: 92px; }
  .iti--separate-dial-code input,
  .iti--separate-dial-code input#phone_input {
    padding: 13px 14px 13px 104px !important;
  }
  .iti__country-list { max-height: 45vh; }

  .btn-submit,
  .submit { padding: 14px 18px; font-size: 0.98rem; }

  /* Subpages */
  .subpage-intro { padding: 36px 0 18px; }
  .subpage-card { padding: 20px; border-radius: 14px; }
  .subpage-card h2 { font-size: 1.2rem; }

  /* Plans */
  .plans-pricing { padding: 24px 0 48px; }
  .plans-grid { gap: 16px; margin: 16px 0; }
  .plan-card { padding: 24px 20px; }
  .plan-card-price, .plan-card-price-box { font-size: 1.9rem; }
  .plan-card-price-box--long { font-size: 1.35rem; }
  .plans-footnote { font-size: 0.84rem; }

  /* About */
  .about-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
  .about-stat { padding: 18px 12px; }
  .about-stat__num { font-size: 1.9rem; }
  .about-stat__label { font-size: 0.84rem; }
  .about-body p { font-size: 0.95rem; }

  /* Documents */
  .docs-grid { grid-template-columns: 1fr; gap: 14px; }
  .doc-card { padding: 18px; }
  .doc-card__icon { width: 38px; height: 38px; }

  /* Legal */
  .legal-doc { padding: 24px 0; }
  .legal-doc h2 { margin-top: 24px; font-size: 1.25rem; }
  .legal-doc h3 { margin-top: 18px; font-size: 1.08rem; }
  .legal-doc p { font-size: 0.95rem; line-height: 1.7; }
  .legal-note { padding: 12px 14px; font-size: 0.92rem; }

  /* Footer */
  footer { padding: 28px 0 20px; margin-top: 24px; }
  .footer-links { gap: 12px 16px; font-size: 0.88rem; }
  .site-footer .container p { font-size: 0.82rem; line-height: 1.55; }

  /* Mobile nav */
  .mobile-nav__header { padding: 14px 18px; }
  .mobile-nav nav a { padding: 13px 18px; font-size: 0.98rem; }
  .mobile-nav__cta { margin: 12px 18px 20px; }
  .lang-flags-mobile { padding: 14px 18px; gap: 10px; }
  .lang-flags-mobile__link .fi { width: 28px; height: 21px; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 14px 48px; }
  .container { padding: 0 14px; }

  /* Hero CTAs already stacked at <=640px — keep them snug here */
  .hero-cta .btn { padding: 12px 14px; font-size: 0.92rem; }

  .card-stack { height: 240px; }
  .glass-card.card-main { padding: 16px; height: 200px; }
  .rate-value { font-size: 1.45rem; }

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

  .contact-form-shell { padding: 16px; }

  /* Plan cards */
  .plan-card { padding: 22px 18px; }

  /* Legal note takes less room */
  .legal-note { padding: 10px 12px; }
}

/* Ensure the horizontal scroll inside header does not break layout on tiny viewports */
@media (max-width: 380px) {
  header { gap: 8px; }
  .logo span:not(.logo-mark) { display: none; }
}


/* ============================================================
   TEMPLATE 18 OVERRIDE — "SOLAR MARIGOLD"
   Bright optimistic warm modernist. Cream-white ground, vibrant
   marigold yellow primary, deep teal secondary, clay rose tertiary.
   Soft warm shadows, generous 16px radii, friendly geometric shapes.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #fefcf6;                       /* warm cream-white */
  --bg-secondary: #fdf3d6;             /* butter cream (marigold tint) */
  --surface: rgba(245, 184, 0, 0.06);  /* faint marigold wash */
  --surface-2: rgba(245, 184, 0, 0.12);
  --border: rgba(10, 77, 74, 0.14);    /* teal-tinted hairline */
  --border-strong: rgba(10, 77, 74, 0.32);
  --text: #0a3a3a;                     /* deep teal-ink */
  --text-secondary: #2a5a5a;
  --muted: #7a8a8a;
  --accent: #f5b800;                   /* vibrant marigold */
  --accent-2: #0a4d4a;                 /* deep teal */
  --accent-3: #d8584a;                 /* clay rose / coral */
  --accent-light: rgba(245, 184, 0, 0.14);
  --accent-dim: rgba(245, 184, 0, 0.06);
  --success: #3aa867;
  --danger: #d8584a;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(10, 77, 74, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 77, 74, 0.10);
  --shadow-lg: 0 18px 36px -12px rgba(245, 184, 0, 0.30);
  --shadow-xl: 0 28px 56px -16px rgba(245, 184, 0, 0.35);
  --header-bg: rgba(254, 252, 246, 0.88);
}

/* Solar Marigold stays a bright warm theme regardless of OS preference. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #fefcf6;
    --bg-secondary: #fdf3d6;
    --text: #0a3a3a;
    --text-secondary: #2a5a5a;
    --muted: #7a8a8a;
    --header-bg: rgba(254, 252, 246, 0.88);
  }
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: var(--accent); color: var(--accent-2); }

/* Cream body + soft solar wash */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  position: relative;
  overflow-x: hidden;
}
/* Marigold "sunrise" radial wash at top, soft coral bleed at bottom-right */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 45% at 80% -8%, rgba(245, 184, 0, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 12% 110%, rgba(216, 88, 74, 0.10) 0%, transparent 65%);
}

a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
a:hover { color: var(--accent-3); text-decoration-color: var(--accent-3); background: transparent; }

.hero-atmos { display: none; }
.wrap, header, footer, main, section { position: relative; z-index: 1; }

/* Typography — Bricolage Grotesque modernist headlines + Inter body */
h1, h2, h3 {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-transform: none;
  font-weight: 700;
}
h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  text-shadow: none;
  font-weight: 800;
}
h1 span {
  color: var(--accent-3);
  font-style: italic;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 6px;
  text-underline-offset: 0.08em;
  text-decoration-skip-ink: none;
}
h2 {
  font-size: clamp(1.7rem, 4.4vw, 2.7rem);
  text-shadow: none;
  display: inline-block;
  padding-bottom: 8px;
  position: relative;
  font-weight: 700;
}
h2::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  opacity: 0.85;
}
.section-center h2::after { left: 50%; transform: translateX(-50%); width: 64px; }
h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: none;
}
.lead {
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 1.10rem;
  font-weight: 400;
  line-height: 1.65;
  text-transform: none;
}
.section-sub {
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-transform: none;
}

/* Header — frosted cream with marigold hairline */
header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
  width: 56px;
  opacity: 0.85;
}
.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  text-transform: none;
  letter-spacing: -0.025em;
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 800;
  text-shadow: none;
}
.logo:hover { color: var(--text); }
.logo-mark {
  background: var(--accent);
  color: var(--accent-2);
  border-radius: 12px;
  border: none;
  box-shadow: 0 6px 14px rgba(245, 184, 0, 0.30);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  width: 34px; height: 34px;
  font-size: 16px;
}
.site-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text-secondary);
  text-transform: none;
  letter-spacing: 0;
  border-radius: 999px;
  padding: 8px 14px;
  border: none;
  font-weight: 500;
  background: transparent;
  box-shadow: none;
  transition: color 0.18s ease, background 0.18s ease;
}
.site-nav a:hover { color: var(--accent-2); background: var(--accent-light); box-shadow: none; }
.site-nav a[aria-current="page"] { color: var(--accent-2); background: var(--accent-light); border: none; font-weight: 600; }

.lang-dropdown__btn {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
  box-shadow: none;
  padding: 8px 12px;
}
.lang-dropdown__btn:hover { background: var(--accent); color: var(--accent-2); border-color: var(--accent); box-shadow: 0 4px 12px rgba(245, 184, 0, 0.25); }
.lang-dropdown__list {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.lang-dropdown__option, .lang-dropdown__item { color: var(--text-secondary); font-family: 'Inter', sans-serif; font-size: 0.88rem; letter-spacing: 0; }
.lang-dropdown__option:hover, .lang-dropdown__item:hover, .lang-dropdown__item.is-active { color: var(--accent-2); background: var(--accent-light); border-radius: 8px; }
.nav-toggle { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; color: var(--text); box-shadow: none; }

/* Buttons — friendly rounded pills */
.btn {
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  padding: 14px 28px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.25s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-2);
  border-color: var(--accent);
  box-shadow: 0 8px 22px -4px rgba(245, 184, 0, 0.45);
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-3);
  color: var(--bg);
  border-color: var(--accent-3);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(216, 88, 74, 0.50);
}
.btn-ghost {
  background: transparent;
  color: var(--accent-2);
  border: 2px solid var(--accent-2);
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--accent-2);
  color: var(--bg);
  border-color: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(10, 77, 74, 0.40);
}

/* Badge — solar pill */
.badge {
  background: var(--accent);
  color: var(--accent-2);
  border: none;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(245, 184, 0, 0.30);
  padding: 6px 14px;
  font-size: 0.82rem;
}
.badge-dot {
  background: var(--accent-3);
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(216, 88, 74, 0.55);
}

/* Hero card — bright cream panel with marigold soft halo */
.glass-card {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.glass-card.card-float {
  background: var(--bg-secondary);
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-md);
}
.glass-card.card-float::before { color: var(--text-secondary); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.74rem; }
.glass-card.card-float::after { color: var(--text); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; letter-spacing: -0.02em; }
.rate-label {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 500;
  font-size: 0.74rem;
}
.rate-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: var(--text);
  font-size: 2.5rem;
  font-weight: 800;
  text-shadow: none;
  letter-spacing: -0.02em;
}
.rate-change {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-2);
  font-weight: 500;
  font-size: 0.86rem;
  background: rgba(58, 168, 103, 0.16);
  padding: 3px 10px;
  letter-spacing: 0.02em;
  border-radius: 999px;
}
.rate-chart {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.rate-chart svg path { stroke: var(--accent-3); }

section { padding: 80px 0; border-bottom: none; }

/* Empower — solar feature cards */
.empower-panel { background: transparent; border: none; padding: 0; box-shadow: none; }
.empower-item {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 22px;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.25s ease;
}
.empower-item:hover {
  background: var(--bg-secondary);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.empower-icon {
  background: var(--accent);
  color: var(--accent-2);
  border-radius: 14px;
  border: none;
  box-shadow: 0 6px 14px rgba(245, 184, 0, 0.30);
  width: 46px;
  height: 46px;
}
.empower-text { color: var(--text); font-family: 'Inter', sans-serif; font-weight: 500; }
.empower-img {
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* Plans — sun-warmed tier cards */
.plan-card {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
  margin-bottom: 0;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.25s ease;
}
.plan-card:hover {
  background: var(--bg-secondary);
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.plan-card--featured {
  background: var(--accent);
  color: var(--accent-2);
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-xl);
}
.plan-card--featured::before {
  content: "POPULAR";
  background: var(--accent-2);
  color: var(--accent);
  border: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 5px 14px;
  box-shadow: 0 4px 10px rgba(10, 77, 74, 0.25);
  border-radius: 999px;
}
.plan-card--featured .plan-card-name,
.plan-card--featured .plan-card-price,
.plan-card--featured .plan-card-price-box {
  color: var(--accent-2);
  -webkit-text-fill-color: var(--accent-2);
  background: none;
  text-shadow: none;
}
.plan-card--featured .plan-features li { color: var(--accent-2); }
.plan-card--featured .plan-features li::before { color: var(--accent-3); }
.plan-badge {
  background: rgba(216, 88, 74, 0.14);
  color: var(--accent-3);
  border: 1px solid var(--accent-3);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 600;
  box-shadow: none;
}
.plan-card-name {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  font-size: 0.78rem;
}
.plan-card-price, .plan-card-price-box {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: var(--accent-2);
  -webkit-text-fill-color: var(--accent-2);
  text-shadow: none;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-transform: none;
}
.plan-features li::before { color: var(--accent-3); }

/* About */
.about-stat {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  padding: 28px 18px;
  transition: transform 0.22s ease, box-shadow 0.25s ease, border-color 0.22s ease;
}
.about-stat:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.about-stat__num {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: var(--accent-3);
  -webkit-text-fill-color: var(--accent-3);
  background: none;
  text-shadow: none;
  font-size: clamp(2.2rem, 4.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.about-stat__label {
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.10em;
  font-weight: 500;
}

/* Documents */
.doc-card {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.25s ease;
}
.doc-card:hover { background: var(--bg-secondary); transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.doc-card__icon {
  background: var(--accent-light);
  color: var(--accent-3);
  border-radius: 12px;
  border: none;
  box-shadow: none;
}
.doc-card__title { font-family: 'Bricolage Grotesque', sans-serif; color: var(--text); text-transform: none; font-weight: 700; }
.doc-card__desc { color: var(--text-secondary); font-family: 'Inter', sans-serif; text-transform: none; }

/* FAQ — friendly accordion cards */
.faq details, details.faq-item {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s ease, box-shadow 0.25s ease;
}
.faq details[open], details.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-md); }
.faq summary, details.faq-item summary {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: var(--text);
  text-transform: none;
  letter-spacing: -0.005em;
  font-weight: 700;
}
.faq summary:hover, details.faq-item summary:hover { background: transparent; color: var(--accent-3); }
.faq summary::after, details.faq-item summary::after { color: var(--accent-3); }
details[open] summary { background: transparent; color: var(--accent-3); border-bottom: 1px solid var(--border); }
.faq-a { color: var(--text-secondary); font-family: 'Inter', sans-serif; }

/* Lead form — sun-warmed contact card */
.contact-form-shell {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  box-shadow: var(--shadow-xl);
  padding: 32px;
  backdrop-filter: none;
  position: relative;
}
.contact-form-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 60%, var(--accent-2) 100%);
  -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;
  opacity: 0.55;
  pointer-events: none;
}
.hadding2 h3 {
  color: var(--text);
  font-family: 'Bricolage Grotesque', sans-serif;
  text-transform: none;
  text-shadow: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 6px;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.input_group input, .input_group select, .field input, .field select, .rf-form-input {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 13px 16px;
}
.input_group input::placeholder, .field input::placeholder, .rf-form-input::placeholder { color: var(--muted); }
.input_group input:focus, .field input:focus, .rf-form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
  outline: none;
  background: var(--bg);
}
.input_group label, .field label {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 0.74rem;
  font-weight: 500;
}
.input_group.has-error input { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(216, 88, 74, 0.16); }
.input_group .err, .error-msg { color: var(--danger); font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 0.78rem; }
.btn-submit, .submit {
  background: var(--accent);
  color: var(--accent-2);
  border: 2px solid var(--accent);
  border-radius: 999px;
  box-shadow: 0 8px 22px -4px rgba(245, 184, 0, 0.45);
  font-family: 'Inter', sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  padding: 16px 22px;
}
.btn-submit:hover, .submit:hover {
  background: var(--accent-3);
  color: var(--bg);
  border-color: var(--accent-3);
  box-shadow: 0 12px 28px -6px rgba(216, 88, 74, 0.50);
  transform: translateY(-2px);
}
.form-disclaimer, .disclaimer { color: var(--muted); font-family: 'Inter', sans-serif; font-size: 0.84rem; }
.form-disclaimer a, .disclaimer a { color: var(--accent-2); }
.form-success .ok-mark {
  background: var(--accent-light);
  color: var(--accent-3);
  border: 2px solid var(--accent);
  box-shadow: 0 4px 14px rgba(245, 184, 0, 0.30);
  font-family: 'Bricolage Grotesque', sans-serif;
}

/* intl-tel-input */
.iti--separate-dial-code {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
}
.iti--separate-dial-code:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.iti--separate-dial-code .iti__flag-container { background: transparent; border-right: 1px solid var(--border); }
.iti__selected-dial-code { color: var(--text); font-family: 'JetBrains Mono', monospace; }
.iti__country-list, .iti__dropdown-content {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.iti__country-name { color: var(--text); font-family: 'Inter', sans-serif; }
.iti__country:hover, .iti__country.iti__highlight { background: var(--accent-light); color: var(--accent-2); }
.iti__search-input { background: var(--bg); color: var(--text); border-bottom-color: var(--border); }

/* Trust pills — sunny pebbles */
.trust { border-top: 1px solid var(--border); padding-top: 22px; }
.trust span {
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--accent-2);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  box-shadow: none;
}
.trust span strong { color: var(--accent-3); font-weight: 700; }

/* Subpage / legal */
.subpage-card {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.legal-note {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  color: var(--text);
}

/* Tables */
table thead { background: var(--bg-secondary); border-bottom: 2px solid var(--accent); }
table th { color: var(--accent-2); font-family: 'Bricolage Grotesque', sans-serif; text-transform: none; letter-spacing: -0.005em; font-size: 0.92rem; font-weight: 700; }
table td { color: var(--text); border-bottom-color: var(--border); }
table tbody tr:hover { background: var(--accent-light); }

/* Mobile nav overlay — match cream-warm vibe */
.mobile-nav { background: var(--bg); backdrop-filter: blur(20px); }
.mobile-nav__header { border-bottom-color: var(--border); }
.mobile-nav__close { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; }
.mobile-nav nav a { color: var(--text-secondary); font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.15rem; text-transform: none; letter-spacing: -0.005em; font-weight: 600; }
.mobile-nav nav a:hover, .mobile-nav nav a[aria-current="page"] { color: var(--accent-3); background: var(--accent-light); border-radius: 12px; }

/* Footer */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border-strong);
  padding: 40px 0 28px;
  box-shadow: none;
  position: relative;
  margin-top: 48px;
}
footer::before {
  content: "";
  position: absolute;
  left: 50%; top: -2px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
}
.footer-links a {
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.92rem;
}
.footer-links a:hover { color: var(--accent-3); background: transparent; padding: 0; }

/* ============================================================
   FEATURES & SECURITY 3-GRID — sun-warmed feature cards
   ============================================================ */
.features-grid-section,
.security-grid-section { padding: 80px 0; }

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.feature {
  padding: 30px 26px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.25s ease;
}
.feature:hover {
  background: var(--bg-secondary);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 16px;
  background: var(--accent);
  color: var(--accent-2);
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(245, 184, 0, 0.30);
}
.security-grid-section .feature-icon {
  background: var(--accent-3);
  color: var(--bg);
  box-shadow: 0 6px 14px rgba(216, 88, 74, 0.30);
}
.feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.feature h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
  text-transform: none;
}
.feature p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   REVIEWS — sunny testimonial cards with bright gold stars
   ============================================================ */
.reviews-section { padding: 80px 0; }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 18px;
}
@media (min-width: 720px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

.review-card {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.25s ease;
}
.review-card:hover {
  background: var(--bg-secondary);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.review-stars {
  color: #f5b800;
  -webkit-text-fill-color: #f5b800;
  background: none;
  font-size: 1.4rem;
  letter-spacing: 0.10em;
  line-height: 1;
  text-shadow: 0 0 10px rgba(245, 184, 0, 0.55);
}
.review-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.96rem;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
  position: relative;
}
.review-text::before {
  content: "\201C";
  font-family: 'Bricolage Grotesque', serif;
  font-style: italic;
  color: var(--accent-3);
  font-size: 2rem;
  font-weight: 700;
  line-height: 0;
  margin-right: 6px;
  vertical-align: -0.25em;
}
.review-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.review-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 12px rgba(245, 184, 0, 0.30);
}
.review-meta-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.review-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.review-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   PROFIT CALCULATOR — sunny instrument card
   ============================================================ */
.calc-section { padding: 80px 0 24px; }
.calc-section .section-center { margin-bottom: 32px; }

.calc-layout {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
@media (min-width: 880px) {
  .calc-layout { grid-template-columns: 1fr 1fr; }
  .calc-inputs { border-right: 1px solid var(--border); }
}
@media (max-width: 879px) {
  .calc-inputs { border-bottom: 1px solid var(--border); }
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 36px 32px;
  background: var(--bg);
}
.calc-field { display: flex; flex-direction: column; gap: 10px; }
.calc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.calc-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-2);
}
.calc-range {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

/* Sunny rounded slider */
.calc-field input[type="range"] {
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-3) 100%);
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 6px rgba(245, 184, 0, 0.30);
  margin: 8px 0;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-2);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent-2), 0 4px 10px rgba(10, 77, 74, 0.40);
  cursor: grab;
  transition: transform 0.15s ease;
}
.calc-field input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.05); }
.calc-field input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-2);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent-2), 0 4px 10px rgba(10, 77, 74, 0.40);
  cursor: grab;
}
.calc-field input[type="range"]::-moz-range-track {
  height: 6px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-3) 100%);
  border-radius: 999px;
}
.calc-field input[type="range"]:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; }

/* Result side — solid marigold panel with deep teal text */
.calc-result-card {
  border-radius: 0;
  padding: 40px 32px;
  background: var(--accent);
  border: none;
  text-align: center;
  color: var(--accent-2);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.calc-result-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(10, 77, 74, 0.78);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.calc-result-main {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(3rem, 7vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin-bottom: 28px;
  color: var(--accent-2);
}
.calc-result-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(10, 77, 74, 0.22);
}
.calc-stat {
  background: transparent;
  border: none;
  padding: 22px 14px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.calc-stat:first-child { border-right: 1px solid rgba(10, 77, 74, 0.22); }
.calc-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(10, 77, 74, 0.78);
  text-transform: uppercase;
}
.calc-stat-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent-2);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.calc-stat-value.accent {
  color: var(--accent-3);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.calc-disclaimer {
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
  max-width: 540px;
  margin: 22px auto 0;
  line-height: 1.55;
  font-family: 'Inter', sans-serif;
}
.calc-cta {
  display: flex;
  margin: 28px auto 0;
  max-width: 380px;
  width: 100%;
  padding: 16px 24px;
  justify-content: center;
}

/* ============================================================
   MOBILE — smaller type, full-width CTAs, iOS input fix,
   auto-height card so chart + buttons fit inside the cream frame.
   ============================================================ */
@media (max-width: 900px) {
  .hero { display: block; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px 56px; }
  section { padding: 56px 0; }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-cta .btn {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.92rem;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.25;
  }

  h1 { font-size: clamp(1.95rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.55rem, 6vw, 2rem); }

  .card-stack { height: auto; min-height: 280px; }
  .glass-card.card-main { height: auto; min-height: 220px; }

  .contact-form-shell { padding: 24px; box-shadow: var(--shadow-md); }
  .rate-value { font-size: 1.85rem; }

  /* New sections mobile tweaks */
  .reviews-section,
  .features-grid-section,
  .security-grid-section,
  .calc-section { padding: 56px 0; }
  .reviews-grid,
  .grid-3 { gap: 14px; margin-top: 14px; }
  .review-card { padding: 22px 20px; gap: 14px; }
  .review-text { font-size: 0.92rem; line-height: 1.65; }
  .review-avatar { width: 44px; height: 44px; }
  .review-name { font-size: 0.94rem; }
  .review-role { font-size: 0.7rem; }
  .feature { padding: 24px 20px; }
  .feature-icon { width: 46px; height: 46px; border-radius: 14px; }
  .feature-icon svg { width: 22px; height: 22px; }
  .feature h3 { font-size: 1.28rem; }
  .calc-inputs { padding: 28px 22px; gap: 24px; }
  .calc-result-card { padding: 32px 22px; }
  .calc-stat-value { font-size: 1.3rem; }

  /* iOS auto-zoom prevention */
  .input_group input, .input_group select, .field input, .field select,
  .rf-form-input,
  .iti--separate-dial-code input, .iti--separate-dial-code input#phone_input {
    font-size: 16px !important;
  }
  .iti--separate-dial-code .iti__flag-container { width: 92px; }
  .iti--separate-dial-code input,
  .iti--separate-dial-code input#phone_input { padding: 13px 14px 13px 104px !important; }

  .site-nav { display: none; }
  .header-cta { display: none !important; }
  .nav-toggle { display: flex; }
  .lang-dropdown__label { display: none; }

  .trust { gap: 8px 12px; }
  .trust span { font-size: 0.78rem; padding: 5px 12px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 14px 44px; }
  section { padding: 44px 0; }
  h1 { font-size: clamp(1.8rem, 10vw, 2.3rem); }
  .card-stack { min-height: 260px; }
  .glass-card.card-main { min-height: 220px; }
  .contact-form-shell { padding: 20px; }
}
