:root {
  --color-bg: #071018;
  --color-bg-soft: #0e1a24;
  --color-panel: #111f2c;
  --color-panel-light: #172939;
  --color-text: #f7fbff;
  --color-muted: #a7b6c5;
  --color-line: rgba(255, 255, 255, 0.12);
  --color-gold: #d9a441;
  --color-gold-light: #f2c96d;
  --color-teal: #4ecdc4;
  --color-blue: #3f8ec9;
  --shadow-panel: 0 20px 60px rgba(0, 0, 0, 0.32);
  --max-width: 1120px;
  --radius-card: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(7, 16, 24, 0.92), rgba(7, 16, 24, 0.54));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.solid {
  position: sticky;
  background: var(--color-bg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  background: var(--color-bg);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-bg-soft);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-text);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  padding: 120px clamp(18px, 5vw, 72px) 80px;
  background-image: linear-gradient(90deg, rgba(7, 16, 24, 0.92), rgba(7, 16, 24, 0.62), rgba(7, 16, 24, 0.2)), url("https://images.unsplash.com/photo-1743485753817-cdfcf2fbb9c0?auto=format&fit=crop&w=1800&q=82");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 24, 0.12), var(--color-bg));
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  color: var(--color-gold-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 9vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 620px;
  color: #d9e6f2;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.25;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--color-gold);
  color: #091018;
}

.button-secondary {
  background: var(--color-teal);
  color: #071018;
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.08);
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #d9e6f2;
  font-weight: 900;
}

.store-button small {
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.store-button.disabled {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.58;
}

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

.hero-points span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #d9e6f2;
  background: rgba(7, 16, 24, 0.42);
  font-size: 13px;
  font-weight: 800;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 92px 20px;
}

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

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

.section h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-copy {
  color: var(--color-muted);
  font-size: 18px;
}

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

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

.mlc-section,
.faq-section {
  max-width: 1240px;
}

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

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

.info-card,
.screen-card,
.roadmap-card,
.feature-row,
.early-access-panel,
.legal-card,
.principle-card,
.faq-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, var(--color-panel), var(--color-bg-soft));
  box-shadow: var(--shadow-panel);
}

.info-card,
.principle-card,
.faq-card {
  padding: 22px;
}

.principle-card {
  position: relative;
  overflow: hidden;
}

.principle-card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(78, 205, 196, 0.28);
  border-radius: 999px;
}

.principle-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 20px;
  padding: 0 10px;
  border: 1px solid rgba(242, 201, 109, 0.34);
  border-radius: 8px;
  color: var(--color-gold-light);
  background: rgba(217, 164, 65, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.principle-card h3,
.faq-card h3 {
  margin-bottom: 8px;
}

.principle-card p,
.faq-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.step-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--color-teal);
  font-weight: 900;
}

.info-card h3,
.feature-row h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.info-card p,
.feature-row p,
.early-access-panel p,
.legal-card p {
  color: var(--color-muted);
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 6vw, 70px);
  align-items: start;
}

.split-section.reverse {
  grid-template-columns: 1.15fr 0.85fr;
}

.split-section.reverse > div:first-child {
  order: 2;
}

.app-tour {
  max-width: 1240px;
}

.tour-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

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

.showcase-phone {
  position: relative;
  max-width: 380px;
  justify-self: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, #13273a, #08111b);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.showcase-phone::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.2), transparent 68%);
}

.showcase-phone img {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
}

.showcase-caption {
  display: grid;
  gap: 4px;
  padding: 14px 4px 2px;
}

.showcase-caption span {
  color: var(--color-muted);
  font-size: 14px;
}

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

.feature-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: #071018;
  background: var(--color-gold-light);
  font-weight: 900;
}

.early-access {
  padding-top: 40px;
}

.screenshot-section {
  max-width: 1240px;
}

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

.screen-card {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.screen-card.large {
  grid-row: span 2;
}

.screen-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #050b10;
}

.screen-card.large img {
  height: 620px;
}

.screen-card h3 {
  margin-bottom: 6px;
}

.screen-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.roadmap-section {
  max-width: 1240px;
}

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

.roadmap-card {
  padding: 22px;
}

.roadmap-card span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.roadmap-card.complete span {
  color: #092016;
  background: #55d696;
}

.roadmap-card.active span {
  color: #071018;
  background: var(--color-gold-light);
}

.roadmap-card.soon span {
  color: #d9e6f2;
  background: rgba(255, 255, 255, 0.12);
}

.roadmap-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.early-access-panel {
  padding: clamp(28px, 6vw, 54px);
  background: linear-gradient(135deg, #13293b, #0d1b28 55%, #171707);
}

.early-access-panel h2 {
  max-width: 720px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: var(--color-muted);
  border-top: 1px solid var(--color-line);
  background: #050b10;
}

.site-footer strong {
  color: var(--color-text);
}

.site-footer a {
  color: #d9e6f2;
  font-weight: 800;
}

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

.legal-page {
  min-height: 100svh;
  background: linear-gradient(180deg, var(--color-bg), #0b1620);
}

.legal-wrapper {
  max-width: 880px;
  margin: 0 auto;
  padding: 70px 20px 90px;
}

.legal-card {
  padding: clamp(24px, 5vw, 44px);
}

.legal-card h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
}

.legal-card h2 {
  margin-top: 28px;
  color: var(--color-text);
}


.legal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.legal-meta div {
  padding: 16px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.legal-meta span {
  display: block;
  margin-bottom: 6px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-meta strong,
.legal-meta a {
  color: var(--color-text);
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}

.document-frame {
  display: block;
  width: 100%;
  min-height: 72vh;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #ffffff;
}


.legal-updated {
  margin: 8px 0 18px;
  color: var(--color-gold-light) !important;
  font-weight: 800;
}

.legal-section {
  margin-top: 30px;
}

.legal-section h3 {
  margin: 18px 0 8px;
  color: var(--color-text);
  font-size: 18px;
}

.legal-section ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--color-muted);
}

.legal-section li {
  margin: 7px 0;
}

@media print {
  :root {
    --color-bg: #ffffff;
    --color-bg-soft: #ffffff;
    --color-panel: #ffffff;
    --color-text: #111827;
    --color-muted: #334155;
    --color-line: #d6dce4;
  }

  body,
  .legal-page {
    background: #ffffff !important;
    color: #111827 !important;
  }

  .site-header,
  .legal-actions,
  script {
    display: none !important;
  }

  .legal-wrapper {
    max-width: none;
    padding: 0;
  }

  .legal-card {
    border: 0;
    box-shadow: none;
    background: #ffffff;
    padding: 0;
  }

  .legal-card h1 {
    font-size: 34px;
  }

  .legal-card h2 {
    break-after: avoid;
    page-break-after: avoid;
  }

  .legal-section {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  a {
    color: #0f4c81 !important;
    text-decoration: none;
  }
}

.warning {
  padding: 14px 16px;
  border: 1px solid rgba(217, 164, 65, 0.55);
  border-radius: 8px;
  color: #fff2d3 !important;
  background: rgba(217, 164, 65, 0.12);
  font-weight: 800;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .site-nav:not(.always-visible) {
    position: absolute;
    top: 74px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-bg-soft);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .steps-grid,
  .why-grid,
  .principles-grid,
  .faq-grid,
  .tour-layout,
  .tour-steps,
  .screenshot-grid,
  .roadmap-grid,
  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
  }

  .showcase-phone {
    max-width: 360px;
  }

  .screen-card.large {
    grid-row: auto;
  }

  .screen-card img,
  .screen-card.large img {
    height: 420px;
  }

  .split-section.reverse > div:first-child {
    order: 0;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .legal-meta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 88svh;
    padding-top: 110px;
    background-position: 62% center;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 64px 16px;
  }

  .screenshot-grid {
    gap: 18px;
  }

  .screen-card img,
  .screen-card.large img {
    height: 520px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .always-visible {
    gap: 12px;
    font-size: 13px;
  }
}
