/* Hallmark · macrostructure: Split Hero · tone: academic utility · anchor hue: indigo */
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Lexend:wght@400;500&display=swap');

:root {
  --ink: #17152b;
  --muted: #68677a;
  --indigo: #4f46e5;
  --indigo-deep: #332cc2;
  --green: #17ad72;
  --paper: #fbfbfd;
  --white: #ffffff;
  --wash: #efefff;
  --mint: #e9faf2;
  --rule: #e7e7ef;
  --shadow: 0 22px 70px rgba(55, 48, 155, .15);
  --radius-lg: 28px;
  --radius-md: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Lexend', system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #9c98ff; outline-offset: 4px; }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 500; letter-spacing: -.03em; }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.brand span { font-size: 18px; }
.nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 13px; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { padding: 10px 16px; color: var(--white); background: var(--ink); border-radius: 999px; }
.nav .nav-cta:hover { background: var(--indigo); color: var(--white); }

.hero { width: min(calc(100% - 40px), var(--max)); margin: 54px auto 92px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 78px; }
.eyebrow { margin: 0 0 20px; color: var(--indigo); font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; letter-spacing: -.055em; line-height: 1.04; font-family: 'Fraunces', Georgia, serif; font-weight: 600; }
h1 { max-width: 650px; font-size: clamp(54px, 7vw, 92px); }
.hero-copy { max-width: 540px; margin: 25px 0 32px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 19px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 500; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--indigo); box-shadow: 0 10px 22px rgba(79, 70, 229, .2); }
.button-primary:hover { background: var(--indigo-deep); }
.button-quiet { color: var(--ink); border-color: var(--rule); background: var(--white); }

.hero-art { position: relative; min-height: 445px; display: grid; place-items: center; }
.hero-art::before { content: ''; position: absolute; width: 90%; height: 86%; border-radius: 48% 52% 43% 57%; background: var(--wash); transform: rotate(-8deg); }
.ledger-card { position: relative; z-index: 1; width: min(100%, 430px); padding: 28px; border: 1px solid rgba(79, 70, 229, .12); border-radius: var(--radius-lg); background: rgba(255,255,255,.88); box-shadow: var(--shadow); transform: rotate(3deg); }
.ledger-top { display: flex; align-items: start; justify-content: space-between; margin-bottom: 32px; }
.ledger-label { color: var(--muted); font-size: 12px; }
.ledger-term { margin-top: 4px; font-size: 20px; letter-spacing: -.04em; }
.ledger-mark { width: 44px; height: 44px; display: grid; place-items: center; color: var(--green); border-radius: 50%; background: var(--mint); font-size: 21px; }
.meter { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 24px; }
.meter-ring { width: 130px; height: 130px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--green) 0 78%, #d8f6e8 78% 100%); position: relative; }
.meter-ring::after { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: var(--white); }
.meter-ring strong { z-index: 1; font-family: 'Fraunces', Georgia, serif; font-size: 35px; }
.meter-data { display: grid; gap: 17px; }
.data-row { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 11px; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 12px; }
.data-row strong { color: var(--ink); font-weight: 500; }
.floating-note { position: absolute; z-index: 2; right: -5px; bottom: 28px; max-width: 200px; padding: 16px; border-radius: var(--radius-md); color: #0d6c48; background: var(--mint); box-shadow: 0 15px 45px rgba(23, 173, 114, .18); font-size: 12px; transform: rotate(-6deg); }

.trust-row { width: min(calc(100% - 40px), var(--max)); margin: 0 auto 90px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 12px; }
.trust-row span { color: var(--ink); font-weight: 500; }
.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto 120px; }
.section-heading { max-width: 640px; margin-bottom: 40px; }
.section-heading h2 { font-size: clamp(38px, 5vw, 62px); }
.section-heading p { margin: 20px 0 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { min-height: 230px; padding: 26px; border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--white); }
.feature:nth-child(2) { background: var(--wash); border-color: transparent; }
.feature:nth-child(3) { background: var(--mint); border-color: transparent; }
.feature-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 34px; border-radius: 11px; color: var(--indigo); background: #dedcff; font-size: 18px; }
.feature:nth-child(3) .feature-icon { color: var(--green); background: #c8f3df; }
.feature h3 { font-size: 24px; }
.feature p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }

.cta-band { width: min(calc(100% - 40px), var(--max)); margin: 0 auto 120px; padding: 55px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-radius: var(--radius-lg); background: var(--ink); color: var(--white); overflow: hidden; }
.cta-band h2 { max-width: 560px; font-size: clamp(35px, 4.5vw, 58px); }
.cta-band p { max-width: 420px; margin: 15px 0 0; color: #bab9cb; font-size: 14px; }
.cta-band .button { flex: 0 0 auto; color: var(--ink); background: var(--white); }

.page-hero { width: min(calc(100% - 40px), 840px); margin: 66px auto 70px; }
.page-hero h1 { font-size: clamp(48px, 7vw, 78px); }
.page-hero p { max-width: 640px; margin: 23px 0 0; color: var(--muted); font-size: 17px; }
.document { width: min(calc(100% - 40px), 840px); margin: 0 auto 120px; padding: clamp(26px, 5vw, 66px); border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--white); }
.document h2 { margin: 38px 0 14px; font-size: 31px; }
.document h2:first-child { margin-top: 0; }
.document h3 { margin: 28px 0 10px; font-size: 22px; }
.document p, .document li { color: #565568; font-size: 14px; }
.document ul { padding-left: 20px; }
.document li + li { margin-top: 8px; }
.document a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.callout { margin: 27px 0; padding: 20px 22px; border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; background: var(--mint); color: #236548; font-size: 14px; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.support-card { padding: 24px; border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--white); }
.support-card h3 { font-size: 25px; }
.support-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.support-card a { display: inline-block; margin-top: 16px; color: var(--indigo); font-size: 13px; font-weight: 500; }
.faq { padding: 18px 0; border-top: 1px solid var(--rule); }
.faq:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-size: 15px; font-weight: 500; }
.faq p { margin-bottom: 0; }

.site-footer { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 26px 0 40px; border-top: 1px solid var(--rule); display: flex; align-items: end; justify-content: space-between; gap: 30px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 800px) {
  .nav { gap: 12px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 35px; margin-top: 40px; }
  .hero-art { min-height: 365px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .feature-icon { margin-bottom: 22px; }
  .cta-band { display: block; padding: 35px 28px; }
  .cta-band .button { margin-top: 25px; }
}
@media (max-width: 520px) {
  .site-header, .hero, .trust-row, .section, .cta-band, .site-footer { width: min(calc(100% - 28px), var(--max)); }
  .page-hero, .document { width: min(calc(100% - 28px), 840px); }
  .hero { margin-bottom: 65px; }
  .hero-art { min-height: 320px; }
  .ledger-card { padding: 21px; }
  .meter { grid-template-columns: 105px 1fr; gap: 14px; }
  .meter-ring { width: 105px; height: 105px; }
  .meter-ring strong { font-size: 29px; }
  .floating-note { right: -7px; bottom: 5px; }
  .trust-row { display: block; line-height: 2.1; }
  .trust-row span { display: block; }
  .support-grid { grid-template-columns: 1fr; }
  .site-footer { display: block; }
  .footer-links { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
