:root {
  --bg: #0e0e0d;
  --bg-soft: #151513;
  --panel: rgba(255, 255, 255, 0.025);
  --panel-strong: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.05);
  --text: #f5f4f0;
  --muted: #b0aca2;
  --muted-strong: #8a8780;
  --muted-faint: #666258;
  --accent: #c17a5e;
  --accent-soft: rgba(193, 122, 94, 0.1);
  --max-width: 1120px;
  --radius: 2px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}

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

img,
svg {
  display: block;
}

.site {
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

.site-frame {
  position: absolute;
  inset: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  pointer-events: none;
}

.flight-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 900px;
  pointer-events: none;
}

.page-shell,
.legal-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.page-shell {
  padding: 42px 0 52px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 28px;
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(193, 122, 94, 0.55);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button-link:hover,
.button-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(193, 122, 94, 0.16);
  border-color: rgba(193, 122, 94, 0.75);
}

.button-link.is-solid {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.button-link.is-solid:hover,
.button-link.is-solid:focus-visible {
  background: #d58a6a;
  border-color: #d58a6a;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  gap: 48px;
  align-items: end;
  padding: 76px 8px 28px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 560px;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-lead,
.section-copy,
.product-copy,
.legal-prose p,
.legal-prose li {
  color: var(--muted);
}

.hero-lead {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.hero-card,
.intro-card,
.principle-card,
.product-card,
.legal-card {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 26px 30px;
}

.hero-card .brand-mark {
  width: 320px;
  height: auto;
}

.hero-card-note {
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding: 0 8px;
}

.overview-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-card,
.principle-card {
  padding: 28px 24px;
}

.intro-card {
  padding: 32px 30px;
}

.intro-card .section-copy {
  max-width: 820px;
}

.section-title {
  margin: 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-copy {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
}

.principle-title,
.product-title {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}

.products {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 52px;
}

.products-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.products-heading-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
}

.products-kicker {
  margin: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 26px;
}

.product-card.is-accent {
  background: linear-gradient(180deg, rgba(193, 122, 94, 0.08), rgba(255, 255, 255, 0.02));
}

.product-card.is-neutral {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
}

.product-title {
  font-size: 25px;
  line-height: 30px;
  font-weight: 700;
}

.product-copy {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(193, 122, 94, 0.45);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-domain {
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 52px;
  padding: 22px 8px 0;
  border-top: 1px solid var(--border);
}

.footer-copy {
  color: var(--muted-faint);
  font-size: 13px;
  line-height: 20px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-shell {
  padding: 42px 0 52px;
}

.legal-hero {
  padding: 76px 8px 28px;
}

.legal-kicker {
  margin: 0 0 16px;
}

.legal-title {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 22px;
}

.legal-card {
  margin: 0 8px;
  padding: 32px 32px 36px;
}

.legal-prose {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-prose section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal-prose h2,
.legal-prose h3 {
  margin: 10px 0 0;
  color: var(--text);
  font-weight: 700;
}

.legal-prose h2 {
  font-size: 24px;
  line-height: 32px;
}

.legal-prose h3 {
  font-size: 18px;
  line-height: 26px;
}

.legal-prose p,
.legal-prose li {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.legal-prose ol,
.legal-prose ul {
  margin: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-prose strong {
  color: var(--text);
}

.legal-prose a {
  color: var(--accent);
}

.legal-prose a:hover,
.legal-prose a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .hero,
  .principles-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-card .brand-mark {
    width: min(320px, 100%);
  }

  .products-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-frame {
    inset: 20px;
  }

  .flight-trail {
    height: 760px;
  }

  .page-shell,
  .legal-shell {
    width: min(calc(100% - 40px), 350px);
  }

  .page-shell,
  .legal-shell {
    padding-top: 28px;
  }

  .site-header {
    gap: 18px;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav .nav-link:nth-child(-n + 2) {
    display: none;
  }

  .brand {
    gap: 10px;
    font-size: 13px;
    letter-spacing: 0.18em;
  }

  .brand-mark {
    width: 28px;
    height: 24px;
  }

  .button-link {
    min-height: 42px;
    padding: 0 14px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .hero,
  .legal-hero {
    padding: 30px 0 0;
  }

  .hero {
    gap: 26px;
  }

  .hero-title,
  .legal-title {
    font-size: 42px;
    line-height: 1.06;
  }

  .hero-lead {
    font-size: 17px;
    line-height: 1.65;
  }

  .hero-card {
    padding: 24px 22px;
    gap: 18px;
  }

  .hero-card .brand-mark {
    width: 180px;
  }

  .eyebrow,
  .products-kicker {
    font-size: 11px;
    line-height: 14px;
  }

  .section {
    padding: 0;
  }

  .overview-grid {
    gap: 14px;
  }

  .intro-card,
  .principle-card,
  .product-card,
  .legal-card {
    padding: 24px 20px;
  }

  .section-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .section-copy,
  .product-copy {
    font-size: 16px;
    line-height: 1.7;
  }

  .products {
    padding-top: 40px;
  }

  .product-title {
    font-size: 23px;
    line-height: 28px;
  }

  .product-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    margin-top: 40px;
    padding: 18px 0 0;
  }

  .footer-copy {
    font-size: 12px;
  }

  .footer-links {
    gap: 12px;
  }

  .nav-link {
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 0.16em;
  }

  .legal-card {
    margin: 0;
  }

  .legal-meta {
    font-size: 13px;
    line-height: 20px;
  }

  .legal-prose h2 {
    font-size: 22px;
    line-height: 30px;
  }

  .legal-prose h3 {
    font-size: 17px;
    line-height: 24px;
  }

  .legal-prose p,
  .legal-prose li {
    font-size: 15px;
    line-height: 1.75;
  }
}
