:root {
  --bg: #0d0d0f;
  --bg-raised: #16161a;
  --line: #2a2a30;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --orange: #ff7a1a;
  --orange-dim: #ff7a1a22;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav-logo img { height: 40px; width: auto; }
.nav nav { margin-left: auto; }
.nav-logo + .btn-small { margin-left: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 42px; height: 42px; background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #111;
  font-weight: 600; font-size: 16px; text-decoration: none;
  padding: 13px 22px; border-radius: 999px; border: 1px solid var(--orange);
  cursor: pointer; transition: transform .15s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-small { padding: 8px 16px; font-size: 14px; }

/* Type */
.eyebrow { color: var(--orange); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; margin: 0 0 12px; }
.eyebrow span { color: var(--muted); margin: 0 6px; }
h1, h2, h3 { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; line-height: .95; margin: 0; letter-spacing: .005em; }
h1 { font-size: clamp(52px, min(7.5vw, 11vh), 104px); }
h1 em { color: var(--orange); font-style: italic; }
h2 { font-size: clamp(44px, 6vw, 80px); }
h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.promise { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; margin: 16px 0 0; }
.lead { color: var(--muted); font-size: 19px; max-width: 520px; margin: 16px 0 26px; }
.sub { color: var(--muted); margin: 10px 0 28px; }
h2 + .card { margin-top: 28px; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 400px at 85% 30%, var(--orange-dim), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding: 56px 0 64px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art img { width: 100%; filter: drop-shadow(0 20px 60px rgba(255,122,26,.18)); }

.ticker { border-top: 1px solid var(--line); overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 22px; color: var(--muted); }
.ticker-group { display: flex; flex-shrink: 0; gap: 22px; padding-right: 22px; }
.ticker-track i { color: var(--orange); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.section-compact { padding: 56px 0; }

.card {
  position: relative;
  display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; align-items: start;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--orange); transform: translateY(-3px); }
.card-num { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 48px; color: var(--orange); line-height: 1; }
.card-body p:last-child { color: var(--muted); margin: 14px 0 0; max-width: 640px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); border: 1px solid var(--orange); border-radius: 999px; padding: 4px 12px; margin: 0 0 16px; }
.card-feature { background: linear-gradient(135deg, #1c1611, var(--bg-raised) 55%); }

/* Community */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 56px; }
.cta h3 { color: var(--orange); margin-top: 12px; }
.cta p { color: var(--muted); margin: 14px 0 0; }

/* Contact */
.contact-mail { font-size: clamp(20px, 2.4vw, 28px); margin: 0; }
.contact-mail a { color: var(--orange); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-mail a:hover { text-decoration: underline; }

/* 404 */
.notfound { min-height: calc(100vh - 69px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .eyebrow { margin-bottom: 16px; }
.notfound .sub { margin: 20px auto 32px; }
.notfound .hero-actions { justify-content: center; }

/* Footer */
.footer { padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer-inner p { margin: 0; }
.footer-logo img { height: 32px; width: auto; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--orange); }

/* Responsive */
@media (max-width: 860px) {
  .nav-inner { gap: 12px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav-links.open a { display: block; padding: 12px 0; font-size: 17px; color: var(--text); }
  .nav .btn-small { margin-left: auto; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 48px; }
  .hero-art { display: none; }
  .section { padding: 56px 0; }
  .section-compact { padding: 44px 0; }
  .card { grid-template-columns: 1fr; padding: 28px; gap: 12px; }
  .card-cta { justify-self: start; margin-top: 8px; }
  .cta { padding: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .btn, .card { transition: none; }
}
