:root {
  --ink: #1d1d1f;
  --mute: #6e6e73;
  --paper: #f5f5f7;
  --white: #ffffff;
  --hero: #0b0d10;
  --cta: #111111;
  --bay: #0aa3b5;
  --line: #e8e8ed;
  --gold: #d4b56a;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
}
a { color: var(--bay); text-decoration-thickness: 1px; }
img { max-width: 100%; }
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245,245,247,.86);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .7rem 1.2rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.logo {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; color: var(--ink); text-decoration: none;
  letter-spacing: -0.03em; font-size: 1.05rem;
}
.logo .mark, .foot-brand .mark {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 8px;
}
.logo-text {
  display: flex; flex-direction: column; line-height: 1.08;
}
.logo-kicker {
  font-size: .65rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bay);
}
.foot-brand { display: flex; align-items: flex-start; gap: .75rem; }
.top nav { display: flex; gap: .9rem; flex-wrap: wrap; margin-left: auto; }
.top nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.top nav a:hover { color: var(--bay); }
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cta); color: #fff !important; text-decoration: none;
  border-radius: 999px; padding: .65rem 1.15rem; font-weight: 600; font-size: .95rem;
  border: 0; cursor: pointer;
}
.pill:hover { background: #000; }
.pill-ghost {
  background: transparent; color: var(--ink) !important;
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: 92vh;
  background: radial-gradient(ellipse at 72% 58%, #16382c 0%, var(--hero) 58%);
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .hero { grid-template-columns: 1.05fr .95fr; min-height: 88vh; }
}
.hero-copy {
  position: relative; z-index: 2;
  padding: 4.5rem 1.4rem 2rem;
  max-width: 36rem;
  animation: rise .9s ease both;
}
@media (min-width: 960px) { .hero-copy { padding: 7rem 4vw 4rem 6vw; } }
.kicker {
  color: var(--bay); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.hero h1 {
  font-weight: 300; font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05; letter-spacing: -0.045em; margin: .4rem 0 .8rem;
}
.hero p { color: #c5c5c7; font-weight: 400; font-size: 1.15rem; max-width: 32rem; }
.hero-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero .pill { background: #fff; color: #111 !important; }
.hero .pill:hover { background: #e8e8ed; }
.hero .pill-ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid #6e6e73;
}
#stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 48vh;
  min-height: 360px;
}
@media (min-width: 960px) {
  #stage {
    height: 100%;
    min-height: 88vh;
  }
}
#stage canvas, #stage svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.wrap { max-width: var(--max); margin: 0 auto; padding: 3.2rem 1.2rem; }
h2 { font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.03em; }
h3 { font-weight: 600; font-size: 1.15rem; }
.grid-2, .grid-3 { display: grid; gap: 1rem; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.card {
  background: var(--white); border-radius: 16px; padding: 1.2rem 1.25rem;
  border: 1px solid var(--line);
}
.card h3 { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem .7rem; font-size: .85rem; color: var(--ink); text-decoration: none;
}
.mute { color: var(--mute); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .55rem .3rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: .85rem 1rem; margin: .45rem 0;
}
.faq summary { font-weight: 600; cursor: pointer; }
.dark {
  background: var(--hero); color: #fff;
}
.dark .mute { color: #a1a1a6; }
.foot {
  background: var(--hero); color: #d2d2d7;
  padding: 2.2rem 1.2rem 3rem; font-size: .9rem;
}
.foot a { color: #fff; }
.foot-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 1rem; }
@media (min-width: 800px) { .foot-inner { grid-template-columns: 2fr 1fr 1fr; } }

.article { max-width: 42rem; }
.article h1 { font-weight: 300; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.035em; }
blockquote.def {
  margin: 1.2rem 0; padding: 1rem 1.1rem; border-left: 3px solid var(--bay);
  background: #fff; border-radius: 0 12px 12px 0;
}
.blog-list { display: grid; gap: .65rem; }
.blog-list a {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: .85rem 1rem; color: var(--ink); text-decoration: none;
}
.blog-list a:hover { border-color: var(--bay); }
.blog-list small { color: var(--mute); display: block; }
