:root {
    --bg: #12140f;
    --bg-2: #1b1e17;
    --panel: #23271e;
    --line: #3a4030;
    --text: #e9e4d6;
    --muted: #a9a593;
    --accent: #e0a63a;
    --accent-2: #8fbf4a;
    --danger: #d9553f;
    --radius: 6px;
    --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
section { scroll-margin-top: 60px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); }
a:hover { color: #f3c165; }

img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.top {
    position: sticky; top: 0; z-index: 10;
    background: rgba(18, 20, 15, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800;
         letter-spacing: 0.04em; text-transform: uppercase; }
.brand img { width: 36px; height: 36px; border-radius: 4px; }
.top nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
@media (max-width: 720px) {
    .top .wrap { gap: 12px; }
    .brand span { display: none; }
    .top nav { gap: 14px; }
    .top nav a { font-size: 14px; }
}
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero > img { width: 100%; max-height: 640px; object-fit: cover; object-position: center 30%; }
.hero .shade { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; pointer-events: none;
               background: linear-gradient(to bottom, rgba(18,20,15,0), var(--bg)); }
.hero .copy { position: relative; text-align: center; padding: 8px 16px 40px; background: var(--bg); }
.hero-copy h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tagline { font-size: clamp(20px, 3vw, 28px); font-weight: 700; margin: 0 0 18px; }

.buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-block; padding: 12px 22px; border-radius: var(--radius); font-weight: 700; text-decoration: none;
    border: 2px solid var(--accent); color: #1a1405; background: var(--accent);
}
.btn:hover { background: #f3c165; color: #1a1405; }
.btn.ghost { background: rgba(0,0,0,0.45); color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--text); }
.btn[aria-disabled="true"] { cursor: default; }

/* Sections */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; letter-spacing: 0.01em; }
h3 { font-size: 20px; margin: 0 0 6px; }
.lead { color: var(--muted); font-size: 19px; max-width: 760px; margin: 0 0 32px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature .body { padding: 16px 18px 20px; }
.feature p { margin: 0; color: var(--muted); }

.split { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; align-items: center; }
.split img { border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.tiers { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tiers li { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: baseline; padding: 10px 14px;
            background: var(--panel); border-left: 4px solid var(--accent-2); border-radius: 4px; }
.tiers li b { color: var(--accent); }
.tiers li:nth-child(4) { border-left-color: var(--accent); }
.tiers li:nth-child(5) { border-left-color: var(--danger); }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery a { display: block; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.2s; }
.gallery a:hover img { transform: scale(1.04); }

table.req { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
table.req th, table.req td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.req th { width: 180px; color: var(--muted); font-weight: 600; }
table.req tr:last-child th, table.req tr:last-child td { border-bottom: 0; }

.note { color: var(--muted); font-size: 15px; }

/* Legal pages */
.doc { max-width: 780px; padding: 48px 16px 64px; margin: 0 auto; }
.doc h1 { font-size: 34px; margin: 0 0 4px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { color: #d6d1c2; }

/* Footer */
footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: grid; gap: 10px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
