:root {
  --font-ui: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-display: "Sora", "Segoe UI", sans-serif;
  --radius: 18px;
  --bg: #12100d;
  --bg-accent: #1a1713;
  --surface: #201c18;
  --surface-soft: #2a241d;
  --surface-strong: #18140f;
  --text: #f1ece5;
  --text-soft: #b8ab99;
  --line: #43392d;
  --brand: #e0a43a;
  --brand-2: #c1661f;
  --ok: #38b27a;
  --warn: #d8a342;
  --danger: #d15b5b;
  --shadow-sm: 0 10px 26px rgba(5, 10, 18, 0.36);
  --shadow: 0 28px 58px rgba(5, 10, 18, 0.52);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-family: var(--font-ui); color: var(--text); background: radial-gradient(circle at 14% 6%, rgba(224, 164, 58, 0.16), transparent 32%), radial-gradient(circle at 86% 0%, rgba(193, 102, 31, 0.16), transparent 30%), radial-gradient(circle at 55% 100%, rgba(46, 35, 22, 0.42), transparent 46%), linear-gradient(150deg, var(--bg) 0%, var(--bg-accent) 100%); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: 0.18; background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px); background-size: 18px 18px; }
a { color: var(--brand); }
a:hover { color: #f3bb58; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }
.topbar { position: sticky; top: 0; z-index: 1040; backdrop-filter: blur(10px); background: linear-gradient(95deg, rgba(19, 16, 12, 0.92) 0%, rgba(33, 27, 21, 0.88) 100%); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.topbar-inner { max-width: 1180px; margin: 0 auto; padding: 0.7rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); font-family: var(--font-display); font-weight: 700; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.nav-toggle { display: none; border-radius: 10px; border: 1px solid var(--line); color: var(--text); background: var(--surface); padding: 0.4rem 0.65rem; font-size: 0.8rem; }
.nav-list { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.nav-list a { color: var(--text); border-radius: 12px; padding: 0.46rem 0.84rem; font-weight: 600; text-decoration: none; transition: all 0.2s ease; }
.nav-list a:hover, .nav-list a.current { color: #fff; background: linear-gradient(100deg, var(--brand) 0%, var(--brand-2) 100%); }
main { width: min(1180px, calc(100% - 2rem)); margin: 1.4rem auto 2.2rem; flex: 1; }
.page-hero { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1rem, 2vw, 2rem); background: linear-gradient(120deg, rgba(18, 15, 12, 0.65), rgba(28, 23, 18, 0.9)), url('/background.png') center/cover no-repeat; }
.page-kicker { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.9px; color: var(--text-soft); font-weight: 800; margin-bottom: 0.3rem; }
.page-kicker::before { content: ""; width: 24px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%); }
h1, h2, h3 { font-family: var(--font-display); }
.page-title { margin: 0; font-size: clamp(1.4rem, 2vw, 2.1rem); }
.page-subtitle { color: var(--text-soft); margin-top: 0.4rem; }
.grid { margin-top: 1rem; display: grid; gap: 1rem; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); background: linear-gradient(165deg, rgba(39, 32, 25, 0.96) 0%, rgba(31, 25, 19, 0.92) 100%); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1rem; }
.card h2, .card h3 { margin-top: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.62rem 1rem; border-radius: 12px; text-decoration: none; font-weight: 700; border: 1px solid transparent; transition: all 0.2s ease; }
.btn-primary { color: #fff; background: linear-gradient(100deg, var(--brand) 0%, var(--brand-2) 100%); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-ghost { color: var(--text); border-color: var(--line); background: var(--surface-soft); }
.btn-ghost:hover { border-color: var(--brand); color: #fff; background: var(--brand); }
.note { color: var(--text-soft); font-size: 0.95rem; }
.list { margin: 0; padding-left: 1.1rem; line-height: 1.7; }
.text-block { line-height: 1.75; color: #ebdfd0; }
.legal-nav { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.embed-doc { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; min-height: 72vh; }
.embed-doc iframe { width: 100%; min-height: 72vh; border: 0; background: #fff; }
.embed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.embed-tiktok { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #101010; min-height: 560px; }
.embed-tiktok iframe { width: 100%; min-height: 560px; border: 0; }
.panel-accent { border-left: 4px solid var(--brand); }
.kpi-line { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; margin-top: 0.75rem; }
.kpi-pill { border: 1px solid var(--line); border-radius: 999px; padding: 0.22rem 0.68rem; background: var(--surface-soft); color: var(--text); font-size: 0.84rem; }
.calc-form { display: grid; gap: 0.8rem; max-width: 520px; }
.field-label { font-size: 0.92rem; color: var(--text-soft); }
.field-input { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #181411; color: var(--text); padding: 0.68rem 0.75rem; font-size: 1rem; }
.field-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(224, 164, 58, 0.2); }
.calc-result { margin-top: 0.9rem; border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem; background: rgba(14, 12, 9, 0.68); }
.result-main { font-size: 1.15rem; font-weight: 700; }
.result-sub { color: var(--text-soft); margin-top: 0.35rem; }
.status-ok { color: var(--ok); }
.status-warn { color: var(--warn); }
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(90deg, rgba(19, 16, 12, 0.92) 0%, rgba(33, 27, 21, 0.92) 100%); padding: 1.4rem 1rem; }
.site-footer-inner { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.footer-links a { color: var(--text-soft); text-decoration: none; }
.footer-links a:hover { color: #fff; }
@media (max-width: 960px) {
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
  .embed-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-list { display: none; width: 100%; padding-top: 0.5rem; }
  .topbar-inner.open { flex-wrap: wrap; }
  .topbar-inner.open .nav-list { display: flex; }
}
