:root {
  --violet: #3d0aa3;
  --violet-d: #26066a;
  --violet-dd: #170340;
  --lilac: #dacfea;
  --lilac-l: #f3eefa;
  --ink: #1b1030;
  --text: #43395a;
  --light: rgba(246,243,252,.92);
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Libre Bodoni", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--lilac-l); color: var(--text); font-family: var(--body); font-size: 18px; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0 0 18px; line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; }
h3 { font-size: 24px; font-weight: 700; }
p { margin: 0 0 16px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.label { font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--violet); margin-bottom: 16px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--violet); transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: var(--violet-d); box-shadow: 0 8px 24px rgba(23,3,64,.35); }
.bar { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-family: var(--head); font-weight: 500; font-size: 18px; }
.brand b { font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a { color: var(--light); text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-cta { background: var(--lilac); color: var(--violet-d) !important; padding: 8px 18px; border-radius: 6px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; font-family: var(--head); font-weight: 700; font-size: 16px; padding: 15px 26px; border-radius: 6px; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn-lilac { background: var(--lilac); color: var(--violet-dd); }
.btn-line { border: 2px solid rgba(255,255,255,.75); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* hero */
.hero { background: linear-gradient(160deg, var(--violet) 0%, var(--violet-d) 70%, var(--violet-dd) 100%); color: var(--light); padding: 70px 0 0; overflow: hidden; }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.hero-copy { padding-bottom: 90px; }
.hero .label { color: var(--lilac); }
.hero h1 { color: #fff; font-size: clamp(56px, 8vw, 104px); font-weight: 800; }
.hero h1 em { font-family: var(--body); font-style: italic; font-weight: 400; color: var(--lilac); }
.lede { font-size: 20px; color: var(--light); max-width: 520px; }
.climb svg { width: 100%; height: auto; display: block; overflow: visible; }
.bars rect { fill: rgba(218,207,234,.16); stroke: rgba(218,207,234,.35); transform-box: fill-box; transform-origin: bottom; animation: rise 6s ease-in-out infinite; }
.bars rect:nth-child(2) { animation-delay: .15s; } .bars rect:nth-child(3) { animation-delay: .3s; } .bars rect:nth-child(4) { animation-delay: .45s; }
.bars rect:nth-child(5) { animation-delay: .6s; } .bars rect:nth-child(6) { animation-delay: .75s; } .bars rect:nth-child(7) { animation-delay: .9s; fill: rgba(218,207,234,.32); }
.base { stroke: var(--lilac); stroke-width: 2; }
.sweep { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: sweep 6s ease-in-out infinite; }
.tip { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: tip 6s ease-in-out infinite; }
.sweep, .tip { animation-delay: -3.2s; }
@keyframes rise { 0% { transform: scaleY(.25); } 30%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.25); } }
@keyframes sweep { 0%, 15% { stroke-dashoffset: 100; } 50%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 100; opacity: 0; } }
@keyframes tip { 0%, 46% { opacity: 0; } 52%, 85% { opacity: 1; } 100% { opacity: 0; } }

/* beyond */
.beyond { padding: 100px 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.two p { font-size: 19px; }

/* ledger */
.ledger { background: var(--violet-dd); padding: 100px 0; }
.ledger-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; padding-bottom: 22px; border-bottom: 2px solid var(--lilac); }
.ledger .label { color: var(--lilac); margin: 0; order: 2; }
.ledger h2 { color: #fff; margin: 0; }
.ledger-table { display: grid; }
.lrow { position: relative; display: grid; grid-template-columns: 80px 240px 1fr; gap: 24px; align-items: baseline; padding: 30px 12px 34px; border-bottom: 1px solid rgba(218,207,234,.22); transition: background .25s, padding .25s; }
.lno { font-family: var(--body); font-style: italic; font-size: 30px; color: var(--lilac); }
.lrow h3 { color: #fff; margin: 0; font-size: 26px; }
.lrow p { margin: 0; color: var(--light); }
.lbar { position: absolute; left: 12px; bottom: 12px; height: 4px; width: var(--w); background: linear-gradient(90deg, rgba(218,207,234,.15), var(--lilac)); border-radius: 4px; transform-origin: left; transform: scaleX(0); transition: transform 1.2s ease .2s; }
.lrow.in .lbar, html:not(.js) .lbar { transform: scaleX(1); }

/* balance */
.balance { padding: 110px 0; }
.balance-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.balance p:not(.label) { font-size: 19px; }
.scale { position: relative; height: 300px; }
.post { position: absolute; left: 50%; bottom: 0; width: 14px; height: 200px; margin-left: -7px; background: var(--violet); border-radius: 7px 7px 0 0; }
.post::after { content: ""; position: absolute; left: -60px; right: -60px; bottom: 0; height: 12px; background: var(--violet-d); border-radius: 6px; }
.beam { position: absolute; left: 6%; right: 6%; top: 92px; height: 10px; background: var(--violet); border-radius: 5px; animation: tilt 6s ease-in-out infinite; }
.pan { position: absolute; top: 30px; width: 40%; padding: 18px 10px; text-align: center; background: var(--lilac); border-radius: 10px; font-family: var(--head); font-weight: 800; font-size: 17px; color: var(--violet-dd); animation: bob 6s ease-in-out infinite; }
.pan.a { left: 2%; }
.pan.d { right: 2%; animation-name: bob2; }
@keyframes tilt { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes bob { 0%,100% { transform: translateY(8px); } 50% { transform: translateY(-8px); } }
@keyframes bob2 { 0%,100% { transform: translateY(-8px); } 50% { transform: translateY(8px); } }

/* quote */
.quote { background: var(--violet); padding: 96px 0; text-align: center; }
.quote blockquote { margin: 0 auto 16px; max-width: 900px; font-family: var(--body); font-style: italic; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.25; color: #fff; }
.quote p { margin: 0; font-family: var(--head); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 13px; color: var(--lilac); }

/* faq */
.faq { padding: 100px 0; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: start; }
.faq-list { border-top: 2px solid var(--violet); }
.faq-item { border-bottom: 1px solid var(--lilac); transition: background .2s; }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; padding: 22px 10px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--ink); transition: padding .2s, color .2s; }
.pm { position: relative; width: 28px; height: 28px; flex: none; border: 2px solid var(--violet); border-radius: 6px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 6px; top: 11px; width: 12px; height: 2px; background: var(--violet); transition: transform .25s; }
.pm::after { transform: rotate(90deg); }
.faq-item.open .pm::after { transform: rotate(0); }
.faq-a { display: none; padding: 0 10px 22px; }
.faq-a p { margin: 0; }
.faq-item.open .faq-a { display: block; }

/* contact */
.contact { padding: 0 0 100px; }
.contact-box { background: var(--violet-d); border-radius: 18px; padding: 64px 56px; background-image: linear-gradient(135deg, var(--violet) 0%, var(--violet-dd) 100%); }
.contact h2 { color: #fff; font-size: clamp(36px, 5vw, 64px); }
.contact p { color: var(--light); font-size: 19px; max-width: 560px; }

/* footer */
.site-footer { background: var(--violet-dd); padding: 30px 0; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.foot .brand { font-size: 16px; }
.foot .brand img { width: 34px; height: 34px; }
.foot p { margin: 0; color: rgba(246,243,252,.85); font-size: 15px; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .primary-nav a:hover { color: #fff; }
  .nav-cta:hover { background: #fff; }
  .btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(23,3,64,.35); }
  .btn-lilac:hover { background: #fff; }
  .btn-line:hover { background: #fff; color: var(--violet-d); }
  .lrow:hover { background: rgba(218,207,234,.08); padding-left: 26px; }
  .pan:hover { background: #fff; }
  .faq-item:hover { background: #fff; }
  .faq-q:hover { padding-left: 18px; color: var(--violet); }
}

@media (max-width: 900px) {
  .hero-inner, .two, .balance-grid, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { padding-bottom: 10px; }
  .climb { max-width: 460px; width: 100%; margin: 0 auto; }
  .lrow { grid-template-columns: 1fr; gap: 6px; padding: 26px 4px 34px; }
  .lbar { left: 4px; }
  .scale { max-width: 400px; width: 100%; margin: 0 auto; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--violet-d); flex-direction: column; align-items: stretch; gap: 0; padding: 4px 24px 20px; display: none; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .nav-cta { margin-top: 12px; text-align: center; }
  .brand { font-size: 15px; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 58px; }
  .lede, .two p, .balance p:not(.label) { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; }
  .beyond, .ledger, .balance, .faq { padding: 72px 0; }
  .quote { padding: 70px 0; }
  .scale { height: 260px; }
  .pan { font-size: 15px; }
  .faq-q { font-size: 17px; padding: 20px 4px; }
  .contact { padding: 0 0 72px; }
  .contact-box { padding: 40px 22px; }
  .btn { font-size: 15px; padding: 14px 16px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .sweep { stroke-dashoffset: 0; }
  .tip { opacity: 1; }
  .lbar { transform: scaleX(1); }
  .js .reveal { opacity: 1; transform: none; }
}
