:root {
  --ink: #e0e0e9;
  --muted: #626170;
  --paper: #fafafa;
  --paper-pop: #eefcff;
  --white: #ffffff;
  --black: #838389;
  --panel: #bfc1cd;
  --line: rgba(180, 180, 187, 0.5);
  --line-dark: rgba(255, 255, 255, 0.16);
  --pink: #ff3f7f;
  --cyan: #14d8ee;
  --lime: #b8f24b;
  --sun: #ffbd2e;
  --blue: #315cff;
  --max: 1180px;
  --shadow: 0 22px 58px rgba(17, 17, 22, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fcff 38%, #fff8e8 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(9, 9, 13, 0.78);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(158, 156, 156, 0.5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 950;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 13px);
  grid-template-rows: repeat(2, 13px);
  gap: 3px;
  width: 29px;
  height: 29px;
  transform: rotate(-8deg);
}

.brand-mark span {
  display: block;
  border-radius: 3px;
}

.brand-mark span:nth-child(1) {
  background: var(--pink);
}

.brand-mark span:nth-child(2) {
  background: var(--cyan);
}

.brand-mark span:nth-child(3) {
  grid-column: 1 / 3;
  background: var(--sun);
}

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

.site-nav a {
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 820;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--black);
  background: var(--lime);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 128px 0 72px;
  color: var(--white);
  background: var(--black);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/app-showcase.png");
  background-size: cover;
  background-position: center;
  filter: saturate(1.2) contrast(1.08);
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(115deg, rgba(161, 161, 204, 0.97) 0%, rgba(9, 9, 13, 0.86) 41%, rgba(9, 9, 13, 0.28) 72%),
    linear-gradient(0deg, rgba(171, 171, 197, 0.88) 0%, rgba(9, 9, 13, 0) 48%),
    repeating-linear-gradient(135deg, rgba(255, 63, 127, 0.13) 0 2px, transparent 2px 34px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 58px;
  align-items: center;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 920;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: 70px;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

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

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

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

.button-primary {
  color: var(--black);
  background: var(--lime);
  box-shadow: 6px 6px 0 var(--pink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d5ff65;
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.15);
}

.hero-tags,
.support-meta,
.text-links,
.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin-top: 42px;
}

.hero-tags span,
.support-meta span,
.text-links a {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 820;
}

.hero-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line-dark);
}

.hero-tags span:nth-child(2) {
  color: var(--black);
  background: var(--sun);
  border-color: transparent;
}

.hero-device {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: 290px;
  min-height: 560px;
  padding: 24px 18px;
  color: var(--white);
  background:
    linear-gradient(180deg, #171821 0%, #08090e 100%);
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 18px 22px 0 rgba(20, 216, 238, 0.24), var(--shadow);
}

.phone-top {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}

.phone-top span {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--pink);
}

.phone-top span:nth-child(2) {
  background: var(--cyan);
}

.phone-top span:nth-child(3) {
  background: var(--sun);
}

.phone-hero-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 63, 127, 0.95), rgba(49, 92, 255, 0.82)),
    url("assets/app-showcase.png") center / cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.phone-hero-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 130px;
  height: 130px;
  background: var(--lime);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0.9;
}

.play-dot {
  display: inline-block;
  width: 44px;
  height: 44px;
  margin-bottom: 82px;
  background: var(--white);
  clip-path: polygon(25% 15%, 25% 85%, 86% 50%);
}

.phone-hero-card strong,
.phone-hero-card p {
  position: relative;
  z-index: 1;
}

.phone-hero-card strong {
  display: block;
  font-size: 25px;
  line-height: 1.16;
}

.phone-hero-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.mini-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.mini-feed span {
  min-height: 72px;
  padding: 12px;
  color: var(--black);
  background: var(--white);
  border-radius: 8px;
  font-weight: 920;
}

.mini-feed span:nth-child(2) {
  background: var(--sun);
}

.mini-feed span:nth-child(3) {
  background: var(--cyan);
}

.mini-feed span:nth-child(4) {
  background: var(--lime);
}

.watch-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  color: var(--black);
  background: var(--sun);
  border-radius: 8px;
}

.watch-strip span {
  font-size: 13px;
  font-weight: 850;
}

.watch-strip strong {
  font-size: 20px;
  line-height: 1;
}

.pulse-strip,
.intro-grid,
.content-section,
.discover-section,
.experience-section,
.support-section,
.site-footer,
.legal-shell {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.pulse-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 0;
  transform: translateY(-42px);
}

.pulse-item {
  min-height: 112px;
  padding: 22px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 8px 8px 0 rgba(99, 99, 102, 0.5);
}

.pulse-item:nth-child(2) {
  background: var(--paper-pop);
}

.pulse-item:nth-child(3) {
  background: #f5ffcf;
}

.pulse-item:nth-child(4) {
  background: #fff2c7;
}

.pulse-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 920;
  text-transform: uppercase;
}

.pulse-item strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 19px;
  line-height: 1.25;
}

.intro-section {
  margin-top: -18px;
  padding: 76px 0;
  background: var(--black);
  box-shadow: 0 0 0 100vmax var(--black);
  clip-path: inset(0 -100vmax);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: start;
  color: var(--white);
}

h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.22;
  letter-spacing: 0;
}

.intro-grid > p,
.discover-copy p,
.experience-panel p,
.support-copy p,
.legal-card p,
.legal-card li {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.intro-grid > p {
  color: rgba(255, 255, 255, 0.72);
}

.content-section {
  padding: 88px 0 82px;
}

.section-heading {
  display: grid;
  gap: 0;
  max-width: 780px;
  margin-bottom: 34px;
}

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

.drama-card,
.discover-card,
.feature-note,
.step {
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(17, 17, 22, 0.08);
}

.drama-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  color: var(--white);
  background: var(--panel);
}

.drama-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 9, 13, 0) 0%, rgba(9, 9, 13, 0.76) 70%),
    linear-gradient(135deg, var(--pink), var(--blue));
}

.drama-card::after {
  content: "";
  position: absolute;
  top: 26px;
  right: 24px;
  width: 54px;
  height: 54px;
  background: var(--white);
  clip-path: polygon(24% 12%, 24% 88%, 88% 50%);
  opacity: 0.92;
}

.drama-card:nth-child(2)::before {
  background:
    linear-gradient(180deg, rgba(9, 9, 13, 0) 0%, rgba(9, 9, 13, 0.78) 70%),
    linear-gradient(135deg, var(--sun), var(--pink));
}

.drama-card:nth-child(3)::before {
  background:
    linear-gradient(180deg, rgba(9, 9, 13, 0) 0%, rgba(9, 9, 13, 0.78) 70%),
    linear-gradient(135deg, var(--cyan), #13305f);
}

.drama-card:nth-child(4)::before {
  background:
    linear-gradient(180deg, rgba(9, 9, 13, 0) 0%, rgba(9, 9, 13, 0.78) 70%),
    linear-gradient(135deg, var(--lime), var(--blue));
}

.card-label,
.drama-card h3,
.drama-card p {
  position: relative;
  z-index: 1;
}

.card-label {
  width: max-content;
  margin-bottom: auto;
  padding: 8px 10px;
  color: var(--black);
  background: var(--white);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 920;
  text-transform: uppercase;
}

.drama-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.discover-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: start;
  padding: 82px 0;
  color: var(--white);
  background: var(--panel);
  box-shadow: 0 0 0 100vmax var(--panel);
  clip-path: inset(0 -100vmax);
}

.discover-copy {
  position: sticky;
  top: 120px;
}

.discover-copy p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
}

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

.discover-card,
.feature-note {
  min-height: 252px;
  padding: 24px;
  color: var(--black);
  background: var(--white);
}

.discover-card:nth-child(2) {
  background: #e8fbff;
}

.discover-card:nth-child(3) {
  background: #f5ffcf;
}

.feature-note {
  color: var(--white);
  background: var(--black);
  border-color: rgba(255, 255, 255, 0.12);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 54px;
  color: var(--black);
  background: var(--sun);
  border-radius: 8px;
  font-weight: 950;
  box-shadow: 5px 5px 0 rgba(17, 17, 22, 0.15);
}

.discover-card p,
.feature-note p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.feature-note p {
  color: rgba(255, 255, 255, 0.7);
}

.experience-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  padding: 88px 0;
}

.experience-panel {
  align-self: center;
}

.experience-panel p {
  margin-top: 22px;
}

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

.step {
  min-height: 248px;
  padding: 24px;
  background: var(--white);
}

.step:nth-child(2) {
  background: #fff2c7;
}

.step:nth-child(3) {
  background: #e8fbff;
}

.step span {
  display: block;
  margin-bottom: 42px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.step strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.step p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.support-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  padding: 78px 0;
  color: var(--white);
  background: var(--black);
  box-shadow: 0 0 0 100vmax var(--black);
  clip-path: inset(0 -100vmax);
}

.support-copy p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
}

.support-copy strong {
  color: var(--white);
}

.text-links {
  margin-top: 24px;
}

.text-links a {
  color: var(--black);
  background: var(--lime);
  border: 1px solid transparent;
}

.text-links a:nth-child(2) {
  background: var(--cyan);
}

.text-links a:nth-child(3) {
  background: var(--sun);
}

.support-meta {
  justify-content: flex-end;
}

.support-meta span {
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.68);
  background: var(--black);
  box-shadow: 0 0 0 100vmax var(--black);
  clip-path: inset(0 -100vmax);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.site-footer a {
  color: var(--cyan);
  font-weight: 900;
}

.legal-page {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fcff 45%, #fff8e8 100%);
}

.legal-hero {
  padding: 128px 0 44px;
  color: var(--white);
  background: var(--black);
  box-shadow: 0 0 0 100vmax var(--black);
  clip-path: inset(0 -100vmax);
}

.legal-hero .legal-shell {
  display: grid;
  gap: 18px;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: 0;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.legal-content {
  padding: 44px 0 76px;
}

.legal-card {
  display: grid;
  gap: 24px;
  max-width: 880px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 8px 8px 0 rgba(17, 17, 22, 0.08);
}

.legal-card section {
  display: grid;
  gap: 10px;
}

.legal-card h2 {
  font-size: 25px;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.legal-card a {
  color: var(--blue);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .reveal {
    transition: none;
  }

  .button:hover,
  .button:focus-visible,
  .site-nav a:hover,
  .site-nav a:focus-visible {
    transform: none;
  }
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-device {
    justify-content: flex-start;
  }

  .pulse-strip,
  .intro-grid,
  .discover-section,
  .experience-section,
  .support-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .drama-grid,
  .discover-board,
  .experience-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discover-copy {
    position: static;
  }

  .support-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 20px, var(--max));
    margin-top: 10px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 10px;
    right: 10px;
    display: none;
    grid-template-columns: 1fr;
    padding: 10px;
    background: rgba(9, 9, 13, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
  }

  body.nav-open .site-nav {
    display: grid;
  }

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

  .hero {
    min-height: 92svh;
    padding: 110px 0 54px;
  }

  .hero-bg {
    background-position: 66% center;
  }

  .hero-overlay {
    background:
      linear-gradient(115deg, rgba(9, 9, 13, 0.96), rgba(9, 9, 13, 0.76)),
      linear-gradient(0deg, rgba(9, 9, 13, 0.86), rgba(9, 9, 13, 0) 42%),
      repeating-linear-gradient(135deg, rgba(255, 63, 127, 0.13) 0 2px, transparent 2px 28px);
  }

  .hero-grid,
  .pulse-strip,
  .intro-grid,
  .content-section,
  .discover-section,
  .experience-section,
  .support-section,
  .site-footer,
  .legal-shell {
    width: min(100% - 28px, var(--max));
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .button {
    width: 100%;
  }

  .hero-tags {
    margin-top: 28px;
    gap: 8px;
  }

  .hero-tags span,
  .support-meta span,
  .text-links a {
    font-size: 12px;
  }

  .phone-shell {
    width: min(100%, 290px);
    min-height: 500px;
    box-shadow: 10px 12px 0 rgba(20, 216, 238, 0.22), var(--shadow);
  }

  .phone-hero-card {
    min-height: 190px;
  }

  .play-dot {
    margin-bottom: 54px;
  }

  .pulse-strip,
  .drama-grid,
  .discover-board,
  .experience-steps {
    grid-template-columns: 1fr;
  }

  .pulse-strip {
    transform: none;
    padding: 18px 0 0;
  }

  .intro-section {
    margin-top: 0;
  }

  .intro-section,
  .content-section,
  .discover-section,
  .experience-section,
  .support-section {
    padding: 58px 0;
  }

  h2 {
    font-size: 30px;
  }

  .drama-card,
  .discover-card,
  .feature-note,
  .step {
    min-height: auto;
  }

  .drama-card {
    min-height: 260px;
  }

  .feature-icon {
    margin-bottom: 34px;
  }

  .step span {
    margin-bottom: 26px;
  }

  .legal-hero {
    padding-top: 108px;
  }

  .legal-hero h1 {
    font-size: 36px;
  }

  .legal-card {
    padding: 22px;
  }

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