:root {
  --bg: #071019;
  --surface: #0b1621;
  --surface-2: #101d29;
  --raised: #142431;
  --text: #edf4f7;
  --muted: #9babb8;
  --primary: #39c6e7;
  --primary-strong: #72daef;
  --teal: #39c7b7;
  --ink: #061018;
  --border: rgba(171, 188, 199, 0.14);
  --border-strong: rgba(171, 188, 199, 0.26);
  --content: 1180px;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% -8%, rgba(57, 198, 231, 0.09), transparent 34rem),
    radial-gradient(circle at 92% 18%, rgba(57, 199, 183, 0.055), transparent 28rem), var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
}

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

a:hover {
  color: var(--text);
}

::selection {
  color: var(--text);
  background: rgba(57, 198, 231, 0.26);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

#main:focus {
  outline: none;
}

.container {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.narrow {
  max-width: 900px;
}

.section {
  position: relative;
  padding: 82px 0;
  border-bottom: 1px solid var(--border);
}

.surface {
  background:
    linear-gradient(145deg, rgba(57, 198, 231, 0.025), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 38%), var(--surface);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: 9px;
  color: var(--ink);
  background: var(--primary-strong);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  color: var(--ink);
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 110;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 16, 25, 0.88);
  backdrop-filter: blur(18px) saturate(125%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
}

.brand-mark {
  width: 31px;
  height: 31px;
  flex: none;
  color: var(--primary);
}

.brand-name {
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--text);
}

.desktop-nav a[aria-current="page"]:not(.nav-signin) {
  box-shadow: inset 0 -1px 0 var(--primary);
}

.nav-signin {
  min-height: 40px !important;
  padding: 0 15px;
  border: 1px solid rgba(57, 198, 231, 0.32);
  border-radius: 9px;
  color: var(--text);
  background: rgba(57, 198, 231, 0.06);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: grid;
  min-width: 64px;
  min-height: 44px;
  place-items: center;
  padding: 0 13px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  font-size: 14px;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-panel {
  position: absolute;
  top: 52px;
  right: 0;
  display: grid;
  width: min(280px, calc(100vw - 34px));
  padding: 9px;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  background: #08121c;
  box-shadow: var(--shadow);
}

.mobile-panel a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}

.mobile-panel a:hover,
.mobile-panel a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-2);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(44px, 4.8vw, 58px);
  line-height: 1.04;
}

h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
}

h3 {
  font-size: 22px;
  line-height: 1.22;
}

p {
  margin: 0;
}

.eyebrow,
.footer-heading,
.stage-label,
.comparison-label,
.frame-label,
.card-index,
.notice-index {
  color: var(--primary-strong);
  font: 500 11px/1.5 var(--mono);
  letter-spacing: 0.145em;
  text-transform: uppercase;
}

.lead {
  max-width: 750px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.prose-lg {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.prose-lg p + p,
.feature-copy p + p,
.founder-card p + p,
.notice-list article p + p {
  margin-top: 18px;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
  padding: 7px 10px;
  border: 1px solid rgba(57, 198, 231, 0.2);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(57, 198, 231, 0.045);
  font: 500 11px/1.3 var(--mono);
  letter-spacing: 0.06em;
}

.status-line.quiet {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.018);
}

.status-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(57, 199, 183, 0.09);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 31px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

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

.button.primary {
  border-color: rgba(114, 218, 239, 0.65);
  color: var(--ink);
  background: var(--primary-strong);
}

.button.primary:hover {
  color: var(--ink);
  background: #8ce3f3;
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.018);
}

.button.secondary:hover {
  border-color: rgba(57, 198, 231, 0.36);
  background: var(--raised);
}

.text-link,
.inline-link a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(57, 198, 231, 0.48);
  text-underline-offset: 5px;
}

.text-link:hover,
.inline-link a:hover {
  text-decoration-color: var(--primary);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 68px;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
}

.hero h1 {
  max-width: 690px;
  margin-top: 18px;
}

.hero .lead {
  max-width: 650px;
}

.product-frame {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: 17px;
  background: #09131d;
  box-shadow: var(--shadow);
}

.product-frame img {
  width: 100%;
  height: auto;
  background: #09131d;
}

.product-frame figcaption {
  padding: 10px 13px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.frame-label {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.hero-product {
  transform: perspective(1300px) rotateY(-1.2deg);
}

.intro-grid,
.governance-grid,
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: 72px;
}

.intro-grid h2,
.governance-grid h2,
.cta-grid h2 {
  margin-top: 15px;
}

.card-grid {
  display: grid;
  gap: 15px;
  margin-top: 46px;
}

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

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

.info-card {
  min-height: 205px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.009));
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.info-card:hover {
  border-color: rgba(57, 198, 231, 0.25);
  background: var(--raised);
  transform: translateY(-2px);
}

.info-card h3 {
  margin-top: 15px;
}

.info-card > h3:first-child {
  margin-top: 0;
}

.info-card p:last-child {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.section-heading {
  max-width: 820px;
}

.section-heading h2 {
  margin-top: 15px;
}

.section-heading > p:last-child {
  max-width: 720px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-top: 44px;
  padding: 0;
  list-style: none;
}

.process-grid li {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.014);
}

.process-grid span,
.process-stack span {
  color: var(--primary);
  font: 600 12px/1 var(--mono);
}

.process-grid h3 {
  margin-top: 25px;
}

.process-grid p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.inline-link {
  margin-top: 27px;
  font-size: 14px;
}

.stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 72px;
}

.stage-list {
  border-top: 1px solid var(--border-strong);
}

.stage-list article {
  display: grid;
  grid-template-columns: 112px 190px 1fr;
  align-items: baseline;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.stage-list h3 {
  font-size: 19px;
}

.stage-list article > p:last-child {
  color: var(--muted);
  font-size: 14px;
}

.governance-band {
  background: linear-gradient(145deg, rgba(57, 199, 183, 0.04), transparent 45%);
}

.governance-grid > div:last-child > p {
  color: var(--muted);
  font-size: 17px;
}

.governance-grid .text-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
}

.cta-section {
  background:
    radial-gradient(circle at 86% 30%, rgba(57, 198, 231, 0.1), transparent 24rem),
    linear-gradient(145deg, rgba(57, 198, 231, 0.035), transparent 42%);
}

.cta-grid {
  align-items: end;
}

.cta-grid > div:first-child > p:last-child {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
}

.cta-grid .actions {
  justify-content: flex-end;
  margin-top: 0;
}

.page-hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-top: 19px;
}

.compact-hero {
  padding-bottom: 58px;
}

.updated {
  margin-top: 23px;
  color: var(--muted);
  font: 500 12px/1.5 var(--mono);
}

.product-section {
  padding-top: 70px;
}

.feature-list {
  display: grid;
  gap: 76px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 50px;
}

.feature-row.reverse {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
}

.feature-row.reverse .feature-copy {
  grid-column: 2;
}

.feature-row.reverse .product-frame {
  grid-column: 1;
  grid-row: 1;
}

.feature-copy h2 {
  margin-top: 15px;
  font-size: clamp(31px, 3.4vw, 42px);
}

.feature-copy > p:last-child {
  margin-top: 18px;
  color: var(--muted);
}

.desktop-frame {
  max-width: 790px;
}

.process-stack {
  margin: 42px auto 0;
  padding: 0;
  border-top: 1px solid var(--border-strong);
  list-style: none;
}

.process-stack li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 25px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.process-stack h3 {
  font-size: 24px;
}

.process-stack p {
  max-width: 760px;
  margin-top: 9px;
  color: var(--muted);
}

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

.comparison-grid article {
  padding: 31px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.014);
}

.comparison-grid ul,
.check-list {
  display: grid;
  gap: 12px;
  margin: 23px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.comparison-grid li,
.check-list li {
  position: relative;
  padding-left: 22px;
}

.comparison-grid li::before,
.check-list li::before {
  content: "";
  position: absolute;
  top: 0.8em;
  left: 0;
  width: 10px;
  height: 1px;
  background: var(--primary);
}

.callout {
  max-width: 890px;
  padding-left: 28px;
  border-left: 2px solid var(--primary);
}

.callout h2 {
  margin-top: 14px;
}

.callout > p:last-child {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.founder-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: center;
  gap: 54px;
  padding: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.009));
}

.founder-card figure {
  overflow: hidden;
  margin: 0;
  border-radius: 14px;
  background: var(--surface-2);
}

.founder-card h2 {
  margin-top: 13px;
}

.founder-card > div > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
}

.notice-list {
  border-top: 1px solid var(--border-strong);
}

.notice-list article {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 92px;
}

.notice-list h2 {
  font-size: 29px;
}

.notice-list article > div > p {
  max-width: 820px;
  margin-top: 12px;
  color: var(--muted);
}

.login-section {
  display: grid;
  min-height: calc(100vh - 72px);
  place-items: center;
  padding: 64px 24px;
}

.login-card {
  width: min(100%, 600px);
  padding: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.009));
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin-top: 15px;
  font-size: clamp(36px, 5vw, 49px);
}

.login-card > p:not(.eyebrow) {
  margin-top: 17px;
  color: var(--muted);
}

.login-note {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 24px;
  text-align: center;
}

.not-found > div {
  max-width: 620px;
}

.not-found h1 {
  margin-top: 14px;
  font-size: clamp(44px, 7vw, 64px);
}

.not-found p:not(.eyebrow) {
  margin-top: 17px;
  color: var(--muted);
}

.not-found .actions {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #061018;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.72fr 0.84fr 0.95fr;
  gap: 48px;
  padding: 54px 0;
}

.footer-brand > p {
  max-width: 280px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.footer-heading {
  margin-bottom: 12px;
  color: var(--muted);
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-nav a,
.footer-contact a {
  color: var(--muted);
  font-size: 13px;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--text);
}

.footer-bottom {
  padding: 19px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.back-to-top:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 360ms ease-out,
    transform 360ms ease-out;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero-grid,
  .intro-grid,
  .governance-grid,
  .stage-layout,
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-product {
    max-width: 820px;
    transform: none;
  }

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

  .stage-list article {
    grid-template-columns: 100px 180px 1fr;
  }

  .cta-grid .actions {
    justify-content: flex-start;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .product-frame {
    grid-column: auto;
    grid-row: auto;
  }

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

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 34px), var(--content));
  }

  .section {
    padding: 58px 0;
  }

  .hero,
  .page-hero {
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(36px, 11.5vw, 41px);
    line-height: 1.07;
  }

  h2 {
    font-size: clamp(31px, 9.5vw, 37px);
  }

  .lead,
  .prose-lg {
    font-size: 16px;
  }

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

  .button {
    width: 100%;
  }

  .card-grid.three,
  .card-grid.two,
  .process-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .info-card,
  .process-grid li {
    min-height: 0;
  }

  .stage-list article {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .stage-list article > p:last-child {
    margin-top: 5px;
  }

  .process-stack li,
  .notice-list article {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
  }

  .process-stack h3 {
    font-size: 21px;
  }

  .notice-list h2 {
    font-size: 25px;
  }

  .founder-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }

  .founder-card figure {
    max-width: 260px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .login-card {
    padding: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .scroll-progress,
  .skip-link,
  .actions,
  .back-to-top {
    display: none !important;
  }

  html,
  body,
  .surface,
  .cta-section,
  .site-footer {
    color: #111 !important;
    background: #fff !important;
  }

  .section,
  .hero,
  .page-hero {
    padding: 24px 0 !important;
  }

  p,
  li,
  a,
  .lead,
  .prose-lg {
    color: #111 !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
