*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f8f7f4;
  --surface: #ffffff;
  --border: rgba(0,0,0,0.08);
  --border-mid: rgba(0,0,0,0.12);
  --text: #1a1a1a;
  --muted: #5f5f5f;
  --subtle: #8e8e8e;
  --accent: #2a6bb5;
  --ink: #101212;
  --ink-2: #181b1b;
  --ink-line: rgba(255,255,255,0.12);
  --ink-text: #f7f5ef;
  --ink-muted: #a7aaa6;
  --orange: #ff7208;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.mono { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.06em; }
.label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--subtle);
  text-transform: uppercase;
  margin-bottom: 20px;
}
[id] { scroll-margin-top: 80px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,247,244,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 0 40px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.nav-mark { width: 30px; height: 30px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--border); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { border: 1px solid var(--border-mid); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: rgba(0,0,0,0.3); }
.btn-orange { background: var(--orange); color: #111; font-weight: 600; }
.btn-orange:hover { background: #ff8530; }

/* Hero */
.hero { padding-top: 112px; padding-bottom: 96px; }
.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.hero h1 em { font-style: italic; font-weight: 300; color: var(--muted); }
.lede { margin-top: 28px; max-width: 620px; font-size: 19px; color: var(--muted); }
.lede strong { color: var(--text); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 44px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; color: var(--muted); text-decoration: none;
}
.status:hover { color: var(--text); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,114,8,0.18); }

/* Product */
.product { background: var(--ink); color: var(--ink-text); padding: 104px 0; }
.product-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.label-dark { color: var(--ink-muted); }
.product-title { display: flex; align-items: center; gap: 18px; }
.product-icon { width: 72px; height: 72px; border-radius: 17px; }
.product h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.tagline { color: var(--orange); font-family: 'DM Mono', monospace; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 6px; }
.product-lede { margin-top: 24px; font-size: 18px; color: var(--ink-muted); max-width: 520px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.pillar { border-top: 1px solid var(--ink-line); padding-top: 16px; }
.pillar-num { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--orange); letter-spacing: 0.1em; }
.pillar h3 { font-size: 16px; font-weight: 500; margin: 6px 0 6px; }
.pillar p { font-size: 14px; color: var(--ink-muted); line-height: 1.55; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; }
.chip { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--ink-line); color: var(--ink-text); }
.launch { font-size: 13px; color: var(--ink-muted); margin-left: 8px; }
.launch strong { color: var(--ink-text); font-weight: 500; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 32px; }
.socials { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-muted); }
.socials span { color: var(--ink-text); }
.socials a { color: var(--ink-muted); text-decoration: none; }
.socials a:hover { color: var(--orange); }
.product .btn:focus-visible, .product a:focus-visible { outline-color: var(--orange); }

/* Grade card visual */
.grade-card {
  background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 20px;
  padding: 26px; box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.grade-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; font-weight: 500; }
.grade-head .mono { color: var(--ink-muted); font-size: 11px; }
.grade-row { display: grid; grid-template-columns: 44px 1fr 112px; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--ink-line); }
.grade-row .mono { color: var(--ink-muted); font-size: 11px; text-align: right; }
.grade { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 600; font-size: 20px; }
.g-a { background: var(--orange); color: #111; }
.g-b { background: rgba(255,114,8,0.55); color: #111; }
.g-c { background: rgba(255,255,255,0.14); color: var(--ink-text); }
.g-d { background: rgba(255,255,255,0.07); color: var(--ink-muted); }
.bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), #ffb070); border-radius: 3px; }
.grade-foot { margin-top: 14px; font-size: 13px; color: var(--ink-muted); }

/* Sections */
.section { padding-top: 104px; padding-bottom: 8px; }
.section-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.12; margin-bottom: 18px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.principle { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.principle h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.principle p { color: var(--muted); font-size: 15px; }
a.inline { color: var(--accent); text-decoration: none; }
a.inline:hover { text-decoration: underline; }

.name { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.name-intro p:not(.label) { color: var(--muted); max-width: 440px; }
.words { display: grid; gap: 16px; }
.word { display: flex; gap: 22px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px 28px; }
.letter { font-size: 44px; font-weight: 300; line-height: 1; width: 40px; color: var(--accent); }
.word h3 { font-size: 18px; font-weight: 500; }
.word .mono { color: var(--subtle); margin: 2px 0 6px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.12em; }
.word p:last-child { color: var(--muted); font-size: 15px; }

.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; padding-bottom: 104px; }
.contact p:not(.label):not(.mono) { color: var(--muted); max-width: 560px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact-card .mono { color: var(--subtle); }

/* Footer */
.footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 13px; color: var(--subtle); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--subtle); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 80px 40px 100px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 12px; }
.legal .updated { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--subtle); margin-bottom: 48px; }
.legal h2 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-top: 44px; margin-bottom: 12px; }
.legal h3 { font-size: 16px; font-weight: 500; margin-top: 26px; margin-bottom: 8px; }
.legal p { color: var(--muted); margin-bottom: 14px; }
.legal ul { color: var(--muted); margin: 0 0 14px 20px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); font-weight: 500; }
.legal hr { border: 0; border-top: 1px solid var(--border-mid); margin: 56px 0 8px; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; margin: 8px 0; }
.toc p { margin-bottom: 6px; color: var(--text); font-size: 14px; font-weight: 500; }
.toc ul { margin-bottom: 0; font-size: 14px; }

/* Responsive */
@media (max-width: 900px) {
  .product-inner, .name, .contact { grid-template-columns: 1fr; gap: 40px; }
  .product-visual { max-width: 460px; }
  .principles { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap, .nav-inner { padding-left: 16px; padding-right: 16px; }
  .nav-links { gap: 18px; }
  .hero { padding-top: 72px; padding-bottom: 72px; }
  .lede { font-size: 17px; }
  .product { padding: 72px 0; }
  .pillars { grid-template-columns: 1fr; gap: 16px; }
  .grade-row { grid-template-columns: 40px 1fr; }
  .grade-row .mono { display: none; }
  .section { padding-top: 72px; }
  .contact { padding-bottom: 72px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .legal { padding: 56px 16px 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
