:root {
    --ink: #16211c; --muted: #64726b; --line: #e2e8e4;
    --bg: #f7f9f8; --accent: #14532d; --accent-soft: #e8f1ec;
}
*,*::before,*::after { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--ink);
    font-family: system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; font-size:16px; line-height:1.6; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }

.site-head { background:#fff; border-bottom:1px solid var(--line); }
.site-head__inner { max-width:1080px; margin:0 auto; padding:14px 20px;
    display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.site-head__brand { display:flex; align-items:center; gap:10px; font-weight:700; text-decoration:none; color:var(--ink); }
.site-head__brand img { width:34px; height:34px; object-fit:contain; }
.site-head__nav { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.site-head__nav ul { list-style:none; display:flex; gap:14px; margin:0; padding:0; }
.site-head__nav a:not(.site-btn) { text-decoration:none; color:var(--ink); font-size:15px; }

.site-btn { display:inline-flex; align-items:center; justify-content:center; line-height:1;
    padding:10px 20px; border:1px solid var(--line); border-radius:999px; background:#fff;
    color:var(--ink); text-decoration:none; font-size:14.5px; font-weight:600;
    transition:background .15s ease,border-color .15s ease,transform .1s ease; white-space:nowrap; }
.site-btn:hover { transform:translateY(-1px); }
.site-btn--primary { background:var(--accent); border-color:var(--accent); color:#fff !important; }
.site-btn--primary:hover { background:var(--accent); border-color:var(--accent); color:#fff !important; filter:brightness(1.1); }

.site-main { max-width:800px; margin:0 auto; padding:44px 20px 70px; }
.site-main--center { text-align:center; }
.site-main--center h1 { font-size:30px; margin:18px 0 6px; }
.site-hero__crest { width:96px; height:96px; object-fit:contain; }
.site-muted { color:var(--muted); }
.site-entry { background:#fff; border:1px solid var(--line); border-radius:12px; padding:22px; margin-bottom:18px; }
.site-entry h1, .site-entry h2 { margin-top:0; }
.site-foot { border-top:1px solid var(--line); background:#fff; }
.site-foot p { max-width:1080px; margin:0 auto; padding:20px; color:var(--muted); font-size:14px; }

/* ---------- Landing page ---------- */
.site-main--wide { max-width: 1000px; }

.hero { text-align: center; padding: 30px 0 44px; }
.hero__crest { width: 104px; height: 104px; object-fit: contain; margin-bottom: 18px; }
.hero__title { font-size: 34px; line-height: 1.15; margin: 0 0 10px; letter-spacing: -.5px; }
.hero__meta, .hero__lead { color: var(--muted); margin: 0 auto; max-width: 560px; font-size: 17px; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.site-btn--lg { padding: 13px 26px; font-size: 16px; border-radius: 10px; }

.section-title {
    font-size: 13px; text-transform: uppercase; letter-spacing: .1em;
    color: var(--muted); margin: 0 0 18px; text-align: center;
}

.who { padding: 34px 0; border-top: 1px solid var(--line); }
.who__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.who__card {
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px;
}
.who__card h3 { margin: 0 0 8px; font-size: 17px; }
.who__card p { margin: 0 0 8px; color: var(--ink); font-size: 15px; }
.who__do { color: var(--muted) !important; font-size: 14px !important; }
.who__help { text-align: center; color: var(--muted); margin-top: 20px; font-size: 14px; }

.notices, .contact, .editor-content { padding: 34px 0; border-top: 1px solid var(--line); }
.notice-item {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 20px; margin-bottom: 14px;
}
.notice-item h3 { margin: 0 0 8px; font-size: 17px; }
.notice-item__date { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.contact { text-align: center; }

@media (min-width: 760px) {
    .hero { padding: 54px 0 60px; }
    .hero__title { font-size: 44px; }
    .who__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Practice test (trial) page: full-bleed, no site-main constraints ---------- */
.trial-page-full { max-width: none; margin: 0; padding: 0; }

/* A bare front door: the two things a visitor can actually do, nothing else. */
.hero--bare { padding: 90px 0; }
.hero--bare .hero__actions { margin-top: 0; }
