:root {
  color-scheme: light;
  --ink: #f7f4ea;
  --ink-dark: #172033;
  --muted: #b9bdc7;
  --muted-dark: #5e6a7c;
  --line: rgba(255, 255, 255, 0.12);
  --line-light: #dce3ea;
  --paper: #f7f8fb;
  --night: #05070b;
  --night-soft: #0b1320;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-light: #ffffff;
  --gold: #f3c578;
  --blue: #37a8ff;
  --green: #6bd7a0;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.marketing-page {
  background:
    radial-gradient(circle at 18% 8%, rgba(55, 168, 255, 0.16), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(243, 197, 120, 0.16), transparent 26%),
    var(--night);
  color: var(--ink);
}

.site-header {
  align-items: center;
  background: rgba(247, 248, 251, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 227, 234, 0.9);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.dark-header {
  background: rgba(5, 7, 11, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  aspect-ratio: 1;
  border-radius: 9px;
  width: 38px;
}

.brand-icon {
  display: block;
  object-fit: cover;
}

.nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  font-size: 14px;
}

.nav a {
  color: var(--muted-dark);
  font-weight: 600;
  text-decoration: none;
}

.dark-header .nav a {
  color: rgba(255, 255, 255, 0.68);
}

.nav a:hover,
.nav a[aria-current="page"],
.dark-header .nav a:hover,
.dark-header .nav a[aria-current="page"] {
  color: currentColor;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(32px, 7vw, 92px);
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  min-height: calc(100vh - 72px);
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.dream-hero {
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.98) 0%, rgba(5, 7, 11, 0.86) 54%, rgba(5, 7, 11, 0.5) 100%),
    radial-gradient(circle at 76% 20%, rgba(243, 197, 120, 0.22), transparent 24%),
    radial-gradient(circle at 26% 76%, rgba(55, 168, 255, 0.14), transparent 32%),
    var(--night);
  position: relative;
}

.dream-hero::before {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(243, 197, 120, 0.78) 0 1px, transparent 1.4px);
  background-position: 0 0, 44px 58px;
  background-size: 130px 130px, 170px 170px;
  content: "";
  inset: 0;
  opacity: 0.24;
  pointer-events: none;
  position: absolute;
}

.hero-copy {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(36px, 5.8vw, 68px);
  line-height: 1.08;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.22;
  margin-bottom: 18px;
}

h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2.3vw, 23px);
  max-width: 720px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  text-decoration: none;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

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

.hero-media img {
  border-radius: 32px;
  box-shadow: var(--shadow);
  display: block;
  max-height: min(78vh, 820px);
  object-fit: cover;
  width: 100%;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 64px);
}

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

.narrow-heading {
  max-width: 760px;
}

.quiet-section,
.goal-section {
  background:
    radial-gradient(circle at 84% 26%, rgba(243, 197, 120, 0.12), transparent 26%),
    #080c14;
}

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

.wide-copy {
  max-width: 980px;
}

.copy-block p,
.badge-copy p,
.showcase-copy p,
.final-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 2vw, 20px);
}

.step-section {
  background: #0d1421;
}

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

.step-card,
.feature-card,
.support-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  padding: 24px;
}

.step-card span {
  align-items: center;
  border: 1px solid rgba(243, 197, 120, 0.56);
  border-radius: 999px;
  color: var(--gold);
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 18px;
  width: 34px;
}

.step-card p,
.feature-card p {
  color: rgba(255, 255, 255, 0.68);
}

.showcase-section {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.92), rgba(5, 7, 11, 0.72)),
    #05070b;
  display: grid;
  gap: clamp(32px, 6vw, 88px);
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.72fr);
}

.showcase-copy {
  max-width: 640px;
}

.showcase-image img,
.usecase-image img {
  border-radius: 30px;
  box-shadow: var(--shadow);
  display: block;
  width: 100%;
}

.badge-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(107, 215, 160, 0.12), transparent 28%),
    #0d1421;
}

.badge-layout {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
}

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

.badge-gallery figure {
  background: #fffdf7;
  border: 1px solid rgba(243, 197, 120, 0.22);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.badge-gallery img {
  display: block;
  padding: 10px;
  width: 100%;
}

.badge-gallery figcaption {
  color: #3a2a16;
  font-weight: 800;
  padding: 10px 12px 12px;
  text-align: center;
}

.mystery-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(243, 197, 120, 0.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  padding: 18px;
  text-align: center;
}

.mystery-badge span {
  align-items: center;
  border: 1px solid rgba(243, 197, 120, 0.38);
  border-radius: 999px;
  color: var(--gold);
  display: inline-flex;
  font-size: 42px;
  font-weight: 900;
  height: 74px;
  justify-content: center;
  margin-bottom: 12px;
  width: 74px;
}

.mystery-badge small {
  color: rgba(255, 255, 255, 0.64);
  font-weight: 800;
}

.usecase-section {
  background: #f7f8fb;
  color: var(--ink-dark);
}

.usecase-section .eyebrow {
  color: #2f7a62;
}

.usecase-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.usecase-list span {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: #243044;
  font-weight: 800;
  padding: 9px 14px;
}

.usecase-image {
  margin: 0 auto;
  max-width: 620px;
}

.final-cta {
  background:
    radial-gradient(circle at 50% 0%, rgba(243, 197, 120, 0.2), transparent 35%),
    var(--night);
  display: flex;
  justify-content: center;
}

.final-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  max-width: 820px;
  padding: clamp(28px, 6vw, 56px);
  text-align: center;
}

.final-icon {
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  margin-bottom: 22px;
  width: 86px;
}

.final-card small {
  color: rgba(255, 255, 255, 0.48);
  margin-top: 14px;
}

.text-link {
  color: #243b67;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.marketing-page .text-link {
  color: var(--gold);
}

.split {
  align-items: start;
  border-top: 1px solid var(--line-light);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
}

.support-hero {
  background: linear-gradient(135deg, #fff, #edf5f2);
  border-bottom: 1px solid var(--line-light);
  padding: clamp(56px, 9vw, 104px) clamp(20px, 5vw, 64px);
}

.support-hero h1 {
  font-size: clamp(44px, 7vw, 76px);
}

.support-hero .lead,
.support-panel p,
body:not(.marketing-page) .copy-block p,
.legal-panel p {
  color: var(--muted-dark);
}

.support-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-panel {
  background: var(--panel-light);
  border-color: var(--line-light);
  box-shadow: 0 10px 28px rgba(31, 45, 72, 0.06);
}

.legal-layout {
  display: flex;
  justify-content: center;
}

.legal-panel {
  background: var(--panel-light);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(31, 45, 72, 0.06);
  max-width: 920px;
  padding: clamp(24px, 5vw, 48px);
}

.legal-panel h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 36px 0 10px;
}

.legal-panel h2:first-child {
  margin-top: 0;
}

.policy-date {
  border-top: 1px solid var(--line-light);
  margin: 36px 0 0;
  padding-top: 20px;
}

details {
  border-top: 1px solid var(--line-light);
  padding: 16px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line-light);
}

summary {
  cursor: pointer;
  font-weight: 700;
}

summary + p {
  margin: 10px 0 0;
}

.note {
  font-size: 13px;
  margin: 16px 0 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line-light);
  color: var(--muted-dark);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 64px);
}

.dark-footer {
  background: #05070b;
  border-top-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
}

.site-footer a {
  font-weight: 700;
  text-decoration: none;
}

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

@media (max-width: 920px) {
  .hero,
  .showcase-section,
  .badge-layout,
  .step-grid,
  .feature-grid,
  .split,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    margin: 0 auto;
    max-width: 480px;
  }

  .showcase-image,
  .usecase-image {
    margin: 0 auto;
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    flex-wrap: wrap;
  }

  h1 {
    font-size: clamp(34px, 10.5vw, 48px);
  }

  .button {
    width: 100%;
  }

  .hero-media img,
  .showcase-image img,
  .usecase-image img {
    border-radius: 22px;
  }

  .badge-gallery {
    grid-template-columns: 1fr;
  }
}
