:root {
  --bg: #050508;
  --bg-secondary: #0a0b12;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(15, 16, 24, 0.66);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #f4f5f7;
  --text-muted: rgba(244, 245, 247, 0.76);
  --text-dim: rgba(244, 245, 247, 0.54);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --mint: #a8ffc8;
  --sky: #60c8ff;
  --coral: #ff6b6b;
  --lavender: #c4a8ff;
  --amber: #ffd580;
  --trust-accent: #b9ffd2;
  --split-cyan: #00f5ff;
  --split-purple: #9b30ff;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1200px;
}

body[data-theme="light"] {
  --bg: #f4f7fb;
  --bg-secondary: #ffffff;
  --surface: rgba(255, 255, 255, 0.75);
  --surface-strong: rgba(255, 255, 255, 0.84);
  --surface-soft: rgba(255, 255, 255, 0.6);
  --border: rgba(11, 18, 32, 0.1);
  --border-strong: rgba(11, 18, 32, 0.18);
  --text: #0f1420;
  --text-muted: rgba(15, 20, 32, 0.72);
  --text-dim: rgba(15, 20, 32, 0.54);
  --trust-accent: #0f7f62;
  --shadow: 0 24px 70px rgba(42, 56, 84, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(96, 200, 255, 0.12), transparent 24%),
    radial-gradient(circle at 15% 20%, rgba(168, 255, 200, 0.12), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 45%, var(--bg) 100%);
  font-family: "DM Sans", sans-serif;
  transition: background 220ms ease, color 220ms ease;
}

body[data-theme="light"] {
  background:
    radial-gradient(circle at top, rgba(96, 200, 255, 0.12), transparent 24%),
    radial-gradient(circle at 15% 20%, rgba(168, 255, 200, 0.16), transparent 20%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 44%, #f7fafc 100%);
}

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

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

button,
input {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.ambient-orb,
.ambient-grid,
.split-nebula,
.starfield {
  position: absolute;
  pointer-events: none;
}

.ambient-orb {
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.65;
}

.ambient-orb-a {
  top: 60px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: rgba(168, 255, 200, 0.16);
}

.ambient-orb-b {
  top: 120px;
  right: -60px;
  width: 360px;
  height: 360px;
  background: rgba(255, 107, 107, 0.14);
}

.ambient-orb-c {
  top: 200px;
  right: 6%;
  width: 420px;
  height: 420px;
  background: rgba(96, 200, 255, 0.12);
}

.ambient-orb-d {
  bottom: 40px;
  left: 10%;
  width: 340px;
  height: 340px;
  background: rgba(196, 168, 255, 0.14);
}

.ambient-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  opacity: 0.18;
}

body[data-theme="light"] .ambient-grid {
  opacity: 0.09;
  background-image:
    linear-gradient(rgba(12, 22, 36, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 22, 36, 0.05) 1px, transparent 1px);
}

.topbar,
main {
  position: relative;
  z-index: 1;
}

.topbar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

.topnav a {
  color: var(--text-dim);
  transition: color 180ms ease;
}

.topnav a:hover,
.topnav .active-link {
  color: var(--text);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.theme-toggle-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.eyebrow {
  margin-bottom: 18px;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}

h1,
h2,
h3:not(.split-wordmark) {
  font-family: "DM Serif Display", serif;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  line-height: 1.08;
}

p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-copy {
  max-width: 720px;
  margin-top: 24px;
  font-size: 1.15rem;
}

.privacy-hero .hero-copy + .hero-copy {
  margin-top: 16px;
}

.trust-statement {
  display: inline;
  font-weight: 700;
  color: var(--trust-accent);
}

.glass-panel {
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-radius: var(--radius-xl);
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--text);
  font-weight: 700;
}

.about-email {
  display: inline;
  margin-top: 0;
  color: var(--trust-accent);
}

.app-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-icon,
.card-app-icon {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow);
}

.card-app-icon {
  margin-bottom: 18px;
}

.home-hero {
  padding-top: 56px;
}

.app-launch-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.app-launch-card,
.state-card,
.feature-card,
.split-feature-card {
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
}

.app-launch-card {
  min-height: 380px;
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.app-launch-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -18% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.45;
}

.app-launch-card::after,
.state-card::after,
.feature-card::after,
.split-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.12), transparent 34%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.app-launch-card:hover,
.state-card:hover,
.feature-card:hover,
.split-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.app-launch-card:hover::after,
.state-card:hover::after,
.feature-card:hover::after,
.split-feature-card:hover::after {
  opacity: 1;
}

.mint-card::before {
  background: radial-gradient(circle, rgba(168, 255, 200, 0.55), transparent 70%);
}

.coral-card::before {
  background: radial-gradient(circle, rgba(0, 245, 255, 0.35), transparent 70%);
}

.card-kicker,
.card-arrow {
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-kicker {
  margin-bottom: 22px;
  color: var(--text-dim);
}

.app-launch-card h2 {
  max-width: 8ch;
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.app-launch-card p {
  max-width: 28rem;
  margin-top: 18px;
  font-size: 1.04rem;
}

.card-arrow {
  margin-top: 30px;
  color: var(--text);
}

.home-story,
.privacy-teaser {
  margin-top: 26px;
  padding: 28px 30px;
  display: grid;
  gap: 28px;
  align-items: end;
}

.home-story {
  grid-template-columns: 1.2fr 1fr;
}

.privacy-teaser {
  grid-template-columns: 1.05fr 1fr auto;
}

.micro-main,
.privacy-main {
  display: grid;
  gap: 28px;
}

.micro-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 32px;
  align-items: center;
  padding-top: 40px;
}

.hero-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-upcoming {
  color: var(--mint);
}

.status-overdue {
  color: var(--coral);
}

.status-settings {
  color: var(--lavender);
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 430px);
  padding: 16px;
  border-radius: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.52);
}

body[data-theme="light"] .phone-frame {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 251, 0.9));
}

.phone-screen {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 30px 18px 24px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 10%, rgba(96, 200, 255, 0.14), transparent 28%),
    radial-gradient(circle at 15% 22%, rgba(168, 255, 200, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(8, 10, 18, 0.95), rgba(6, 8, 12, 0.92));
}

body[data-theme="light"] .phone-screen {
  background:
    radial-gradient(circle at 50% 10%, rgba(96, 200, 255, 0.16), transparent 28%),
    radial-gradient(circle at 15% 22%, rgba(168, 255, 200, 0.18), transparent 20%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(237, 244, 251, 0.92));
}

.screen-time {
  margin-bottom: 18px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.live-card,
.habit-card {
  border: 1px solid var(--border);
  background: var(--surface-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.live-card {
  padding: 18px;
  border-radius: 24px;
}

.live-card-upcoming {
  box-shadow: inset 0 0 0 1px rgba(168, 255, 200, 0.08), 0 0 44px rgba(168, 255, 200, 0.12);
}

.live-label {
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.live-main h2 {
  font-size: 1.7rem;
}

.live-main p {
  margin-top: 2px;
  font-size: 0.95rem;
}

.live-icon,
.habit-emoji {
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.live-icon {
  width: 54px;
  height: 54px;
  font-size: 1.6rem;
  box-shadow: 0 0 28px rgba(168, 255, 200, 0.18);
}

.done-chip {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--mint);
  background: rgba(168, 255, 200, 0.14);
  border: 1px solid rgba(168, 255, 200, 0.22);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.habit-stack {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.habit-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
}

.faded-card {
  opacity: 0.55;
}

.habit-ring {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  font-size: 0.88rem;
  font-weight: 700;
  border: 5px solid rgba(255, 255, 255, 0.08);
}

.ring-mint {
  color: var(--mint);
  border-color: rgba(168, 255, 200, 0.65) rgba(168, 255, 200, 0.25) rgba(168, 255, 200, 0.25);
  box-shadow: 0 0 28px rgba(168, 255, 200, 0.14);
}

.ring-lavender {
  color: var(--lavender);
  border-color: rgba(196, 168, 255, 0.65) rgba(196, 168, 255, 0.25) rgba(196, 168, 255, 0.25);
}

.habit-meta {
  margin-bottom: 6px;
  color: var(--text-dim);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.habit-body h3 {
  font-size: 1.55rem;
}

.habit-emoji {
  width: 54px;
  height: 54px;
  font-size: 1.55rem;
}

.states-section,
.philosophy-section,
.privacy-hero,
.privacy-body {
  padding: 32px;
}

.section-heading {
  max-width: 720px;
}

.section-heading p {
  margin-top: 16px;
}

.states-grid,
.feature-grid,
.philosophy-grid,
.split-feature-grid,
.theme-swatch-grid,
.flux-dials {
  display: grid;
  gap: 18px;
}

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

.states-grid {
  margin-top: 26px;
}

.state-card,
.feature-card,
.split-feature-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 220ms ease, border-color 220ms ease;
}

.flux-monitor-card {
  display: flex;
  flex-direction: column;
}

.state-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-bottom: 18px;
}

.state-card h3,
.feature-card h3,
.split-feature-card h3 {
  margin-bottom: 10px;
}

.state-upcoming .state-dot {
  background: var(--mint);
  box-shadow: 0 0 28px rgba(168, 255, 200, 0.75);
}

.state-overdue .state-dot {
  background: var(--coral);
  box-shadow: 0 0 28px rgba(255, 107, 107, 0.75);
}

.state-overdue {
  animation: nudge-shake 6s infinite ease-in-out;
}

.state-settings .state-dot {
  background: var(--lavender);
  box-shadow: 0 0 28px rgba(196, 168, 255, 0.65);
}

.philosophy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.privacy-main,
.split-main {
  padding-top: 56px;
}

.faq-main {
  gap: 28px;
}

.privacy-hero,
.privacy-body {
  max-width: 920px;
  margin: 0 auto;
}

.faq-body {
  display: grid;
  gap: 36px;
}

.faq-app-section + .faq-app-section {
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.faq-app-title {
  align-items: flex-start;
}

.faq-app-copy {
  margin-top: 10px;
  max-width: 56ch;
}

.faq-list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.faq-entry {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
}

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

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--text-dim);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

.faq-entry[open] .faq-question::after {
  content: "-";
  color: var(--text);
}

.faq-answer {
  display: grid;
  gap: 14px;
  padding: 0 24px 22px;
}

.faq-answer p,
.faq-answer ul {
  max-width: 68ch;
}

.faq-answer ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.faq-answer li + li {
  margin-top: 10px;
}

.site-footer {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 24px;
}

.site-footer a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.privacy-body h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
}

.privacy-body p + h2 {
  margin-top: 28px;
}

.page-the-split {
  background:
    radial-gradient(circle at top, rgba(0, 245, 255, 0.14), transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(155, 48, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #03030a 0%, #14042f 48%, #040510 100%);
}

body[data-theme="light"].page-the-split,
body[data-theme="light"] .page-the-split {
  background:
    radial-gradient(circle at top, rgba(0, 245, 255, 0.16), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(155, 48, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #eef6ff 0%, #f6f2ff 52%, #edf4ff 100%);
}

.split-layout {
  display: grid;
  gap: 28px;
}

.split-nebula {
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.38;
}

.split-nebula-a {
  top: 80px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: rgba(0, 245, 255, 0.22);
}

.split-nebula-b {
  top: 180px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: rgba(155, 48, 255, 0.22);
}

.starfield {
  inset: 0;
  opacity: 0.8;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.5px),
    radial-gradient(circle at 30% 58%, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.5px),
    radial-gradient(circle at 64% 14%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.6px),
    radial-gradient(circle at 82% 44%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.4px),
    radial-gradient(circle at 56% 78%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.4px),
    radial-gradient(circle at 90% 18%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.4px),
    radial-gradient(circle at 18% 84%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px);
  animation: drift-stars 22s linear infinite;
}

body[data-theme="light"] .starfield {
  opacity: 0.35;
}

.split-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.split-copy {
  max-width: 680px;
}

.split-wordmark {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(3.2rem, 8vw, 6.3rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 0.9;
  text-shadow: 0 0 28px rgba(0, 245, 255, 0.35);
}

.split-subcopy {
  max-width: 640px;
  margin-top: 16px;
}

.split-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.06), transparent 20%),
    radial-gradient(circle at 50% 62%, rgba(255, 255, 255, 0.03), transparent 38%),
    linear-gradient(180deg, rgba(8, 8, 18, 0.78), rgba(8, 10, 24, 0.6));
  isolation: isolate;
}

.split-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.04));
  opacity: 0.45;
  pointer-events: none;
}

.cinematic-haze,
.cinematic-galaxy,
.cinematic-core,
.cinematic-beam,
.cinematic-ribbon,
.cinematic-star {
  position: absolute;
}

.cinematic-haze {
  border-radius: 999px;
  filter: blur(52px);
  opacity: 0.34;
}

.cinematic-haze-a {
  top: 19%;
  left: -4%;
  width: 180px;
  height: 180px;
  background: rgba(0, 245, 255, 0.14);
}

.cinematic-haze-b {
  top: 14%;
  right: -6%;
  width: 220px;
  height: 220px;
  background: rgba(255, 196, 116, 0.11);
}

.cinematic-galaxy {
  left: 50%;
  top: 17%;
  width: 132%;
  height: 44%;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.2) 8%, transparent 20%),
    radial-gradient(circle at 38% 54%, rgba(0, 245, 255, 0.26), transparent 14%),
    radial-gradient(circle at 63% 44%, rgba(255, 196, 116, 0.24), transparent 14%),
    radial-gradient(circle at 50% 50%, rgba(155, 48, 255, 0.2), transparent 28%);
  filter: none;
  box-shadow: none;
}

.cinematic-core {
  left: 50%;
  bottom: 9%;
  width: 64px;
  height: 64px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 1) 0 17%, rgba(255, 241, 212, 0.96) 25%, rgba(0, 245, 255, 0.22) 50%, transparent 72%);
  box-shadow:
    0 0 26px rgba(255, 255, 255, 0.82),
    0 0 54px rgba(155, 48, 255, 0.2);
}

.cinematic-core::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
}

.cinematic-beam {
  left: 50%;
  bottom: 16%;
  width: 6px;
  height: 26%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 250, 232, 0.95));
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.68);
}

.cinematic-ribbon {
  left: 50%;
  bottom: 16%;
  width: 46%;
  height: 56%;
  border-top: 3px solid transparent;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.4));
  opacity: 0.96;
}

.cinematic-ribbon-left {
  transform: translateX(-98%) rotate(-21deg);
  border-image: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.98), rgba(185, 126, 255, 0.75)) 1;
  border-radius: 66% 34% 0 0;
}

.cinematic-ribbon-left-alt {
  width: 38%;
  height: 50%;
  transform: translateX(-88%) rotate(-11deg);
  border-image: linear-gradient(90deg, transparent, rgba(158, 240, 255, 0.85), rgba(255, 255, 255, 0.4)) 1;
  border-radius: 58% 42% 0 0;
  opacity: 0.78;
}

.cinematic-ribbon-right {
  transform: translateX(-2%) rotate(21deg);
  border-image: linear-gradient(90deg, rgba(255, 213, 128, 0.95), rgba(255, 182, 93, 0.92), transparent) 1;
  border-radius: 34% 66% 0 0;
}

.cinematic-ribbon-right-alt {
  width: 38%;
  height: 50%;
  transform: translateX(-10%) rotate(11deg);
  border-image: linear-gradient(90deg, rgba(255, 244, 201, 0.88), rgba(255, 205, 123, 0.58), transparent) 1;
  border-radius: 42% 58% 0 0;
  opacity: 0.76;
}

.cinematic-star {
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0 14%, transparent 24%);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
  animation: star-twinkle 3.8s ease-in-out infinite;
}

.cinematic-star::before,
.cinematic-star::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.96), transparent);
  border-radius: 999px;
}

.cinematic-star::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.cinematic-star::after {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cinematic-star-a {
  top: 17%;
  left: 19%;
  animation-delay: 0.3s;
}

.cinematic-star-b {
  top: 28%;
  right: 17%;
  animation-delay: 1.1s;
}

.cinematic-star-c {
  top: 50%;
  left: 24%;
  animation-delay: 1.8s;
}

.cinematic-star-d {
  top: 60%;
  right: 22%;
  animation-delay: 2.1s;
}

.cinematic-star-e {
  top: 74%;
  left: 52%;
  animation-delay: 0.8s;
}

.cinematic-star-f {
  top: 22%;
  left: 34%;
  animation-delay: 2.6s;
}

.cinematic-star-g {
  top: 34%;
  right: 31%;
  animation-delay: 1.4s;
}

.cinematic-star-h {
  top: 67%;
  left: 18%;
  animation-delay: 3s;
}

.cinematic-star-i {
  top: 79%;
  right: 18%;
  animation-delay: 2.2s;
}

.split-visual-label {
  position: absolute;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

.quantum-loop,
.split-footer {
  padding: 32px;
}

.quantum-loop-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
}

.decision-console,
.decision-output {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.decision-console {
  display: grid;
  gap: 16px;
}

.decision-field {
  display: grid;
  gap: 10px;
}

.decision-field span,
.decision-output-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.decision-field input {
  width: 100%;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  outline: none;
}

body[data-theme="light"] .decision-field input {
  background: rgba(255, 255, 255, 0.86);
}

.split-button {
  margin-top: 8px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  color: #04111b;
  background: linear-gradient(90deg, var(--split-cyan), #9ae0ff 45%, #b86cff);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.3);
}

.decision-output {
  position: relative;
  overflow: hidden;
  min-height: 250px;
}

.decision-output h3 {
  margin-top: 12px;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-output p {
  margin-top: 12px;
  max-width: 36ch;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.decision-readout {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.decision-readout span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.particle-burst {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(0, 245, 255, 0.8));
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: particle-burst 900ms ease-out forwards;
}

.flux-dials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.flux-dial {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 132px;
  padding: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(0, 245, 255, 0.08), rgba(155, 48, 255, 0.08));
  text-align: center;
}

.flux-value {
  font-family: "DM Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.flux-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.2;
}

.flux-history {
  margin-top: 52px;
  padding: 20px 16px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.flux-history-heading {
  margin-bottom: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.flux-history-list {
  display: grid;
  gap: 10px;
}

.flux-history-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.flux-history-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.flux-history-time {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.flux-history-copy {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.theme-swatch-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.theme-swatch {
  min-height: 120px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: flex-end;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.86rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.cosmic {
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.18), rgba(155, 48, 255, 0.2));
}

.nebula-rose {
  background: linear-gradient(135deg, rgba(255, 117, 183, 0.32), rgba(105, 52, 255, 0.18));
}

.bioluminescent {
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.24), rgba(50, 255, 186, 0.14));
}

.solar-flare {
  background: linear-gradient(135deg, rgba(255, 152, 63, 0.34), rgba(255, 62, 62, 0.2));
}

.quantum-realm {
  background: linear-gradient(135deg, rgba(135, 89, 255, 0.3), rgba(0, 245, 255, 0.16));
}

.neon-grid {
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(0, 245, 255, 0.18), rgba(155, 48, 255, 0.18));
  background-size: 24px 24px, 24px 24px, cover;
}

.the-void {
  background: linear-gradient(135deg, rgba(7, 8, 18, 0.85), rgba(33, 12, 71, 0.55));
}

.plasma-core {
  background: linear-gradient(135deg, rgba(255, 213, 128, 0.32), rgba(255, 87, 34, 0.24));
}

.celestial-body {
  background: linear-gradient(135deg, rgba(195, 227, 255, 0.28), rgba(120, 166, 255, 0.18));
}

.timeline-log {
  position: relative;
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding-left: 22px;
}

.timeline-log::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 245, 255, 0.8), rgba(155, 48, 255, 0.55));
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.28);
}

.timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: start;
}

.timeline-entry::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(0, 245, 255, 0.88));
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.48);
}

.timeline-time {
  padding-top: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.timeline-entry-body {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.timeline-entry-body h4 {
  margin: 0 0 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.timeline-entry-body p {
  font-size: 0.94rem;
}

.split-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

@keyframes nudge-shake {
  0%,
  90%,
  100% {
    transform: translateX(0);
  }
  92% {
    transform: translateX(-2px);
  }
  94% {
    transform: translateX(2px);
  }
  96% {
    transform: translateX(-1px);
  }
  98% {
    transform: translateX(1px);
  }
}

@keyframes orbit-ring {
  from {
    transform: scale(1.15) rotate(0deg);
  }
  to {
    transform: scale(1.15) rotate(360deg);
  }
}

.sphere-ring-b {
  animation-name: orbit-ring-b;
}

@keyframes orbit-ring-b {
  from {
    transform: scale(1.35) rotate(0deg);
  }
  to {
    transform: scale(1.35) rotate(-360deg);
  }
}

@keyframes particle-burst {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.1);
  }
}

@keyframes star-twinkle {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes drift-stars {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(18px);
  }
}

@media (max-width: 1100px) {
  .micro-hero,
  .app-launch-grid,
  .feature-grid,
  .states-grid,
  .philosophy-grid,
  .home-story,
  .privacy-teaser,
  .split-hero-grid,
  .quantum-loop-grid,
  .split-feature-grid,
  .split-footer {
    grid-template-columns: 1fr;
  }

  .micro-copy,
  .split-copy {
    max-width: 720px;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-cluster {
    width: 100%;
    flex-wrap: wrap;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  main {
    padding-top: 28px;
    padding-bottom: 56px;
  }

  .home-hero,
  .micro-hero,
  .split-main,
  .privacy-main {
    padding-top: 20px;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.6rem);
  }

  .app-title-row {
    align-items: flex-start;
  }

  .app-icon,
  .card-app-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .app-launch-card,
  .states-section,
  .philosophy-section,
  .feature-card,
  .split-feature-card,
  .split-visual,
  .split-footer,
  .quantum-loop,
  .privacy-hero,
  .privacy-body,
  .faq-body {
    padding: 24px;
  }

  .app-launch-card {
    min-height: 320px;
  }

  .privacy-teaser {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: 100%;
  }

  .phone-screen {
    min-height: 680px;
  }

  .live-main,
  .habit-card,
  .flux-dials,
  .theme-swatch-grid {
    grid-template-columns: 1fr;
  }

  .done-chip,
  .habit-emoji {
    justify-self: end;
  }

  .split-wordmark {
    font-size: clamp(2.6rem, 15vw, 4.6rem);
    letter-spacing: 0.12em;
  }

  .split-visual {
    min-height: 420px;
  }

  .site-footer {
    justify-content: flex-start;
    padding-bottom: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
