:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef3fb;
  --text: #0f172a;
  --muted: #54627a;
  --line: #dde5f0;
  --primary: #263a8b;
  --primary-2: #1c2b66;
  --teal: #0f766e;
  --warm: #b45309;
  --rose: #d94b5e;
  --teks-tint: #eaf0ff;
  --ngss-tint: #e7f7ef;
  --warm-tint: #fff5df;
  --rose-tint: #ffedf1;
  --shadow: 0 20px 50px rgba(18, 31, 76, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.wrap {
  width: min(var(--content), calc(100vw - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(246, 248, 252, 0.82);
  border-bottom: 1px solid rgba(221, 229, 240, 0.8);
}

.site-header.dark {
  background: rgba(17, 26, 63, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: white;
}

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

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(38, 58, 139, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.nav a.active {
  color: var(--primary);
}

.site-header.dark .nav a.active {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: inherit;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(17, 26, 63, 0.7), rgba(17, 26, 63, 0.88)),
    url("assets/site/play_feature_graphic_1024x500.png") center/cover no-repeat;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 82%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 86px 0 48px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
}

h1,
.page-title {
  margin: 18px 0 14px;
  font-size: clamp(46px, 8vw, 76px);
  line-height: 0.98;
  font-weight: 800;
}

.hero p.lead,
.page-lead {
  max-width: 650px;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

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

.button.primary {
  background: white;
  color: var(--primary-2);
  box-shadow: 0 14px 34px rgba(18, 31, 76, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.14);
}

.hero-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  margin-top: 42px;
}

.phone-stack {
  position: relative;
  min-height: 640px;
}

.phone {
  position: absolute;
  width: min(34vw, 286px);
  border-radius: 38px;
  box-shadow: 0 28px 58px rgba(10, 18, 48, 0.34);
}

.phone.main {
  left: 0;
  bottom: 0;
}

.phone.secondary {
  left: 210px;
  bottom: 34px;
  transform: rotate(5deg);
}

.phone.tertiary {
  left: 388px;
  bottom: -8px;
  transform: rotate(11deg);
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: white;
}

.section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.02;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.metric-grid,
.feature-grid,
.legal-grid,
.price-grid {
  display: grid;
  gap: 18px;
}

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

.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.metric strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 8px;
}

.metric span {
  color: var(--muted);
  line-height: 1.5;
}

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

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.feature p,
.feature li {
  color: var(--muted);
  line-height: 1.6;
}

.feature ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.story-block {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.story-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.story-copy h3 {
  margin: 0 0 12px;
  font-size: 30px;
}

.story-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.story-copy ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.shot-frame {
  position: relative;
  padding: 18px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(38, 58, 139, 0.12), rgba(38, 58, 139, 0.02)),
    white;
  border: 1px solid rgba(38, 58, 139, 0.12);
}

.shot-frame img {
  width: 100%;
  border-radius: 26px;
}

.pricing-band {
  background: linear-gradient(180deg, #182655, #10183e);
  color: white;
}

.price-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.price-copy p,
.pricing-card p,
.pricing-card li {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-card {
  border-radius: 28px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.plan-list {
  display: grid;
  gap: 14px;
}

.plan {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.plan strong {
  display: block;
  margin-bottom: 6px;
}

.plan .tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 700;
}

.plan .price {
  font-size: 24px;
  font-weight: 800;
  white-space: nowrap;
}

.legal-page {
  padding: 60px 0 90px;
}

.legal-hero {
  padding: 28px 0 18px;
}

.legal-hero .page-title {
  color: var(--text);
  font-size: clamp(34px, 6vw, 58px);
}

.legal-hero .page-lead {
  color: var(--muted);
}

.legal-grid {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}

.legal-nav {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 10px;
}

.legal-nav a {
  display: inline-flex;
  padding: 12px 14px;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.legal-content {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
}

.legal-content section + section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

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

.callout {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
}

.site-footer {
  padding: 28px 0 44px;
  background: #10183e;
  color: rgba(255, 255, 255, 0.72);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

.footer-links a:hover {
  color: white;
}

.store-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-weight: 700;
}

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

@media (max-width: 1100px) {
  .hero-stage,
  .story-block,
  .price-grid,
  .legal-grid,
  .feature-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .phone-stack {
    min-height: 580px;
  }

  .phone.main {
    left: 0;
  }

  .phone.secondary {
    left: min(31vw, 230px);
  }

  .phone.tertiary {
    left: min(52vw, 388px);
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(17, 26, 63, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header:not(.dark) .nav {
    background: rgba(255, 255, 255, 0.98);
    border-color: var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
  }

  .hero-inner {
    padding-top: 68px;
  }

  h1,
  .page-title {
    font-size: clamp(40px, 14vw, 56px);
  }

  .hero p.lead,
  .page-lead,
  .section-head p {
    font-size: 17px;
  }

  .phone-stack {
    min-height: 490px;
    margin-top: 10px;
  }

  .phone {
    width: min(48vw, 220px);
  }

  .phone.secondary {
    left: 30%;
  }

  .phone.tertiary {
    left: 55%;
  }

  .section,
  .legal-page {
    padding: 66px 0;
  }

  .legal-content {
    padding: 22px;
  }
}
