/* Pitch Hero landing. Light only: white page, purple on top, chunky buttons. */
:root {
  color-scheme: light only;
  --violet: #8318FF;
  --violet-edge: #5A0FC0;
  --violet-tint: #F3ECFF;
  --ink: #2A0B66;
  --ink-dim: #6E5C9A;
  --line: #E4DAF7;
  --gold: #FFC93C;
  --gold-edge: #E0A100;
  --flame: #FFB800;
  --heart: #FF4B7D;
  --green: #22C870;
  --green-edge: #17924F;
  --green-tint: #E3FBEF;
  --green-ink: #0E7A43;
  --locked: #EEE8F8;
  --bezel: #1E0A4C;
  --max: 1120px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: "Poppins", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--violet); }
a:hover { color: var(--violet-edge); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
.section.tint { background: var(--violet-tint); }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}
.h2 { font-size: 31px; font-weight: 800; }
.lede { margin-top: 14px; font-size: 18px; color: var(--ink-dim); max-width: 640px; text-wrap: pretty; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Chunky buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 26px;
  border: 0; border-radius: 16px;
  font: 800 15px/1 "Poppins", sans-serif; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:active { transform: translateY(4px); }
.btn-violet { background: var(--violet); color: #fff; box-shadow: 0 5px 0 var(--violet-edge); }
.btn-violet:active { box-shadow: 0 1px 0 var(--violet-edge); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 5px 0 var(--gold-edge); }
.btn-gold:active { box-shadow: 0 1px 0 var(--gold-edge); }
.btn-white { background: #fff; color: var(--violet); border: 2px solid var(--line); box-shadow: 0 5px 0 var(--line); }
.btn-white:active { box-shadow: 0 1px 0 var(--line); }
.btn:hover { color: inherit; filter: brightness(1.04); }
.btn-violet:hover { color: #fff; }
.btn-white:hover { color: var(--violet); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 13px; border-radius: 14px; }
.btn-block { width: 100%; }

.store-badge { display: inline-block; line-height: 0; border-radius: 10px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge img { height: 46px; width: auto; }
.store-badge:active { transform: translateY(2px); }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-weight: 800; font-size: 19px; }
.brand:hover { color: inherit; }
.logo-tile {
  display: block; width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 12px; background: #fff; overflow: hidden;
  box-shadow: 0 3px 0 rgba(42, 11, 102, 0.25);
}
.logo-tile img { width: 100%; height: 100%; }

/* ---------- Purple top ---------- */
.top {
  position: relative;
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(255, 255, 255, 0.14), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(90, 15, 192, 0.55), transparent 70%),
    var(--violet);
  overflow: hidden;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.nav-links { display: none; gap: 28px; font-weight: 600; font-size: 15px; }
.nav-links a { color: #fff; text-decoration: none; opacity: 0.9; }
.nav-links a:hover { opacity: 1; color: #fff; }

.hero { display: grid; gap: 28px; padding-top: 24px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
}
.hero h1 { margin-top: 18px; font-size: 40px; font-weight: 800; line-height: 1.06; }
.hero h1 .hl { color: var(--gold); display: block; }
.hero-sub { margin-top: 16px; font-size: 18px; opacity: 0.92; max-width: 520px; }
.hero-cta { margin-top: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-cta .note { font-size: 14px; font-weight: 600; opacity: 0.9; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ticks svg { flex-shrink: 0; }

/* Hero shot: on phones the device is cut off by the bottom of the band. */
.hero-shot { position: relative; height: 470px; overflow: hidden; margin: 0 calc(var(--gutter) * -1); }
.hero-shot .phone { width: 272px; margin: 18px auto 0; }

/* ---------- Phone frame ---------- */
.phone {
  position: relative;
  padding: 9px;
  background: var(--bezel);
  border-radius: 46px;
  box-shadow: 0 30px 60px -18px rgba(30, 6, 80, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.phone .screen { border-radius: 11.3% / 5.2%; overflow: hidden; background: #fff; }
.phone::after {
  content: ""; position: absolute; left: 50%; top: 20px; transform: translateX(-50%);
  width: 30%; aspect-ratio: 3.4 / 1; border-radius: 999px; background: #0d0424;
}

/* Floating chips around the hero phone */
.chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 16px;
  background: #fff; color: var(--ink);
  border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line), 0 14px 30px -12px rgba(30, 6, 80, 0.45);
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
.chip-1 { top: 74px; left: 14px; transform: rotate(-5deg); }
.chip-2 { top: 196px; right: 12px; transform: rotate(4deg); }
.chip-3 { top: 352px; left: 22px; transform: rotate(-3deg); }

/* ---------- Pain ---------- */
.versus { margin-top: 36px; display: grid; gap: 16px; }
.vs-card { border-radius: 22px; padding: 24px 22px; border: 2px solid var(--line); box-shadow: 0 5px 0 var(--line); background: #fff; }
.vs-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 14px; }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vs-card li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.vs-card li .mark { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.vs-card.bad li .mark { background: #FFE8EF; color: var(--heart); }
.vs-card.good { background: var(--green-tint); border-color: #BDEFD3; box-shadow: 0 5px 0 #BDEFD3; }
.vs-card.good h3 { color: var(--green-ink); }
.vs-card.good li { color: var(--green-ink); }
.vs-card.good li .mark { background: var(--green); color: #fff; }
.pain-close { margin-top: 30px; font-size: 20px; font-weight: 700; text-align: center; }
.pain-close span { color: var(--violet); }

/* ---------- Steps ---------- */
.steps { margin-top: 40px; display: grid; gap: 18px; }
.step { background: #fff; border-radius: 24px; padding: 24px 22px 26px; border: 2px solid var(--line); box-shadow: 0 5px 0 var(--line); display: flex; flex-direction: column; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--violet); color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 4px 0 var(--violet-edge);
}
.step h3 { margin-top: 16px; font-size: 21px; font-weight: 800; }
.step p { margin-top: 8px; color: var(--ink-dim); }
.step-demo { margin-top: 22px; padding-top: 22px; border-top: 2px dashed var(--line); flex: 1; display: flex; align-items: center; justify-content: center; }

.demo-play { display: flex; align-items: flex-end; gap: 12px; }
.demo-play .big, .demo-play .small {
  display: grid; place-items: center; color: #fff; background: var(--violet); box-shadow: 0 6px 0 var(--violet-edge);
}
.demo-play .big { width: 96px; height: 88px; border-radius: 24px; }
.demo-play .small { width: 56px; height: 52px; border-radius: 16px; font-weight: 800; font-size: 14px; box-shadow: 0 5px 0 var(--violet-edge); }

.demo-tiles { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  min-height: 48px; border-radius: 14px; display: grid; place-items: center; text-align: center;
  border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); background: #fff;
  font-size: 15px; font-weight: 600; padding: 0 6px;
}
.tile.right { border-color: var(--green); box-shadow: 0 4px 0 var(--green); background: var(--green-tint); color: var(--green-ink); font-weight: 700; }

.demo-feedback { width: 100%; background: var(--green-tint); border-radius: 18px; padding: 16px; display: grid; gap: 12px; }
.demo-feedback .row { display: flex; gap: 12px; align-items: center; color: var(--green-ink); }
.demo-feedback .ok { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--green-edge); flex-shrink: 0; }
.demo-feedback strong { display: block; font-size: 19px; line-height: 1.2; }
.demo-feedback small { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.4; }
.demo-feedback .btn { min-height: 44px; font-size: 14px; pointer-events: none; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 5px 0 var(--green-edge); }

/* ---------- Skills ---------- */
.skills { margin-top: 40px; display: grid; gap: 16px; }
.skill { background: #fff; border-radius: 24px; padding: 24px 22px; border: 2px solid var(--line); box-shadow: 0 5px 0 var(--line); }
.skill-head { display: flex; align-items: center; gap: 14px; }
.icon-tile { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; background: var(--violet); color: #fff; box-shadow: 0 4px 0 var(--violet-edge); }
.skill-head small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); }
.skill-head h3 { font-size: 22px; font-weight: 800; }
.skill p { margin-top: 14px; color: var(--ink-dim); }
.chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 5px 12px; border-radius: 10px; background: var(--violet-tint); color: var(--violet); font-size: 14px; font-weight: 700; }
.skill.mix { background: var(--violet); border-color: var(--violet); box-shadow: 0 5px 0 var(--violet-edge); color: #fff; display: flex; flex-direction: column; }
.skill.mix .skill-head small { color: rgba(255, 255, 255, 0.8); }
.skill.mix p { color: rgba(255, 255, 255, 0.92); }
.skill.mix .icon-tile { background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 var(--gold-edge); }
.skill.mix .btn { margin-top: 18px; align-self: flex-start; pointer-events: none; }

/* ---------- Game ---------- */
.game { display: grid; gap: 40px; align-items: center; }
.game-shot { position: relative; height: 520px; overflow: hidden; margin: 0 calc(var(--gutter) * -1); }
.game-shot .phone { width: 272px; margin: 0 auto; }
.game-shot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(243, 236, 255, 0), var(--violet-tint)); }
.features { margin-top: 30px; display: grid; gap: 14px; }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 20px; border: 2px solid var(--line); background: #fff; }
.feature .icon-tile { width: 48px; height: 48px; border-radius: 14px; }
.feature h3 { font-size: 18px; font-weight: 800; }
.feature p { margin-top: 4px; color: var(--ink-dim); font-size: 16px; }
.t-flame { background: var(--flame) !important; box-shadow: 0 4px 0 var(--gold-edge) !important; }
.t-gold { background: var(--gold) !important; color: var(--ink) !important; box-shadow: 0 4px 0 var(--gold-edge) !important; }
.t-heart { background: var(--heart) !important; box-shadow: 0 4px 0 #D62F60 !important; }
.t-green { background: var(--green) !important; box-shadow: 0 4px 0 var(--green-edge) !important; }
.t-ink { background: var(--ink) !important; box-shadow: 0 4px 0 #14033A !important; }

/* ---------- Science ---------- */
.ideas { margin-top: 40px; display: grid; gap: 16px; }
.idea { background: #fff; border-radius: 22px; padding: 22px; border: 2px solid var(--line); box-shadow: 0 5px 0 var(--line); }
.idea h3 { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.idea h3 .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--violet); flex-shrink: 0; }
.idea p { margin-top: 8px; color: var(--ink-dim); }
.honest { margin-top: 28px; text-align: center; font-weight: 600; color: var(--ink-dim); }

/* ---------- Pricing ---------- */
.plans { margin: 44px auto 0; max-width: 820px; display: grid; gap: 22px; }
.plan { position: relative; background: #fff; border-radius: 26px; padding: 30px 24px 26px; border: 2px solid var(--line); box-shadow: 0 6px 0 var(--line); display: flex; flex-direction: column; }
.plan.best { border: 3px solid var(--violet); box-shadow: 0 6px 0 var(--violet-edge); }
.plan .tag {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px; border-radius: 10px; background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em; white-space: nowrap; box-shadow: 0 3px 0 var(--gold-edge);
}
.plan h3 { font-size: 20px; font-weight: 800; }
.price { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.price span { font-size: 17px; font-weight: 600; color: var(--ink-dim); }
.plan .sub { margin-top: 8px; font-weight: 600; color: var(--ink-dim); font-size: 15px; }
.plan .sub.trial { color: var(--green-ink); }
.plan ul { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 500; }
.plan li svg { flex-shrink: 0; margin-top: 3px; color: var(--green); }
.fine { margin: 26px auto 0; max-width: 720px; font-size: 13.5px; color: var(--ink-dim); text-align: center; }

/* ---------- FAQ ---------- */
.faq { margin: 40px auto 0; max-width: 780px; display: grid; gap: 12px; }
.faq details { border-radius: 18px; border: 2px solid var(--line); background: #fff; box-shadow: 0 4px 0 var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; background: var(--violet-tint); color: var(--violet); display: grid; place-items: center; transition: transform 0.2s ease; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details > div { padding: 0 20px 20px; color: var(--ink-dim); }
.faq details > div p + p { margin-top: 10px; }

/* ---------- Final CTA ---------- */
.final {
  position: relative; overflow: hidden;
  border-radius: 30px; padding: 44px 20px; text-align: center; color: #fff;
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    var(--violet);
  box-shadow: 0 7px 0 var(--violet-edge);
}
.final .logo-tile { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto; box-shadow: 0 5px 0 var(--violet-edge); }
.final h2 { margin-top: 22px; font-size: 32px; font-weight: 800; }
.final p { text-wrap: pretty; margin: 12px auto 0; max-width: 480px; font-size: 18px; opacity: 0.92; }
.final .badges { margin-top: 26px; justify-content: center; }
.plans-cta { margin-top: 30px; display: flex; justify-content: center; }
.final .note { margin-top: 12px; font-size: 14px; font-weight: 600; opacity: 0.9; }

/* ---------- Footer ---------- */
.footer { margin-top: 72px; border-top: 2px solid var(--line); padding: 32px 0 40px; }
.footer .wrap { display: flex; flex-direction: column; gap: 18px; }
.footer .brand { font-size: 17px; }
.footer .logo-tile { box-shadow: none; border: 2px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: 15px; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--violet); }
.footer small { color: var(--ink-dim); font-size: 13.5px; }

/* ---------- Sticky phone CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 2px solid var(--line);
  box-shadow: 0 -10px 30px -12px rgba(42, 11, 102, 0.25);
  transform: translateY(110%); transition: transform 0.25s ease;
}
.sticky-cta.is-on { transform: none; }
.sticky-cta .badges { flex: 1; justify-content: center; flex-wrap: nowrap; gap: 8px; }
.sticky-cta .store-badge img { height: 44px; }

/* ---------- Legal / support pages ---------- */
.top.slim .nav { padding-bottom: 18px; }
.page-head { padding-top: 22px; padding-bottom: 46px; }
.page-head h1 { font-size: 36px; font-weight: 800; }
.page-head p { margin-top: 8px; opacity: 0.9; }
.doc { max-width: 760px; margin: 0 auto; padding: 44px var(--gutter) 0; }
.doc h2 { font-size: 22px; font-weight: 800; margin-top: 34px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: #463476; }
.doc p { margin-top: 10px; }
.doc ul { margin: 10px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc .card { margin-top: 18px; padding: 22px; border-radius: 22px; border: 2px solid var(--line); box-shadow: 0 5px 0 var(--line); }
.doc .card .btn { margin-top: 16px; }

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  .versus { grid-template-columns: 1fr 1fr; }
  .skills { grid-template-columns: 1fr 1fr; }
  .ideas { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .features { grid-template-columns: 1fr 1fr; }
  .footer .wrap { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 960px) {
  :root { --gutter: 32px; }
  body { font-size: 18px; }
  .section { padding: 104px 0; }
  .h2 { font-size: 44px; }
  .lede { font-size: 19px; }
  .nav { padding-top: 22px; padding-bottom: 22px; }
  .nav-links { display: flex; }

  .hero { grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 40px; padding-top: 30px; padding-bottom: 72px; }
  .hero h1 { font-size: 62px; }
  .hero-sub { font-size: 20px; }
  .store-badge img { height: 56px; }
  .hero-shot { height: auto; overflow: visible; margin: 0; padding: 10px 0; }
  .hero-shot .phone { width: 300px; margin: 0 auto; }
  .chip { font-size: 15px; padding: 11px 16px; }
  .chip-1 { top: 70px; left: -6px; }
  .chip-2 { top: 260px; right: -4px; }
  .chip-3 { top: auto; bottom: 205px; left: 0; }

  .steps { grid-template-columns: repeat(3, 1fr); }
  .skills { grid-template-columns: repeat(3, 1fr); }
  .ideas { grid-template-columns: repeat(4, 1fr); }

  .game { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
  .game-shot { height: auto; overflow: visible; margin: 0; }
  .game-shot::after { display: none; }
  .game-shot .phone { width: 320px; }

  .final { padding: 72px 40px; }
  .final h2 { font-size: 46px; }
  .sticky-cta { display: none; }
}

/* Japanese pages: Poppins has no kana, so text falls back to the system font (Hiragino on Apple). Headlines break at phrase boundaries where supported (body text stays normal: auto-phrase there widens grid cards past a phone screen). */
html:lang(ja) :is(h1, h2) { word-break: auto-phrase; }
