:root {
    color-scheme: light;
    --ink: #17211d;
    --muted: #65726b;
    --felt: #0e6048;
    --felt-dark: #0a4637;
    --lime: #d7ed74;
    --paper: #fbfaf6;
    --canvas: #f0eee7;
    --line: #e2e4dc;
    --red: #b94a45;
    --shadow: 0 18px 50px rgba(27, 38, 32, .09);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--canvas); }

body {
    position: relative;
    width: min(1120px, calc(100% - 40px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 28px 0 64px;
    color: var(--ink);
    font: 15px/1.6 'Segoe UI', 'Trebuchet MS', sans-serif;
}

body::before {
    position: fixed;
    z-index: -1;
    top: -190px;
    right: max(-130px, calc((100vw - 1200px) / 2 - 180px));
    width: 440px;
    height: 440px;
    border: 1px solid rgba(14, 96, 72, .07);
    border-radius: 50%;
    background: repeating-radial-gradient(circle, transparent 0 28px, rgba(14, 96, 72, .035) 29px 30px);
    content: '';
    pointer-events: none;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 38px;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    background: linear-gradient(110deg, #17241f, #102d25 75%, #164333);
    box-shadow: 0 12px 30px rgba(15, 42, 32, .16);
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding: 6px 10px 6px 4px;
    color: #fff;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 2px solid var(--lime);
    border-radius: 50%;
    color: var(--lime);
    font-size: 24px;
    line-height: 1;
}

.brand-name { font: 700 13px 'Trebuchet MS', 'Segoe UI', sans-serif; letter-spacing: .12em; }
.brand-name span { display: block; color: var(--lime); font-size: 10px; letter-spacing: .21em; }

nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav li { margin: 0; }

nav a {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    color: #e9f1eb;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

nav a:hover, nav a:focus-visible {
    transform: translateY(-1px);
    background: rgba(215, 237, 116, .14);
    color: var(--lime);
}

h1, h2, h3, h4 {
    color: var(--ink);
    font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
    line-height: 1.18;
}

h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -.045em;
}

h1::after {
    display: block;
    width: 48px;
    height: 4px;
    margin-top: 15px;
    border-radius: 9px;
    background: var(--felt);
    content: '';
}

h2 { margin: 28px 0 12px; font-size: 24px; letter-spacing: -.025em; }
h3 { margin: 28px 0 12px; font-size: 19px; }
h4 { margin: 20px 0 8px; color: var(--felt); font-size: 16px; }
p { color: #46534c; }

a { color: var(--felt); font-weight: 600; }
a:hover { color: var(--felt-dark); }

body > p, body > ul, body > table, body > form, body > h2, body > h3,
body > h4, body > fieldset {
    max-width: 100%;
}

form {
    display: grid;
    gap: 12px;
    width: min(100%, 620px);
    margin: 18px 0 24px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(251, 250, 246, .94);
    box-shadow: var(--shadow);
}

form[style*="display:inline"] {
    display: inline-flex;
    width: auto;
    margin: 0 0 0 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

label, legend { color: #34443b; font-size: 13px; font-weight: 700; }

input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
select, textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid #d5dad1;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: var(--ink);
    font: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}

textarea { min-height: 110px; resize: vertical; }

input:focus, select:focus, textarea:focus {
    border-color: var(--felt);
    box-shadow: 0 0 0 3px rgba(14, 96, 72, .12);
}

input[type="radio"], input[type="checkbox"] { accent-color: var(--felt); }

button, input[type="submit"] {
    width: fit-content;
    min-height: 42px;
    padding: 10px 17px;
    border: 0;
    border-radius: 10px;
    background: var(--felt);
    color: #fff;
    cursor: pointer;
    font: 700 13px 'Segoe UI', 'Trebuchet MS', sans-serif;
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

button:hover, input[type="submit"]:hover {
    transform: translateY(-1px);
    background: var(--felt-dark);
    box-shadow: 0 7px 16px rgba(14, 96, 72, .2);
}

button:disabled, input[type="submit"]:disabled {
    transform: none;
    background: #a7b2aa;
    box-shadow: none;
    cursor: not-allowed;
}

fieldset {
    display: grid;
    gap: 10px;
    margin: 4px 0;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

fieldset label { display: flex; align-items: center; gap: 8px; }

table {
    width: 100%;
    margin: 18px 0 26px;
    overflow: hidden;
    border: 1px solid var(--line) !important;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 15px;
    background: var(--paper);
    box-shadow: var(--shadow);
    text-align: left;
}

th, td { padding: 12px 14px; border: 0 !important; border-bottom: 1px solid var(--line) !important; }
th { background: #eaf0e8; color: #30453a; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
tbody tr:nth-child(even) { background: #f6f7f1; }
tbody tr:hover { background: #edf4df; }
tbody tr:last-child td { border-bottom: 0 !important; }

body > ul { padding-left: 22px; }
body > ul li { margin: 7px 0; }

p[style*="green"] {
    width: fit-content;
    padding: 10px 14px;
    border: 1px solid #c9e6d1;
    border-radius: 10px;
    background: #eaf7ed;
    color: #21663c !important;
}

p[style*="red"] {
    width: fit-content;
    padding: 10px 14px;
    border: 1px solid #f0cfca;
    border-radius: 10px;
    background: #fff0ed;
    color: #983b35 !important;
}

body > p:last-child { margin-top: 36px; }

.hero-panel {
    position: relative;
    overflow: hidden;
    margin: 20px 0 24px;
    padding: clamp(26px, 5vw, 52px);
    border-radius: 24px;
    background: linear-gradient(120deg, #123f32, #0d5b44 72%, #227354);
    box-shadow: 0 22px 50px rgba(13, 69, 51, .2);
    color: #f7fbf3;
}

.hero-panel::after {
    position: absolute;
    top: -85px;
    right: -60px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(215,237,116,.36);
    border-radius: 50%;
    background: repeating-radial-gradient(circle, transparent 0 22px, rgba(215,237,116,.12) 23px 24px);
    content: '';
}

.hero-panel h1, .hero-panel p { position: relative; z-index: 1; max-width: 650px; color: #fff; }
.hero-panel h1::after { background: var(--lime); }
.hero-panel .eyebrow { color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-panel .lead { max-width: 560px; color: #e2eee5; font-size: 17px; }

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin: 22px 0 30px;
}

.action-card {
    display: block;
    min-height: 132px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: 0 10px 24px rgba(27,38,32,.06);
    color: var(--ink);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.action-card:hover { transform: translateY(-3px); border-color: #b7d1b4; box-shadow: var(--shadow); color: var(--ink); }
.action-card strong { display: block; margin-bottom: 5px; color: var(--felt); font: 700 17px 'Trebuchet MS', 'Segoe UI', sans-serif; }
.action-card span { color: var(--muted); font-size: 13px; font-weight: 400; }

@media (max-width: 700px) {
    body { width: min(100% - 24px, 1120px); padding-top: 12px; }
    nav { flex-direction: column; align-items: stretch; margin-bottom: 28px; padding: 10px; border-radius: 14px; }
    nav ul { gap: 2px; }
    nav a { padding: 8px 9px; font-size: 12px; }
    form { padding: 17px; border-radius: 14px; }
    table { display: block; overflow-x: auto; white-space: nowrap; }
    th, td { padding: 10px 11px; }
}
