@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-alt: #141414;
  --bg-soft: #1a1a1a;
  --warm: rgba(245, 242, 239, 0.9);
  --warm-soft: rgba(245, 242, 239, 0.08);
  --ink: #f0f0f0;
  --text: #a0a0a0;
  --muted: #8a8580;
  --border: #2a2a2a;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-inset: rgba(255, 255, 255, 0.035) 0px 0px 0px 0.5px inset;
  --shadow-card: rgba(255, 255, 255, 0.035) 0px 0px 0px 1px, rgba(0, 0, 0, 0.28) 0px 6px 24px;
  --shadow-button: rgba(0, 0, 0, 0.45) 0px 0px 1px, rgba(0, 0, 0, 0.28) 0px 4px 16px;
  --shadow-warm: rgba(78, 50, 23, 0.18) 0px 8px 24px;
  --ring: rgb(147 197 253 / 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
.legal-body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.16px;
  color: var(--ink);
  background:
    radial-gradient(circle at top center, rgba(245, 242, 239, 0.05), transparent 32%),
    linear-gradient(180deg, #0f0f0f 0%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.site-shell,
.legal-shell {
  width: 100%;
  background: transparent;
}

.site-header,
.legal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 32px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: var(--shadow-button);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.brand-tag {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

.site-nav,
.legal-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.15px;
  color: var(--text);
}

.site-nav a,
.legal-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.legal-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 9999px;
  background: var(--warm);
  color: #0a0a0a;
  box-shadow: var(--shadow-button);
}

.hero,
.profile-strip,
.signal-grid,
.detail-grid,
.site-footer {
  width: min(1120px, calc(100vw - 64px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 104px 0 72px;
}

.hero-copy,
.hero-proof {
  padding: 0;
  background: transparent;
}

.hero-copy {
  text-align: center;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.eyebrow,
.signal-kicker,
.profile-label,
.summary-label,
.panel-label,
.stage-note-label {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14px;
  color: var(--muted);
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: var(--warm-soft);
  border: 1px solid rgba(245, 242, 239, 0.12);
  font-size: 13px;
  font-weight: 500;
  color: #efe7df;
}

.hero-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #7bb77a;
}

h1,
.signal-card h2,
.trust-copy h2,
.legal-main h1,
.legal-section h2,
.stage-note-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  color: var(--ink);
}

h1 {
  max-width: 10ch;
  margin: 0 auto;
  font-size: clamp(3.25rem, 6vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.96px;
}

.lead {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.18px;
  color: var(--text);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.button,
.link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: none;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.47;
  transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.button:hover,
.link-chip:hover,
.nav-cta:hover,
.inline-link:hover,
.proof-links a:hover,
.footer-links a:hover,
.legal-main a:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--warm);
  color: #0a0a0a;
  box-shadow: var(--shadow-warm);
}

.button-secondary {
  background: var(--bg-alt);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

.hero-points {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 920px;
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.hero-points li {
  padding: 10px 14px;
  border-radius: 9999px;
  background: var(--bg-alt);
  box-shadow: var(--shadow-card);
  font-size: 14px;
  line-height: 1.43;
  color: var(--text);
}

.hero-points strong {
  color: var(--ink);
}

.hero-meta {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.43;
  color: var(--muted);
}

.hero-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 820px;
  margin: 32px auto 0;
}

.summary-card,
.profile-item,
.signal-card,
.detail-card,
.product-window,
.legal-main {
  background: var(--bg-alt);
  box-shadow: var(--shadow-card), var(--shadow-inset);
}

.summary-card,
.profile-item,
.signal-card,
.detail-card,
.product-window,
.trust-panel,
.legal-main {
  border-radius: 20px;
}

.summary-card {
  padding: 18px 18px 20px;
  text-align: left;
}

.summary-value,
.profile-value {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.hero-stage {
  position: relative;
  width: 100%;
}

.stage-note {
  position: absolute;
  top: -20px;
  left: 24px;
  z-index: 2;
  width: min(260px, 40%);
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: var(--warm);
  box-shadow: var(--shadow-warm);
}

.stage-note,
.stage-note-title,
.stage-note-copy {
  color: #0f0f0f;
}

.stage-note-label {
  color: #5d564f;
}

.stage-note-title {
  margin-top: 4px;
  font-size: 32px;
  line-height: 1.13;
}

.stage-note-copy {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.hero-orbit {
  display: none;
}

.product-window {
  overflow: hidden;
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #4b4642;
}

.window-body {
  display: grid;
  grid-template-columns: 60px 1fr;
  min-height: 360px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
}

.sidebar-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #57524d;
}

.canvas {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(180deg, #161616 0%, #111111 100%);
}

.panel-card {
  padding: 16px;
  border-radius: 16px;
  background: #171717;
  box-shadow: var(--shadow-inset), rgba(0, 0, 0, 0.22) 0px 4px 16px;
  color: var(--ink);
}

.panel-card-large {
  min-height: 200px;
}

.panel-label {
  margin-bottom: 12px;
}

.memory-nodes {
  position: relative;
  height: 128px;
  border-radius: 12px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #1d1d1d 0%, #141414 100%);
  background-size: 24px 24px;
}

.node {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.03);
}

.node-a { top: 18px; left: 24px; }
.node-b { top: 22px; right: 48px; }
.node-c { top: 56px; left: 48%; }
.node-d { bottom: 22px; left: 64px; }
.node-e { bottom: 20px; right: 22px; }

.timeline-card ul,
.notes-card p,
.workflow-row,
.detail-list,
.legal-list,
.proof-links {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.14px;
  color: var(--text);
}

.timeline-card ul,
.detail-list,
.legal-list {
  margin: 0;
  padding-left: 18px;
}

.notes-card p {
  margin: 0;
}

.workflow-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.workflow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 9999px;
  background: var(--warm-soft);
  box-shadow: var(--shadow-inset);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.profile-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 12px;
}

.profile-item {
  padding: 18px 18px 20px;
}

.signal-grid,
.detail-grid {
  display: grid;
  gap: 16px;
  padding-top: 72px;
}

.signal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 16px;
}

.signal-card,
.detail-card {
  min-height: 240px;
  padding: 24px;
}

.signal-card h2,
.trust-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.signal-card p,
.trust-copy p,
.legal-main p,
.legal-main li {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.56;
  letter-spacing: 0.16px;
  color: var(--text);
}

.inline-link,
.proof-links a,
.footer-links a,
.legal-main a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(119, 113, 105, 0.45);
  text-underline-offset: 3px;
}

.proof-links {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1120px, calc(100vw - 64px));
  margin: 72px auto 0;
  padding: 28px 32px;
  background: linear-gradient(180deg, rgba(245, 242, 239, 0.08), rgba(245, 242, 239, 0.04));
  box-shadow: var(--shadow-card), var(--shadow-inset);
}

.trust-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.link-chip {
  background: var(--bg-alt);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 0 56px;
  margin-top: 72px;
  border-top: 1px solid var(--border-subtle);
}

.footer-top {
  display: grid;
  gap: 8px;
  max-width: 520px;
}

.footer-top p,
.footer-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.43;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  font-size: 14px;
}

.legal-main {
  max-width: 920px;
  margin: 56px auto 80px;
  padding: 36px;
}

.legal-main h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.legal-meta {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.43;
  color: var(--muted);
}

.legal-section + .legal-section {
  margin-top: 28px;
}

.legal-section h2 {
  font-size: 2rem;
  line-height: 1.13;
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: #111111;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.85;
  color: var(--text);
}

@media (max-width: 1024px) {
  .site-header,
  .legal-header {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero,
  .profile-strip,
  .signal-grid,
  .detail-grid,
  .trust-panel,
  .site-footer {
    width: min(100vw - 40px, 1120px);
  }

  .hero {
    padding-top: 88px;
  }

  .hero-summary-grid,
  .profile-strip,
  .signal-grid,
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-note {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-bottom: 20px;
  }

  .trust-panel {
    grid-template-columns: 1fr;
  }

  .trust-actions {
    justify-content: flex-start;
  }

  .site-nav {
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .legal-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav,
  .legal-nav,
  .footer-links {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
  }

  .hero,
  .profile-strip,
  .signal-grid,
  .detail-grid,
  .trust-panel,
  .site-footer {
    width: min(100vw - 28px, 1120px);
  }

  .hero {
    gap: 32px;
    padding-top: 72px;
    padding-bottom: 56px;
  }

  h1 {
    max-width: none;
    font-size: 3rem;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .link-chip {
    width: 100%;
  }

  .hero-points,
  .hero-summary-grid,
  .profile-strip,
  .signal-grid,
  .detail-grid,
  .canvas {
    grid-template-columns: 1fr;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .sidebar {
    flex-direction: row;
    justify-content: center;
    padding: 14px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .trust-panel,
  .legal-main {
    padding: 24px;
  }

  .legal-main {
    margin-top: 32px;
    margin-bottom: 56px;
  }
}
