:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --fg: #111114;
  --fg-muted: #6b6b73;
  --fg-faint: #b4b4bb;
  --line: #ececef;
  --accent: #111114;
  --accent-fg: #ffffff;
  --radius: 14px;
  --max: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand__mark {
  width: 18px;
  height: 18px;
  display: block;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 13.5px;
  color: var(--fg-muted);
}

.nav__links a:hover { color: var(--fg); }

.nav__cta {
  color: var(--fg);
  font-weight: 500;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16); }

.btn--ghost {
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--line);
}

.btn--ghost:hover { background: var(--bg-soft); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 136px 0 128px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 50% 40%, #f3f3f5 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero__inner { position: relative; }

.hero__title-wrap {
  position: relative;
  display: block;
}

/* Zero-size inline-block: its top edge sits on the text baseline, so JS can
   measure where the glyphs actually are without guessing font metrics. */
.hero__baseline {
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: baseline;
}

.hero__dots {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 22px;
}

.hero__title {
  margin: 0;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  font-size: clamp(64px, 12vw, 132px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.045em;
  /* Antimetal-style soft emboss on a light surface */
  color: #d7d7dc;
  background: linear-gradient(180deg, #dedee3 0%, #b9b9c1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9)) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.06));
}

.hero__subtitle {
  margin: 26px auto 0;
  max-width: 520px;
  font-size: 18px;
  color: var(--fg-muted);
  letter-spacing: -0.01em;
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ---------- Sections ---------- */

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section__grid {
  position: relative;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 0 32px;
}

/* Two vertical rules framing the section (label + content), running the
   full height of the section so they join up across sections. */
.section__grid::before,
.section__grid::after {
  content: "";
  position: absolute;
  top: -96px;
  bottom: -96px;
  width: 1px;
  background: var(--line);
}

.section__grid::before { left: 0; }
.section__grid::after { right: 0; }

.section__label {
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.section__title {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section__body {
  margin: 0;
  font-size: 17px;
  color: #3a3a41;
  max-width: 620px;
}

.section__body + .section__body { margin-top: 16px; }

/* ---------- Chips ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 13px;
  color: #3a3a41;
}

/* ---------- Contact ---------- */

.contact {
  text-align: center;
  padding: 112px 0;
}

.contact .section__title { margin-bottom: 12px; }

.contact .section__body { margin: 0 auto 30px; }

/* ---------- Footer ---------- */

.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 40px 0 0;
}

.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--fg-muted);
}

.footer__links {
  display: flex;
  gap: 22px;
}

.footer__links a:hover { color: var(--fg); }

.footer__wordmark {
  display: block;
  margin: 48px 0 -0.22em;
  font-size: clamp(88px, 19vw, 240px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.05em;
  text-align: center;
  color: #f0f0f2;
  user-select: none;
  pointer-events: none;
}

/* ---------- Legal pages ---------- */

.legal {
  padding: 72px 0 96px;
}

.legal__inner { max-width: 720px; }

.legal h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.legal__meta {
  margin: 0 0 40px;
  font-size: 14px;
  color: var(--fg-muted);
}

.legal h2 {
  margin: 40px 0 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal h3 {
  margin: 24px 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.legal p, .legal li {
  color: #3a3a41;
  font-size: 16px;
}

.legal ul, .legal ol { padding-left: 22px; }

.legal li { margin: 6px 0; }

.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .nav__links { gap: 18px; }
  .nav__links .nav__hide-mobile { display: none; }
  .hero { padding: 88px 0 80px; }
  .hero__subtitle { font-size: 16px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .section { padding: 64px 0; }
  .section__grid { grid-template-columns: 1fr; gap: 14px; width: auto; margin: 0 16px; padding: 0 20px; }
  .section__grid::before, .section__grid::after { top: -64px; bottom: -64px; }
  .contact { padding: 80px 0; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
