:root {
  --green: #0D4D38;
  --green-2: #13603F;
  --green-soft: #E4EEE8;
  --gold: #D4A63C;
  --gold-text: #9A7520;
  --cream: #FAF7EF;
  --paper: #FFFFFF;
  --ink: #1E2A24;
  --muted: #5B655F;
  --line: #E6E0D0;
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
img, svg { max-width: 100%; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); color: var(--green); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .8rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
section { padding: 72px 0; }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-dark { background: var(--green); color: #E8F0EB; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }
.section-head { max-width: 720px; margin-bottom: 40px; }

/* Buttons */
.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 24px; border-radius: 999px; border: 2px solid var(--green); transition: background .15s, color .15s; }
.btn:hover { background: var(--green-2); border-color: var(--green-2); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #1E2A24; }
.btn-gold:hover { background: #E0B656; border-color: #E0B656; }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green-soft); }
.btn-small { padding: 8px 16px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { background: rgba(250, 247, 239, .94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text small { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-text); }
.brand-text strong { font-size: 1.35rem; letter-spacing: .08em; color: var(--green); text-transform: uppercase; }
.nav-cb, .nav-burger { display: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav a:not(.btn):hover, .nav a.active { color: var(--green); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav .btn { color: #fff; }

@media (max-width: 900px) {
  .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
  .nav-burger span { display: block; width: 24px; height: 2px; background: var(--green); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 16px; gap: 14px; }
  .nav-cb:checked ~ .nav { display: flex; }
}

/* Hero */
.hero { padding: 80px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--gold-text); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 48px; } }

.load-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 18px 40px -24px rgba(13, 77, 56, .35); }
.load-card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.load-card-head strong { font-family: var(--serif); color: var(--green); font-size: 1.1rem; }
.load-card-head span { font-size: .8rem; color: var(--muted); }
.load-card svg { display: block; width: 100%; height: auto; }
.load-card-foot { display: flex; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-top: 12px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; margin-bottom: 16px; }
.card-icon svg { width: 24px; height: 24px; }
.section-dark .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #E8F0EB; }
.tag { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.tag-gold { background: #F6ECD3; color: var(--gold-text); }
.card .tag { margin-bottom: 12px; }

/* Featured course */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.feature-side { background: var(--green); color: #E8F0EB; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.feature-side h3 { color: #fff; font-size: 1.8rem; }
.feature-main { padding: 40px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fact strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--gold); line-height: 1.1; }
.fact span { font-size: .82rem; color: #BFD3C8; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 11px; width: 6px; height: 9px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature-side, .feature-main { padding: 28px; } }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--green); font-family: var(--serif); font-weight: 700; display: grid; place-items: center; font-size: 1.2rem; }

/* About teaser */
.person { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.avatar { width: 220px; height: 220px; border-radius: 24px; background: var(--green); display: grid; place-items: center; color: var(--gold); font-family: var(--serif); font-size: 4.5rem; font-weight: 700; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.creds li { font-size: .82rem; font-weight: 500; padding: 6px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
@media (max-width: 700px) { .person { grid-template-columns: 1fr; } .avatar { width: 160px; height: 160px; font-size: 3.2rem; } }

/* CTA band */
.cta { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; padding: 28px; } }

/* Page header */
.page-head { padding: 64px 0 24px; }
.page-head .lead { margin-bottom: 0; }

/* Module list */
.modules { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.modules li { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.modules .num { font-family: var(--serif); font-weight: 700; color: var(--gold-text); font-size: 1.3rem; }
.modules strong { display: block; color: var(--green); }
.modules .time { font-size: .85rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 600px) { .modules li { grid-template-columns: 44px 1fr; } .modules .time { grid-column: 2; } }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--green); }
.faq details p { margin: 12px 0 0; }

/* Verify */
.verify-box { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.verify-form { display: flex; gap: 12px; flex-wrap: wrap; }
.verify-form input { flex: 1 1 260px; font: inherit; font-family: ui-monospace, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; padding: 14px 16px; border: 1px solid #CFC7B3; border-radius: 12px; background: var(--cream); }
.verify-form input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.verify-form button { font: inherit; cursor: pointer; }
.result { margin-top: 24px; border-radius: 14px; padding: 22px; display: none; }
.result.show { display: block; }
.result.valid { background: #E6F2EA; border: 1px solid #A9CDB6; }
.result.invalid { background: #FBEDEA; border: 1px solid #E6B8AE; }
.result.revoked { background: #FFF4DE; border: 1px solid #E8CF94; }
.result h3 { margin-bottom: .3em; }
.result dl { display: grid; grid-template-columns: 140px 1fr; gap: 6px 16px; margin: 12px 0 0; }
.result dt { color: var(--muted); }
.result dd { margin: 0; font-weight: 600; }

/* Beta form */
.beta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .beta-grid { grid-template-columns: 1fr; gap: 28px; } }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 6px; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; width: 100%; padding: 11px 13px; border: 1px solid #CFC7B3; border-radius: 10px; background: var(--cream); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } .form-card { padding: 20px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field .chips input { width: auto; padding: 0; margin: 0; accent-color: var(--green); }
.chips label { display: inline-flex; white-space: nowrap; align-items: center; gap: 6px; font-weight: 400; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); cursor: pointer; }
.consents { display: grid; gap: 10px; }
.consents label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .92rem; align-items: start; }
.consents input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--green); }
.small { font-size: .85rem; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }

/* Prose (privacy, articles) */
.prose { font-size: 1.05rem; }
.prose h1 { font-size: 2.4rem; }
.prose h2, .prose h3 { margin-top: 1.8em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--green-soft); color: var(--green); }
.prose pre { background: #0A3D2C; color: #E8F0EB; padding: 18px 20px; border-radius: 12px; overflow-x: auto; font-size: .88rem; line-height: 1.55; }
.prose code { font-family: ui-monospace, Consolas, monospace; font-size: .92em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.card-link { text-decoration: none; color: inherit; display: block; transition: border-color .15s, transform .15s; }
.card-link:hover { border-color: var(--gold); transform: translateY(-2px); }

/* Footer */
.site-footer { background: #0A3D2C; color: #BFD3C8; padding: 56px 0 28px; margin-top: 40px; }
.site-footer a { color: #E8F0EB; text-decoration: none; display: block; margin-bottom: 6px; }
.site-footer a:hover { color: var(--gold); }
.site-footer .muted { color: #9DB5A8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: .3em; }
.footer-title { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: .82rem; color: #8FA89A; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
