:root {
  --bg: #151320;
  --surface: #1b1828;
  --surface-2: #211d31;
  --surface-3: #28233a;
  --line: #39334d;
  --line-soft: #2f2a40;
  --text: #f5f2ff;
  --muted: #aaa4bb;
  --muted-2: #7f788f;
  --lavender: #d6ccff;
  --violet: #8177c8;
  --pink: #f4a8c8;
  --mint: #9de2d4;
  --gold: #f4d48c;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.page-shell { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; }

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line-soft);
}
.brand-lockup { display: inline-flex; align-items: center; gap: 13px; color: var(--text); text-decoration: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: .95rem; line-height: 1.2; letter-spacing: .01em; font-weight: 690; }
.brand-copy span { color: var(--muted-2); font-size: .76rem; letter-spacing: .06em; }
.header-palette { display: flex; align-items: center; gap: 7px; }
.swatch { width: 9px; height: 9px; border-radius: 999px; box-shadow: 0 0 0 3px rgba(255,255,255,.025); }
.swatch-lavender { background: var(--lavender); }
.swatch-pink { background: var(--pink); }
.swatch-mint { background: var(--mint); }
.swatch-gold { background: var(--gold); }

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(46px, 7vw, 92px);
  align-items: center;
  padding: 72px 0 84px;
}
.hero-copy { max-width: 650px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--lavender);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem;
  line-height: 1;
  letter-spacing: .18em;
  font-weight: 700;
}
h1,h2,h3,p { margin-top: 0; }
h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 8vw, 6.7rem);
  line-height: .91;
  letter-spacing: -.066em;
  font-weight: 750;
  text-wrap: balance;
}
.hero-line {
  max-width: 570px;
  margin-bottom: 38px;
  color: #c3bdcf;
  font-size: clamp(1.03rem, 1.8vw, 1.26rem);
  line-height: 1.65;
  letter-spacing: -.012em;
}
.hero-rule { display: flex; width: 132px; height: 4px; gap: 5px; }
.hero-rule span { display: block; height: 4px; border-radius: 999px; }
.hero-rule span:nth-child(1) { width: 61%; background: var(--lavender); }
.hero-rule span:nth-child(2) { width: 24%; background: var(--pink); }
.hero-rule span:nth-child(3) { width: 15%; background: var(--mint); }

.identity-card {
  position: relative;
  min-height: 430px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 22px 80px rgba(0,0,0,.22);
}
.identity-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(214,204,255,.08);
  border-radius: 20px;
  pointer-events: none;
}
.identity-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 66px;
  width: 1px;
  height: 100%;
  background: rgba(214,204,255,.05);
  pointer-events: none;
}
.identity-frame { min-height: 318px; display: grid; place-items: center; }
.identity-mark { width: min(68%, 285px); filter: drop-shadow(0 22px 22px rgba(0,0,0,.15)); }
.palette-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  width: min(270px, 74%);
  margin: 18px auto 0;
}
.palette-card { display: block; height: 28px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; }
.palette-card.lavender { background: var(--lavender); }
.palette-card.pink { background: var(--pink); }
.palette-card.mint { background: var(--mint); }
.palette-card.gold { background: var(--gold); }

.services { padding: 72px 0 92px; border-top: 1px solid var(--line-soft); }
.section-heading { margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 10px; color: var(--muted-2); }
h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; letter-spacing: -.045em; font-weight: 720; }
.service-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 44px;
  gap: 24px;
  align-items: center;
  padding: 25px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.service-card:hover,.service-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(214,204,255,.36);
  background: var(--surface-2);
  outline: none;
}
.service-icon {
  width: 72px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(157,226,212,.24);
  border-radius: 17px;
  background: #181a26;
  color: var(--mint);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.service-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 13px; margin-bottom: 8px; }
.service-status,.service-host { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .67rem; letter-spacing: .10em; }
.service-status { color: var(--mint); }
.service-host { color: var(--muted-2); }
.service-copy h3 { margin-bottom: 7px; font-size: 1.28rem; letter-spacing: -.02em; }
.service-copy p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.service-arrow { color: var(--lavender); font-size: 2rem; line-height: 1; text-align: right; transition: transform .18s ease; }
.service-card:hover .service-arrow,.service-card:focus-visible .service-arrow { transform: translateX(4px); }

.site-footer {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .70rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover,.footer-links a:focus-visible { color: var(--lavender); outline: none; }

.docs-shell { width: min(calc(100% - 40px), 900px); margin: 0 auto; }
.docs-header { padding: 42px 0 28px; border-bottom: 1px solid var(--line-soft); }
.docs-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 42px;
  color: var(--muted);
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .70rem;
  font-weight: 700;
  letter-spacing: .15em;
}
.docs-brand img { width: 28px; height: 28px; }
.docs-header h1 { max-width: none; margin: 0 0 15px; font-size: clamp(2.7rem, 7vw, 4.9rem); line-height: .96; }
.docs-intro { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.docs-nav { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 34px; }
.docs-nav a {
  color: var(--muted);
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .66rem;
  letter-spacing: .09em;
}
.docs-nav a:hover,.docs-nav a:focus-visible,.docs-nav a[aria-current="page"] { color: var(--lavender); outline: none; }
.docs-content { padding: 44px 0 82px; }
.effective-date {
  margin: 0 0 38px;
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.docs-content section { padding: 30px 0; border-top: 1px solid var(--line-soft); }
.docs-content section:first-of-type { padding-top: 0; border-top: 0; }
.docs-content h2 { margin-bottom: 17px; font-size: 1.55rem; letter-spacing: -.028em; }
.docs-content p,.docs-content li { color: #bbb5c8; line-height: 1.78; }
.docs-content ul { padding-left: 1.25rem; }
.docs-content a { color: var(--lavender); text-decoration-color: rgba(214,204,255,.34); text-underline-offset: .18em; }
.docs-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.docs-footer nav { display: flex; gap: 18px; }
.docs-footer a { color: var(--muted); text-decoration: none; }
.docs-footer a:hover,.docs-footer a:focus-visible { color: var(--lavender); outline: none; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 48px; padding-top: 64px; }
  .identity-card { min-height: 380px; }
  .identity-frame { min-height: 280px; }
}
@media (max-width: 560px) {
  .page-shell,.docs-shell { width: min(calc(100% - 28px), var(--max-width)); }
  .site-header { min-height: 80px; }
  .header-palette { display: none; }
  .brand-copy span { display: none; }
  .hero { padding: 54px 0 66px; }
  h1 { font-size: clamp(3.1rem, 16vw, 4.8rem); }
  .identity-card { min-height: 330px; padding: 20px; border-radius: 24px; }
  .identity-frame { min-height: 238px; }
  .palette-cards { width: 82%; }
  .services { padding: 60px 0 72px; }
  .service-card { grid-template-columns: 58px minmax(0, 1fr) 26px; gap: 15px; padding: 19px; }
  .service-icon { width: 58px; border-radius: 14px; }
  .service-host { width: 100%; }
  .service-copy p { font-size: .9rem; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 28px 0; }
  .docs-header { padding-top: 30px; }
  .docs-brand { margin-bottom: 34px; }
  .docs-content { padding-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
