:root {
  --bg: #0E0E10;
  --surface: #1A1A1E;
  --surface-2: #232329;
  --border: #2C2C33;
  --text: #F4F4F6;
  --muted: #A0A0AB;
  --accent: #E53935;
  --accent-soft: rgba(229, 57, 53, 0.14);
  --radius: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(14, 14, 16, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 17px; }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 72px 0 56px; text-align: center; }
.eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1.05; letter-spacing: -0.035em; margin: 20px 0 16px; font-weight: 800; }
.hero h1 span { color: var(--accent); }
.hero p.lead { color: var(--muted); font-size: clamp(17px, 2.4vw, 20px); max-width: 620px; margin: 0 auto 32px; }
.btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; padding: 14px 26px; border-radius: 14px; font-size: 17px; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* Features */
.section { padding: 48px 0; }
.section h2 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.02em; margin: 0 0 8px; }
.section .sub { color: var(--muted); margin: 0 0 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 12px 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.icon { width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }

.pro { background: linear-gradient(160deg, #22151A 0%, var(--surface) 60%); border: 1px solid #3A2226; border-radius: 24px; padding: 32px 24px; text-align: center; }
.pro h2 { margin-top: 0; }

/* Documents */
.doc { padding: 48px 0 64px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.03em; margin: 0 0 6px; line-height: 1.15; }
.doc .meta { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.doc h3 { font-size: 18px; margin: 24px 0 8px; }
.doc p, .doc li { color: #D6D6DC; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.notice { background: var(--accent-soft); border: 1px solid rgba(229, 57, 53, 0.45); border-radius: 14px; padding: 14px 16px; color: var(--text); font-size: 15px; margin: 0 0 28px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 650; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p, details ol, details ul { margin-top: 0; color: #D6D6DC; }
.contact { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin: 8px 0 28px; }
.contact p { margin: 4px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { gap: 12px; font-size: 14px; }
  .nav .hide-sm { display: none; }
  .hero { padding: 48px 0 40px; }
}
