/* Smart Money Study shared design system */
:root {
  color-scheme: light;
  --navy: #0b1730;
  --navy-2: #10294a;
  --ink: #14233c;
  --muted: #63738b;
  --line: #e1e8f1;
  --green: #0eaf67;
  --green-dark: #087746;
  --green-soft: #eafaf1;
  --blue: #1769e8;
  --surface: #fff;
  --page: #f3f7fb;
  --shadow: 0 16px 44px rgba(18,40,74,.09);
  --radius: 18px;
  --container: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55; text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 1000; top: -100px; left: 12px; background: #fff; padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; background: var(--navy); border-radius: 13px; }
.brand-mark svg { width: 30px; height: 30px; fill: none; stroke: #55e4ae; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy { display: grid; line-height: 1.2; gap: 4px; }
.brand-name { color: var(--navy); font-size: 1.12rem; letter-spacing: -.045em; font-weight: 750; white-space: nowrap; }
.brand-name b { color: var(--green-dark); }
.brand-tagline { color: var(--muted); font-size: .72rem; }
.primary-nav { display: flex; align-items: center; gap: 5px; }
.primary-nav a { text-decoration: none; color: #4d5c72; padding: 10px 12px; border-radius: 9px; font-size: .9rem; font-weight: 650; transition: background .18s, color .18s; }
.primary-nav a:hover, .primary-nav a.is-active { background: #eef5fb; color: var(--navy); }
.primary-nav a.nav-cta { background: var(--navy); color: #fff; margin-left: 8px; padding-inline: 16px; }
.primary-nav a.nav-cta:hover { background: var(--navy-2); }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; width: 44px; height: 42px; border-radius: 10px; padding: 10px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--navy); margin: 4px 0; border-radius: 2px; }
main { min-height: 55vh; }
.page-hero { padding: 62px 0 82px; background: radial-gradient(ellipse at 85% 0%, rgba(17,210,139,.22), transparent 38%), linear-gradient(120deg,var(--navy),#0d3150); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 700px; height: 700px; border: 1px solid rgba(80,220,177,.12); border-radius: 50%; right: -160px; top: -470px; box-shadow: 0 0 0 50px rgba(80,220,177,.025),0 0 0 100px rgba(80,220,177,.02); pointer-events: none; }
.eyebrow { position: relative; z-index: 1; margin: 0 0 12px; color: #55e4ae; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.page-hero h1 { position: relative; z-index: 1; max-width: 850px; margin: 0; font-size: clamp(2.15rem,5vw,3.75rem); line-height: 1.04; letter-spacing: -.055em; }
.page-hero h1 span { color: #50e6aa; }
.page-hero p:not(.eyebrow) { position: relative; z-index: 1; max-width: 730px; color: #c8d7e8; margin: 17px 0 0; line-height: 1.7; }
.content-wrap { width: min(1120px, calc(100% - 40px)); margin: -40px auto 64px; position: relative; z-index: 2; }
.content-card { background: var(--surface); border: 1px solid #e5ebf3; border-radius: 20px; padding: clamp(22px,4vw,42px); box-shadow: var(--shadow); }
.content-card h2 { margin-top: 0; letter-spacing: -.03em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; padding: 12px 17px; text-decoration: none; font-weight: 800; cursor: pointer; }
.button:hover { filter: brightness(1.06); }
.button-secondary { background: #eef3fa; color: #33445d; }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.feature-card { border: 1px solid var(--line); border-radius: 15px; padding: 21px; background: #fff; }
.feature-card h3 { margin: 10px 0 7px; font-size: 1.05rem; }
.feature-card p { color: var(--muted); margin: 0; font-size: .9rem; }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); font-size: 1.25rem; }
.site-footer { background: #091529; color: #e9f0f8; }
.footer-main { display: grid; grid-template-columns: 1.5fr .85fr .95fr 1.25fr; gap: 38px; padding-top: 52px; padding-bottom: 42px; }
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-name b { color: #55e4ae; }
.brand-footer .brand-tagline { color: #9dafc6; }
.footer-brand > p { max-width: 320px; color: #a9b8cc; font-size: .88rem; line-height: 1.7; margin: 17px 0 0; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column h2 { font-size: .88rem; color: #fff; margin: 4px 0 7px; }
.footer-column a { color: #a9b8cc; text-decoration: none; font-size: .84rem; }
.footer-column a:hover { color: #55e4ae; }
.footer-note { align-self: start; display: flex; gap: 11px; padding: 15px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius: 13px; }
.footer-note-icon { color: #55e4ae; font-size: 1.2rem; line-height: 1.3; }
.footer-note p { margin: 0; color: #a9b8cc; font-size: .77rem; line-height: 1.65; }
.footer-note strong { display: block; color: #fff; margin-bottom: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #8fa1ba; font-size: .75rem; }
@media (max-width: 1000px) {
  .header-inner { gap: 14px; }
  .primary-nav a { padding: 9px 8px; font-size: .84rem; }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .container,.content-wrap { width: min(100% - 28px,var(--container)); }
  .header-inner { min-height: 74px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1rem; }
  .brand-tagline { font-size: .66rem; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .primary-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 12px 14px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 20px rgba(18,40,74,.09); align-items: stretch; flex-direction: column; gap: 3px; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px; font-size: .94rem; }
  .primary-nav a.nav-cta { margin: 6px 0 0; text-align: center; }
  .page-hero { padding: 43px 0 70px; }
  .content-wrap { margin-top: -32px; margin-bottom: 42px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 38px; }
  .footer-brand,.footer-note { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 7px; }
}
@media (max-width: 420px) {
  .brand-tagline { display: none; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand,.footer-note { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
