:root {
  --bg: #f3efe6;
  --bg-deep: #13131a;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-deep: rgba(19, 19, 26, 0.88);
  --ink: #17171d;
  --ink-soft: #5e5a55;
  --line: rgba(23, 23, 29, 0.08);
  --blue: #2d6bff;
  --gold: #ffc92e;
  --teal: #17c8b1;
  --coral: #ff5c3e;
  --violet: #7358ff;
  --shadow: 0 18px 60px rgba(14, 17, 30, 0.12);
  --shadow-deep: 0 22px 70px rgba(0, 0, 0, 0.25);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --site-width: min(1180px, calc(100vw - 40px));
}

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

html {
  background: radial-gradient(circle at top left, rgba(45, 107, 255, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 201, 46, 0.12), transparent 30%),
    linear-gradient(180deg, #f6f1e8 0%, #f3efe6 100%);
  color: var(--ink);
  font-family: "Avenir Next", "Sora", "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
}

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

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

code {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: rgba(246, 241, 232, 0.76);
  border-bottom: 1px solid rgba(23, 23, 29, 0.06);
}

.site-header__inner,
.site-footer__inner,
.section {
  width: var(--site-width);
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand__mark {
  width: 38px;
  height: 38px;
}

.brand__text {
  font-size: 1.04rem;
}

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

.site-nav__link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.site-nav__link.is-active {
  background: rgba(23, 23, 29, 0.08);
  color: var(--ink);
}

.section {
  padding: 72px 0;
}

.section--hero {
  padding-top: 72px;
}

.section--compact {
  padding-top: 60px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label,
.feature-card__eyebrow,
.meta-note {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-intro h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.page-intro h1 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
}

.lede,
.hero-copy p,
.surface-card p,
.feature-card p,
.legal-card p,
.legal-document p,
.legal-document li,
.site-footer__copy {
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--ink) 0%, #31313f 100%);
  box-shadow: var(--shadow);
  color: #fff;
}

.button--secondary {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(23, 23, 29, 0.08);
  color: var(--ink);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(23, 23, 29, 0.06);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-art {
  position: relative;
  min-height: 520px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(38px);
  opacity: 0.55;
}

.orb--blue {
  top: 12%;
  left: 12%;
  width: 180px;
  height: 180px;
  background: rgba(45, 107, 255, 0.35);
}

.orb--gold {
  top: 10%;
  right: 10%;
  width: 220px;
  height: 220px;
  background: rgba(255, 201, 46, 0.34);
}

.orb--teal {
  bottom: 8%;
  right: 18%;
  width: 160px;
  height: 160px;
  background: rgba(23, 200, 177, 0.28);
}

.device-stack {
  position: relative;
  height: 100%;
}

.device {
  position: absolute;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.device--front {
  top: 56px;
  left: 40px;
  width: min(100%, 380px);
  height: 440px;
  transform: rotate(-5deg);
}

.device--back {
  top: 0;
  right: 0;
  width: 250px;
  height: 330px;
  transform: rotate(8deg);
}

.device__screen {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 28px 18px 18px;
  background:
    linear-gradient(180deg, rgba(19, 19, 26, 0.04), rgba(19, 19, 26, 0) 12%),
    linear-gradient(180deg, rgba(245, 240, 231, 0.9), rgba(236, 232, 224, 0.92));
}

.device__screen--summary {
  padding: 24px;
}

.device__topline {
  width: 38%;
  height: 12px;
  border-radius: 999px;
  background: rgba(19, 19, 26, 0.08);
  margin-bottom: 18px;
}

.device__rail {
  position: absolute;
  top: 54px;
  right: 16px;
  bottom: 20px;
  width: 26px;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
}

.device__rail span {
  border-radius: 999px;
  background: rgba(19, 19, 26, 0.06);
}

.timeline-block {
  position: absolute;
  left: 18px;
  right: 56px;
  top: var(--top);
  height: var(--height);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.timeline-block--blue {
  background: linear-gradient(135deg, #69c6ff, var(--blue));
}

.timeline-block--gold {
  background: linear-gradient(135deg, #ffe280, var(--gold));
}

.timeline-block--teal {
  background: linear-gradient(135deg, #5debd8, var(--teal));
}

.timeline-block--coral {
  background: linear-gradient(135deg, #ff8c72, var(--coral));
}

.mini-pill {
  width: 70%;
  height: 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  background: rgba(19, 19, 26, 0.1);
}

.mini-pill--gold {
  background: linear-gradient(135deg, rgba(255, 201, 46, 0.42), rgba(255, 201, 46, 0.78));
}

.mini-chart {
  display: grid;
  align-items: end;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  height: 180px;
}

.mini-chart__bar {
  border-radius: 18px 18px 10px 10px;
}

.mini-chart__bar--blue {
  height: 86%;
  background: linear-gradient(180deg, rgba(105, 198, 255, 0.9), var(--blue));
}

.mini-chart__bar--teal {
  height: 58%;
  background: linear-gradient(180deg, rgba(93, 235, 216, 0.9), var(--teal));
}

.mini-chart__bar--coral {
  height: 44%;
  background: linear-gradient(180deg, rgba(255, 140, 114, 0.9), var(--coral));
}

.mini-chart__bar--violet {
  height: 70%;
  background: linear-gradient(180deg, rgba(147, 125, 255, 0.9), var(--violet));
}

.split-section,
.card-grid,
.feature-grid,
.feature-columns,
.legal-grid {
  display: grid;
  gap: 24px;
}

.split-section {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
}

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

.feature-columns,
.legal-grid,
.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.surface-card,
.feature-card,
.legal-card,
.legal-document {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(23, 23, 29, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.surface-card,
.feature-card,
.legal-card {
  padding: 28px;
}

.surface-card__row + .surface-card__row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 23, 29, 0.08);
}

.surface-card__label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.feature-card h2,
.surface-card h2,
.legal-card h2,
.accent-panel h2 {
  margin: 0 0 10px;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}

.accent-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(19, 19, 26, 0.96), rgba(49, 49, 63, 0.92));
  box-shadow: var(--shadow-deep);
}

.accent-panel h2,
.accent-panel p {
  color: #fff;
}

.accent-panel .section-label {
  color: rgba(255, 255, 255, 0.62);
}

.page-intro {
  padding-bottom: 18px;
}

.page-intro--narrow {
  max-width: 760px;
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.bullet-list li + li {
  margin-top: 10px;
}

.mock-dashboard {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  min-height: 240px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
}

.mock-dashboard__sidebar {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.mock-dashboard__main {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
}

.mock-chip {
  display: block;
  height: 38px;
  border-radius: 16px;
}

.mock-chip--blue {
  background: linear-gradient(135deg, rgba(105, 198, 255, 0.9), rgba(45, 107, 255, 0.92));
}

.mock-chip--gold {
  background: linear-gradient(135deg, rgba(255, 226, 128, 0.9), rgba(255, 201, 46, 0.96));
}

.mock-chip--teal {
  background: linear-gradient(135deg, rgba(93, 235, 216, 0.9), rgba(23, 200, 177, 0.96));
}

.mock-lines {
  display: grid;
  gap: 12px;
}

.mock-lines span {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.surface-card--deep {
  background: linear-gradient(180deg, rgba(19, 19, 26, 0.92), rgba(39, 39, 50, 0.9));
  color: #fff;
}

.surface-card--deep .section-label,
.surface-card--deep p {
  color: rgba(255, 255, 255, 0.7);
}

.legal-card {
  display: block;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.legal-card:hover,
.legal-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 64px rgba(14, 17, 30, 0.18);
}

.inline-link {
  color: var(--blue);
}

.legal-document {
  padding: 34px;
}

.legal-document h1,
.legal-document h2,
.legal-document h3 {
  color: var(--ink);
  letter-spacing: -0.04em;
}

.legal-document h1 {
  font-size: 2.2rem;
}

.legal-document h2 {
  margin-top: 2.2rem;
  font-size: 1.5rem;
}

.legal-document h3 {
  margin-top: 1.6rem;
  font-size: 1.14rem;
}

.legal-document ul {
  padding-left: 20px;
  color: var(--ink-soft);
}

.legal-document li + li {
  margin-top: 10px;
}

.legal-source-note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer {
  padding: 32px 0 44px;
}

.site-footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(23, 23, 29, 0.08);
  padding-top: 26px;
}

.site-footer__title {
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.site-footer__copy {
  margin: 0;
  max-width: 480px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--ink-soft);
}

@media (max-width: 1024px) {
  .hero,
  .split-section,
  .feature-grid,
  .feature-columns,
  .legal-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 420px;
  }

  .accent-panel,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --site-width: min(100vw - 28px, 1180px);
  }

  .site-header {
    position: static;
  }

  .site-header__inner {
    min-height: auto;
    padding: 20px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav__link {
    padding: 10px 12px;
  }

  .section {
    padding: 52px 0;
  }

  .hero h1,
  .page-intro h1 {
    max-width: none;
  }

  .hero-art {
    min-height: 360px;
  }

  .device--front {
    left: 0;
    width: min(100%, 320px);
    height: 360px;
  }

  .device--back {
    width: 190px;
    height: 250px;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}
