/* =========================================================
   Talmorux — Slate-Blue + Cyan theme
   ========================================================= */
:root {
  /* primary palette */
  --color-primary: #2563eb;
  --color-primary-dark: #1e3a8a;
  --color-primary-darker: #1e293b;
  --color-primary-light: #60a5fa;
  --color-primary-lighter: #93c5fd;
  --color-primary-lightest: #dbeafe;

  /* accent (CTA / highlights) */
  --color-accent: #38bdf8;
  --color-accent-bright: #7dd3fc;
  --color-accent-dark: #0284c7;

  /* dark / surfaces */
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #0f172a;
  --color-bg-darker: #0a1224;
  --color-card: #ffffff;
  --color-card-dark: #1e293b;

  /* text */
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #94a3b8;
  --color-text-on-dark: #e2e8f0;
  --color-text-on-primary: #ffffff;

  /* borders */
  --color-border: #e2e8f0;
  --color-border-dark: #334155;

  /* status */
  --color-success: #22c55e;
  --color-danger: #ef4444;
  --color-warning: #f59e0b;

  /* layout */
  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, .10);
  --shadow-lg: 0 20px 40px rgba(30, 58, 138, .18);
  --shadow-cta: 0 10px 30px rgba(37, 99, 235, .35);

  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding: 0;
  font-family: var(--font-base);
  font-size: 16px; line-height: 1.65;
  color: var(--color-text); background: var(--color-bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-primary-dark); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800; line-height: 1.2;
  margin: 0 0 .8em; color: var(--color-text);
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container {
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 24px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--container); margin: 0 auto;
  gap: 18px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.2rem; color: var(--color-text);
}
.brand img { width: 38px; height: 38px; border-radius: 8px; }
.brand:hover { color: var(--color-primary); }
.nav-main { display: flex; align-items: center; gap: 22px; }
.nav-main a {
  color: var(--color-text); font-weight: 500; font-size: .96rem;
  padding: 8px 4px; position: relative;
}
.nav-main a:hover, .nav-main a.active {
  color: var(--color-primary);
}
.nav-main a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--color-primary); border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.locale-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: var(--radius-full);
  background: var(--color-bg-alt); color: var(--color-text-muted);
  font-size: .85rem; font-weight: 500; border: 1px solid var(--color-border);
}
.flag-ca {
  width: 18px; height: 13px; border-radius: 2px;
  background: linear-gradient(to right, #ff0000 25%, white 25%, white 75%, #ff0000 75%);
  position: relative; flex-shrink: 0;
}
.flag-ca::after {
  content: '🍁'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); font-size: 9px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-full);
  font-weight: 700; font-size: .96rem; border: none;
  cursor: pointer; transition: all .2s; text-align: center; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff; box-shadow: var(--shadow-cta);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(37,99,235,.45); color: #fff; }
.btn-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-primary-darker); font-weight: 800;
  box-shadow: 0 8px 22px rgba(56, 189, 248, .35);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(56,189,248,.5); color: var(--color-primary-darker); }
.btn-outline {
  background: transparent; color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

.menu-toggle {
  display: none; background: transparent; border: 0; padding: 8px;
  width: 40px; height: 40px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--color-text);
  margin: 5px auto; transition: all .25s;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(56,189,248,.18), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(37,99,235,.22), transparent 50%),
    linear-gradient(135deg, #0a1224 0%, #1e3a8a 100%);
  color: #fff;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('/images/hero-1600.webp');
  background-size: cover; background-position: center;
  opacity: .35; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero-lede {
  font-size: 1.18rem; line-height: 1.7;
  color: rgba(255, 255, 255, .92); margin-bottom: 1.6em;
  max-width: 600px;
}
.hero-rating {
  display: flex; align-items: center; gap: 14px; margin-bottom: 32px;
  color: rgba(255,255,255,.9);
}
.hero-rating .stars { color: #fbbf24; letter-spacing: 2px; font-size: 1.4rem; }
.hero-rating strong { color: #fff; font-size: 1.25rem; }

.hero-form {
  background: rgba(255, 255, 255, .98);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 30px; color: var(--color-text);
  border: 1px solid rgba(255,255,255,.4);
}
.hero-form h2 {
  font-size: 1.35rem; margin: 0 0 18px;
  display: flex; align-items: center; gap: 8px;
}
.hero-form h2::before {
  content: '🔒'; font-size: 1.1rem;
}
.form-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-bottom: 22px; padding-bottom: 22px;
  border-bottom: 1px dashed var(--color-border);
}
.form-stat strong {
  display: block; font-size: 1.6rem; font-weight: 800; color: var(--color-primary);
}
.form-stat span { font-size: .82rem; color: var(--color-text-muted); }

/* ---------- forms ---------- */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: .85rem; font-weight: 600;
  margin-bottom: 6px; color: var(--color-text-muted);
}
.form-control {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--color-text);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-control:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.18);
}
.form-actions { margin-top: 18px; }
.form-actions .btn { width: 100%; }

/* phone with country selector (custom dropdown) */
.phone-input {
  display: grid; grid-template-columns: 130px 1fr; gap: 8px;
}
.phone-select {
  position: relative;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  transition: border-color .15s;
}
.phone-select.open,
.phone-select:focus-within {
  border-color: var(--color-primary);
}
.phone-select-trigger {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 11px 10px;
  background: transparent; border: 0;
  font-family: inherit; font-size: .95rem;
  cursor: pointer; color: var(--color-text);
}
.phone-select-trigger .flag {
  font-size: 1.15rem; line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.phone-select-trigger .dial { font-weight: 600; color: var(--color-text); }
.phone-select-trigger .caret {
  margin-left: auto; font-size: .65rem;
  color: var(--color-text-muted); transition: transform .2s;
}
.phone-select.open .phone-select-trigger .caret { transform: rotate(180deg); }

.phone-select-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  width: 320px; max-height: 320px; overflow-y: auto;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); z-index: 50;
  box-shadow: var(--shadow-md);
  display: none;
}
.phone-select.open .phone-select-dropdown { display: block; }
.phone-select-dropdown ul { list-style: none; padding: 6px 0; margin: 0; }
.phone-select-dropdown li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; cursor: pointer;
  font-size: .9rem; transition: background .12s;
}
.phone-select-dropdown li:hover,
.phone-select-dropdown li.active {
  background: var(--color-primary-lightest);
}
.phone-select-dropdown li .flag {
  font-size: 1.2rem; line-height: 1; flex-shrink: 0;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.phone-select-dropdown li .code {
  font-size: .72rem; font-weight: 700; color: var(--color-text-muted);
  text-transform: uppercase; min-width: 22px;
}
.phone-select-dropdown li .dial {
  color: var(--color-text); font-weight: 600;
  min-width: 44px; font-variant-numeric: tabular-nums;
}
.phone-select-dropdown li .name { color: var(--color-text-muted); flex: 1; }

.fineprint {
  font-size: .78rem; color: var(--color-text-muted);
  margin-top: 12px; text-align: center; line-height: 1.45;
}

/* ---------- sections ---------- */
section { padding: 80px 0; }
.section-eyebrow {
  display: inline-block; padding: 6px 14px;
  background: var(--color-primary-lightest); color: var(--color-primary-dark);
  border-radius: var(--radius-full); font-weight: 700;
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head { text-align: center; max-width: 880px; margin: 0 auto 56px; }
.section-head p { color: var(--color-text-muted); font-size: 1.06rem; }

.bg-alt { background: var(--color-bg-alt); }
.bg-dark {
  background: linear-gradient(135deg, #0a1224, #1e293b);
  color: var(--color-text-on-dark);
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark .section-head p { color: rgba(255,255,255,.78); }
.bg-dark .section-eyebrow {
  background: rgba(56,189,248,.18); color: var(--color-accent-bright);
}

/* feature grid */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--color-card); border-radius: var(--radius-md);
  padding: 32px 26px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border); transition: all .25s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: #fff; font-size: 1.5rem;
}
.bg-dark .feature-card {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1);
  color: var(--color-text-on-dark);
}
.bg-dark .feature-card:hover { background: rgba(255,255,255,.07); }

/* ---------- testimonials ---------- */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--color-card); border-radius: var(--radius-md);
  padding: 28px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex; flex-direction: column;
}
.testimonial-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
.testimonial-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 1.05rem; margin: 0; }
.testimonial-meta { font-size: .82rem; color: var(--color-text-muted); margin: 2px 0 0; }
.testimonial-stars { color: #fbbf24; letter-spacing: 1px; font-size: .95rem; margin-bottom: 12px; }
.testimonial-body { color: var(--color-text-muted); line-height: 1.7; font-size: .95rem; }
.testimonial-badge {
  display: inline-block; padding: 3px 10px;
  background: var(--color-primary-lightest); color: var(--color-primary-dark);
  border-radius: var(--radius-full); font-size: .72rem; font-weight: 700;
  margin-left: 6px;
}
.testimonial-foot {
  margin-top: auto; padding-top: 16px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .85rem; color: var(--color-text-muted);
  border-top: 1px dashed var(--color-border);
  padding-top: 14px; margin-top: 16px;
}

/* ---------- security badges ---------- */
.security-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; margin-top: 44px;
}
@media (max-width: 900px) {
  .security-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .security-strip { grid-template-columns: 1fr; }
}
.security-item {
  display: flex; gap: 14px; padding: 18px;
  background: rgba(255,255,255,.04); border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.1);
}
.bg-light .security-item { background: #fff; border-color: var(--color-border); }
.security-item h4 { font-size: 1rem; margin: 0 0 6px; }
.security-item p { font-size: .88rem; margin: 0; color: rgba(255,255,255,.7); }
.bg-light .security-item p { color: var(--color-text-muted); }
.security-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem;
}

/* ---------- compliance ---------- */
.compliance-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px; margin-top: 40px;
}
.cert-card {
  text-align: center; padding: 26px 18px;
  background: var(--color-card); border-radius: var(--radius-md);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
.cert-badge {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff; font-weight: 800; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .03em;
}
.cert-card h4 { margin: 0 0 6px; }
.cert-card span { font-size: .82rem; color: var(--color-text-muted); }
.regulators {
  margin-top: 50px; padding-top: 36px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.regulators .label {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--color-text-muted); margin-bottom: 18px;
}
.regulators-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 36px; align-items: center;
}
.regulator {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--color-text-muted); font-size: .85rem;
}
.regulator-badge {
  width: 64px; height: 64px; border-radius: 14px;
  background: var(--color-bg-alt); border: 1.5px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--color-primary-dark); font-size: 1rem;
}

/* ---------- offices ---------- */
.office-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.office-card {
  background: var(--color-card); border-radius: var(--radius-md);
  padding: 22px; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
.office-card .flag {
  width: 28px; height: 18px; margin-bottom: 12px;
  background-size: cover; background-position: center;
  border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.office-card h4 { margin: 0 0 4px; font-size: 1.05rem; }
.office-card .country { color: var(--color-primary); font-weight: 600; font-size: .9rem; }
.office-card address {
  font-style: normal; color: var(--color-text-muted); font-size: .88rem;
  margin: 10px 0; line-height: 1.55;
}
.office-card .phone { font-size: .88rem; color: var(--color-text-muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--color-card); border-radius: var(--radius-md);
  border: 1px solid var(--color-border); margin-bottom: 14px;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq-question {
  padding: 20px 24px; font-weight: 700; font-size: 1.05rem;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; transition: color .15s;
  user-select: none;
}
.faq-question:hover { color: var(--color-primary); }
.faq-question .num {
  background: var(--color-primary-lightest); color: var(--color-primary-dark);
  font-size: .82rem; font-weight: 700; padding: 4px 9px;
  border-radius: 6px; margin-right: 4px;
}
.faq-question .toggle-icon {
  margin-left: auto;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-primary-lightest); color: var(--color-primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; flex-shrink: 0; transition: transform .25s;
}
.faq-item[open] .toggle-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px 22px; color: var(--color-text-muted); line-height: 1.75;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff; padding: 60px 40px; border-radius: var(--radius-lg);
  text-align: center; box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto 28px; }

/* ---------- footer ---------- */
.site-footer {
  background: #0a1224; color: #cbd5e1; padding: 64px 0 0;
}
.footer-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px; padding-bottom: 44px;
}
.footer-brand .brand { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.65); max-width: 360px; margin-top: 14px; font-size: .9rem; }
.footer-col h4 {
  color: #fff; font-size: 1rem; margin: 0 0 18px;
  position: relative; padding-bottom: 8px;
}
.footer-col h4::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 28px; height: 2px; background: var(--color-accent);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,.7); font-size: .9rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-col a:hover { color: var(--color-accent-bright); }
.footer-col a::before { content: '→'; color: var(--color-accent); }
.footer-contact .item {
  display: flex; gap: 12px; margin-bottom: 14px;
  font-size: .9rem; color: rgba(255,255,255,.78);
}
.footer-contact .item strong { display: block; color: #fff; font-size: .82rem; margin-bottom: 2px; }
.footer-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px;
  background: rgba(56,189,248,.15); color: var(--color-accent-bright);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0; display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  font-size: .85rem; color: rgba(255,255,255,.6);
}
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom a { color: rgba(255,255,255,.65); }
.footer-bottom a:hover { color: #fff; }

/* breadcrumb */
.breadcrumb {
  padding: 18px 0; font-size: .88rem; color: var(--color-text-muted);
  background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border);
}
.breadcrumb a { color: var(--color-primary); }
.breadcrumb .sep { margin: 0 8px; color: var(--color-text-light); }

/* article style for legal pages */
.legal-content {
  max-width: 880px; margin: 0 auto;
}
.legal-content h2 {
  margin-top: 2.2em; padding-top: 1em;
  border-top: 1px solid var(--color-border);
  font-size: 1.55rem;
}
.legal-content h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-content h3 { margin-top: 1.8em; font-size: 1.18rem; }
.legal-content ul { padding-left: 24px; margin: 0 0 1em; }
.legal-content li { margin-bottom: 8px; color: var(--color-text-muted); }
.legal-content p { color: var(--color-text-muted); line-height: 1.75; }
.legal-content strong { color: var(--color-text); }

/* why-grid (dashboard + cards layout in home section) */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
}
.why-grid > * { min-width: 0; }
@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* trade dashboard mock */
.dashboard-mock {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: var(--radius-lg); padding: 28px;
  color: #e2e8f0; border: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.dashboard-mock::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 60%; height: 60%; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.18), transparent 70%);
  pointer-events: none;
}
.dashboard-mock h3 {
  color: #fff; font-size: 1.05rem; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px; position: relative;
}
.dashboard-mock h3::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-success); box-shadow: 0 0 8px var(--color-success);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}
.dash-meta {
  display: flex; gap: 18px; padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255,255,255,.08);
  margin-bottom: 6px; font-size: .78rem;
  color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .04em;
}
.dash-meta span strong { color: var(--color-accent-bright); margin-right: 4px; }
.dash-rows { flex: 1; }
.dash-rows .row {
  display: grid; grid-template-columns: 1fr 1fr 90px;
  padding: 11px 0; align-items: center; font-size: .92rem;
  border-bottom: 1px dashed rgba(255,255,255,.07);
}
.dash-rows .row:last-child { border-bottom: 0; }
.dash-rows .pair { font-weight: 600; color: #fff; }
.dash-rows .price { color: var(--color-accent-bright); font-variant-numeric: tabular-nums; }
.dash-rows .change.up { color: var(--color-success); font-weight: 600; }
.dash-rows .change.down { color: var(--color-danger); font-weight: 600; }
.dash-summary {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px;
}
.dash-summary div {
  font-size: .76rem; color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: .04em;
}
.dash-summary div strong {
  display: block; color: #fff; font-size: 1.05rem;
  font-weight: 700; margin-top: 2px; text-transform: none; letter-spacing: 0;
}
.dash-summary .pnl-up strong { color: var(--color-success); }
.dash-foot {
  margin-top: 14px; font-size: .76rem;
  color: rgba(255,255,255,.5); text-align: center;
}

/* risk disclosure */
.risk-disclosure {
  background: #fef9e7; border: 1px solid #fde68a;
  padding: 28px; border-radius: var(--radius-md);
  margin: 30px 0; font-size: .9rem; color: #78350f;
}
.risk-disclosure h3 { color: #78350f; font-size: 1.1rem; margin: 0 0 10px; }
.risk-disclosure p { margin-bottom: .7em; }

/* compact list */
.bullet-list { padding-left: 0; list-style: none; }
.bullet-list li {
  padding: 8px 0 8px 28px; position: relative;
  color: var(--color-text-muted); line-height: 1.65;
}
.bullet-list li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  color: var(--color-success); font-weight: 800;
}
.bg-dark .bullet-list li { color: rgba(255,255,255,.85); }
.bg-dark .bullet-list li::before { color: var(--color-accent-bright); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 56px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .nav-main { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    padding: 16px 24px; box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--color-border);
  }
  .nav-main.open { display: flex; }
  .nav-main a { padding: 12px 0; border-bottom: 1px solid var(--color-border); width: 100%; }
  .nav-main a:last-child { border-bottom: 0; }
  .menu-toggle { display: block; order: 3; }
  .header-cta .locale-pill { display: none; }
}
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .container { padding: 0 18px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 56px; }
  .hero-form { padding: 24px 20px; }
  .cta-banner { padding: 40px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
