@import url('https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap');

@font-face {
  font-family: 'Manrope';
  src: url('./assets/fonts/manrope-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0460-052F, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Manrope';
  src: url('./assets/fonts/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1b1919;
  --muted: #77727b;
  --purple: #6842df;
  --purple-dark: #5833d1;
  --purple-soft: #f1ecff;
  --green: #65c96d;
  --line: #ebe8e5;
  --surface: #fffefd;
  --surface-soft: #f7f5f2;
  --sky: #eaf5ff;
  --shadow-sm: 0 10px 30px rgba(48, 36, 58, 0.07);
  --shadow-lg: 0 30px 80px rgba(49, 37, 72, 0.15);
  color: var(--ink);
  background: var(--surface);
  font-family: 'Manrope', Inter, ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 12%, rgba(225, 241, 255, 0.7), transparent 24rem),
    radial-gradient(circle at 98% 6%, rgba(239, 232, 255, 0.75), transparent 30rem),
    var(--surface);
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--purple);
  translate: 0 -150%;
}

.skip-link:focus {
  translate: 0;
}

.shell {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  height: 88px;
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: height 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  height: 72px;
  border-color: rgba(225, 221, 218, 0.82);
  background: rgba(255, 254, 253, 0.88);
  box-shadow: 0 8px 26px rgba(45, 35, 50, 0.05);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.brand span {
  font-family: 'Nanum Pen Script', 'Manrope', sans-serif;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
  font-size: 13px;
  font-weight: 650;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  height: 2px;
  position: absolute;
  right: 50%;
  bottom: 2px;
  left: 50%;
  border-radius: 99px;
  content: '';
  background: var(--purple);
  transition: right 160ms ease, left 160ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
  left: 0;
}

.button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: translate 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  translate: 0 -2px;
}

.button:active {
  translate: 0;
}

.button:focus-visible,
.text-link:focus-visible,
.desktop-nav a:focus-visible,
.brand:focus-visible,
.platform-button:focus-visible,
.site-footer a:focus-visible,
summary:focus-visible,
.dialog-close:focus-visible,
.dialog-platform:focus-visible {
  outline: 3px solid rgba(104, 66, 223, 0.28);
  outline-offset: 3px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-dark), #7952e8);
  box-shadow: 0 12px 25px rgba(104, 66, 223, 0.25);
}

.button-primary:hover {
  box-shadow: 0 16px 30px rgba(104, 66, 223, 0.32);
}

.button-small {
  min-height: 44px;
  padding-inline: 19px;
  border-radius: 13px;
  font-size: 13px;
}

.button-light {
  color: var(--purple-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero {
  min-height: 820px;
  padding: 144px 0 60px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.hero h1 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(52px, 5.2vw, 76px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 580px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-actions .button {
  min-width: 150px;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
}

.text-link span {
  font-size: 18px;
  transition: translate 160ms ease;
}

.text-link:hover span {
  translate: 0 3px;
}

.availability {
  margin: 22px 0 0;
  color: #938d96;
  font-size: 12px;
}

.hero-product {
  min-height: 600px;
  position: relative;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: 8% 8% 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 44%, rgba(148, 111, 240, 0.28), transparent 45%),
    radial-gradient(circle at 18% 40%, rgba(104, 201, 109, 0.15), transparent 37%),
    radial-gradient(circle at 80% 66%, rgba(135, 202, 255, 0.25), transparent 38%);
  filter: blur(30px);
}

.phone {
  margin: 0;
  overflow: hidden;
  position: absolute;
  border: 5px solid #18161b;
  border-radius: 44px;
  background: #fff;
  box-shadow:
    0 34px 70px rgba(41, 31, 54, 0.19),
    0 8px 24px rgba(41, 31, 54, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.phone::before {
  width: 30%;
  height: 14px;
  position: absolute;
  z-index: 3;
  top: 6px;
  left: 50%;
  border-radius: 999px;
  content: '';
  background: #151318;
  translate: -50% 0;
}

.phone img {
  width: 100%;
  height: calc(100% + 16px);
  margin: 0;
  object-fit: cover;
  object-position: top center;
  border-radius: 34px;
  translate: 0 14px;
}

.phone-main {
  width: 300px;
  aspect-ratio: 390 / 844;
  z-index: 3;
  top: 0;
  left: 50%;
  translate: -50% 0;
}

.phone-side {
  width: 224px;
  aspect-ratio: 390 / 844;
  z-index: 2;
  top: 104px;
  opacity: 1;
  border-width: 5px;
  border-radius: 36px;
  box-shadow:
    0 26px 54px rgba(41, 31, 54, 0.15),
    0 6px 18px rgba(41, 31, 54, 0.08);
}

.phone-progress {
  left: 2%;
  rotate: -1.6deg;
}

.phone-world {
  right: 1%;
  rotate: 1.6deg;
}

.hero-mascot {
  width: 142px;
  height: 142px;
  position: absolute;
  z-index: 5;
  right: -8px;
  bottom: 18px;
  object-fit: contain;
  filter: drop-shadow(0 18px 19px rgba(74, 149, 71, 0.2));
}

.proof-strip {
  position: relative;
  z-index: 6;
  margin-top: -48px;
}

.proof-grid {
  min-height: 108px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(234, 230, 227, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.proof-item {
  min-width: 0;
  padding: 0 clamp(12px, 2vw, 34px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--purple);
  background: var(--purple-soft);
  font-size: 14px;
  font-weight: 800;
}

.proof-item > span:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.proof-item strong {
  font-size: 16px;
  letter-spacing: -0.025em;
}

.proof-item small {
  color: var(--muted);
  font-size: 11px;
}

.section {
  padding: 126px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.world-copy h2,
.download-copy h2,
.final-card h2 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 56px);
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.section-heading > p:last-child,
.world-copy > p:not(.eyebrow),
.download-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.section-heading.centered > p:last-child {
  margin-right: auto;
  margin-left: auto;
}

.how {
  padding-top: 148px;
}

.steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
}

.step-card {
  min-height: 440px;
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(48, 36, 58, 0.05);
}

.step-art {
  height: 220px;
  display: grid;
  place-items: center;
  border-radius: 20px;
}

.step-art-reading {
  background: linear-gradient(145deg, #f7efff, #fff);
}

.step-art-water {
  background: linear-gradient(145deg, #eef8ff, #fff);
}

.step-art-world {
  background: linear-gradient(145deg, #eff8eb, #f7fbff);
}

.step-art img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.step-number {
  width: 30px;
  height: 30px;
  margin-top: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.step-card h3 {
  margin: 13px 0 0;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.step-card p,
.feature-card p,
.story-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.product-story {
  background: linear-gradient(180deg, rgba(247, 244, 255, 0.58), rgba(255, 254, 253, 0));
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.story-card {
  min-width: 0;
  overflow: hidden;
  padding: 28px 28px 0;
  border-radius: 26px;
}

.story-today {
  background: linear-gradient(160deg, #f3edff, #f9f7ff);
}

.story-reward {
  background: linear-gradient(160deg, #edf8ff, #f9fcff);
}

.story-progress {
  background: linear-gradient(160deg, #fff6e9, #fffdf9);
}

.story-copy {
  min-height: 176px;
}

.story-kicker {
  color: var(--purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card h3 {
  margin: 11px 0 0;
  font-size: 23px;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.story-screen {
  width: min(100%, 280px);
  height: 420px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  border: 5px solid #18161b;
  border-bottom: 0;
  border-radius: 38px 38px 0 0;
  background: #fff;
  box-shadow: 0 -4px 40px rgba(49, 38, 62, 0.14);
}

.story-screen::before {
  width: 31%;
  height: 14px;
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 50%;
  border-radius: 999px;
  content: '';
  background: #18161b;
  translate: -50% 0;
}

.story-screen img {
  width: 100%;
  height: calc(100% + 16px);
  margin: 0;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px 28px 0 0;
  translate: 0 14px;
}

.world-section {
  padding-top: 72px;
}

.world-card {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  padding: 70px;
  display: flex;
  align-items: center;
  border-radius: 32px;
  background: #eaf6ff;
  box-shadow: var(--shadow-sm);
}

.world-background {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.world-card::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.76) 43%, rgba(255, 255, 255, 0.08) 73%);
}

.world-copy {
  max-width: 510px;
  position: relative;
  z-index: 3;
}

.world-copy .button {
  margin-top: 30px;
}

.world-island {
  width: min(53%, 590px);
  max-height: 520px;
  position: absolute;
  z-index: 2;
  right: 1%;
  bottom: -3%;
  object-fit: contain;
  filter: drop-shadow(0 32px 25px rgba(49, 65, 47, 0.18));
}

.features {
  padding-top: 90px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 245px;
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(48, 36, 58, 0.04);
}

.feature-mark {
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 40px 0 0;
  font-size: 24px;
  letter-spacing: -0.045em;
}

.feature-card p {
  max-width: 460px;
  font-size: 14px;
}

.feature-coach {
  display: grid;
  grid-template-columns: 1fr 160px;
}

.feature-coach img {
  width: 170px;
  height: 170px;
  align-self: end;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(61, 78, 102, 0.16));
}

.download-section {
  padding-top: 56px;
}

.download-card {
  padding: 64px;
  border: 1px solid #e7e0f7;
  border-radius: 32px;
  background: linear-gradient(145deg, #fbf9ff, #f3efff 54%, #f7fbff);
}

.download-copy {
  max-width: 780px;
}

.platform-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.platform-button {
  min-width: 0;
  min-height: 76px;
  position: relative;
  padding: 12px 15px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: translate 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.platform-button[href]:hover {
  translate: 0 -2px;
  box-shadow: 0 12px 24px rgba(45, 34, 58, 0.13);
}

.platform-apple,
.platform-google {
  color: #fff;
  background: #050505;
}

.platform-rustore {
  border-color: #dcd6ee;
  color: #211e27;
  background: #fff;
}

.platform-gallery {
  border-color: #efc9cd;
  color: #1f1d20;
  background: #fff;
}

.platform-telegram {
  border-color: #229ed9;
  color: #fff;
  background: #229ed9;
}

.platform-direct {
  border-color: rgba(104, 66, 223, 0.17);
  color: var(--purple-dark);
  background: rgba(255, 255, 255, 0.88);
}

.platform-direct.platform-telegram {
  border-color: #229ed9;
  color: #fff;
  background: #229ed9;
}

.platform-button[aria-disabled='true'] {
  cursor: default;
  filter: grayscale(1);
  opacity: 0.55;
}

.platform-button.is-disabled {
  cursor: default;
  filter: grayscale(1);
  opacity: 0.55;
}

.platform-button.is-recommended {
  border-color: #9d82ea;
  box-shadow: 0 0 0 3px rgba(104, 66, 223, 0.09);
}

.platform-symbol {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
  font-size: 17px;
  font-style: normal;
  font-weight: 850;
}

.platform-symbol svg {
  width: 23px;
  height: 23px;
  display: block;
  fill: currentColor;
}

.platform-symbol img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.platform-apple .platform-symbol,
.platform-google .platform-symbol,
.platform-telegram .platform-symbol {
  background: rgba(255, 255, 255, 0.12);
}

.platform-direct .platform-symbol {
  background: var(--purple-soft);
}

.platform-direct.platform-telegram .platform-symbol {
  background: rgba(255, 255, 255, 0.14);
}

.symbol-rustore {
  background: transparent;
}

.symbol-gallery {
  background: transparent;
}

.platform-button > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.platform-button small {
  color: currentColor;
  font-size: 9px;
  font-weight: 600;
  opacity: 0.7;
}

.platform-button strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-button em {
  position: absolute;
  top: 7px;
  right: 9px;
  color: currentColor;
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0.78;
}

.platform-rustore em,
.platform-gallery em,
.platform-web em {
  background: rgba(104, 66, 223, 0.08);
}

.links-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.links-note code {
  padding: 2px 5px;
  border-radius: 5px;
  color: var(--purple-dark);
  background: rgba(104, 66, 223, 0.09);
}

.faq {
  padding-top: 100px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 80px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(43, 31, 46, 0.035);
}

.faq-list summary {
  min-height: 72px;
  padding: 20px 56px 20px 22px;
  position: relative;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  width: 28px;
  height: 28px;
  position: absolute;
  right: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  content: '+';
  color: var(--purple);
  background: var(--purple-soft);
  font-size: 18px;
  transition: rotate 160ms ease;
}

.faq-list details[open] summary::after {
  rotate: 45deg;
}

.faq-list details p {
  margin: -5px 60px 22px 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.final-cta {
  padding: 20px 0 110px;
}

.final-card {
  min-height: 360px;
  overflow: hidden;
  position: relative;
  padding: 60px;
  display: flex;
  align-items: center;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 30%, rgba(190, 157, 255, 0.7), transparent 24rem),
    linear-gradient(135deg, #5a34cf, #7651e6);
}

.final-card > div {
  max-width: 690px;
  position: relative;
  z-index: 2;
}

.final-card .eyebrow {
  color: #e8ddff;
}

.final-card .button {
  margin-top: 30px;
}

.final-card > img {
  width: 300px;
  height: 300px;
  position: absolute;
  right: 4%;
  bottom: -22px;
  object-fit: contain;
  filter: drop-shadow(0 28px 25px rgba(33, 27, 57, 0.25));
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 11px;
}

.footer-inner .brand {
  color: var(--ink);
  font-size: 16px;
}

.footer-inner .brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
}

.footer-inner a:hover {
  color: var(--purple);
}

.download-dialog {
  width: min(590px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 26px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 30px 90px rgba(32, 24, 44, 0.28);
}

.download-dialog::backdrop {
  background: rgba(25, 19, 31, 0.48);
  backdrop-filter: blur(6px);
}

.dialog-panel {
  max-height: calc(100dvh - 32px);
  padding: 28px;
  overflow-y: auto;
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dialog-heading .eyebrow {
  margin-bottom: 9px;
  font-size: 9px;
}

.dialog-heading h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.045em;
}

.dialog-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.dialog-platforms {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.dialog-platform {
  min-height: 64px;
  padding: 12px 14px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 800;
}

.dialog-platform:first-child {
  border-color: #a88eec;
  background: var(--purple-soft);
}

.dialog-platform small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 650;
}

.dialog-platform.is-disabled {
  opacity: 0.57;
}

.dialog-panel > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 520ms ease, translate 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  translate: 0;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 16px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .phone-main {
    width: 260px;
  }

  .phone-side {
    width: 200px;
  }

  .hero-mascot {
    right: 0;
  }

  .story-card {
    padding-right: 20px;
    padding-left: 20px;
  }

  .world-card,
  .download-card,
  .final-card {
    padding: 50px;
  }

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

  .footer-inner {
    grid-template-columns: auto 1fr auto;
  }

  .footer-inner > span:last-child {
    grid-column: 3;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 40px, 680px);
  }

  .desktop-nav {
    display: none;
  }

  .site-header {
    height: 76px;
  }

  .site-header.is-scrolled {
    height: 66px;
  }

  .brand {
    font-size: 18px;
  }

  .brand span {
    font-size: 28px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 0;
    padding: 118px 0 110px;
  }

  .hero-grid {
    display: block;
  }

  .hero-copy {
    max-width: 670px;
    margin: 0 auto;
  }

  .hero h1 {
    max-width: 660px;
    font-size: clamp(42px, 9vw, 62px);
  }

  .hero-lead {
    max-width: 600px;
  }

  .hero-product {
    min-height: 650px;
    margin-top: 54px;
  }

  .phone-main {
    width: 300px;
  }

  .phone-progress {
    left: 5%;
  }

  .phone-world {
    right: 5%;
  }

  .proof-strip {
    margin-top: -52px;
  }

  .proof-grid {
    padding: 14px;
  }

  .proof-item {
    padding-inline: 12px;
  }

  .proof-icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .proof-item strong {
    font-size: 13px;
  }

  .section {
    padding: 96px 0;
  }

  .steps,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 210px 38px 1fr;
    grid-template-rows: auto auto;
    column-gap: 20px;
    align-items: center;
  }

  .step-art {
    height: 190px;
    grid-row: 1 / 3;
  }

  .step-number {
    margin: 0;
  }

  .step-card h3 {
    margin: 0;
  }

  .step-card p {
    grid-column: 3;
  }

  .story-card {
    min-height: 480px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.78fr);
    gap: 28px;
    align-items: end;
    padding: 34px 34px 0;
  }

  .story-copy {
    min-height: 0;
    align-self: center;
    padding-bottom: 34px;
  }

  .story-screen {
    width: 100%;
    height: 440px;
  }

  .world-card {
    min-height: 690px;
    align-items: flex-start;
  }

  .world-card::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.82) 45%, rgba(255, 255, 255, 0.05) 78%);
  }

  .world-copy {
    max-width: 580px;
  }

  .world-island {
    width: 82%;
    right: 8%;
    bottom: -4%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .final-card {
    min-height: 500px;
    align-items: flex-start;
  }

  .final-card > div {
    max-width: 540px;
  }

  .final-card > img {
    width: 260px;
    height: 260px;
    right: 7%;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner p {
    display: none;
  }

  .footer-inner nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-inner > span:last-child {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  .shell {
    width: calc(100% - 40px);
  }

  .header-inner {
    gap: 16px;
  }

  .button-small {
    min-height: 42px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero .eyebrow {
    max-width: 280px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 54px);
    line-height: 1.01;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.58;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .text-link {
    justify-content: center;
  }

  .availability {
    text-align: center;
  }

  .hero-product {
    min-height: 615px;
    margin: 44px -20px 0;
  }

  .phone-main {
    width: min(78vw, 315px);
    border-width: 6px;
    border-radius: 39px;
  }

  .phone-side {
    display: none;
  }

  .hero-mascot {
    width: 125px;
    height: 125px;
    right: 3px;
    bottom: 7px;
  }

  .proof-strip {
    margin-top: -72px;
  }

  .proof-grid {
    min-height: 0;
    padding: 10px 6px;
    border-radius: 19px;
  }

  .proof-item {
    min-width: 0;
    padding: 8px 7px;
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }

  .proof-icon {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .proof-item strong {
    display: block;
    font-size: 10px;
    line-height: 1.2;
  }

  .proof-item small {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .world-copy h2,
  .download-copy h2,
  .final-card h2 {
    font-size: 36px;
    line-height: 1.08;
  }

  .section-heading > p:last-child,
  .world-copy > p:not(.eyebrow),
  .download-copy > p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 14px;
  }

  .steps {
    gap: 12px;
  }

  .step-card {
    padding: 17px;
    grid-template-columns: 96px 30px 1fr;
    column-gap: 13px;
    border-radius: 20px;
  }

  .step-art {
    height: 116px;
    border-radius: 16px;
  }

  .step-art img {
    width: 106px;
    height: 106px;
  }

  .step-number {
    width: 26px;
    height: 26px;
  }

  .step-card h3 {
    font-size: 15px;
  }

  .step-card p {
    margin-top: 4px;
    font-size: 11px;
  }

  .story-card {
    min-height: 0;
    display: block;
    padding: 25px 22px 0;
    border-radius: 22px;
  }

  .story-copy {
    min-height: 165px;
    padding: 0;
  }

  .story-card h3 {
    font-size: 22px;
  }

  .story-screen {
    width: min(100%, 275px);
    height: 420px;
  }

  .world-section {
    padding-top: 40px;
  }

  .world-card {
    width: calc(100% - 24px);
    min-height: 680px;
    padding: 34px 26px;
    border-radius: 26px;
  }

  .world-copy .button {
    width: 100%;
  }

  .world-island {
    width: 112%;
    max-width: none;
    right: -6%;
    bottom: -3%;
  }

  .feature-card {
    min-height: 210px;
    padding: 24px;
    border-radius: 20px;
  }

  .feature-card h3 {
    margin-top: 34px;
    font-size: 22px;
  }

  .feature-coach {
    grid-template-columns: 1fr 105px;
  }

  .feature-coach img {
    width: 112px;
    height: 112px;
  }

  .download-section {
    padding-top: 30px;
  }

  .download-card {
    width: calc(100% - 24px);
    padding: 34px 20px;
    border-radius: 26px;
  }

  .platform-grid {
    margin-top: 30px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .platform-button {
    min-height: 68px;
    padding: 9px;
    grid-template-columns: 33px 1fr;
    gap: 7px;
    border-radius: 14px;
  }

  .platform-symbol {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 13px;
  }

  .platform-button strong {
    font-size: 11px;
  }

  .platform-button small {
    font-size: 7px;
  }

  .platform-button em {
    top: 4px;
    right: 5px;
    max-width: 70px;
    overflow: hidden;
    font-size: 6px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .links-note {
    font-size: 9px;
  }

  .faq-list summary {
    min-height: 66px;
    font-size: 12px;
  }

  .faq-list details p {
    font-size: 11px;
  }

  .final-cta {
    padding-bottom: 80px;
  }

  .final-card {
    width: calc(100% - 24px);
    min-height: 600px;
    padding: 38px 28px;
    border-radius: 26px;
  }

  .final-card .button {
    width: 100%;
  }

  .final-card > img {
    width: 290px;
    height: 290px;
    right: 50%;
    bottom: -25px;
    translate: 50% 0;
  }

  .footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
  }

  .footer-inner nav {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .footer-inner > span:last-child {
    margin-left: auto;
  }

  .download-dialog {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 16px);
    margin: auto 0 0;
    border-radius: 24px 24px 0 0;
  }

  .dialog-panel {
    max-height: calc(100dvh - 16px);
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .dialog-heading h2 {
    font-size: 24px;
  }

  .dialog-platforms {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    translate: none;
  }
}
