:root {
  --bg: #0a0e0c;
  --surface: #131b16;
  --surface-raised: #18231c;
  --text: #f4f7f5;
  --muted: #a3afa7;
  --line: rgba(255, 255, 255, .1);
  --green: #67e58f;
  --green-soft: #a9f2bf;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: radial-gradient(circle at 78% -5%, rgba(103, 229, 143, .1), transparent 28rem), var(--bg); }
a { color: inherit; }
.narrow { max-width: 820px; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 10px 14px; border-radius: 10px; background: #fff; color: #111; transition: top .2s ease; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(10, 14, 12, .88); backdrop-filter: blur(16px); }
.nav { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); }
.brand { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.brand-mark, .tool-icon { display: grid; place-items: center; background: var(--green); color: #07100a; font-weight: 900; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 22px; }
.nav-links a { color: var(--muted); font-size: .92rem; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: var(--text); }
.eyebrow { margin: 0; color: var(--green); font-size: .75rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { letter-spacing: -.04em; line-height: 1.08; }
h1 { max-width: 820px; margin: 16px 0 20px; font-size: clamp(2.65rem, 7vw, 5.1rem); font-weight: 850; }
h2 { margin: 10px 0 14px; font-size: clamp(1.6rem, 4vw, 2.35rem); }
.hero-lead { max-width: 690px; margin: 0; color: #c0c9c2; font-size: clamp(1.05rem, 2vw, 1.2rem); }
.tools-hero, .calculator-hero { padding: 92px 0 70px; }
.about-hero { padding: 92px 0 70px; }
.about-section { padding: 80px 0; }
.about-section-soft { background: rgba(255, 255, 255, .025); }
.about-prose > p:not(.eyebrow) { max-width: 760px; color: #c0c9c2; font-size: 1.05rem; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.about-grid, .about-stats-grid { display: grid; gap: 14px; }
.about-grid { grid-template-columns: repeat(3, 1fr); }
.about-stats-grid { grid-template-columns: repeat(4, 1fr); }
.about-card, .about-stat-card, .support-card { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.about-card { padding: 26px; }
.about-card-number { color: var(--green); font-size: .78rem; font-weight: 850; letter-spacing: .12em; }
.about-card h3 { margin: 26px 0 10px; font-size: 1.25rem; }
.about-card p, .about-stat-card p { color: var(--muted); font-size: .92rem; }
.about-stat-card { min-width: 0; display: flex; flex-direction: column; padding: 25px; }
.about-stat-card strong { color: var(--green-soft); font-size: clamp(1.75rem, 3vw, 2.65rem); letter-spacing: -.06em; line-height: 1; }
.about-stat-card p { flex: 1; }
.about-stat-card a { color: var(--green-soft); font-size: .85rem; font-weight: 750; }
.support-card { padding: clamp(26px, 5vw, 48px); background: radial-gradient(circle at 95% 0%, rgba(103, 229, 143, .13), transparent 17rem), var(--surface); }
.support-card h2 { margin: 10px 0 14px; font-size: clamp(1.8rem, 4vw, 2.55rem); }
.support-card > p:not(.eyebrow) { color: #c0c9c2; }
.support-note { margin-top: 22px; color: var(--muted) !important; font-size: .92rem; }
.breadcrumb { display: inline-block; margin-bottom: 34px; color: var(--muted); font-size: .92rem; }
.breadcrumb:hover { color: var(--green); }
.tools-section, .calculator-section, .method-section, .next-step-section { padding: 72px 0; }
.section-heading { margin-bottom: 24px; }
.tool-card, .calculator-card, .result-card, .method-card, .next-step-card { border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.tool-card { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 30px; }
.tool-card + .tool-card { margin-top: 16px; }
.tool-icon { width: 56px; height: 56px; border-radius: 18px; font-size: 1.7rem; }
.tool-label, .result-kicker { margin: 0; color: var(--green); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.tool-card h3 { margin: 8px 0 10px; font-size: 1.5rem; }
.tool-card p:not(.tool-label), .form-intro, .hint, .method-card > p, .next-step-card p { color: var(--muted); }
.tool-card .button { margin-top: 10px; }
.button { min-height: var(--button-min-height); border: 0; border-radius: var(--button-radius); padding: 0 var(--button-padding-inline); font-weight: 760; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: #07100a; }
.button-primary:hover { background: var(--green-soft); }
.button-secondary { border: 1px solid var(--line); background: var(--surface-raised); color: var(--text); }
.calculator-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: 28px; align-items: start; }
.calculator-card, .result-card { padding: clamp(24px, 4vw, 40px); }
.calculator-card h2 { margin-top: 0; }
.form-intro { margin: 0 0 28px; }
.field { margin-top: 22px; }
label { display: block; margin-bottom: 8px; font-weight: 750; }
input, select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #0d130f; color: var(--text); }
input::placeholder { color: #748077; }
input:focus-visible, select:focus-visible, .button:focus-visible, a:focus-visible { outline: 3px solid rgba(103, 229, 143, .5); outline-offset: 3px; }
input[aria-invalid="true"] { border-color: #ff897d; }
.input-prefix { display: grid; grid-template-columns: auto 1fr; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #0d130f; }
.input-prefix span { padding-left: 14px; color: var(--muted); font-weight: 700; }
.input-prefix input { border: 0; }
.input-prefix:focus-within { outline: 3px solid rgba(103, 229, 143, .5); outline-offset: 3px; }
.input-prefix input:focus-visible { outline: 0; }
.input-suffix { display: grid; grid-template-columns: 1fr auto; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #0d130f; }
.input-suffix span { padding-right: 14px; color: var(--muted); font-weight: 700; }
.input-suffix input { border: 0; }
.input-suffix:focus-within { outline: 3px solid rgba(103, 229, 143, .5); outline-offset: 3px; }
.input-suffix input:focus-visible { outline: 0; }
.hint, .field-error, .form-error { margin: 7px 0 0; font-size: .86rem; }
.field-error, .form-error { min-height: 1.2em; color: #ffaaa2; }
.calculate-button { width: 100%; margin-top: 28px; font-size: 1rem; }
.result-card { min-height: 330px; background: radial-gradient(circle at 95% 0%, rgba(103, 229, 143, .13), transparent 15rem), var(--surface-raised); }
.result-card h2 { margin-top: 14px; font-size: clamp(1.45rem, 3vw, 2rem); }
.result-placeholder { color: var(--muted); }
.result-list { display: grid; gap: 12px; margin: 26px 0; }
.result-list div { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(10, 14, 12, .4); }
.result-list dt { color: var(--green); font-size: 1.5rem; font-weight: 850; letter-spacing: -.04em; }
.result-list dd { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.reflection { margin: 0; color: #d4ddd6; }
.method-section { background: rgba(255, 255, 255, .018); }
.method-card { padding: clamp(25px, 5vw, 48px); }
.method-list { display: grid; gap: 10px; padding-left: 22px; color: #d8e0da; }
.disclaimer { padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; }
.next-step-section { padding-bottom: 96px; }
.next-step-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(25px, 5vw, 44px); }
.next-step-card h2 { max-width: 560px; }
.next-step-card p { max-width: 620px; margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-content { min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .9rem; }
.footer-content a:hover { color: var(--text); }
@media (max-width: 760px) {
  .nav { min-height: 64px; }
  .nav-links { gap: 12px; font-size: .88rem; }
  .tools-hero, .calculator-hero { padding: 64px 0 46px; }
  .about-hero { padding: 64px 0 46px; }
  .tools-section, .calculator-section, .method-section, .next-step-section { padding: 48px 0; }
  .about-section { padding: 52px 0; }
  .tool-card { grid-template-columns: 1fr; padding: 24px; }
  .calculator-grid { grid-template-columns: 1fr; }
  .about-grid, .about-stats-grid { grid-template-columns: 1fr; }
  .next-step-card { display: block; }
  .next-step-card .button { width: 100%; margin-top: 24px; }
}
@media (max-width: 430px) {
  .brand { font-size: .9rem; }
  .nav-links { gap: 9px; }
  .nav-links a { font-size: .82rem; }
  .footer-content { align-items: flex-start; flex-direction: column; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
