:root {
  color-scheme: dark;
  --ink: #fff3dd;
  --muted: #aebdb2;
  --panel: #123f40;
  --panel-2: #0d3436;
  --line: #2e5a58;
  --coral: #ef716e;
  --cream: #ffe3af;
  --green: #4ca66a;
  --blue: #4380b8;
  --orange: #e59531;
  --red: #d64a43;
  --shadow: #041718;
  --page: #082729;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 4%, rgba(239, 113, 110, .11), transparent 26rem),
    radial-gradient(circle at 90% 22%, rgba(255, 204, 119, .07), transparent 30rem),
    var(--page);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--cream); text-underline-offset: .2em; }
a:hover { color: white; }
img { display: block; max-width: 100%; }

.site-header,
.marketing-hero,
.proof-strip,
.section,
.final-cta,
.marketing-footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 950;
  letter-spacing: .06em;
}

.brand img { border-radius: 11px; box-shadow: 0 8px 18px rgba(0, 0, 0, .28); }
.site-header nav, .marketing-footer nav { display: flex; gap: 28px; }
.site-header nav a, .marketing-footer nav a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 750; }
.site-header nav a:hover, .marketing-footer nav a:hover { color: var(--ink); }

.marketing-hero {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
  min-height: 760px;
  padding: 76px 0 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .16em;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.055em; }
h1 { margin-bottom: 26px; font-size: clamp(4.1rem, 8.2vw, 7.4rem); line-height: .86; }
h1 span { color: var(--coral); }
h2 { margin-bottom: 22px; font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: .95; }
h3 { margin-bottom: 8px; line-height: 1.1; }

.tagline, .lede {
  max-width: 650px;
  color: var(--cream);
  font-size: clamp(1.1rem, 2.1vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 21px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 900;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #172b29; border-color: var(--coral); background: var(--coral); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .14); }
.button-primary:hover { color: #172b29; background: #ff8580; }
.button-ghost { color: var(--ink); background: rgba(255, 255, 255, .04); }
.button-ghost:hover { border-color: var(--cream); background: rgba(255, 255, 255, .07); }

.availability { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .92rem; }
.availability span { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(76, 166, 106, .13); }

.game-preview { position: relative; max-width: 470px; margin-left: auto; }
.phone-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 15.5;
  border: 10px solid #06191a;
  border-radius: 48px;
  background: #071a1b;
  box-shadow: 0 36px 80px rgba(0, 0, 0, .46), 0 0 0 1px #3b5b59;
}
.phone-frame::before { content: ""; position: absolute; z-index: 5; top: 10px; left: 50%; width: 32%; height: 24px; transform: translateX(-50%); border-radius: 999px; background: #071415; }
.phone-frame > img { width: 100%; height: 100%; object-fit: cover; }
.preview-topbar { position: absolute; z-index: 4; inset: 0 0 auto; display: flex; justify-content: space-between; padding: 44px 22px 18px; color: var(--cream); background: linear-gradient(#09292bea, transparent); font-size: .8rem; font-weight: 800; }
.preview-topbar b { color: white; font-size: 1.12rem; }
.request-card { position: absolute; z-index: 4; top: 25%; left: 18px; right: 18px; padding: 18px; color: #1d302d; border: 2px solid #d8b98f; border-radius: 18px; background: #fff1d8f2; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.request-card small, .request-card strong, .request-card em { display: block; }
.request-card small { color: #bd504f; font-weight: 950; letter-spacing: .08em; }
.request-card strong { margin: 8px 0 10px; font-size: 1rem; line-height: 1.35; }
.request-card em { color: #8c4d24; font-size: .78rem; font-style: normal; font-weight: 850; }
.decision-grid { position: absolute; z-index: 4; left: 18px; right: 18px; bottom: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.decision-grid span { display: grid; min-height: 44px; place-items: center; border-radius: 11px; color: white; font-size: .72rem; font-weight: 950; box-shadow: inset 0 -3px rgba(0, 0, 0, .18); }
.decision-grid .send { background: var(--green); }.decision-grid .edit { background: var(--orange); }.decision-grid .verify { background: var(--blue); }.decision-grid .reject { background: var(--red); }
.floating-note { position: absolute; right: -36px; bottom: 68px; z-index: 6; padding: 19px 21px 28px; color: #1d2c29; transform: rotate(3deg); border-radius: 5px; background: #f1c55d; box-shadow: 0 18px 32px rgba(0, 0, 0, .28); font-size: .75rem; font-weight: 950; line-height: 1.25; text-align: center; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 130px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(18, 63, 64, .6);
}
.proof-strip div { display: flex; flex-direction: column; padding: 24px 26px; border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong { color: var(--cream); font-size: 2rem; line-height: 1; }
.proof-strip span { margin-top: 7px; color: var(--muted); font-size: .78rem; font-weight: 700; }

.section { padding: 0 0 140px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 80px; align-items: end; margin-bottom: 52px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { margin: 0; }
.section-heading > p:last-child { color: var(--muted); margin-bottom: 6px; }
.section-heading.compact { display: block; max-width: 760px; }
.section-heading.compact > p:last-child { max-width: 620px; }

.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.choice { position: relative; overflow: hidden; min-height: 315px; padding: 26px; border-radius: 22px; color: white; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .12), 0 16px 34px rgba(0, 0, 0, .14); }
.choice > span { display: grid; width: 52px; height: 52px; margin-bottom: 56px; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .15); font-size: 1.8rem; font-weight: 900; }
.choice h3 { font-size: 1.35rem; }
.choice p { color: rgba(255, 255, 255, .86); font-size: .91rem; }
.choice small { position: absolute; left: 26px; bottom: 22px; font-size: .68rem; font-weight: 950; letter-spacing: .08em; }
.choice-send { background: linear-gradient(145deg, #398858, #26663f); }.choice-edit { background: linear-gradient(145deg, #dc8d27, #a96013); }.choice-verify { background: linear-gradient(145deg, #3978ad, #24537c); }.choice-reject { background: linear-gradient(145deg, #ce4540, #8e2c2a); }

.transformation-card { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(145deg, #123f40, #0c3032); box-shadow: 0 34px 80px rgba(0, 0, 0, .24); }
.stage-image-wrap { position: relative; min-height: 620px; overflow: hidden; }
.stage-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: opacity .24s ease; }
.stage-badge { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 16px 18px; border: 1px solid rgba(255, 227, 175, .4); border-radius: 15px; background: rgba(7, 31, 32, .88); backdrop-filter: blur(12px); }
.stage-badge small, .stage-badge strong { display: block; }.stage-badge small { color: var(--coral); font-size: .67rem; font-weight: 900; letter-spacing: .1em; }.stage-badge strong { margin-top: 3px; font-size: 1.18rem; }
.humanity-control { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 7vw, 82px); }
.meter-copy { display: flex; align-items: end; justify-content: space-between; margin-bottom: 20px; }.meter-copy span { color: var(--coral); font-size: .8rem; font-weight: 950; letter-spacing: .14em; }.meter-copy strong { color: var(--cream); font-size: 4.6rem; line-height: .8; }
#humanity-slider { width: 100%; height: 12px; appearance: none; border-radius: 999px; background: linear-gradient(90deg, var(--coral), var(--cream)); outline: none; }
#humanity-slider::-webkit-slider-thumb { width: 30px; height: 30px; appearance: none; border: 5px solid var(--page); border-radius: 50%; background: white; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); cursor: grab; }
#humanity-slider::-moz-range-thumb { width: 22px; height: 22px; border: 5px solid var(--page); border-radius: 50%; background: white; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); cursor: grab; }
.meter-labels { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: .67rem; font-weight: 900; letter-spacing: .07em; }
#stage-description { margin: 58px 0 0; color: var(--cream); font-size: 1.28rem; line-height: 1.45; }

.features-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.feature-list { border-top: 1px solid var(--line); }
.feature-list article { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.feature-list b { color: var(--coral); font-size: .82rem; letter-spacing: .1em; }
.feature-list h3 { font-size: 1.2rem; }.feature-list p { margin: 0; color: var(--muted); font-size: .94rem; }

.final-cta { display: grid; grid-template-columns: 120px 1fr; gap: 36px; align-items: start; margin-bottom: 100px; padding: clamp(38px, 8vw, 86px); border: 1px solid #a35855; border-radius: 30px; background: linear-gradient(130deg, #743638, #b75350 60%, #cc675e); box-shadow: 0 28px 70px rgba(0, 0, 0, .25); }
.final-cta img { border-radius: 25px; box-shadow: 0 18px 34px rgba(0, 0, 0, .28); }
.final-cta .eyebrow { color: #ffd8a0; }.final-cta h2 { max-width: 800px; margin-bottom: 20px; }.final-cta p:last-child { max-width: 680px; margin: 0; color: #ffe9d2; }

.marketing-footer { display: flex; align-items: center; justify-content: space-between; min-height: 120px; border-top: 1px solid rgba(255, 255, 255, .1); color: var(--muted); font-size: .83rem; }.marketing-footer p { margin: 0; }

/* Support and privacy pages */
.shell { width: min(920px, calc(100% - 36px)); margin: 0 auto; padding: 72px 0 36px; }
.article-shell { max-width: 780px; padding-top: 36px; }.article-shell nav { margin-bottom: 24px; }.article-shell nav a { text-decoration: none; font-weight: 800; }
.article-shell article { padding: clamp(28px, 6vw, 58px); border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(150deg, rgba(18, 63, 64, .98), rgba(11, 45, 47, .98)); box-shadow: 0 24px 70px var(--shadow); }
.article-shell article h1 { margin: 0; font-size: clamp(2.5rem, 8vw, 4.75rem); line-height: .95; }.article-shell article h2 { margin: 2.2rem 0 .35rem; color: var(--cream); font-size: 1.2rem; letter-spacing: 0; }.article-shell article p, .article-shell article li { color: #e1e8dc; }.article-shell article ol, .article-shell article ul { padding-left: 1.4rem; }.updated { color: var(--muted); font-size: .92rem; }.article-shell footer { padding: 28px 4px 0; color: var(--muted); font-size: .9rem; }

@media (max-width: 900px) {
  .marketing-hero { grid-template-columns: 1fr; padding-top: 62px; }
  .game-preview { width: min(460px, 88%); margin: 0 auto; }
  .proof-strip { grid-template-columns: 1fr 1fr; }.proof-strip div:nth-child(2) { border-right: 0; }.proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { display: block; }.section-heading h2 { margin-bottom: 24px; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .features-section { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 74px; }.site-header nav a:not(:last-child) { display: none; }
  .marketing-hero { width: min(100% - 28px, 1160px); min-height: auto; padding: 50px 0 78px; }
  h1 { font-size: clamp(3.8rem, 19vw, 5.3rem); }
  h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .floating-note { right: -14px; }
  .proof-strip { margin-bottom: 100px; }.proof-strip div { padding: 20px; }
  .section { padding-bottom: 100px; }
  .choice-grid { grid-template-columns: 1fr; }.choice { min-height: 285px; }.choice > span { margin-bottom: 38px; }
  .transformation-card { grid-template-columns: 1fr; }.stage-image-wrap { min-height: 540px; }.humanity-control { padding: 38px 26px 48px; }
  .final-cta { grid-template-columns: 1fr; }.final-cta img { width: 86px; height: 86px; }
  .marketing-footer { flex-wrap: wrap; gap: 18px; padding: 28px 0; }.marketing-footer p { order: 3; width: 100%; }
  .shell { padding-top: 28px; }.article-shell article { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .stage-image-wrap img { transition: none; }
}
