:root {
  --bg: #070b22;
  --bg-2: #0d1433;
  --text: #eceff8;
  --muted: #9aa3b2;
  --quiet: rgba(236, 239, 248, 0.68);
  --faint: rgba(236, 239, 248, 0.44);
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(255, 255, 255, 0.055);
  --recover: #82d8f3;
  --open: #72e3ae;
  --focus: #7b7de4;
  --sun: #ffe56f;
  --shadow: rgba(0, 0, 0, 0.34);
  --mono: ui-monospace, "SF Mono", "Space Mono", Menlo, Monaco, Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  color-scheme: dark;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 229, 111, 0.13), transparent 250px),
    linear-gradient(180deg, #070b22 0%, #0a0f2b 52%, #111a39 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 255, 255, 0.46) 0 1px, transparent 1.5px);
  background-position: 28px 42px, 104px 152px;
  background-size: 190px 230px, 280px 320px;
  opacity: 0.36;
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: auto 0 0;
  z-index: -1;
  height: 260px;
  content: "";
  background:
    linear-gradient(145deg, transparent 0 34%, rgba(23, 28, 65, 0.82) 34% 44%, transparent 44%),
    linear-gradient(215deg, transparent 0 41%, rgba(20, 25, 59, 0.7) 41% 52%, transparent 52%),
    linear-gradient(160deg, transparent 0 42%, rgba(14, 18, 48, 0.76) 42% 55%, transparent 55%);
  opacity: 0.68;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration-color: rgba(114, 227, 174, 0.64);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: #ffffff;
  text-decoration-color: var(--open);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 11, 34, 0.7);
  backdrop-filter: blur(20px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 35px;
  height: 35px;
  border-radius: 9px;
  box-shadow: 0 12px 34px rgba(114, 227, 174, 0.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.nav-links a {
  text-decoration: none;
}

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

.app-hero {
  position: relative;
  overflow: hidden;
}

.app-hero::before {
  position: absolute;
  right: -80px;
  bottom: -110px;
  left: -80px;
  height: 320px;
  content: "";
  background:
    linear-gradient(140deg, transparent 0 38%, rgba(28, 34, 75, 0.76) 38% 52%, transparent 52%),
    linear-gradient(220deg, transparent 0 35%, rgba(30, 36, 80, 0.66) 35% 48%, transparent 48%),
    linear-gradient(154deg, transparent 0 45%, rgba(17, 23, 58, 0.78) 45% 57%, transparent 57%);
  opacity: 0.68;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 64px;
  align-items: center;
  padding: 64px 0 70px;
}

.hero-copy-block {
  max-width: 690px;
}

.kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--open);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 78px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--quiet);
  font-size: 20px;
  line-height: 1.72;
}

.stance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0 0 34px;
}

.stance-choice {
  display: inline-grid;
  gap: 10px;
  align-items: center;
  justify-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.swatch {
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow: 9px 10px 0 rgba(0, 0, 0, 0.2), 0 0 28px rgba(114, 227, 174, 0.1);
}

.swatch-recover,
.step-recover {
  background: linear-gradient(145deg, #9ce2ff, #79cff0);
}

.swatch-open,
.step-open {
  background: linear-gradient(145deg, #74e0ad, #62dca8);
}

.swatch-focus,
.step-focus {
  background: linear-gradient(145deg, #898af2, #686dd0);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 38px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.button-primary {
  min-width: 250px;
  border-color: rgba(130, 216, 243, 0.42);
  background: linear-gradient(90deg, #83d9ec 0%, #77e5ad 50%, #6f8fd6 100%);
  color: #071415;
}

.button-muted {
  color: var(--quiet);
}

.button[aria-disabled="true"] {
  cursor: default;
}

.home-note {
  margin-top: 16px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
}

.product-shot {
  justify-self: end;
  width: 320px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 38px;
  background: #050813;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44), 0 0 70px rgba(114, 227, 174, 0.13);
}

.product-shot img {
  width: 100%;
  height: auto;
}

.section {
  position: relative;
  z-index: 1;
  padding: 64px 0 76px;
}

.practice-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section h2 {
  max-width: 780px;
  margin-bottom: 18px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-intro {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--quiet);
  font-size: 18px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  min-height: 178px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 54px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.step-mark {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: 12px;
  box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.22);
}

.step strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 18px;
}

.step p {
  margin: 0;
  color: var(--quiet);
}

.page-main {
  padding: 72px 0 88px;
}

.page-card {
  max-width: 780px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 24px 70px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-card h1 {
  margin-bottom: 12px;
  font-size: 52px;
}

.lead {
  color: var(--quiet);
  font-size: 18px;
}

.contact-line {
  margin: 28px 0;
  padding: 18px;
  border: 1px solid rgba(114, 227, 174, 0.32);
  border-radius: 8px;
  background: rgba(114, 227, 174, 0.08);
}

.contact-line a {
  color: #ffffff;
  font-weight: 700;
}

.legal-content {
  max-width: 850px;
}

.legal-content h1 {
  margin-bottom: 8px;
  font-size: 58px;
}

.updated {
  margin-bottom: 30px;
  color: var(--muted);
  font-family: var(--mono);
}

.legal-content h2 {
  margin: 34px 0 10px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.legal-content p,
.legal-content li {
  color: var(--quiet);
}

.legal-content ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-content ol {
  margin: 12px 0 0;
  padding-left: 24px;
}

.legal-content li + li {
  margin-top: 8px;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0;
  font-family: var(--mono);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 48px 0 58px;
  }

  .product-shot {
    justify-self: center;
    width: 270px;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    min-height: 64px;
  }

  .nav-links {
    gap: 12px;
    font-size: 12px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .stance-row {
    gap: 14px;
  }

  .swatch {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .product-shot {
    width: 235px;
    border-radius: 30px;
  }

  .section {
    padding: 54px 0;
  }

  .section h2 {
    font-size: 32px;
  }

  .step-list {
    grid-template-columns: 1fr;
  }

  .page-main {
    padding: 46px 0 64px;
  }

  .page-card {
    padding: 24px;
  }

  .page-card h1,
  .legal-content h1 {
    font-size: 40px;
  }

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

@media (max-width: 500px) {
  .brand span {
    display: none;
  }

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

  .button {
    width: 100%;
  }

  .button-primary {
    min-width: 0;
  }

  .product-shot {
    width: 215px;
  }
}
