/* ===== Moment — landing page styles ===== */

:root {
  --m-bg: #0F1117;
  --m-card: #171A23;
  --m-raised: #1B1F2A;
  --m-deep: #12141B;
  --m-text: #E8EAF0;
  --m-muted: #9AA2B4;
  --m-dim: #6F7688;
  --m-line: #262B38;
  --m-line-soft: #1F2430;
  --m-accent: #6C5CE7;
  --m-accent-soft: #8B7CF6;
  --m-accent-deep: #241F3D;
  --m-accent-line: #3A2F66;
  --m-accent-text: #C7BFFB;
  --m-success: #22C55E;
  --m-error: #EF4444;
  --m-warn: #F59E0B;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--m-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--m-bg);
  color: var(--m-text);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--m-accent-text);
  text-decoration: none;
}

a:hover {
  color: var(--m-accent-soft);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--m-accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ===== Background decoration ===== */

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-glow::before,
.bg-glow::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
}

.bg-glow::before {
  background: var(--m-accent);
  top: -220px;
  left: -160px;
}

.bg-glow::after {
  background: var(--m-accent-soft);
  top: 40%;
  right: -220px;
}

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 17, 23, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--m-line-soft);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--m-text);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--m-accent), var(--m-accent-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--m-accent-line);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.age-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--m-dim);
  border: 1px solid var(--m-line);
  border-radius: 6px;
  padding: 2px 6px;
  margin-left: 4px;
}

.header-nav {
  display: none;
  gap: 28px;
  align-items: center;
}

.header-nav a {
  color: var(--m-muted);
  font-size: 15px;
}

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

@media (min-width: 880px) {
  .header-nav {
    display: flex;
  }
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent-soft));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(108, 92, 231, 0.55);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--m-accent-soft), var(--m-accent));
}

.btn-ghost {
  background: transparent;
  border-color: var(--m-line);
  color: var(--m-text);
}

.btn-ghost:hover {
  border-color: var(--m-accent-line);
  color: var(--m-accent-text);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ===== Breadcrumbs ===== */

.breadcrumbs {
  padding: 18px 0 0;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--m-dim);
}

.breadcrumbs a {
  color: var(--m-dim);
}

.breadcrumbs a:hover {
  color: var(--m-accent-text);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--m-line);
}

/* ===== Section scaffolding ===== */

section {
  padding: 88px 0;
  position: relative;
}

.section-tight {
  padding: 64px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--m-accent-text);
  background: var(--m-accent-deep);
  border: 1px solid var(--m-accent-line);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--m-text);
}

h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12;
}

h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
}

h3 {
  font-size: 19px;
  line-height: 1.3;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p {
  color: var(--m-muted);
  font-size: 17px;
  margin-top: 14px;
}

p {
  margin: 0 0 14px;
  color: var(--m-muted);
  max-width: 62ch;
}

.lede {
  font-size: 18px;
  color: var(--m-muted);
}

/* ===== Hero ===== */

.hero {
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero-copy h1 {
  margin-bottom: 18px;
}

.hero-copy .lede {
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-fineprint {
  font-size: 13px;
  color: var(--m-dim);
  max-width: 48ch;
}

.hero-fineprint strong {
  color: var(--m-muted);
}

.hero-visual {
  position: relative;
}

.hero-bg-shot {
  position: absolute;
  inset: -10%;
  z-index: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0.5;
  filter: blur(1px);
}

.hero-bg-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Chat mockup ===== */

.chat-mockup {
  position: relative;
  z-index: 1;
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}

.chat-mockup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--m-line-soft);
  background: var(--m-deep);
}

.chat-mockup-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-dots {
  display: flex;
  gap: 6px;
}

.chat-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--m-line);
}

.chat-mockup-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--m-muted);
}

.chat-model-switch {
  display: flex;
  gap: 6px;
}

.model-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--m-line);
  color: var(--m-dim);
  background: var(--m-raised);
}

.model-pill.is-active {
  border-color: var(--m-accent-line);
  color: var(--m-accent-text);
  background: var(--m-accent-deep);
}

.chat-mockup-body {
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 300px;
}

.chat-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.chat-row.is-user {
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--m-line);
}

.chat-avatar.is-user-avatar {
  background: var(--m-raised);
  color: var(--m-muted);
}

.chat-avatar.is-model-avatar {
  background: linear-gradient(145deg, var(--m-accent), var(--m-accent-deep));
  color: #fff;
  border-color: var(--m-accent-line);
}

.chat-bubble {
  background: var(--m-raised);
  border: 1px solid var(--m-line-soft);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--m-text);
  max-width: 320px;
}

.chat-row.is-user .chat-bubble {
  background: var(--m-accent-deep);
  border-color: var(--m-accent-line);
  color: var(--m-accent-text);
}

.chat-bubble .chat-model-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--m-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.chat-mockup-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--m-line-soft);
  background: var(--m-deep);
}

.chat-mockup-input .fake-input {
  flex: 1;
  background: var(--m-raised);
  border: 1px solid var(--m-line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--m-dim);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--m-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-send-btn svg {
  width: 16px;
  height: 16px;
}

/* ===== Stats tiles ===== */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 720px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-tile {
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: left;
}

.stat-number {
  font-size: 34px;
  font-weight: 800;
  color: var(--m-text);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-number .accent {
  color: var(--m-accent-text);
}

.stat-label {
  font-size: 14px;
  color: var(--m-muted);
  margin: 0;
}

/* ===== Axes section ===== */

.axes-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .axes-wrap {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.axes-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--m-line);
}

.axes-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.axis-card {
  display: flex;
  gap: 16px;
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.axis-index {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--m-accent-deep);
  border: 1px solid var(--m-accent-line);
  color: var(--m-accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}

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

.axis-card p {
  font-size: 14.5px;
  margin: 0;
}

/* ===== Scenario cards ===== */

.scenario-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 760px) {
  .scenario-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.scenario-card {
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scenario-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--m-accent-deep);
  border: 1px solid var(--m-accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scenario-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--m-accent-text);
}

.scenario-card p {
  font-size: 14.5px;
  margin: 0;
}

.scenario-prompt {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  background: var(--m-deep);
  border: 1px solid var(--m-line-soft);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--m-accent-text);
  overflow-x: auto;
}

.scenario-prompt::before {
  content: "> ";
  color: var(--m-dim);
}

/* ===== Comparison table ===== */

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--m-line);
}

table.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: var(--m-card);
}

.compare-table caption {
  text-align: left;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--m-dim);
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--m-line-soft);
  font-size: 14.5px;
  color: var(--m-muted);
  vertical-align: top;
}

.compare-table thead th {
  background: var(--m-raised);
  color: var(--m-text);
  font-size: 14px;
  font-weight: 700;
  position: sticky;
  top: 0;
}

.compare-table tbody th {
  color: var(--m-text);
  font-weight: 600;
  white-space: nowrap;
}

.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th {
  border-bottom: none;
}

.family-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--m-accent-text);
  background: var(--m-accent-deep);
  border: 1px solid var(--m-accent-line);
  border-radius: 100px;
  padding: 2px 10px;
  margin-top: 4px;
}

/* ===== Myth / callout ===== */

.myth-panel {
  background: linear-gradient(160deg, var(--m-raised), var(--m-card));
  border: 1px solid var(--m-line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 880px) {
  .myth-panel {
    grid-template-columns: 0.8fr 1.2fr;
    padding: 48px;
  }
}

.myth-quote {
  font-size: 24px;
  font-weight: 700;
  color: var(--m-text);
  line-height: 1.3;
}

.myth-quote span {
  color: var(--m-accent-text);
}

.myth-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.myth-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.myth-point svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--m-warn);
  margin-top: 2px;
}

.myth-point p {
  margin: 0;
  font-size: 15px;
}

/* ===== Steps / how to choose ===== */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: var(--m-line);
    z-index: 0;
  }
}

.step-card {
  position: relative;
  z-index: 1;
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 20px;
}

@media (min-width: 760px) {
  .step-card {
    margin-bottom: 0;
  }
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--m-accent-deep);
  border: 1px solid var(--m-accent-line);
  color: var(--m-accent-text);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-card p {
  font-size: 14.5px;
  margin: 0;
}

/* ===== Choice visual block ===== */

.choice-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .choice-wrap {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.choice-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--m-line);
  order: -1;
}

@media (min-width: 960px) {
  .choice-image {
    order: 2;
  }
}

/* ===== FAQ accordion ===== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: var(--radius-md);
  padding: 4px 22px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--m-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--m-line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--m-muted);
  transition: transform 0.2s ease;
}

.faq-icon::before {
  width: 10px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 10px;
}

.faq-item[open] .faq-icon::after {
  transform: scaleY(0);
}

.faq-item[open] summary {
  color: var(--m-accent-text);
}

.faq-answer {
  padding: 0 0 20px;
  color: var(--m-muted);
  font-size: 14.5px;
}

.faq-answer p {
  margin: 0;
}

/* ===== Final CTA ===== */

.cta-panel {
  background: radial-gradient(circle at 30% 20%, var(--m-accent-deep), var(--m-card));
  border: 1px solid var(--m-accent-line);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
}

.cta-panel h2 {
  margin-bottom: 14px;
}

.cta-panel .lede {
  max-width: 560px;
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.cta-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--m-dim);
}

/* ===== Disclaimer blocks ===== */

.disclaimer {
  background: var(--m-deep);
  border: 1px solid var(--m-line-soft);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 13.5px;
  color: var(--m-dim);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.disclaimer svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--m-warn);
  margin-top: 2px;
}

.disclaimer p {
  margin: 0;
  color: var(--m-dim);
  max-width: none;
}

.disclaimer strong {
  color: var(--m-muted);
}

/* ===== Footer ===== */

.site-footer {
  border-top: 1px solid var(--m-line-soft);
  padding: 56px 0 32px;
  background: var(--m-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--m-dim);
  max-width: 40ch;
}

.footer-col h3 {
  font-size: 14px;
  color: var(--m-muted);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--m-dim);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--m-accent-text);
}

.footer-legal {
  border-top: 1px solid var(--m-line-soft);
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--m-dim);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-legal .trademark-note {
  max-width: 80ch;
}

/* ===== Section utility ===== */

.text-center {
  text-align: center;
}

.mt-48 {
  margin-top: 48px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0, 0, 0, 0);
}
