:root {
  --ink: #0b0708;
  --wine: #8e2430;
  --red: #a8323f;
  --gold: #c99b45;
  --cream: #100a0c;
  --paper: #171012;
  --green: #71846a;
  --line: rgba(201, 155, 69, 0.18);
}

body { background: #0b0708; color: #f3ebdf; }
.site-header { background: rgba(11, 7, 8, 0.72); border-color: rgba(201, 155, 69, 0.2); backdrop-filter: blur(18px); }
.brand-mark { background: #f3eee4; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35); }
.site-header nav a { color: #d8cdd0; }
.header-cta { color: #d8b566; }
.hero { background: radial-gradient(circle at 76% 36%, rgba(142, 36, 48, 0.23), transparent 35%), linear-gradient(135deg, #080506, #12090b 58%, #090607); }
.hero::before { background: linear-gradient(90deg, transparent 49.9%, rgba(142, 36, 48, 0.28) 50%, transparent 50.1%), linear-gradient(rgba(142, 36, 48, 0.13) 1px, transparent 1px); background-size: 100% 100%, 100% 88px; }
.hero-aura { background: radial-gradient(circle, rgba(201, 155, 69, 0.22), rgba(142, 36, 48, 0.12) 48%, transparent 70%); }
.eyebrow { color: #c99b45; }
.hero h1 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.045em; color: #f3eee4; }
.hero h1 em { color: #c99b45; }
.hero-lead { color: rgba(243, 235, 223, 0.66); }
.button-primary { background: #8e2430; box-shadow: 0 16px 45px rgba(142, 36, 48, 0.3); }
.button-ghost { border-color: rgba(201, 155, 69, 0.28); color: #e7dbca; }
.hero-note { color: #a9989d; }
.sun-disc { background: radial-gradient(circle at 38% 32%, #e1bb62, #b17b2c 72%); box-shadow: inset -25px -25px 70px rgba(67, 27, 11, 0.32), 0 50px 110px rgba(0, 0, 0, 0.42); }
.app-window { background: rgba(12, 10, 10, 0.96); border-color: rgba(201, 155, 69, 0.22); box-shadow: 0 50px 120px rgba(0, 0, 0, 0.65); }
.status { color: #8fa184; }
.status i { background: #71846a; }
.app-tabs { background: #171012; color: #8f8084; }
.metric-grid article, .app-lower article { background: linear-gradient(145deg, #1d1618, #110d0e); border-color: rgba(201, 155, 69, 0.1); }
.green { color: #8fa184; }
.red { color: #b85f69; }
.gold { color: #c9a45c; }
.floating-card { background: #171012; color: #f3ebdf; border-color: rgba(201, 155, 69, 0.2); }
.ticker { background: #080506; border-color: #2b1519; }
.statement, .manual { background: #120c0e; }
.section-kicker { color: #c99b45; }
.statement h2, .manual h2, .origin-copy h2 { color: #f3ebdf; }
.statement h2 em, .manual h2 em { color: #c99b45; }
.statement-grid > p, .manual-intro > p:last-child, .origin-copy > p:last-child { color: rgba(243, 235, 223, 0.64); }
.principles span, .manual-list, details { border-color: rgba(201, 155, 69, 0.17); }
.feature-bento { background: #080506; }
.bento { border-color: rgba(201, 155, 69, 0.14); }
.bento-large { background: #171012; }
.bento-red { background: #5f1922; }
.bento-cream { background: #9b7337; color: #110b0c; }
.bento-dark { background: #100d0d; }
.alert-demo { background: #efe7d9; }
.device-line span { border-color: rgba(17, 11, 12, 0.32); }
.manual details > div { color: rgba(243, 235, 223, 0.62); }
.origin { background: #0d090a; }
.origin-word { color: rgba(201, 155, 69, 0.045); }
.origin-seal { border-color: rgba(201, 155, 69, 0.35); }
.origin-seal::before { border-color: rgba(201, 155, 69, 0.3); }
.origin-copy { max-width: 900px; }
.origin-meanings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 42px 0 34px; background: rgba(201, 155, 69, 0.18); border: 1px solid rgba(201, 155, 69, 0.18); }
.origin-meanings article { min-height: 180px; padding: 24px; background: rgba(18, 12, 14, 0.96); }
.origin-meanings span { display: block; color: #c99b45; font: 500 9px var(--mono); margin-bottom: 36px; }
.origin-meanings strong { display: block; color: #f3ebdf; font-family: var(--serif); font-size: 26px; }
.origin-meanings p { color: rgba(243, 235, 223, 0.58); font-size: 13px; line-height: 1.6; margin: 10px 0 0; }
.origin-copy .origin-manifesto { color: #d8cdd0; max-width: 720px; border-left: 1px solid #c99b45; padding-left: 22px; }
.beta-cta { background: linear-gradient(145deg, #681a24, #3b1117); }
.invite-steps { width: min(960px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 38px; border-block: 1px solid rgba(243, 235, 223, 0.18); }
.invite-steps article { padding: 24px 30px; text-align: left; border-right: 1px solid rgba(243, 235, 223, 0.14); }
.invite-steps article:last-child { border-right: 0; }
.invite-steps span { color: #d8b566; font: 500 9px var(--mono); }
.invite-steps strong { display: block; margin: 15px 0 8px; color: #fff7ea; }
.invite-steps p { margin: 0; color: rgba(255, 247, 234, 0.62); font-size: 12px; line-height: 1.55; }
.button-light { background: #efe7d9; color: #681a24; }
footer { background: #080506; grid-template-columns: 2fr 1fr 1fr 1fr; }
.legal-page { min-height: 100vh; background: radial-gradient(circle at 82% 0, rgba(142, 36, 48, 0.18), transparent 28rem), #0b0708; }
.legal-header { position: sticky; }
.legal-main { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 150px 0 110px; }
.legal-kicker { color: #c99b45; font: 500 10px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.legal-main h1 { margin: 20px 0 18px; color: #f3ebdf; font: 700 clamp(48px, 7vw, 86px)/0.98 var(--serif); letter-spacing: -0.045em; }
.legal-lead { max-width: 700px; color: rgba(243, 235, 223, 0.65); font-size: 17px; line-height: 1.7; }
.legal-updated { margin: 28px 0 55px; color: #9e8e92; font: 400 9px var(--mono); letter-spacing: 0.08em; }
.legal-content { border-top: 1px solid rgba(201, 155, 69, 0.2); }
.legal-content section { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 34px 0; border-bottom: 1px solid rgba(201, 155, 69, 0.14); }
.legal-content h2 { margin: 0; color: #d8b566; font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.legal-content p, .legal-content li { color: #d6cbcd; font-size: 14px; line-height: 1.75; }
.legal-content p { margin: 0 0 14px; }
.legal-content ul { margin: 0; padding-left: 20px; }
.legal-content a { color: #d8b566; text-decoration: underline; text-underline-offset: 3px; }
.legal-note { margin-top: 42px; padding: 22px; border: 1px solid rgba(201, 155, 69, 0.24); background: rgba(23, 16, 18, 0.78); color: #bcaeb1; font-size: 12px; line-height: 1.65; }
.legal-back { display: inline-flex; margin-top: 38px; color: #d8b566; font-size: 12px; font-weight: 700; }
.cookie-notice { position: fixed; z-index: 1200; left: 24px; right: 24px; bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 980px; margin: 0 auto; padding: 22px 24px; color: #f3ebdf; background: rgba(23, 16, 18, 0.97); border: 1px solid rgba(201, 155, 69, 0.32); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55); backdrop-filter: blur(20px); opacity: 0; transform: translateY(18px); transition: 0.25s ease; }
.cookie-notice[hidden] { display: none; }
.cookie-notice.is-visible { opacity: 1; transform: none; }
.cookie-notice span { display: block; margin-bottom: 8px; color: #c99b45; font: 500 8px var(--mono); letter-spacing: 0.14em; }
.cookie-notice strong { font: 700 22px var(--serif); }
.cookie-notice p { max-width: 660px; margin: 6px 0 0; color: #bfb2b5; font-size: 12px; line-height: 1.55; }
.cookie-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.cookie-actions a { color: #d8cdd0; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions button { min-height: 42px; padding: 0 17px; border: 0; background: #8e2430; color: #fff7ea; font: 700 11px var(--sans); cursor: pointer; }

@media (max-width: 560px) {
  .site-header { background: rgba(11, 7, 8, 0.9); }
  .floating-card { background: #171012; }
  .origin-meanings, .invite-steps { grid-template-columns: 1fr; }
  .origin-meanings article { min-height: 0; }
  .origin-meanings span { margin-bottom: 18px; }
  .invite-steps article { border-right: 0; border-bottom: 1px solid rgba(243, 235, 223, 0.14); }
  .invite-steps article:last-child { border-bottom: 0; }
  .legal-main { padding-top: 115px; }
  .legal-content section { grid-template-columns: 1fr; gap: 12px; }
  footer { grid-template-columns: 1fr; }
  .cookie-notice { left: 12px; right: 12px; bottom: 12px; display: block; padding: 20px; }
  .cookie-actions { justify-content: space-between; margin-top: 18px; }
}
