﻿:root {
    --bg: #ffffff;
    --text: #17191f;
    --muted: #5d6472;
    --line: rgba(23, 25, 31, 0.12);
    --pink: #ffdfe7;
    --blue: #dfe8ff;
    --yellow: #fff1cf;
    --mint: #dbf6ef;
    --cta: #111827;
    --cta-text: #ffffff;
    --hero-card-w: 54mm;
    --hero-card-h: 86mm;
    --hero-photo-w: 46mm;
    --hero-photo-h: 62mm;
    --hero-card-gap: 8mm;
    --hero-phone-h: 126mm;
    --hero-phone-w: 62mm;
    --hero-phone-slot: 0;
}

@font-face {
    font-family: "SuperWoobly";
    src: url("/static/fonts/SuperWoobly-8MJlz.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Zen Kaku Gothic New", sans-serif;
    overflow-x: hidden;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px clamp(16px, 3vw, 40px);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
}

.site-header .logo {
    display: inline-block;
    width: 174px;
    height: 32px;
    background: url("/static/images/logo.png") center / contain no-repeat;
    color: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-indent: 100%;
}

.site-nav {
    display: flex;
    gap: 22px;
    align-items: center;
    font-size: 14px;
}

.nav-cta {
    border: 1px solid var(--line);
    padding: 8px 12px;
    border-radius: 999px;
}

.hero {
    display: grid;
    grid-template-columns: 3fr 7fr;
    min-height: calc(100vh - 62px);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(140% 140% at 2% 8%, #d8ecff 0%, transparent 48%),
        radial-gradient(120% 120% at 100% 0%, #ffd3e3 0%, transparent 46%),
        linear-gradient(128deg, #f9fbff 0%, #eef4ff 42%, #fff4f7 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: -16%;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 24%, rgba(69, 143, 255, 0.52), transparent 34%),
        radial-gradient(circle at 84% 20%, rgba(255, 104, 156, 0.56), transparent 32%),
        radial-gradient(circle at 58% 86%, rgba(255, 194, 92, 0.44), transparent 40%),
        conic-gradient(
            from 224deg at 48% 40%,
            rgba(255, 255, 255, 0) 0deg,
            rgba(197, 224, 255, 0.62) 86deg,
            rgba(255, 210, 226, 0.5) 172deg,
            rgba(255, 255, 255, 0) 360deg
        );
    filter: blur(46px);
    animation: livingPastel 14s ease-in-out infinite alternate;
    opacity: 0.96;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to right, rgba(12, 23, 47, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(12, 23, 47, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.44), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0) 68%, rgba(17, 29, 56, 0.08) 100%);
    background-size:
        38px 38px,
        38px 38px,
        auto,
        auto;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0));
    opacity: 0.48;
}

.hero-left,
.hero-right {
    position: relative;
}

.hero-right {
    overflow: visible;
    min-width: 0;
}

.hero-left {
    padding: clamp(34px, 5.2vw, 68px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-right: 1px solid rgba(32, 49, 82, 0.22);
    text-align: left;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.58)) padding-box,
        linear-gradient(165deg, rgba(102, 155, 255, 0.42), rgba(255, 143, 198, 0.36), rgba(255, 203, 128, 0.34)) border-box;
    box-shadow:
        0 22px 44px rgba(23, 39, 73, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.92) inset;
    backdrop-filter: blur(6px);
    gap: 12px;
    z-index: 2;
}

.hero-left::before {
    content: "";
    position: absolute;
    left: clamp(16px, 2.2vw, 26px);
    top: clamp(32px, 5vw, 72px);
    bottom: clamp(32px, 5vw, 72px);
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #3e7dff 0%, #ff4d98 54%, #ffae43 100%);
    box-shadow: 0 0 16px rgba(62, 125, 255, 0.34);
}

.hero-left::after {
    content: "";
    position: absolute;
    width: clamp(180px, 22vw, 280px);
    height: clamp(180px, 22vw, 280px);
    right: -26%;
    top: -8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.52), transparent 68%);
    pointer-events: none;
}

.hero-kicker {
    margin: 0;
    font-family: "Outfit", sans-serif;
    letter-spacing: 0.18em;
    font-size: 10px;
    color: #2d3c57;
    border: 1px solid rgba(45, 60, 87, 0.22);
    border-radius: 999px;
    padding: 7px 12px;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(130deg, rgba(62, 125, 255, 0.44), rgba(255, 88, 152, 0.4), rgba(255, 174, 67, 0.42))
            border-box;
    box-shadow:
        0 8px 18px rgba(36, 52, 82, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.82) inset;
}

.hero-eyebrow {
    margin: 0;
    color: #2f4263;
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    font-weight: 700;
}

h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hero-left h1 {
    margin-top: 6px;
    font-size: clamp(54px, 8vw, 112px);
    line-height: 0.9;
    letter-spacing: 0.015em;
    line-break: strict;
    word-break: keep-all;
    overflow-wrap: normal;
    font-weight: 900;
    background: linear-gradient(138deg, #11203f 0%, #2f5fff 36%, #ff4e98 68%, #ff8b2f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(20, 36, 70, 0.16);
    text-shadow:
        0 24px 50px rgba(22, 42, 82, 0.24),
        0 4px 12px rgba(255, 255, 255, 0.5);
}

.hero-left h1 span {
    font-size: 0.62em;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

.hero-lead {
    margin: 0;
    max-width: 34ch;
    color: #2f4260;
    font-size: clamp(14px, 1.35vw, 16px);
    line-height: 1.84;
    font-weight: 500;
}

.hero-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 20px;
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.hero-cta:hover {
    transform: translateY(-1px);
}

.hero-cta-primary {
    color: #fff;
    background: linear-gradient(130deg, #2148ff 0%, #5f7bff 40%, #ff4f9d 100%);
    box-shadow:
        0 14px 28px rgba(44, 73, 143, 0.34),
        0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

.hero-cta-secondary {
    color: #243654;
    border: 1px solid rgba(36, 54, 84, 0.24);
    background: rgba(255, 255, 255, 0.86);
}

.hero-meta {
    margin-top: 6px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hero-meta p {
    margin: 0;
    border-radius: 14px;
    border: 1px solid rgba(59, 84, 124, 0.18);
    background: rgba(255, 255, 255, 0.76);
    padding: 10px 10px 9px;
    box-shadow: 0 8px 16px rgba(24, 42, 76, 0.08);
}

.hero-meta strong {
    display: block;
    color: #1f2c46;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-meta span {
    display: block;
    margin-top: 4px;
    color: #5e6f8d;
    font-family: "Outfit", sans-serif;
    font-size: 10px;
    letter-spacing: 0.12em;
}

.primary-btn {
    display: inline-block;
    width: fit-content;
    border-radius: 999px;
    background: var(--cta);
    color: var(--cta-text);
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.primary-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.hero-right {
    padding: clamp(8px, 1.2vw, 16px) clamp(16px, 2vw, 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}


.hero-right::before,
.hero-right::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-right::before {
    width: clamp(260px, 30vw, 420px);
    height: clamp(260px, 30vw, 420px);
    right: 10%;
    top: 14%;
    border: 1px solid rgba(60, 108, 200, 0.22);
    box-shadow:
        0 0 0 14px rgba(112, 153, 236, 0.08),
        0 0 0 28px rgba(153, 184, 243, 0.07);
    filter: blur(0.2px);
}

.hero-right::after {
    width: clamp(180px, 22vw, 300px);
    height: clamp(180px, 22vw, 300px);
    left: 6%;
    bottom: 10%;
    border: 1px solid rgba(255, 122, 170, 0.24);
    box-shadow: 0 0 0 10px rgba(255, 167, 199, 0.1);
}

.hero-carousel-wrap {
    width: 100%;
    min-width: 0;
    margin-inline: auto;
    height: 100%;
    min-height: 100%;
    max-width: 100%;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0,
        #000 50px,
        #000 calc(100% - 50px),
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0,
        #000 50px,
        #000 calc(100% - 50px),
        transparent 100%
    );
}

.hero-carousel-scale {
    position: relative;
    width: calc((var(--hero-card-w) * 5) + (var(--hero-card-gap) * 4));
    transform-origin: center center;
    transform: scale(min(1, calc(var(--hero-scale, 1) * var(--hero-mobile-scale, 1))));
    will-change: transform;
    display: grid;
    justify-items: center;
    gap: clamp(8px, 1.2vw, 14px);
}

.hero-track-copy {
    margin: 0;
    white-space: nowrap;
    font-family: "SuperWoobly", "Outfit", sans-serif;
    font-size: clamp(44px, 4.6vw, 98px);
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1;
    color: rgba(255, 255, 255, 0.74);
    text-shadow: 0 8px 20px rgba(55, 76, 122, 0.12);
    pointer-events: none;
    z-index: 1;
}

.hero-track-copy-top {
    text-align: left;
    width: 100%;
}

.hero-track-copy-bottom {
    text-align: right;
    width: 100%;
}

.hero-carousel-stage {
    position: relative;
    width: calc((var(--hero-card-w) * 5) + (var(--hero-card-gap) * 4));
    margin-inline: auto;
}

.hero-carousel-track {
    display: flex;
    gap: var(--hero-card-gap);
    will-change: transform;
    transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
    width: calc((var(--hero-card-w) * 5) + (var(--hero-card-gap) * 4));
    --slide-step: 0px;
}

.hero-card {
    flex: 0 0 var(--hero-card-w);
    width: var(--hero-card-w);
    height: var(--hero-card-h);
    margin: 0;
    background: #fff;
    border-radius: 2mm;
    border: 1px solid rgba(20, 22, 28, 0.1);
    padding: 8mm 4mm 16mm;
    box-shadow: 0 12px 24px rgba(25, 32, 52, 0.1);
    position: relative;
}

.hero-card-media {
    width: var(--hero-photo-w);
    height: var(--hero-photo-h);
    overflow: hidden;
    border-radius: 6px;
    background: #d8dce6;
    position: relative;
    transform-origin: center center;
    transition: transform 0.8s ease;
}

.hero-card-media img,
.hero-card-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-card-media video {
    opacity: 0;
}

.hero-card.is-ar-live .hero-card-media video {
    opacity: 1;
}

.hero-card.is-ar-live .hero-card-media img {
    opacity: 0;
}

.hero-card.is-ar-live .hero-card-media {
    transform: none;
}

.hero-card-media::after {
    content: none;
}

.hero-phone-frame {
    position: absolute;
    top: 50%;
    left: calc(((var(--hero-card-w) + var(--hero-card-gap)) * var(--hero-phone-slot)) + (var(--hero-card-w) / 2));
    transform: translate(-50%, -50%);
    width: var(--hero-phone-w);
    height: var(--hero-phone-h);
    border-radius: 6.8mm;
    border: 2px solid #0f1116;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.82) inset,
        0 12px 24px rgba(20, 25, 39, 0.18);
    pointer-events: none;
    z-index: 4;
    transition: left 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-phone-screen {
    position: absolute;
    inset: 2.2mm;
    border-radius: 5.5mm;
    border: 1px solid rgba(15, 17, 22, 0.18);
    background: transparent;
}

.hero-phone-notch {
    position: absolute;
    top: 1.4mm;
    left: 50%;
    transform: translateX(-50%);
    width: 32%;
    height: 2.2mm;
    border-radius: 999px;
    background: #0d1015;
}

.section {
    padding: clamp(50px, 7vw, 90px) clamp(18px, 4vw, 62px);
}

/* Layered section stack effect */
main {
    position: relative;
    isolation: isolate;
}

main > section {
    position: relative;
    z-index: 1;
}

main > section:nth-of-type(1) { z-index: 40; }
main > section:nth-of-type(2) { z-index: 39; }
main > section:nth-of-type(3) { z-index: 38; }
main > section:nth-of-type(4) { z-index: 37; }
main > section:nth-of-type(5) { z-index: 36; }
main > section:nth-of-type(6) { z-index: 35; }
main > section:nth-of-type(7) { z-index: 34; }
main > section:nth-of-type(8) { z-index: 33; }
main > section:nth-of-type(9) { z-index: 32; }
main > section:nth-of-type(10) { z-index: 31; }
main > section:nth-of-type(11) { z-index: 30; }
main > section:nth-of-type(12) { z-index: 29; }

main > .section {
    position: relative;
    margin-top: -64px;
    border-radius: 0 0 32px 32px;
    border: 1px solid rgba(23, 25, 31, 0.08);
    box-shadow:
        0 -1px 0 rgba(255, 255, 255, 0.7) inset,
        0 10px 26px rgba(22, 32, 52, 0.08);
    overflow: hidden;
}

main > .section:first-of-type {
    margin-top: -28px;
}

.magic-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 120% at 2% 8%, rgba(204, 228, 255, 0.54), transparent 56%),
        radial-gradient(100% 100% at 96% 12%, rgba(255, 205, 226, 0.5), transparent 52%),
        linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
}

.magic-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.48), transparent 35%),
        repeating-linear-gradient(
            90deg,
            rgba(140, 155, 186, 0.07) 0,
            rgba(140, 155, 186, 0.07) 1px,
            transparent 1px,
            transparent 42px
        );
    opacity: 0.38;
}

.magic-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 88% 82%, rgba(255, 255, 255, 0.42), transparent 32%),
        radial-gradient(circle at 14% 76%, rgba(255, 238, 208, 0.4), transparent 30%);
    opacity: 0.8;
}

.magic-head {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    text-align: left;
}

.magic-head h2 {
    margin-top: 8px;
    line-height: 1.18;
    letter-spacing: 0.01em;
}

.magic-lead {
    margin: 0;
    max-width: 42ch;
    color: #535f78;
    line-height: 1.9;
    font-size: 15px;
}

.section-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: #748097;
    font-family: "Outfit", sans-serif;
}

h2 {
    margin: 0;
    font-size: clamp(30px, 3.9vw, 52px);
    line-height: 1.12;
}

.card-grid,
.steps {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.magic-grid {
    margin-top: 34px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    justify-items: center;
}

.magic-card {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    width: clamp(270px, 26vw, 338px);
    aspect-ratio: 1 / 1;
    padding: clamp(26px, 2.2vw, 34px);
    background:
        radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.92) 44%, rgba(236, 243, 255, 0.88) 100%),
        linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(248, 243, 255, 0.86));
    border: 1px solid rgba(99, 114, 142, 0.2);
    box-shadow:
        0 18px 34px rgba(24, 38, 72, 0.13),
        0 30px 54px rgba(37, 56, 97, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.magic-card::before {
    content: "";
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    border: 1px solid rgba(116, 165, 255, 0.24);
    box-shadow:
        0 0 0 7px rgba(255, 255, 255, 0.22),
        0 0 0 14px rgba(137, 177, 243, 0.04);
    opacity: 0.82;
}

.magic-card::after {
    content: "";
    position: absolute;
    width: 48%;
    height: 48%;
    left: -6%;
    bottom: -8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 236, 208, 0.5), transparent 72%);
    pointer-events: none;
}

.magic-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 26px 42px rgba(24, 38, 72, 0.18),
        0 36px 60px rgba(37, 56, 97, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.magic-illust {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 74px;
    height: 74px;
    transform: none;
    border-radius: 50%;
    border: 1px solid rgba(74, 96, 136, 0.2);
    background: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 10px 18px rgba(36, 58, 93, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    display: grid;
    place-items: center;
    z-index: 2;
}

.magic-illust-svg {
    width: 50px;
    height: 50px;
    fill: none;
    stroke: #506383;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.magic-illust-couples .magic-illust-svg {
    stroke: #4e668f;
}

.magic-illust-family .magic-illust-svg {
    stroke: #5a6f96;
}

.magic-illust-fans .magic-illust-svg {
    stroke: #4c6288;
}

.magic-card-kicker {
    margin: 4px 0 12px;
    font-family: "Outfit", sans-serif;
    letter-spacing: 0.1em;
    font-size: 10px;
    color: #516180;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(81, 97, 128, 0.24);
    background: rgba(255, 255, 255, 0.86);
    padding: 5px 9px;
    width: fit-content;
    z-index: 2;
}

.magic-card h3 {
    margin: 0;
    font-size: clamp(24px, 2vw, 28px);
    line-height: 1.05;
    letter-spacing: 0.01em;
    z-index: 2;
}

.magic-card p {
    margin: 10px 0 0;
    color: #43526d;
    line-height: 1.8;
    font-size: 15px;
    max-width: 24ch;
    z-index: 2;
}

.magic-card-highlight {
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(252, 246, 255, 0.94)) padding-box,
        linear-gradient(135deg, rgba(255, 191, 214, 0.9), rgba(181, 210, 255, 0.95)) border-box;
    border: 1px solid transparent;
    transform: translateY(-10px) scale(1.02);
}

.card,
.step {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    background: #fff;
}

.card h3,
.step h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.card p,
.step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
    font-size: 14px;
}

.step span {
    display: inline-block;
    margin-bottom: 6px;
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    color: #6c7890;
}

.order {
    text-align: center;
}

.order .primary-btn {
    margin-top: 20px;
}

.pre-register-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 18, 34, 0.35);
    backdrop-filter: blur(6px);
}

.pre-register-modal {
    position: relative;
    width: min(620px, 94vw);
    max-height: min(90vh, 760px);
    overflow-y: auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.98));
    padding: 22px;
    box-shadow: 0 24px 56px rgba(8, 18, 38, 0.32);
    text-align: center;
}

.pre-register-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(23, 25, 31, 0.08);
    color: #17191f;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pre-register-close:hover {
    background: rgba(23, 25, 31, 0.14);
}

.pre-register-overlay.is-hidden {
    display: none;
}

.order-lead {
    margin: 12px auto 0;
    max-width: 60ch;
    color: #44516b;
    font-size: 15px;
    line-height: 1.8;
}

.order-lead-no-wrap {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(11px, 2.8vw, 15px);
    line-height: 1.4;
}

.lead-mobile {
    display: none;
}

.pre-register-form {
    margin: 18px auto 0;
    width: min(560px, 100%);
    display: grid;
    gap: 12px;
    text-align: left;
}

.pre-register-field {
    display: grid;
    gap: 6px;
}

.pre-register-field span {
    font-size: 13px;
    color: #2d3c57;
    font-weight: 600;
}

.pre-register-field input {
    width: 100%;
    border: 1px solid rgba(42, 58, 90, 0.2);
    border-radius: 10px;
    background: #fff;
    padding: 11px 12px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 15px;
}

.pre-register-field input:focus {
    outline: none;
    border-color: #4f73ff;
    box-shadow: 0 0 0 3px rgba(79, 115, 255, 0.12);
}

.pre-register-submit {
    width: 100%;
}

.pre-register-submit:disabled {
    opacity: 0.72;
    cursor: wait;
}

.pre-register-message {
    margin: 2px 0 0;
    min-height: 1.5em;
    font-size: 14px;
    text-align: center;
    color: #51607e;
}

.pre-register-message.is-success {
    color: #0f7a39;
}

.pre-register-message.is-error {
    color: #bf2239;
}

body.pre-register-locked {
    overflow: hidden;
}

.how-final {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(173, 226, 255, 0.46), transparent 34%),
        radial-gradient(circle at 90% 16%, rgba(255, 187, 222, 0.45), transparent 36%),
        radial-gradient(circle at 52% 92%, rgba(255, 220, 149, 0.4), transparent 34%),
        linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
}

.how-final::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 78%, rgba(255, 255, 255, 0.62), transparent 24%),
        radial-gradient(circle at 82% 76%, rgba(255, 255, 255, 0.54), transparent 26%);
    opacity: 0.9;
}

.how-mobile-break {
    display: none;
}

.how-layout {
    margin-top: 48px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.how-steps-panel {
    border: 1px solid rgba(30, 46, 80, 0.12);
    border-radius: 20px;
    padding: 18px;
    /* background: rgba(255, 255, 255, 0.94); */
    box-shadow: 0 14px 30px rgba(34, 50, 82, 0.08);
}

.how-step-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.how-step-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(30, 46, 80, 0.1);
    border-radius: 14px;
    background: #fff;
    padding: 12px 14px;
}

.how-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(70, 89, 126, 0.16);
    background: #f9fbff;
    color: #526383;
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.how-step-main .how-title {
    margin: 0;
    text-align: left;
}

.how-step-main .how-desc {
    margin: 2px 0 0;
    text-align: left;
}

.how-step-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.how-step-badges a {
    width: 120px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.how-step-badges img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.how-step-badges a[aria-label="Get it on Google Play"] img {
    transform: scale(1.06);
    transform-origin: center;
}

.how-steps-panel .app-badges {
    margin-top: 16px;
    justify-content: flex-start;
}

/* .how-video-panel {
    border: 1px solid rgba(30, 46, 80, 0.12);
    border-radius: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 30px rgba(34, 50, 82, 0.08);
    display: flex;
    flex-direction: column;
} */

.how-demo-wrap {
    width: min(100%, 340px);
    aspect-ratio: 9 / 16;
    margin-inline: auto;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    border: 0;
}

.how-demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #111827;
}

.how-demo-note {
    margin: 10px 0 0;
    color: #5f6c86;
    font-size: 13px;
    line-height: 1.6;
}

.how-demo-note code {
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    color: #3f4e6b;
}

.how-grid {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
    position: relative;
    z-index: 1;
}

.how-card {
    border: 1px solid rgba(30, 46, 80, 0.08);
    border-radius: 18px;
    padding: 44px 24px 24px;
    background: rgba(255, 255, 255, 0.95);
    min-height: 280px;
    box-shadow: 0 14px 30px rgba(34, 50, 82, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: visible;
}

.how-card::after {
    content: none;
}

.how-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(34, 50, 82, 0.12);
}

.poppy-icon {
    width: 66px;
    height: 66px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 191, 220, 0.8), transparent 48%),
        radial-gradient(circle at 76% 24%, rgba(199, 229, 255, 0.78), transparent 52%),
        #ffffff;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(68, 88, 127, 0.14);
    box-shadow:
        0 10px 22px rgba(34, 50, 82, 0.12),
        0 0 0 8px rgba(255, 255, 255, 0.9);
    position: absolute;
    top: -33px;
    left: 50%;
    transform: translateX(-50%);
}

.poppy-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: #2d3f62;
    stroke-width: 4.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.how-step {
    margin: 8px 0 10px;
    width: fit-content;
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #526383;
    border: 1px solid rgba(70, 89, 126, 0.16);
    border-radius: 999px;
    background: #f9fbff;
    padding: 5px 12px;
    box-shadow: none;
}

.how-title {
    margin: 0 0 4px;
    font-size: clamp(24px, 2.1vw, 30px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.06em;
    font-family: "Outfit", sans-serif;
    color: #1d2a44;
}

.how-desc {
    margin: 0;
    color: #586784;
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.5;
    max-width: none;
    white-space: nowrap;
}

.how-note {
    margin: 10px 0 0;
    font-size: 11px;
    color: #495a78;
    letter-spacing: 0.08em;
    font-family: "Outfit", sans-serif;
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    border: 1px solid rgba(73, 90, 120, 0.22);
    background: rgba(255, 255, 255, 0.76);
}

.app-badges {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.app-badges a {
    width: 170px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-badges img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.app-badges a[aria-label="Google Play"] img {
    transform: scale(1.1);
    transform-origin: center;
}

.pop-in {
    opacity: 0;
    transform: scale(0.88) translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.pop-in.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.scenes-section {
    position: relative;
    background:
        radial-gradient(120% 140% at 10% 0%, rgba(82, 94, 122, 0.28), transparent 52%),
        radial-gradient(120% 140% at 90% 100%, rgba(96, 80, 96, 0.22), transparent 58%),
        linear-gradient(160deg, #11141c 0%, #171b26 48%, #121620 100%);
    margin-top: 0;
    margin-bottom: -64px;
    border-radius: 0 0 32px 32px;
    z-index: 3;
}

.scenes-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.16;
}

.scenes-section + .section {
    margin-top: 0;
}

.scenes-section .section-kicker,
.scenes-section h2,
.scenes-track {
    position: relative;
    z-index: 1;
}

.scenes-section .section-kicker {
    color: rgba(214, 221, 236, 0.86);
}

.scenes-section h2 {
    color: #f3f6ff;
}

.scenes-track {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    overflow: hidden;
}

.scene-card {
    border: 1px solid rgba(205, 216, 240, 0.2);
    border-radius: 16px;
    background: rgba(15, 20, 30, 0.7);
    box-shadow:
        0 12px 30px rgba(2, 6, 16, 0.34),
        0 1px 0 rgba(255, 255, 255, 0.08) inset;
    overflow: hidden;
}

.scene-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #1c222d;
}

.scene-media img,
.scene-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.88) sepia(0.14) contrast(1.03) brightness(0.95);
}

.scene-media video {
    opacity: 0;
    transition: opacity 0.28s ease;
}

.scene-card.is-live .scene-media video {
    opacity: 1;
}

.scene-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% 14%, rgba(255, 213, 179, 0.26), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(255, 246, 220, 0.2), transparent 48%);
    mix-blend-mode: soft-light;
}

.scene-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0.25;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='%23ffffff' fill-opacity='0.14'%3E%3Ccircle cx='8' cy='7' r='1.2'/%3E%3Ccircle cx='57' cy='48' r='1'/%3E%3Ccircle cx='126' cy='12' r='1.3'/%3E%3Ccircle cx='96' cy='88' r='1'/%3E%3Ccircle cx='35' cy='116' r='1.1'/%3E%3Ccircle cx='121' cy='128' r='0.9'/%3E%3C/g%3E%3C/svg%3E");
}

.scene-card h3 {
    margin: 5px;
    font-family: "Outfit", sans-serif;
    letter-spacing: 0.06em;
    font-size: 18px;
    color: #f1f5ff;
    text-align: center;
}

.scene-card p {
    margin: 0 14px 16px;
    color: rgba(211, 220, 238, 0.86);
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
}

.gift-box-section {
    background: #ffffff;
}

.gift-box-layout {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    align-items: center;
}

.gift-box-visual {
    margin: 0;
    position: relative;
    max-width: 560px;
    width: 100%;
    justify-self: center;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(31, 38, 54, 0.08);
}

.gift-box-visual img {
    width: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(1.02) saturate(0.85);
}

.gift-box-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.4), transparent 42%);
}

.gift-box-visual figcaption {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    letter-spacing: 0.22em;
    color: #a89772;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

.gift-box-copy h2 {
    margin: 0;
    color: #333333;
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    font-size: clamp(24px, 3vw, 40px);
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.gift-mobile-break {
    display: none;
}

.gift-box-copy p {
    margin: 14px 0 0;
    color: #333333;
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.95;
    font-size: 15px;
}

.gift-box-copy .gift-box-note {
    margin-top: 16px;
    color: rgba(51, 51, 51, 0.72);
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    line-height: 1.6;
}

.story-section {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.story-section::before {
    content: "";
    position: absolute;
    inset: -18%;
    background:
        radial-gradient(circle at 18% 24%, rgba(219, 246, 239, 0.52), transparent 35%),
        radial-gradient(circle at 78% 22%, rgba(231, 224, 255, 0.46), transparent 36%),
        radial-gradient(circle at 52% 78%, rgba(255, 224, 238, 0.5), transparent 38%),
        radial-gradient(circle at 88% 74%, rgba(224, 243, 255, 0.4), transparent 34%);
    filter: blur(42px);
    animation: livingPastel 18s ease-in-out infinite alternate;
    pointer-events: none;
}

.story-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(6px, 1vw, 14px) 0;
}

.story-inner h2 {
    margin: 0;
    color: #232733;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.52;
    font-size: clamp(28px, 4vw, 48px);
}

.story-inner p {
    margin: 26px 0 0;
    color: #333333;
    font-family: "Outfit", "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-size: clamp(15px, 1.5vw, 19px);
    letter-spacing: 0.045em;
    line-height: 2.08;
}

.price-section {
    background:
        radial-gradient(110% 140% at 12% 8%, rgba(143, 187, 255, 0.34), transparent 48%),
        radial-gradient(110% 140% at 88% 16%, rgba(255, 166, 211, 0.3), transparent 46%),
        radial-gradient(120% 120% at 52% 100%, rgba(255, 214, 150, 0.3), transparent 52%),
        linear-gradient(160deg, #f6f9ff 0%, #eef4ff 48%, #fff3f8 100%);
}

.price-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.price-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(95, 123, 255, 0.35);
    border-radius: 20px;
    padding: 30px 24px 24px;
    box-shadow: 0 8px 20px rgba(27, 33, 47, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.price-card-recommended {
    position: relative;
    transform: scale(1.05);
    border: 0;
    padding-top: 50px;
    background: linear-gradient(130deg, #2148ff 0%, #5f7bff 40%, #ff4f9d 72%, #ff8b2f 100%);
}

.price-card-recommended::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    top: 46px;
    bottom: 6px;
    border-radius: 16px;
    background: #fff;
    z-index: 0;
}

.price-card > * {
    position: relative;
    z-index: 1;
}

.plan-badge {
    margin: -52px -24px 18px;
    width: auto;
    text-align: center;
    background: transparent;
    color: #fff;
    padding: 8px 10px 6px;
    border-radius: 16px 16px 0 0;
    font-family: "Outfit", sans-serif;
    font-size: 31px;
    font-weight: 600;
    letter-spacing: 0.02em;
    z-index: 2;
}

.plan-name {
    margin: 0 0 8px;
    font-family: "Outfit", sans-serif;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #17191f;
    text-align: center;
}

.plan-copy {
    margin: 0;
    text-align: center;
    color: #5f6678;
    font-size: 15px;
    line-height: 1.4;
}

.plan-amount {
    margin: 18px 0 8px;
    font-family: "Outfit", sans-serif;
    font-size: clamp(38px, 4vw, 50px);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    border: 1px dashed rgba(27, 33, 47, 0.3);
    border-radius: 14px;
    text-align: center;
    padding: 14px 10px;
}

.plan-amount span {
    font-size: 0.54em;
    margin-right: 3px;
}

.plan-detail {
    margin: 0;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    color: #666d7d;
    text-align: center;
}

.plan-features {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.plan-features li {
    font-size: 14px;
    color: #262d3a;
    line-height: 1.5;
    position: relative;
    padding-left: 22px;
}

.plan-features li::before {
    content: "笘・;
    position: absolute;
    left: 0;
    top: 0;
    color: #3f63ff;
    font-size: 13px;
    line-height: 1.6;
}

.plan-save {
    margin: 8px 0 0;
    font-size: 12px;
    color: #3f63ff;
    font-weight: 600;
    text-align: center;
}

.price-cta {
    margin-top: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    padding: 13px 16px;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(130deg, #2148ff 0%, #5f7bff 40%, #ff4f9d 72%, #ff8b2f 100%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.price-cta:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.price-link-wrap {
    margin: 18px 0 0;
    text-align: center;
}

.price-link {
    font-size: 13px;
    color: #5f6a81;
    border-bottom: 1px solid rgba(95, 106, 129, 0.38);
}

.faq-section {
    background: #fff;
}

.faq-list {
    margin-top: 24px;
    border-top: 1px solid rgba(23, 25, 31, 0.14);
}

.faq-item {
    border-bottom: 1px solid rgba(23, 25, 31, 0.14);
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 4px;
    cursor: pointer;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    color: #17191f;
}

.faq-plus {
    font-family: "Outfit", sans-serif;
    font-size: 22px;
    line-height: 1;
    color: #6a7387;
    transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-plus {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.2s ease;
    opacity: 0;
}

.faq-answer p {
    margin: 0 0 18px;
    padding-right: 30px;
    color: #5d6472;
    line-height: 1.75;
    font-size: 14px;
}

.faq-answer.is-open {
    opacity: 1;
}

.faq-link-wrap {
    margin: 16px 0 0;
    text-align: center;
}

.faq-link {
    font-size: 13px;
    color: #5f6a81;
    border-bottom: 1px solid rgba(95, 106, 129, 0.38);
}

.site-footer {
    padding: 28px clamp(16px, 4vw, 52px) 34px;
    color: #66718a;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.92));
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 16px;
}

.footer-brand p {
    margin: 8px 0 0;
    font-size: 13px;
    color: #71809b;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-family: "Outfit", sans-serif;
    font-size: 13px;
}

.footer-links a {
    color: #465674;
}

.site-footer small {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #78849c;
}

@keyframes livingPastel {
    0% {
        transform: translate3d(-2%, -2%, 0) scale(1);
    }
    100% {
        transform: translate3d(2%, 2%, 0) scale(1.08);
    }
}

@keyframes liquidFlow {
    0% {
        background-position: 0% 45%, 0% 50%;
        transform: skewX(-5deg) translateY(0);
    }
    100% {
        background-position: 100% 55%, 100% 50%;
        transform: skewX(-4deg) translateY(-1px);
    }
}

@keyframes heroGlide {
    0% {
        transform: translateX(0);
    }
    88% {
        transform: translateX(calc((var(--slide-step) * -1) - 1.5px));
    }
    100% {
        transform: translateX(calc(var(--slide-step) * -1));
    }
}

@media (max-width: 1120px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-right {
        order: 2;
        padding: 0;
        width: 100%;
        min-width: 0;
        min-height: clamp(460px, 72vw, 700px);
        display: grid;
        place-items: center;
    }

    .hero-left {
        order: 1;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        border-top: 1px solid var(--line);
        min-height: auto;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        padding-top: clamp(24px, 5vw, 38px);
        padding-bottom: clamp(20px, 4vw, 30px);
    }

    .hero-left::before {
        display: none;
    }

    .hero-left::after {
        display: none;
    }

    .hero-meta {
        max-width: 720px;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-carousel-scale {
        --hero-mobile-scale: 1.45;
        transform-origin: center center;
    }

    .hero-carousel-wrap {
        width: min(100%, calc((var(--hero-card-w) * 3) + (var(--hero-card-gap) * 2)));
        height: 100%;
        min-height: 0;
        padding: 0;
        display: grid;
        place-items: center;
        -webkit-mask-image: linear-gradient(
            to right,
            transparent 0,
            #000 16px,
            #000 calc(100% - 16px),
            transparent 100%
        );
        mask-image: linear-gradient(
            to right,
            transparent 0,
            #000 16px,
            #000 calc(100% - 16px),
            transparent 100%
        );
    }

    .hero-track-copy {
        width: calc((var(--hero-card-w) * 3) + (var(--hero-card-gap) * 2));
        max-width: 100%;
        padding-inline: 8px;
    }

    .hero-track-copy-top,
    .hero-track-copy-bottom {
        text-align: center;
    }

}

@media (max-width: 860px) {
    .hero {
        min-height: auto;
    }

    .hero-right {
        min-height: clamp(500px, 96vw, 760px);
    }

    main > .section {
        margin-top: -42px;
        border-radius: 22px;
    }

    main > .section:first-of-type {
        margin-top: -18px;
    }

    .site-nav a:not(.nav-cta) {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .hero-carousel-wrap {
        max-width: 100%;
        height: 100%;
        min-height: 0;
        padding: 0;
    }

    .hero-right::before {
        right: 5%;
        top: 8%;
    }

    .hero-right::after {
        left: 4%;
        bottom: 8%;
    }

    .hero-track-copy {
        font-size: clamp(24px, 7vw, 44px);
        letter-spacing: 0.05em;
    }

    .hero-left h1 {
        font-size: clamp(38px, 12vw, 64px);
    }

    .hero-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-meta {
        grid-template-columns: 1fr;
    }

    .hero-carousel-scale {
        --hero-mobile-scale: 2.2;
        transform-origin: center center;
    }

    .scenes-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .scene-card p {
        display: none;
    }

    .how-mobile-break {
        display: block;
    }

    .how-final h2 {
        line-height: 1.2;
    }

    .card-grid,
    .steps,
    .how-grid,
    .how-layout,
    .price-grid,
    .magic-grid {
        grid-template-columns: 1fr;
    }

    .how-layout {
        margin-top: 36px;
        gap: 16px;
    }

    .how-steps-panel,
    .how-video-panel {
        padding: 14px;
    }

    .how-step-item {
        grid-template-columns: auto 1fr;
        padding: 10px 12px;
    }

    .how-step-badges {
        grid-column: 2;
        width: 100%;
        justify-content: flex-start;
        margin-top: 4px;
        margin-left: 0;
    }

    .how-step-badges a {
        width: 108px;
        height: 32px;
    }

    .how-demo-wrap {
        aspect-ratio: 4 / 5;
    }

    .magic-head {
        max-width: 100%;
    }

    .magic-lead {
        max-width: 100%;
    }

    .magic-card-highlight {
        transform: none;
    }

    .magic-card:hover {
        transform: none;
    }

    .magic-card {
        width: min(318px, 92vw);
        padding: 24px;
        max-width: none;
        margin-inline: auto;
    }

    .magic-illust {
        position: static;
        display: block;
        transform: none;
        margin: 0 0 12px auto;
        width: 70px;
        height: 70px;
    }

    .how-card {
        min-height: auto;
        transform: none !important;
    }

    .gift-box-layout {
        grid-template-columns: 1fr;
    }

    .gift-mobile-break {
        display: block;
    }

    .story-inner {
        text-align: left;
        max-width: 100%;
    }

    .story-inner h2 br,
    .story-inner p br {
        display: none;
    }

    .price-card-recommended {
        transform: none;
    }

    .price-card {
        min-height: auto;
        padding: 24px 18px 18px;
    }

    .price-card-recommended {
        padding-top: 44px;
    }

    .price-card-recommended::after {
        top: 40px;
    }

    .plan-badge {
        margin: -44px -18px 14px;
        font-size: 25px;
    }

    .plan-name {
        font-size: 34px;
    }

    .plan-copy {
        font-size: 14px;
    }

    .faq-question {
        font-size: 16px;
        padding: 16px 2px;
    }

    .order-lead-no-wrap {
        white-space: normal;
    }

    .lead-desktop {
        display: none;
    }

    .lead-mobile {
        display: inline;
    }

    .scenes-section {
        margin-top: 0;
        margin-bottom: -42px;
        border-radius: 0 0 22px 22px;
    }

    .scenes-section + .section {
        margin-top: 0;
    }
}

