:root {
  --background: 220 25% 6%;
  --foreground: 210 20% 92%;
  --card: 220 22% 10%;
  --card-foreground: 210 20% 92%;
  --primary: 212 60% 50%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 20% 16%;
  --secondary-foreground: 210 20% 85%;
  --muted: 220 18% 14%;
  --muted-foreground: 215 15% 55%;
  --accent: 220 40% 20%;
  --border: 220 20% 18%;
  --input: 220 20% 18%;
  --ring: 212 60% 50%;
  --radius: 0.75rem;
  --arc-blue: 212 60% 50%;
  --arc-blue-light: 210 70% 65%;
  --arc-navy: 220 40% 12%;
  --arc-silver: 210 15% 75%;
  --arc-glow: 212 80% 60%;
  --arc-deep: 220 30% 8%;
  --font-sans: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  --font-display: "Space Grotesk", Inter, sans-serif;
  --max: 72rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 80;
  background: hsl(var(--primary));
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: hsl(var(--background) / 0.82);
  border-bottom: 1px solid hsl(var(--border));
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: 1.5rem;
}
.nav-links a {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover { color: hsl(var(--foreground)); }
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary));
  border-radius: 10px;
  position: relative;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: hsl(var(--foreground));
}
.menu-btn span { top: 20px; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: var(--radius);
  background: hsl(var(--primary));
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.15rem;
  border: 0;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.btn:hover { background: hsl(212 60% 44%); }
.btn-ghost {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border: 1px solid hsl(212 60% 30% / 0.3);
  font-weight: 500;
}
.btn-ghost:hover { background: hsl(220 20% 20%); }
.btn-lg { padding: 0.9rem 1.35rem; font-size: 0.98rem; }
.btn-full { width: 100%; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 20%, #14315266, #0e121b00 70%),
    linear-gradient(hsl(220 20% 15% / 0.5) 1px, transparent 1px),
    linear-gradient(90deg, hsl(220 20% 15% / 0.5) 1px, transparent 1px);
  background-size: auto, 60px 60px, 60px 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: hsl(var(--arc-blue-light));
  background: hsl(212 60% 50% / 0.12);
  border: 1px solid hsl(212 60% 50% / 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 1rem 0 0.85rem;
}
.hero h1 span { display: block; }
.lede {
  color: hsl(var(--muted-foreground));
  font-size: 1.05rem;
  max-width: 38rem;
  margin: 0 0 0.9rem;
}
.lede a { color: hsl(var(--arc-blue-light)); text-decoration: underline; text-underline-offset: 3px; }
.minted {
  color: hsl(var(--arc-silver));
  font-size: 0.92rem;
  margin: 0 0 1.4rem;
}
.minted strong { color: hsl(var(--foreground)); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.search-card {
  background: linear-gradient(145deg, #181c25, #0f131a);
  border: 1px solid hsl(212 60% 30% / 0.3);
  border-radius: 0.9rem;
  padding: 0.7rem;
}
.search-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tld {
  font-family: var(--font-display);
  font-weight: 600;
  color: hsl(var(--arc-blue-light));
  background: hsl(212 60% 50% / 0.12);
  border-radius: 0.55rem;
  padding: 0.7rem 0.8rem;
  flex-shrink: 0;
}
.search-row input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  padding: 0.7rem 0.2rem;
}
.search-row input::placeholder { color: hsl(var(--muted-foreground)); }
.search-meta {
  margin: 0.65rem 0.2rem 0.15rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.82rem;
}

/* Side panel */
.side {
  display: grid;
  gap: 0.9rem;
}
.arc-card {
  background: linear-gradient(145deg, #181c25, #0f131a);
  border: 1px solid hsl(212 60% 30% / 0.3);
  border-radius: 0.75rem;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.stat {
  padding: 1.1rem 1.15rem;
  border-right: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(n+3) { border-bottom: 0; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.stat span {
  color: hsl(var(--muted-foreground));
  font-size: 0.78rem;
}
.domain-marquee {
  margin-top: 3.2rem;
  overflow: hidden;
  border-top: 1px solid hsl(var(--border));
  padding: 1.05rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.domain-track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: domain-scroll 36s linear infinite;
}
.domain-track a {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: hsl(var(--arc-silver));
  white-space: nowrap;
  font-size: 0.95rem;
}
.domain-track a:hover { color: hsl(var(--arc-blue-light)); }
.domain-marquee:hover .domain-track { animation-play-state: paused; }
@keyframes domain-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.sec { padding: 5rem 0; }
.sec-alt { background: hsl(var(--arc-deep)); }
.label {
  color: hsl(var(--arc-blue-light));
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-transform: none; letter-spacing: 0; }
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.8rem;
}
.sub {
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 0 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.about-visual {
  background: linear-gradient(145deg, #181c25, #0f131a);
  border: 1px solid hsl(212 60% 30% / 0.3);
  border-radius: 1rem;
  padding: 2.2rem;
  display: grid;
  place-items: center;
}
.about-visual img {
  width: min(280px, 100%);
  border-radius: 1.25rem;
}
.about-copy h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.7rem;
  letter-spacing: -0.02em;
}
.about-copy p { color: hsl(var(--muted-foreground)); margin: 0 0 0.9rem; }
.about-copy strong { color: hsl(var(--foreground)); }
.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.mini-stats div {
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 0.7rem;
  padding: 0.85rem 0.8rem;
}
.mini-stats b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.mini-stats span { color: hsl(var(--muted-foreground)); font-size: 0.75rem; }

/* Arc Pass */
.pass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: start;
}
.unlocks { display: grid; gap: 0.75rem; }
.unlock {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  background: linear-gradient(145deg, #181c25, #0f131a);
  border: 1px solid hsl(212 60% 30% / 0.3);
  border-radius: 0.75rem;
}
.unlock i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: hsl(212 60% 50% / 0.15);
  color: hsl(var(--arc-blue-light));
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 700;
  font-size: 0.78rem;
}
.unlock h3 { margin: 0 0 0.2rem; font-size: 0.98rem; }
.unlock p { margin: 0; color: hsl(var(--muted-foreground)); font-size: 0.88rem; }
.pass-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.watch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: transparent;
}
.watch small { color: hsl(var(--muted-foreground)); font-size: 0.75rem; }

/* Features */
.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.feat {
  padding: 1.25rem 1.2rem;
  background: linear-gradient(145deg, #181c25, #0f131a);
  border: 1px solid hsl(212 60% 30% / 0.3);
  border-radius: 0.75rem;
}
.feat-ico {
  width: 36px;
  height: 36px;
  margin-bottom: 0.85rem;
  color: hsl(var(--arc-blue-light));
}
.feat h3 { margin: 0 0 0.4rem; font-size: 1.02rem; }
.feat p { margin: 0; color: hsl(var(--muted-foreground)); font-size: 0.9rem; }

/* How */
.how-head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.4rem 0 1.5rem; }
.chip {
  font-size: 0.78rem;
  color: hsl(var(--arc-silver));
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}
.steps { display: grid; gap: 0.7rem; }
.step {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.9rem;
  padding: 1.05rem 1.1rem;
  background: linear-gradient(145deg, #181c25, #0f131a);
  border: 1px solid hsl(212 60% 30% / 0.3);
  border-radius: 0.75rem;
}
.num {
  font-family: var(--font-display);
  font-weight: 700;
  color: hsl(var(--arc-blue-light));
  font-size: 1.1rem;
}
.step h3 { margin: 0 0 0.25rem; font-size: 1.02rem; }
.step p { margin: 0; color: hsl(var(--muted-foreground)); font-size: 0.9rem; }

/* Community */
.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.person {
  position: relative;
  overflow: hidden;
  border-radius: 0.9rem;
  min-height: 220px;
  border: 1px solid hsl(212 60% 30% / 0.3);
}
.person img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  filter: saturate(0.9);
}
.person figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 0.9rem 0.85rem;
  background: linear-gradient(transparent, #0b1018 78%);
}
.person strong { display: block; }
.person span { color: hsl(var(--muted-foreground)); font-size: 0.82rem; }
.center { text-align: center; margin-top: 1.6rem; }

/* Reviews */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.quote {
  padding: 1.2rem;
  background: linear-gradient(145deg, #181c25, #0f131a);
  border: 1px solid hsl(212 60% 30% / 0.3);
  border-radius: 0.75rem;
}
.quote p { margin: 0; color: hsl(var(--arc-silver)); font-size: 0.92rem; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.tag {
  border: 1px solid hsl(212 60% 30% / 0.35);
  background: hsl(var(--secondary));
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 500;
}
.tag:hover { border-color: hsl(var(--primary)); color: hsl(var(--arc-blue-light)); }

/* FAQ */
.faq { display: grid; gap: 0.55rem; max-width: 48rem; }
details.faq-item {
  background: linear-gradient(145deg, #181c25, #0f131a);
  border: 1px solid hsl(212 60% 30% / 0.3);
  border-radius: 0.75rem;
  padding: 0.2rem 1.05rem;
}
details.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 1rem 0;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item p {
  margin: 0 0 1rem;
  color: hsl(var(--muted-foreground));
}

/* Newsletter / CTA */
.news {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(145deg, #181c25, #0f131a);
  border: 1px solid hsl(212 60% 30% / 0.3);
  border-radius: 1rem;
  padding: 1.6rem;
}
.news-form { display: flex; gap: 0.5rem; }
.news-form input {
  flex: 1;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.7rem;
  padding: 0.75rem 0.9rem;
  outline: none;
}
.news-form input:focus { border-color: hsl(var(--primary)); }
.ok { color: #34d399; font-size: 0.9rem; margin: 0.4rem 0 0; }

.band {
  text-align: center;
  padding: 4.5rem 0 5rem;
}
.band .sub { margin-inline: auto; }
.band-actions { display: flex; justify-content: center; gap: 0.7rem; flex-wrap: wrap; }

/* Footer */
.footer {
  border-top: 1px solid hsl(var(--border));
  padding: 2.5rem 0 1.4rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.88rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}
.footer h3 {
  color: hsl(var(--foreground));
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}
.footer .brand { color: hsl(var(--foreground)); margin-bottom: 0.7rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer a:hover { color: hsl(var(--foreground)); }
.foot-social { display: flex; gap: 0.9rem; margin-top: 0.9rem; }
.legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.disclaimer { max-width: 40rem; }

.mobile-panel {
  border-top: 1px solid hsl(var(--border));
  padding: 0.8rem 0 1rem;
}
.mobile-panel[hidden] { display: none !important; }
.mobile-panel a {
  display: block;
  padding: 0.55rem 0;
  color: hsl(var(--foreground));
}

@media (max-width: 980px) {
  .hero-grid, .about-grid, .pass-grid, .news, .foot-grid { grid-template-columns: 1fr; }
  .feats, .people, .quotes { grid-template-columns: 1fr 1fr; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .menu-btn { display: inline-block; }
  .nav-cta .hide-sm { display: none; }
  .mobile-panel:not([hidden]) { display: block; }
}

@media (max-width: 640px) {
  .feats, .people, .quotes { grid-template-columns: 1fr; }
  .hero { padding-top: 2.5rem; }
  .search-row { flex-wrap: wrap; }
  .search-row .btn { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .news-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
