:root {
  --ink: #061018;
  --ink-2: #0b1c28;
  --ink-3: #123344;
  --glass: rgba(12, 32, 44, .72);
  --ice: #3ee0c8;
  --ice-2: #8af0de;
  --ice-ink: #04221c;
  --copper: #d4a373;
  --copper-2: #f0c49a;
  --paper: #e8eef2;
  --mist: #9bb0bc;
  --rose: #e35d6a;
  --rose-ink: #2a0b10;
  --line: rgba(62, 224, 200, .22);
  --shadow: 0 18px 40px rgba(0, 0, 0, .38);
  --max: 1180px;
  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --ui: "Figtree", "Segoe UI", sans-serif;
  --read: "Literata", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; scroll-padding-bottom: 92px; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--read);
  background:
    radial-gradient(820px 380px at 92% -10%, #184056 0%, transparent 56%),
    radial-gradient(640px 280px at -8% 18%, #1a2a18 0%, transparent 50%),
    repeating-linear-gradient(180deg, rgba(62,224,200,.035) 0 1px, transparent 1px 17px),
    var(--ink);
  color: var(--paper);
  line-height: 1.74;
  min-height: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 28px)); margin-inline: auto; }

.skip {
  position: absolute;
  left: 12px;
  top: -52px;
  background: var(--ice);
  color: var(--ice-ink);
  padding: 8px 12px;
  z-index: 120;
  border-radius: 8px;
  font-family: var(--ui);
  font-weight: 700;
}
.skip:focus { top: 10px; }

.tower-spine {
  display: none;
}

.ticker {
  background: linear-gradient(90deg, #c98a52, var(--copper) 40%, #e8c08a);
  color: #2a1808;
  overflow: hidden;
  border-bottom: 2px solid #8a5c2c;
}
.ticker-track {
  display: flex;
  gap: 52px;
  width: max-content;
  animation: crawl 38s linear infinite;
  padding: 7px 0;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ticker-track b { color: #5a220c; }
@keyframes crawl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 16, 24, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head.is-tight { box-shadow: var(--shadow); }
.head-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ice-ink);
  background:
    radial-gradient(circle at 30% 20%, #8af0de, var(--ice) 62%, #1aa892);
  box-shadow: 0 0 0 1px rgba(62,224,200,.35), 0 8px 18px rgba(62,224,200,.18);
  flex: 0 0 auto;
}
.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .04em;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-family: var(--ui);
  color: var(--mist);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav {
  display: none;
  margin-left: auto;
  gap: 18px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: .92rem;
}
.nav a {
  text-decoration: none;
  color: var(--paper);
  opacity: .82;
}
.nav a[aria-current="page"], .nav a:hover { opacity: 1; color: var(--ice); }
.head-cta { display: flex; gap: 6px; margin-left: auto; }
.head-cta .btn { min-height: 40px; padding: 0 11px; font-size: .82rem; }
.nav-toggle {
  margin-left: 0;
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--paper);
  border-radius: 10px;
  padding: 8px 12px;
  font-family: var(--ui);
  font-weight: 700;
}
.nav-drawer {
  display: none;
  padding: 0 14px 14px;
  font-family: var(--ui);
}
.nav-drawer.is-open { display: grid; gap: 8px; }
.nav-drawer a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ink-2);
  border: 1px solid var(--line);
}
body.nav-open { overflow: hidden; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--ui);
  font-weight: 800;
  letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-in {
  background: var(--ice);
  color: var(--ice-ink);
  box-shadow: 0 0 0 1px rgba(62,224,200,.25), 0 10px 22px rgba(62,224,200,.22);
}
.btn-up {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 10px 22px rgba(227,93,106,.28);
}
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}
.btn-lg { min-height: 52px; padding: 0 20px; font-size: 1.02rem; }

.kule-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(6, 16, 24, .94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.kule-dock .dock-row {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.kule-dock .btn { width: 100%; }

main { padding-bottom: 92px; }

.hero {
  display: grid;
  gap: 22px;
  padding: 28px 0 12px;
}
.kicker {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper);
}
h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
h1 { font-size: clamp(1.7rem, 5vw, 3.05rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 3.4vw, 2.05rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
.lead {
  font-size: 1.12rem;
  color: #d5dee4;
  margin: 0 0 18px;
  max-width: 38rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.note {
  margin: 8px 0 0;
  color: var(--mist);
  font-family: var(--ui);
  font-size: .88rem;
}

.radar-card {
  position: relative;
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at 70% 20%, rgba(62,224,200,.16), transparent 42%),
    linear-gradient(160deg, #0e2432, #081820 70%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.radar-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 0deg, transparent 0 74%, rgba(62,224,200,.18) 86%, transparent 100%);
  animation: sweep 7.5s linear infinite;
  pointer-events: none;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-inner { position: relative; z-index: 1; }
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ui);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ice);
}
.live-dot i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 0 0 rgba(62,224,200,.7);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.radar-domain {
  margin: 10px 0 6px;
  font-family: var(--mono);
  font-size: clamp(1rem, 3.4vw, 1.25rem);
  color: var(--ice-2);
  word-break: break-word;
}
.radar-meta {
  margin: 0 0 14px;
  color: var(--mist);
  font-family: var(--ui);
  font-size: .9rem;
}
.freq-list { display: grid; gap: 8px; }
.freq-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(6,16,24,.55);
  border: 1px solid var(--line);
  text-decoration: none;
}
.freq-tag {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  color: var(--copper);
  border: 1px solid rgba(212,163,115,.4);
  padding: 3px 6px;
  border-radius: 6px;
}
.freq-name { font-family: var(--ui); font-weight: 600; font-size: .92rem; }
.freq-go { font-family: var(--ui); font-size: .8rem; color: var(--ice); font-weight: 700; }

.section { padding: 36px 0; }
.section-head { margin-bottom: 18px; }
.muted { color: var(--mist); }

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 1.2rem; }
.prose li { margin: 0 0 8px; }
.prose a { color: var(--ice); }
.prose code, code {
  font-family: var(--mono);
  font-size: .86em;
  color: var(--ice-2);
  background: rgba(62,224,200,.08);
  padding: 1px 6px;
  border-radius: 6px;
}

.steps {
  display: grid;
  gap: 12px;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: var(--ink-2);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  background: var(--copper);
  color: #2a1808;
}
.step h3 { margin: 0 0 4px; font-size: 1.02rem; }
.step p { margin: 0; color: #d5dee4; }

.card-grid, .article-grid {
  display: grid;
  gap: 14px;
}
.card, .article-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
}
.article-card h3 { color: var(--ice-2); }
.article-card p { margin: 0; color: #d5dee4; }
.chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 8px;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.slide-track {
  display: flex;
  transition: transform .45s ease;
}
.slide {
  min-width: 100%;
  padding: 20px;
}
.slide h3 { margin-bottom: 8px; }
.slide p { margin: 0; color: #d5dee4; }
.slide-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 14px;
  gap: 10px;
}
.slide-nav button {
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  min-width: 42px;
  min-height: 42px;
  font-family: var(--ui);
  font-weight: 700;
}
.slide-dots { display: flex; gap: 6px; }
.slide-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  min-width: 0;
  min-height: 0;
  border-radius: 50%;
  border: 0;
  background: #4a6270;
}
.slide-dots button.is-on { background: var(--ice); }

.stars { color: var(--copper); letter-spacing: 2px; font-size: 1.05rem; }
.reviewer { margin-top: 10px; font-family: var(--ui); color: var(--mist); font-size: .88rem; }

.event-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(212,163,115,.16), transparent 46%),
    var(--ink-2);
  border: 1px solid rgba(212,163,115,.35);
}
.event-when {
  font-family: var(--mono);
  color: var(--copper-2);
  font-size: .9rem;
}

.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-2);
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--paper);
  padding: 14px 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
}
.faq-item .faq-a {
  display: none;
  padding: 0 16px 14px;
  color: #d5dee4;
}
.faq-item.is-open .faq-a { display: block; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--ui);
  font-size: .86rem;
  color: var(--mist);
  margin: 18px 0 0;
}
.crumbs a { color: var(--ice); text-decoration: none; }

.page-hero { padding: 28px 0 8px; }
.byline {
  font-family: var(--ui);
  color: var(--mist);
  font-size: .9rem;
  margin: 0 0 16px;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--mono);
  font-size: .75rem;
}
.lang-switch a {
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--mist);
}
.lang-switch a.is-on { color: var(--ice); border-color: var(--ice); }

.site-foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 120px;
  color: var(--mist);
  font-family: var(--ui);
  font-size: .9rem;
}
.foot-grid {
  display: grid;
  gap: 16px;
}
.site-foot a { color: var(--ice); text-decoration: none; }
.age { color: var(--copper); font-weight: 800; }

@media (max-width: 380px) {
  .brand small { display: none; }
  .head-cta .btn { padding: 0 8px; font-size: .76rem; }
}

@media (min-width: 760px) {
  .nav { display: flex; }
  .head-cta { display: flex; gap: 8px; margin-left: 8px; }
  .head-cta .btn { min-height: 44px; padding: 0 16px; font-size: 1rem; }
  .nav-toggle, .nav-drawer { display: none !important; }
  .hero {
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    padding-top: 42px;
  }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .prose { max-width: 42rem; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .kule-dock .dock-row { grid-template-columns: 1fr 1fr; max-width: 520px; }
  .foot-grid { grid-template-columns: 1.4fr .8fr .8fr; }
}

@media (min-width: 1080px) {
  body { padding-left: 42px; }
  .tower-spine {
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 42px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--copper);
    background: #041018;
    border-right: 1px solid var(--line);
    z-index: 40;
  }
  .article-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
  .ticker-track { transform: none; }
}
