:root {
  --home-cream: #fff7e7;
  --home-cream-2: #f6ead1;
  --home-ink: #24203a;
  --home-brown: #5b4a3d;
  --home-gold: #ffc83d;
  --home-red: #e95660;
  --home-mint: #36b996;
  --home-blue: #4f91d8;
  --home-border: #5e5147;
  --home-shadow: #b69f7b;
}

.home-shell {
  overflow-x: hidden;
  background:
    linear-gradient(rgba(91, 74, 61, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 74, 61, .055) 1px, transparent 1px),
    var(--home-cream);
  background-size: 24px 24px;
  color: var(--home-ink);
}

.home-header, .home-main, .home-shell > .site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.home-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 2px solid rgba(94, 81, 71, .22);
}

.home-brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.home-brand > span:last-child { display: grid; line-height: 1; }
.home-brand strong { font-size: 21px; letter-spacing: .08em; }
.home-brand small { margin-top: 6px; color: #796d63; font-size: 9px; font-weight: 750; letter-spacing: .09em; }
.home-brand-mark { width: 34px; aspect-ratio: 1; display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--home-ink); border-radius: 4px; overflow: hidden; box-shadow: 3px 3px 0 rgba(36, 32, 58, .16); }
.home-brand-mark i:nth-child(1) { background: #f0536b; }
.home-brand-mark i:nth-child(2) { background: #ffda47; }
.home-brand-mark i:nth-child(3) { background: #34bb91; }
.home-brand-mark i:nth-child(4) { background: #54a7e6; }

.home-header-actions, .home-nav { display: flex; align-items: center; gap: 22px; }
.home-nav a { color: #61564e; font-size: 14px; font-weight: 750; text-decoration: none; }
.home-nav a:hover { color: var(--home-ink); }

.language-picker { position: relative; }
.language-picker summary { min-width: 68px; min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--home-border); border-radius: 8px; background: #fffdf7; box-shadow: 3px 3px 0 var(--home-shadow); font-size: 13px; font-weight: 850; cursor: pointer; list-style: none; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker[open] summary { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--home-shadow); }
.language-picker > div { position: absolute; z-index: 20; top: calc(100% + 10px); right: 0; width: 168px; display: grid; padding: 7px; border: 2px solid var(--home-border); border-radius: 10px; background: #fffdf7; box-shadow: 5px 5px 0 var(--home-shadow); }
.language-picker a { padding: 9px 10px; border-radius: 6px; color: #52483f; font-size: 13px; font-weight: 650; text-decoration: none; }
.language-picker a:hover, .language-picker a[aria-current="page"] { background: var(--home-gold); color: var(--home-ink); }

.home-hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: clamp(38px, 6vw, 90px);
  padding: 72px 0 100px;
  border-bottom: 2px solid rgba(94, 81, 71, .2);
}

.launch-pill { width: fit-content; display: inline-flex; align-items: center; gap: 9px; margin: 0 0 28px; padding: 9px 13px; border: 1px solid rgba(94, 81, 71, .28); border-radius: 999px; background: rgba(255, 253, 247, .8); color: #675b52; font-size: 12px; font-weight: 800; }
.launch-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--home-mint); box-shadow: 0 0 0 4px rgba(54, 185, 150, .14); }
.pixel-kicker { margin: 0 0 17px; color: #8e5833; font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.hero-message h1 { margin: 0; max-width: 590px; font-size: clamp(56px, 6.6vw, 92px); line-height: .96; letter-spacing: -.065em; text-wrap: balance; }
.hero-message h1 em { position: relative; color: var(--home-red); font-style: normal; }
.hero-message h1 em::after { content: ""; position: absolute; left: 3px; right: 2px; bottom: -7px; height: 7px; background: repeating-linear-gradient(90deg, var(--home-gold) 0 8px, transparent 8px 12px); }
.hero-lead { max-width: 560px; margin: 32px 0 0; color: #665b53; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.7; word-break: keep-all; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pixel-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 22px; border: 2px solid var(--home-border); border-radius: 9px; box-shadow: 4px 4px 0 var(--home-shadow); font-size: 15px; font-weight: 850; text-decoration: none; transition: transform .14s ease, box-shadow .14s ease; }
.pixel-button:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--home-shadow); }
.pixel-button-primary { background: var(--home-gold); color: var(--home-ink); }
.pixel-button-secondary { background: #fffdf7; color: var(--home-ink); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; color: #776b61; font-size: 13px; font-weight: 750; }
.hero-tags span { color: var(--home-red); }

.hero-showcase { position: relative; min-height: 590px; isolation: isolate; }
.hero-showcase::before { content: ""; position: absolute; z-index: -2; inset: 50px 15px 10px 95px; border: 2px solid var(--home-border); border-radius: 24px; background: var(--home-gold); box-shadow: 12px 12px 0 rgba(91, 74, 61, .16); transform: rotate(3deg); }
.world-card, .canvas-card { position: absolute; overflow: hidden; margin: 0; border: 3px solid var(--home-border); background: #fffdf7; box-shadow: 9px 9px 0 rgba(91, 74, 61, .2); }
.world-card { z-index: 2; top: 0; right: 28px; width: min(72%, 390px); border-radius: 18px; transform: rotate(1.5deg); }
.canvas-card { z-index: 3; left: 0; bottom: 8px; width: min(53%, 280px); border-radius: 13px; transform: rotate(-4deg); }
.world-card img, .canvas-card img { width: 100%; height: auto; display: block; }
.world-card img { aspect-ratio: 3 / 4; object-fit: cover; }
.canvas-card img { aspect-ratio: 1; object-fit: cover; }
.world-card figcaption, .canvas-card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 15px; border-top: 2px solid var(--home-border); }
.world-card figcaption span, .canvas-card figcaption span { color: #9a6b25; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.world-card figcaption b, .canvas-card figcaption b { font-size: 12px; }
.floating-note { position: absolute; z-index: 4; right: 0; bottom: 78px; display: grid; gap: 3px; padding: 14px 17px; border: 2px solid var(--home-border); border-radius: 9px; background: #fffdf7; box-shadow: 5px 5px 0 var(--home-shadow); transform: rotate(3deg); }
.floating-note b { color: #be3e55; font-size: 13px; }
.floating-note small { color: #74675e; font-size: 10px; }
.pixel-spark { position: absolute; width: 13px; aspect-ratio: 1; background: var(--home-blue); box-shadow: 18px 0 0 var(--home-red), 0 18px 0 var(--home-mint), 18px 18px 0 var(--home-gold); }
.pixel-spark-a { z-index: 5; top: 18px; left: 50px; }
.pixel-spark-b { right: 18px; bottom: 20px; transform: scale(.75) rotate(15deg); }

.home-shell .legal-grid { padding-top: 86px; }
.home-shell .info-card, .home-shell .operator-card { box-shadow: 6px 6px 0 rgba(91, 74, 61, .11); }

.story-section,
.feature-section,
.social-section,
.film-section,
.start-section,
.faq-section,
.launch-section {
  scroll-margin-top: 28px;
  padding-block: 110px;
  border-bottom: 2px solid rgba(94, 81, 71, .2);
}

.story-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr); column-gap: 70px; align-items: end; }
.story-heading .pixel-kicker { grid-column: 1 / -1; }
.story-heading h2, .feature-heading h2, .social-intro h2, .film-copy h2, .start-section h2, .faq-section h2, .launch-section h2 { margin: 0; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.05; letter-spacing: -.055em; text-wrap: balance; }
.story-heading > p:last-child, .social-intro > p:last-child, .film-copy > p:not(.pixel-kicker):not(.film-note), .start-section header > p:last-child, .launch-section > p:not(.pixel-kicker) { margin: 0; color: #6c6057; font-size: 17px; line-height: 1.75; word-break: keep-all; }

.journey-track { display: grid; grid-template-columns: repeat(4, 1fr); margin: 62px 0 0; padding: 0; border: 2px solid var(--home-border); border-radius: 16px; background: rgba(255, 253, 247, .72); box-shadow: 8px 8px 0 rgba(91, 74, 61, .13); list-style: none; overflow: hidden; }
.journey-track li { position: relative; min-height: 240px; padding: 25px 22px 28px; }
.journey-track li + li { border-left: 2px solid var(--home-border); }
.journey-track li:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 28px; right: -14px; width: 27px; height: 27px; display: grid; place-items: center; border: 2px solid var(--home-border); border-radius: 50%; background: var(--home-gold); font-size: 13px; font-weight: 900; }
.journey-track li > span { display: inline-grid; place-items: center; width: 42px; height: 34px; border: 2px solid var(--home-border); border-radius: 6px; background: var(--home-gold); box-shadow: 3px 3px 0 var(--home-shadow); font-size: 12px; font-weight: 900; }
.journey-track li:nth-child(2) > span { background: #ff9297; }
.journey-track li:nth-child(3) > span { background: #72d2b1; }
.journey-track li:nth-child(4) > span { background: #77b8ed; }
.journey-track b { display: block; margin-top: 42px; font-size: 18px; }
.journey-track p { margin: 12px 0 0; color: #71665d; font-size: 14px; line-height: 1.65; }

.feature-section { display: grid; gap: 62px; }
.feature-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.feature-heading .pixel-kicker { align-self: flex-start; margin-top: 13px; }
.feature-panel { min-height: 600px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); border: 3px solid var(--home-border); border-radius: 24px; background: #fffdf7; box-shadow: 11px 11px 0 rgba(91, 74, 61, .14); overflow: hidden; }
.feature-visual { position: relative; min-height: 560px; overflow: hidden; background: #e7f1f7; }
.feature-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.canvas-feature .feature-visual img { object-position: center; }
.world-feature .feature-visual img { object-position: center 48%; }
.feature-label { position: absolute; left: 20px; bottom: 20px; padding: 10px 13px; border: 2px solid var(--home-border); border-radius: 6px; background: var(--home-gold); box-shadow: 4px 4px 0 rgba(91, 74, 61, .4); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 6vw, 76px); }
.feature-number { width: fit-content; margin-bottom: 34px; color: #9a6b25; font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.feature-copy h3 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.05em; }
.feature-copy > p { margin: 25px 0 0; color: #6a5f56; font-size: 17px; line-height: 1.72; }
.feature-copy ul { display: grid; gap: 12px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid #d9cfbf; list-style: none; }
.feature-copy li { position: relative; padding-left: 22px; color: #514941; font-size: 14px; line-height: 1.5; }
.feature-copy li::before { content: ""; position: absolute; top: .42em; left: 0; width: 9px; height: 9px; background: var(--home-red); box-shadow: 2px 2px 0 rgba(91, 74, 61, .3); }
.world-feature { grid-template-columns: minmax(360px, .95fr) minmax(0, 1.05fr); }

.social-section { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 65px; align-items: center; }
.social-intro { max-width: 410px; }
.social-intro > p:last-child { margin-top: 26px; }
.social-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.social-cards article { min-height: 280px; padding: 25px; border: 2px solid var(--home-border); border-radius: 15px; background: #fffdf7; box-shadow: 6px 6px 0 rgba(91, 74, 61, .13); }
.social-cards article:nth-child(2) { transform: translateY(24px); }
.social-cards article > span { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--home-border); border-radius: 11px; background: #ffd964; color: var(--home-ink); font-size: 22px; font-weight: 900; }
.social-cards article:nth-child(2) > span { background: #f79ba0; }
.social-cards article:nth-child(3) > span { background: #86d7bb; }
.social-cards h3 { margin: 40px 0 10px; font-size: 24px; letter-spacing: -.03em; }
.social-cards p { margin: 0; color: #70645c; font-size: 14px; line-height: 1.65; }

.film-section { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(350px, 1.28fr); gap: 80px; align-items: center; }
.film-copy > p:not(.pixel-kicker):not(.film-note) { margin-top: 27px; }
.film-note { margin: 22px 0 0; color: #8a776a; font-size: 12px; line-height: 1.5; }
.film-frame { position: relative; width: min(410px, 100%); justify-self: center; padding: 11px; border: 3px solid var(--home-border); border-radius: 28px; background: #29263a; box-shadow: 12px 12px 0 rgba(91, 74, 61, .18); }
.film-frame::before { content: ""; display: block; width: 70px; height: 7px; margin: 2px auto 10px; border-radius: 99px; background: #4e4a5f; }
.film-frame video { width: 100%; aspect-ratio: 9 / 16; display: block; border-radius: 15px; background: #16141d; object-fit: cover; }
.film-badge { position: absolute; right: -28px; top: 70px; padding: 10px 12px; border: 2px solid var(--home-border); border-radius: 7px; background: var(--home-gold); box-shadow: 4px 4px 0 var(--home-shadow); font-size: 10px; font-weight: 900; letter-spacing: .08em; transform: rotate(4deg); }

.start-section header { max-width: 760px; }
.start-section header > p:last-child { max-width: 650px; margin-top: 24px; }
.start-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 54px; }
.start-steps article { min-height: 210px; padding: 23px; border: 2px solid var(--home-border); border-radius: 13px; background: #fffdf7; box-shadow: 5px 5px 0 rgba(91, 74, 61, .12); }
.start-steps span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: var(--home-ink); color: white; font-size: 13px; font-weight: 900; }
.start-steps h3 { margin: 40px 0 8px; font-size: 19px; }
.start-steps p { margin: 0; color: #74685f; font-size: 14px; line-height: 1.6; }

.faq-section { display: grid; grid-template-columns: minmax(250px, .55fr) minmax(0, 1.45fr); gap: 72px; }
.faq-section h2 { font-size: clamp(38px, 4.4vw, 58px); }
.faq-list { border-top: 2px solid var(--home-border); }
.faq-list details { border-bottom: 2px solid var(--home-border); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 4px; font-size: 17px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { width: 30px; height: 30px; display: grid; place-items: center; flex: none; border: 2px solid var(--home-border); border-radius: 6px; background: #fffdf7; transition: transform .16s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 760px; margin: -5px 52px 25px 4px; color: #6c6057; font-size: 15px; line-height: 1.75; }

.launch-section { position: relative; text-align: center; border: 3px solid var(--home-border); border-radius: 26px; margin-block: 110px; padding-inline: 30px; background: var(--home-ink); color: white; box-shadow: 12px 12px 0 var(--home-gold); overflow: hidden; }
.launch-section::before, .launch-section::after { content: ""; position: absolute; width: 210px; height: 210px; border-radius: 50%; filter: blur(1px); opacity: .13; }
.launch-section::before { top: -90px; left: -55px; background: var(--home-red); }
.launch-section::after { right: -65px; bottom: -105px; background: var(--home-blue); }
.launch-section .pixel-kicker { position: relative; color: #ffd963; }
.launch-section h2 { position: relative; max-width: 850px; margin-inline: auto; font-size: clamp(43px, 5.7vw, 74px); }
.launch-section > p:not(.pixel-kicker) { position: relative; max-width: 600px; margin: 26px auto 0; color: #c7c4d0; }
.launch-pixels { position: absolute; top: 30px; right: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.launch-pixels i { width: 10px; height: 10px; }
.launch-pixels i:nth-child(1) { background: #f0536b; }.launch-pixels i:nth-child(2) { background: #ffda47; }.launch-pixels i:nth-child(3) { background: #34bb91; }.launch-pixels i:nth-child(4) { background: #54a7e6; }
.store-status { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.store-status > span { min-width: 210px; display: grid; gap: 3px; padding: 14px 20px; border: 2px solid #d7d4dc; border-radius: 10px; background: #fffdf7; color: var(--home-ink); font-size: 16px; font-weight: 850; text-align: left; }
.store-status small { color: #83786f; font-size: 10px; font-weight: 750; letter-spacing: .04em; }
.launch-support { position: relative; display: inline-flex; margin-top: 31px; color: #ffdd72; font-size: 14px; font-weight: 800; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .home-nav { display: none; }
  .home-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 58px; }
  .hero-message { max-width: 680px; }
  .hero-showcase { width: min(640px, 100%); min-height: 580px; margin-inline: auto; }
  .story-heading, .social-section, .film-section, .faq-section { grid-template-columns: 1fr; }
  .story-heading > p:last-child { margin-top: 24px; }
  .journey-track { grid-template-columns: repeat(2, 1fr); }
  .journey-track li:nth-child(3) { border-left: 0; border-top: 2px solid var(--home-border); }
  .journey-track li:nth-child(4) { border-top: 2px solid var(--home-border); }
  .journey-track li:nth-child(2)::after { display: none; }
  .feature-heading { display: block; }
  .feature-heading .pixel-kicker { margin-top: 0; }
  .feature-panel, .world-feature { grid-template-columns: 1fr; }
  .feature-visual { min-height: 520px; }
  .world-feature .feature-copy { order: 2; }
  .social-intro { max-width: 680px; }
  .social-cards article:nth-child(2) { transform: none; }
  .film-copy { max-width: 680px; }
  .start-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .home-header, .home-main, .home-shell > .site-footer { width: min(100% - 30px, 1180px); }
  .home-header { min-height: 72px; }
  .home-brand small { display: none; }
  .home-brand-mark { width: 30px; }
  .hero-message h1 { font-size: clamp(50px, 16vw, 70px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .pixel-button { width: 100%; }
  .hero-tags { gap: 10px 14px; }
  .hero-showcase { min-height: 480px; }
  .hero-showcase::before { inset: 45px 4px 8px 52px; }
  .world-card { right: 8px; width: 74%; }
  .canvas-card { width: 52%; }
  .floating-note { right: 2px; bottom: 44px; padding: 11px 12px; }
  .pixel-spark-a { left: 15px; }
  .story-section, .feature-section, .social-section, .film-section, .start-section, .faq-section { padding-block: 78px; }
  .story-heading h2, .feature-heading h2, .social-intro h2, .film-copy h2, .start-section h2, .launch-section h2 { font-size: clamp(38px, 11vw, 54px); }
  .journey-track { grid-template-columns: 1fr; }
  .journey-track li { min-height: 190px; }
  .journey-track li + li { border-left: 0; border-top: 2px solid var(--home-border); }
  .journey-track li:not(:last-child)::after { display: none; }
  .journey-track b { margin-top: 30px; }
  .feature-panel { min-height: 0; border-radius: 16px; }
  .feature-visual { min-height: 420px; }
  .feature-copy { padding: 34px 25px 42px; }
  .feature-copy h3 { font-size: 36px; }
  .feature-copy > p { font-size: 16px; }
  .social-cards { grid-template-columns: 1fr; }
  .social-cards article { min-height: 220px; }
  .social-cards h3 { margin-top: 28px; }
  .film-section { gap: 45px; }
  .film-badge { right: -5px; }
  .start-steps { grid-template-columns: 1fr; }
  .start-steps article { min-height: 180px; }
  .faq-section { gap: 35px; }
  .faq-list summary { font-size: 16px; }
  .launch-section { margin-block: 78px; padding: 76px 19px; box-shadow: 7px 7px 0 var(--home-gold); }
  .store-status { display: grid; }
  .store-status > span { width: 100%; min-width: 0; }
}

@media (max-width: 390px) {
  .hero-showcase { min-height: 430px; }
  .floating-note small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pixel-button { transition: none; }
}
