:root {
  --ink: #071018;
  --ink-2: #0c1823;
  --panel: #0f1d29;
  --panel-2: #142635;
  --paper: #f7f8fb;
  --white: #ffffff;
  --text: #18212b;
  --muted: #667485;
  --gold: #d9a84e;
  --gold-2: #f0ca79;
  --gold-3: #9f6d24;
  --line: rgba(15, 29, 41, 0.12);
  --success: #0d7a4b;
  --danger: #b42318;
  --shadow: 0 24px 70px rgba(3, 12, 20, 0.18);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--white); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(7, 16, 24, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.brand-mark { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(217,168,78,.45); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy small { display: block; color: var(--gold-2); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .66rem; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { text-decoration: none; color: rgba(255,255,255,.78); padding: 10px 13px; border-radius: 10px; font-weight: 650; font-size: .92rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.08); }
.nav-cta { border: 1px solid rgba(240,202,121,.45); color: var(--gold-2) !important; }
.menu-button { display: none; border: 0; background: transparent; color: var(--white); font-size: 1.5rem; }

.hero {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 8%, rgba(217,168,78,.18), transparent 32%),
    linear-gradient(135deg, #071018 0%, #0c1c29 58%, #122838 100%);
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -180px auto;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(217,168,78,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(217,168,78,.03), 0 0 0 108px rgba(217,168,78,.02);
}
.hero-grid { min-height: 610px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; padding-block: 72px; position: relative; z-index: 1; }
.eyebrow { color: var(--gold-2); text-transform: uppercase; letter-spacing: .18em; font-weight: 800; font-size: .76rem; }
.hero h1 { margin: 14px 0 22px; font-size: clamp(2.6rem, 6vw, 5.25rem); line-height: .98; letter-spacing: -.045em; max-width: 900px; }
.hero p { color: rgba(255,255,255,.73); max-width: 720px; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; text-decoration: none; font-weight: 800; cursor: pointer; }
.button-primary { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1206; box-shadow: 0 12px 34px rgba(217,168,78,.22); }
.button-secondary { border-color: rgba(255,255,255,.18); color: var(--white); background: rgba(255,255,255,.04); }
.hero-card { background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow); }
.hero-card h2 { margin-top: 0; }
.hero-card ul { margin: 0; padding-left: 20px; color: rgba(255,255,255,.74); }
.status-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.status-pill { border: 1px solid rgba(240,202,121,.28); color: var(--gold-2); padding: 7px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; }

.section { padding-block: 86px; }
.section-dark { background: var(--ink); color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.035em; line-height: 1.05; margin: 10px 0 14px; }
.section-head p { color: var(--muted); }
.section-dark .section-head p { color: rgba(255,255,255,.66); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 12px 36px rgba(7,16,24,.06); }
.feature-card .index { color: var(--gold-3); font-weight: 900; font-size: .78rem; letter-spacing: .16em; }
.feature-card h3 { margin: 12px 0 8px; font-size: 1.15rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.page-hero { color: var(--white); background: linear-gradient(135deg, var(--ink), #123047); padding: 74px 0 56px; }
.page-hero h1 { max-width: 980px; margin: 12px 0 14px; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -.04em; }
.page-hero p { max-width: 760px; color: rgba(255,255,255,.68); }

.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 42px; align-items: start; }
.legal-nav { position: sticky; top: 108px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: 0 10px 30px rgba(7,16,24,.05); }
.legal-nav strong { display: block; margin-bottom: 10px; }
.legal-nav a { display: block; text-decoration: none; color: var(--muted); padding: 7px 0; font-size: .9rem; }
.legal-nav a:hover { color: var(--gold-3); }
.legal-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 5vw, 54px); box-shadow: var(--shadow); }
.legal-meta { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.legal-card h2 { margin-top: 38px; font-size: 1.5rem; letter-spacing: -.02em; }
.legal-card h2:first-of-type { margin-top: 0; }
.notice { margin: 24px 0; padding: 18px 20px; border: 1px solid rgba(217,168,78,.35); background: #fff9ed; border-radius: 14px; color: #4a3718; }
.notice strong { color: #2d1e09; }

.form-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 26px; }
.form-aside, .form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 30px; box-shadow: var(--shadow); }
.form-aside { background: linear-gradient(160deg, var(--ink), var(--panel-2)); color: var(--white); }
.form-aside p, .form-aside li { color: rgba(255,255,255,.68); }
.form-aside h2 { color: var(--white); }
.form-card h2 { margin-top: 0; }
.field { margin: 0 0 18px; }
.field label { display: block; font-weight: 800; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #bac5d0; border-radius: 12px; padding: 13px 14px; background: var(--white); color: var(--text);
}
.field textarea { min-height: 120px; resize: vertical; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfe; }
.checkbox input { margin-top: 5px; accent-color: var(--gold-3); }
.form-note { color: var(--muted); font-size: .86rem; }
.form-status { display: none; margin-top: 16px; border-radius: 12px; padding: 14px; }
.form-status.show { display: block; }
.form-status.success { background: #eaf7f0; color: var(--success); }
.form-status.error { background: #fff0ef; color: var(--danger); }

.alert-demo { background: linear-gradient(160deg, var(--ink), #0f2c3e); border-radius: var(--radius-xl); padding: 34px; color: var(--white); box-shadow: var(--shadow); }
.alert-demo .message { background: var(--white); color: var(--text); border-radius: 18px 18px 18px 6px; padding: 18px 20px; max-width: 720px; box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.alert-demo .message small { display: block; color: var(--muted); margin-top: 10px; }

.site-footer { background: #061019; color: rgba(255,255,255,.68); padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 28px; }
.site-footer h3 { color: var(--white); }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; display: block; margin: 7px 0; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); display: flex; justify-content: space-between; gap: 16px; font-size: .86rem; }

@media (max-width: 980px) {
  .hero-grid, .form-shell { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
}
@media (max-width: 760px) {
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 16px 20px 22px; background: #071018; flex-direction: column; align-items: stretch; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; }
  .hero-grid { min-height: auto; padding-block: 56px; }
  .hero-card { padding: 22px; }
  .card-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding-block: 62px; }
  .footer-bottom { flex-direction: column; }
  .brand-copy span { font-size: .9rem; }
}
