:root {
  --bg: #090909;
  --panel: rgba(18, 18, 18, 0.92);
  --panel-strong: #151515;
  --panel-hover: #1b1b1b;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.13);
  --text: #f3f3f3;
  --muted: #9a9a9a;
  --accent: #b8b8b8;
  --accent-strong: #d0d0d0;
  --accent-ink: #111111;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(255,255,255,.013) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.013) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.ambient {
  position: fixed;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .04;
  pointer-events: none;
  background: #8a8a8a;
}
.ambient-a { top: -260px; left: -160px; }
.ambient-b { right: -280px; bottom: -280px; opacity: .025; }

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 28px;
}

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
  backdrop-filter: blur(18px);
}

.topbar {
  height: 66px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  color: var(--text);
  font-weight: 720;
  letter-spacing: -.025em;
}

.brand-mark-logo {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.brand-name {
  font-size: 15px;
  line-height: 1;
}
.topbar-actions { display: flex; align-items: center; gap: 10px; }

.version {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
}

.icon-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: .2s ease;
}

.icon-link:hover {
  background: rgba(255,255,255,.045);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.icon-link svg { width: 18px; fill: var(--muted); }

.hero {
  min-height: 520px;
  border-radius: var(--radius);
  margin-top: 14px;
  padding: clamp(38px, 7vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.055), transparent 28%),
    linear-gradient(135deg, transparent 50%, rgba(255,255,255,.012));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  right: -70px;
  top: -70px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(255,255,255,.018),
    0 0 0 88px rgba(255,255,255,.01);
  pointer-events: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c8c8c8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a8a8a8;
  box-shadow: 0 0 0 4px rgba(255,255,255,.045);
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(48px, 8vw, 88px);
  line-height: .96;
  letter-spacing: -.062em;
  font-weight: 760;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
  position: relative;
  z-index: 1;
}

.button {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover { transform: translateY(-1px); }
.button svg { width: 18px; fill: currentColor; }

.button-primary {
  background: #c4c4c4;
  color: #111;
  border-color: #c4c4c4;
}

.button-primary:hover { background: #d3d3d3; }

.button-ghost {
  background: rgba(255,255,255,.025);
  color: var(--text);
  border-color: var(--line-strong);
}

.button-ghost:hover { background: rgba(255,255,255,.055); }
.copy-icon { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  margin-top: 14px;
}

.card {
  min-height: 184px;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: .2s ease;
}

button.card { width: 100%; }

.card:hover {
  background: var(--panel-hover);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  flex: 0 0 auto;
}

.card-icon svg { width: 21px; fill: #bdbdbd; }
.card-body { min-width: 0; }

.card-kicker {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 3px 0 7px;
}

.card h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.03em;
}

.card p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
  max-width: 460px;
}

.card-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--muted);
  font-size: 18px;
}

.copy-state {
  position: absolute;
  right: 22px;
  bottom: 22px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #666;
  font-size: 12px;
}

.footer-dot { color: #474747; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 18px);
  opacity: 0;
  background: #1d1d1d;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 650;
  pointer-events: none;
  transition: .22s ease;
  box-shadow: var(--shadow);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 760px) {
  .shell { width: min(100% - 20px, 1120px); padding-top: 10px; }
  .hero { min-height: 500px; padding: 32px 24px; }
  .hero h1 { font-size: clamp(46px, 14vw, 68px); }
  .hero-copy { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 156px; }
  .version { display: none; }\n  .brand-logo { height: 28px; max-width: 158px; }
}

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