/* MONEIQ brand site — same brand board as the app (obsidian, emerald, gold, ivory). */
:root {
  --obsidian: #0b0f14;
  --emerald: #0e6b5b;
  --emerald-bright: #19a588;
  --gold: #d8b76a;
  --gold-hi: #f0d79a;
  --gold-lo: #b8913f;
  --ivory: #f5f6f4;

  --bg: var(--obsidian);
  --bg-alt: #0e141b;
  --surface: #121821;
  --surface-2: #19212c;
  --border: #223040;
  --text: var(--ivory);
  --muted: #9aa6b5;
  --positive: #34c79f;
  --warning: #e8b450;
  --negative: #f07a7a;
  --radius: 16px;
  --font-head: "Montserrat", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, .sub a, .sec-more a { color: var(--gold); }
p a:hover, .sub a:hover, .sec-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid #8fd3ff; outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 0.9rem; border-radius: 10px; }
.btn-gold {
  color: #1a1408; background: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
  box-shadow: 0 6px 20px -6px rgba(216, 183, 106, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -8px rgba(216, 183, 106, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-ghost { border-color: var(--border); background: rgba(255, 255, 255, 0.02); color: var(--text); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--gold) 55%, var(--border)); background: rgba(255, 255, 255, 0.04); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 15, 20, 0.72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s ease, background 0.2s ease; }
.nav.scrolled { border-bottom-color: var(--border); background: rgba(11, 15, 20, 0.88); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.word { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.06em; }
.word b { color: var(--gold); font-weight: 700; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 0.94rem; transition: color 0.15s ease, background 0.15s ease; }
.nav-links a:hover { color: var(--text); background: var(--surface); }
.only-mobile { display: none; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.link-quiet { color: var(--muted); font-size: 0.94rem; font-weight: 500; }
.link-quiet:hover { color: var(--text); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--border); background: transparent; border-radius: 10px; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 16px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform 0.2s ease; }
.menu-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none;
  background:
    radial-gradient(600px 380px at 78% 30%, rgba(25, 165, 136, 0.20), transparent 70%),
    radial-gradient(520px 320px at 18% 10%, rgba(216, 183, 106, 0.12), transparent 70%);
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
.grad { background: linear-gradient(100deg, var(--gold-hi), var(--gold) 40%, #7fd8c1 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: 24px 0 0; font-size: 1.16rem; color: #c3ccd6; max-width: 34em; }
.lede strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-actions.center { justify-content: center; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: 0.9rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(52, 199, 159, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2334c79f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Hero visual */
.hero-visual { position: relative; padding: 10px 0 30px; }
.mock {
  position: relative; max-width: 440px; margin-left: auto; padding: 24px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(25, 33, 44, 0.92), rgba(18, 24, 33, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.mock-head { display: flex; justify-content: space-between; align-items: center; }
.mock-title { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.chip { font-size: 0.74rem; font-weight: 600; padding: 4px 9px; border-radius: 99px; border: 1px solid var(--border); }
.chip-up { color: var(--positive); border-color: rgba(52, 199, 159, 0.35); background: rgba(52, 199, 159, 0.08); }
.gauge { position: relative; margin: 14px auto 6px; max-width: 280px; }
.arc { fill: none; stroke-width: 12; stroke-linecap: round; }
.a1 { stroke: #c4564f; } .a2 { stroke: #d9814a; } .a3 { stroke: #d8b04a; }
.a4 { stroke: #8fbf5a; } .a5 { stroke: #34c79f; } .a6 { stroke: #19a588; }
.arc:not(.a5) { opacity: 0.38; }
.marker { fill: var(--ivory); stroke: var(--obsidian); stroke-width: 3; filter: drop-shadow(0 0 6px rgba(52, 199, 159, 0.8)); }
.gauge-read { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; display: grid; }
.gauge-score { font-family: var(--font-head); font-size: 3.1rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.gauge-band { margin-top: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--positive); }
.mock-next { margin-top: 14px; }
.mock-next-row { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); margin-bottom: 7px; }
.track { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--emerald-bright), var(--gold)); }
.f-next { width: 32%; }
.mock-dims { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 2px; }
.mock-dims li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.88rem; color: #c3ccd6; }
.mock-dims b { font-weight: 600; font-variant-numeric: tabular-nums; }
.good { color: var(--positive); } .ok { color: #8fbf5a; } .warn { color: var(--warning); }
.mock-tip { display: flex; gap: 10px; margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(216, 183, 106, 0.07); border: 1px solid rgba(216, 183, 106, 0.18); font-size: 0.84rem; color: #d9dfe6; line-height: 1.45; }
.dot { flex: 0 0 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.mock-float {
  position: absolute; left: 0; top: 118px; display: grid; gap: 2px; padding: 14px 18px; border-radius: 16px;
  background: rgba(14, 20, 27, 0.92); border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}
.mf-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.mf-value { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.mf-sub { font-size: 0.8rem; color: #c3ccd6; }
.mock-note { position: absolute; right: 0; bottom: 0; margin: 0; font-size: 0.72rem; color: #6b7684; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Banks strip */
.banks { border-block: 1px solid var(--border); background: var(--bg-alt); }
.banks p { margin: 0; padding: 20px 0; text-align: center; color: var(--muted); font-size: 0.92rem; letter-spacing: 0.01em; }

/* Sections */
.section { padding: 104px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); border-top: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { text-align: left; margin: 0; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; }
.sub { margin: 18px 0 0; color: var(--muted); font-size: 1.06rem; }
.sub strong { color: var(--text); font-weight: 600; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--gold) 40%, var(--border)); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.8); }
.ficon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(25, 165, 136, 0.22), rgba(216, 183, 106, 0.14)); border: 1px solid rgba(255, 255, 255, 0.06); }
.ficon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.feature p { margin: 10px 0 0; color: var(--muted); font-size: 0.95rem; }

/* Score */
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 34px; color: var(--muted); font-size: 0.98rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: rgba(216, 183, 106, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23d8b76a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.checks b { color: var(--text); font-weight: 600; }
.areas { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.8); }
.areas-head { display: flex; justify-content: space-between; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.areas ul { list-style: none; padding: 0; margin: 0; }
.areas li { display: grid; grid-template-columns: 1fr 110px 44px; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.94rem; }
.areas li b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: #c3ccd6; }
.w { display: block; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--emerald-bright), var(--gold)); }
.w20 { width: 100%; } .w15 { width: 75%; } .w10 { width: 50%; } .w5 { width: 25%; }
.bands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 22px; }
.bands span { display: grid; gap: 2px; padding: 10px 6px 8px; border-radius: 8px; font-size: 0.7rem; font-weight: 600; text-align: center; color: #0b0f14; line-height: 1.2; }
.bands em { font-style: normal; font-weight: 500; opacity: 0.75; font-variant-numeric: tabular-nums; }
.b1 { background: #c4564f; } .b2 { background: #d9814a; } .b3 { background: #d8b04a; }
.b4 { background: #8fbf5a; } .b5 { background: #34c79f; } .b6 { background: #19a588; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; }
.steps li { position: relative; padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(180deg, var(--surface), transparent); }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; margin-bottom: 18px; font-family: var(--font-head); font-weight: 700; color: #1a1408; background: linear-gradient(135deg, var(--gold-hi), var(--gold-lo)); }
.steps h3 { font-size: 1.12rem; font-weight: 600; }
.steps p { margin: 10px 0 0; color: var(--muted); font-size: 0.95rem; }

/* Security */
.secure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.sec { padding: 28px; background: var(--bg-alt); }
.sec h3 { font-size: 1.02rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.sec h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-bright); box-shadow: 0 0 10px rgba(25, 165, 136, 0.8); }
.sec p { margin: 10px 0 0; color: var(--muted); font-size: 0.93rem; }
.sec-more { margin: 28px 0 0; text-align: center; font-weight: 500; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: border-color 0.2s ease; }
.faq details[open] { border-color: color-mix(in srgb, var(--gold) 35%, var(--border)); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--gold); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 0.96rem; }

/* CTA */
.cta { padding: 40px 0 110px; }
.cta-inner {
  display: grid; justify-items: center; text-align: center; padding: 64px 32px; border-radius: 28px;
  background:
    radial-gradient(500px 240px at 50% 0%, rgba(216, 183, 106, 0.16), transparent 70%),
    radial-gradient(600px 300px at 50% 110%, rgba(25, 165, 136, 0.2), transparent 70%),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-inner h2 { margin-top: 22px; max-width: 18em; }
.cta-inner > p { margin: 14px 0 0; color: var(--muted); max-width: 34em; font-size: 1.04rem; }
.cta .hero-actions { margin-top: 30px; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 56px 0 28px; font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot-brand p { margin: 14px 0 0; color: var(--muted); max-width: 22em; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h4 { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
.foot-col a { color: var(--muted); }
.foot-col a:hover { color: var(--text); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); color: #6b7684; font-size: 0.84rem; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .score-grid, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 64px; }
  .mock { margin: 0 auto; }
  .features, .secure { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wrap { width: min(1160px, 100% - 36px); }
  .nav-toggle { display: inline-flex; }
  .link-quiet { display: none; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 18px 18px;
    background: var(--obsidian); box-shadow: 0 24px 40px -20px rgba(0,0,0,0.8); border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1rem; }
  .nav-links .only-mobile { display: block; color: var(--gold); border-bottom: 0; }
  .menu-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .section { padding: 76px 0; }
  .features, .secure, .steps { grid-template-columns: 1fr; }
  .lede { font-size: 1.06rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .mock-float { position: relative; left: auto; top: auto; margin: -18px auto 0; width: fit-content; animation: none; }
  .mock-note { position: static; text-align: center; margin-top: 12px; }
  .areas { padding: 20px; }
  .areas li { grid-template-columns: 1fr 70px 38px; }
  .bands { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { padding: 48px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
