/* Waddell Investment Group — design tokens shared with the approved Land OS look */
:root {
  --canvas: #f6f4ef;
  --surface: #ffffff;
  --ink: #13201c;
  --ink-soft: #3d4b46;
  --muted: #6b7772;
  --line: #e7e3da;
  --brand-50: #ecf8f4;
  --brand-100: #d2efe6;
  --brand-200: #a6dfce;
  --brand-400: #34b597;
  --brand-500: #129a7d;
  --brand-600: #0b7d66;
  --brand-700: #0b5d4e;
  --brand-800: #0a4a3f;
  --brand-900: #083b33;
  --sun-300: #fcd34d;
  --sun-400: #fbbf24;
  --danger: #b42318;
  --radius: 20px;
  --shadow: 0 1px 2px rgb(19 32 28 / .04), 0 12px 32px -12px rgb(19 32 28 / .14);
  --display: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 40rem; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 700 .78rem/1 var(--sans); letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-700); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--sun-400); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- header ---------- */
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(246 244 239 / .82); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(19 32 28 / .35); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; }
.brand-name { font: 800 1.02rem/1.1 var(--display); letter-spacing: -.01em; }
.brand-name small { display: block; font: 600 .7rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 9px 13px; border-radius: 12px; color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .95rem; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--ink); background: rgb(19 32 28 / .05); }
.menu .btn { margin-left: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .menu { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px;
    background: var(--canvas); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgb(19 32 28 / .3);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease; }
  .menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .menu a { padding: 14px 12px; font-size: 1.05rem; }
  .menu .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; height: 52px; padding: 0 24px; border-radius: 14px;
  font: 700 1rem/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s, background .2s; }
.btn-primary { background: linear-gradient(180deg, var(--brand-600), var(--brand-700)); color: #fff; box-shadow: 0 10px 24px -12px rgb(11 93 78 / .8); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgb(11 93 78 / .85); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--brand-200); }
.btn-sm { height: 42px; padding: 0 18px; font-size: .92rem; border-radius: 12px; }
.btn:focus-visible, .menu a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brand-200); outline-offset: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 span { color: var(--brand-700); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art { position: relative; aspect-ratio: 1 / 1.02; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(160deg, var(--brand-800), var(--brand-900)); }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-card { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 18px 20px; border-radius: 18px;
  background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); box-shadow: 0 18px 40px -20px rgb(0 0 0 / .45); }
.hero-card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-card strong { font: 700 1rem/1.3 var(--display); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font: 700 .75rem/1 var(--sans);
  background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); white-space: nowrap; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--brand-600); flex: none; }
.contours { position: absolute; inset: -10% -20% auto auto; width: 70%; opacity: .5; pointer-events: none; z-index: -1; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 4 / 3.2; }
}

/* ---------- cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 2px rgb(19 32 28 / .03); }
.card h3 { margin-top: 18px; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.icon svg { width: 24px; height: 24px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font: 800 .9rem/1 var(--display);
  color: var(--brand-600); letter-spacing: .08em; margin-bottom: 18px; }
.steps h3 { margin-bottom: .4em; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.band { background: var(--brand-900); color: #e6f2ee; border-radius: 32px; padding: clamp(36px, 6vw, 72px); position: relative; overflow: hidden; }
.band h2 { color: #fff; }
.band .lead { color: #c7ddd6; }
.band .btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .3); }
.band svg.bg { position: absolute; right: -60px; top: -40px; width: 520px; opacity: .35; pointer-events: none; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--brand-600); margin-top: 3px; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; list-style: none; font: 700 1.05rem/1.4 var(--display); padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-600); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); }

/* ---------- forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); }
label .opt { color: var(--muted); font-weight: 500; }
input, select, textarea { width: 100%; margin-top: 7px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 13px; background: #fbfaf7;
  font: 500 1rem/1.4 var(--sans); color: var(--ink); transition: border-color .15s, background .15s; }
input:hover, select:hover, textarea:hover { border-color: #d6d1c4; }
input:focus, select:focus, textarea:focus { background: #fff; border-color: var(--brand-400); outline: none; }
textarea { min-height: 110px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--canvas); border: 1px solid var(--line); }
.consent input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--brand-600); }
.consent span { font-weight: 500; font-size: .86rem; line-height: 1.55; color: var(--ink-soft); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: var(--brand-50); color: var(--brand-800); border: 1px solid var(--brand-100); }
.form-status.err { display: block; background: #fef3f2; color: var(--danger); border: 1px solid #fecdca; }

/* ---------- legal pages ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.45rem; margin-top: 2em; }
.legal h3 { margin-top: 1.4em; }
.legal li { margin-bottom: .4em; }
.legal .box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(20px, 3vw, 32px); }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: #f1eee7; padding: 56px 0 40px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--brand-700); }
.legal-line { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .85rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- motion (subtle; respects reduced motion) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-14px); } }
.drift { animation: drift 9s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .drift { animation: none; }
}

/* header CTA keeps button colors (menu link color must not override) */
.menu a.btn-primary, .menu a.btn-primary:hover { color: #fff; background: linear-gradient(180deg, var(--brand-600), var(--brand-700)); }

/* form hint + address suggestions (same tokens; added 2026-10-02) */
.form-hint { margin: 2px 0 0; font-size: .84rem; color: var(--muted); font-weight: 500; }
.addr { position: relative; }
.addr-list { position: absolute; z-index: 20; left: 0; right: 0; top: 84px; margin: 0; padding: 6px; list-style: none; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); max-height: 300px; overflow: auto; }
.addr-list li { padding: 11px 12px; border-radius: 10px; cursor: pointer; font-size: .95rem; line-height: 1.35; }
.addr-list li small { display: block; color: var(--muted); font-size: .8rem; }
.addr-list li[aria-selected="true"], .addr-list li:hover { background: var(--brand-50); }
.addr-list .addr-foot { cursor: default; font-size: .74rem; color: var(--muted); padding: 6px 12px 2px; }
.addr-list .addr-foot:hover { background: none; }
