/* The home page: hero with the real product window -> formats marquee -> the work (hover-to-play films) -> a sticky
   story of the five passes -> a bento of live details -> your own AI -> plans -> questions -> the close. */

.sec-head { max-width: var(--wrap); margin: 0 auto 48px; padding: 0 var(--pad); }
.sec-head h2 { font-weight: 600; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.035em; max-width: 18ch; }
.sec-head h2 em { font-size: 1.06em; }
.sec-head p { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 52ch; }
main > section { margin-top: clamp(96px, 12vw, 160px); }
main > section.hero { margin-top: 0; }
main > section.formats { margin-top: 72px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; text-align: center; padding: clamp(56px, 9vw, 112px) var(--pad) 0; }
.hero-glow { position: absolute; inset: -140px 0 auto; height: 720px; z-index: -1; pointer-events: none;
             background: radial-gradient(48% 52% at 50% 30%, rgba(168, 32, 42, .10), transparent 70%),
                         radial-gradient(36% 40% at 78% 18%, rgba(240, 190, 140, .22), transparent 70%); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: var(--r-pill);
        background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; color: var(--ink-2); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.hero-title { margin: 26px auto 0; font-weight: 600; font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: -0.045em; max-width: 14ch; }
.hero-title em { font-size: 1.08em; color: var(--red); }
.hero-sub { margin: 26px auto 0; max-width: 44ch; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); }
.hero-cta { display: flex; justify-content: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

.window { position: relative; max-width: 1080px; margin: 72px auto 0; background: var(--surface); border-radius: var(--r-lg);
          border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-align: left; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #e2dfd9; }
.window-bar p { margin-left: 12px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-body { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(250px, 1fr); gap: 18px; padding: 18px; }
.film { position: relative; border-radius: var(--r); overflow: hidden; background: #e9e6e0; aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film-progress { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.film-progress span { display: block; height: 100%; width: 0; background: #fff; border-radius: 4px; }
.beats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.beats button { width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer;
                display: grid; grid-template-columns: 42px 1fr; gap: 2px 10px; transition: background-color .2s var(--ease); }
.beats button:hover { background: var(--tint); }
.b-t { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.b-what { font-weight: 600; font-size: 15px; }
.b-why { grid-column: 2; font-size: 14px; color: var(--muted); line-height: 1.4; max-height: 0; overflow: hidden; opacity: 0;
         transition: max-height .4s var(--ease), opacity .3s var(--ease); }
.beats li.is-now button { background: var(--red-soft); }
.beats li.is-now .b-t { color: var(--red); }
.beats li.is-now .b-why { max-height: 60px; opacity: 1; }

.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-pill);
        background: rgba(255, 255, 255, .86); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; font-weight: 600;
        backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); white-space: nowrap; }
.chip-ico { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; }
.chip-ico.ok { background: #e3f1e9; } .chip-ico.ok::before { content: ""; width: 9px; height: 5px; border: 2px solid var(--ok); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.chip-ico.gate { background: var(--red-soft); } .chip-ico.gate::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }
.chip-ico.lang { background: #ebe7f6; } .chip-ico.lang::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #5a4b9b; }
.chip-a { left: -28px; top: 34%; animation: float 6s ease-in-out infinite; }
.chip-b { right: -26px; top: 12%; animation: float 7s ease-in-out -2s infinite; }
.chip-c { right: 22%; bottom: -20px; animation: float 6.5s ease-in-out -4s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
  .window-body { grid-template-columns: 1fr; }
  .chip-a { left: 8px; top: auto; bottom: -18px; } .chip-b { right: 8px; top: -18px; } .chip-c { display: none; }
}

/* ------------------------------------------------------------------ formats marquee */
.formats { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
           mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-row { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-row span { padding: 10px 18px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.formats:hover .marquee-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ------------------------------------------------------------------ the work */
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 30%); gap: 20px; overflow-x: auto;
        --edge: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
        padding: 6px var(--edge) 22px; scroll-padding-inline: var(--edge); scroll-snap-type: x mandatory;
        scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel-card { scroll-snap-align: start; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line);
             box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.reel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.reel-media { aspect-ratio: 16 / 10; overflow: hidden; background: #e9e6e0; }
.reel-media video, .reel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.reel-card:hover .reel-media video, .reel-card:hover .reel-media img { transform: scale(1.04); }
.reel-meta { padding: 18px 20px 22px; }
.reel-meta h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.reel-meta p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.reel-hint { max-width: var(--wrap); margin: 6px auto 0; padding: 0 var(--pad); font-size: 14px; color: var(--muted); }
@media (max-width: 700px) { .reel { grid-auto-columns: 84%; } }

/* ------------------------------------------------------------------ the story */
.story { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding: 0 var(--pad); display: grid;
         grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; }
.story-pin { position: sticky; top: 110px; align-self: start; }
.story .sec-head { padding: 0; margin-bottom: 36px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 16px 0 16px 46px; border-top: 1px solid var(--line); color: var(--muted);
            transition: color .3s var(--ease); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 15px; width: 28px; height: 28px; border-radius: 50%;
                    display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--tint); color: var(--muted);
                    transition: background-color .3s var(--ease), color .3s var(--ease); }
.steps li strong { display: block; font-size: 19px; font-weight: 600; color: inherit; }
.steps li span { display: block; margin-top: 4px; font-size: 15px; max-height: 0; overflow: hidden; opacity: 0;
                 transition: max-height .4s var(--ease), opacity .3s var(--ease); }
.steps li.is-on { color: var(--ink); }
.steps li.is-on::before { background: var(--red); color: #fff; }
.steps li.is-on span { max-height: 60px; opacity: 1; color: var(--muted); }
.story-panels { display: flex; flex-direction: column; gap: 28vh; padding: 8vh 0 14vh; }
.panel { margin: 0; }
.panel-card { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 32px; }
.panel-label { font-size: 13px; font-weight: 600; color: var(--red); }
.panel-big { margin-top: 12px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; }
.panel-src { margin-top: 14px; font-size: 14px; color: var(--muted); }
.meter { margin-top: 20px; height: 8px; border-radius: 8px; background: var(--tint); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 8px; background: var(--red); }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #e3f1e9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%231f7a4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.panel-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel-pics img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow-sm); }
.panel-pics img:first-child { grid-column: 1 / -1; }
.panel-video { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.panel-video img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.badge { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .9);
         font-size: 13px; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 24px; }
  .story-pin { position: relative; top: auto; }
  .steps li span { max-height: none; opacity: 1; }
  .story-panels { gap: 20px; padding: 0; }
}

/* ------------------------------------------------------------------ the bento */
.grid { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: 300px; gap: 18px; }
.card { position: relative; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
        padding: 26px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
        transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { position: relative; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.card p { position: relative; margin-top: 6px; font-size: 15px; color: var(--muted); max-width: 36ch; }
.c-wide { grid-column: span 2; }
.c-tall { grid-row: span 2; }
.live { position: absolute; inset: 22px 22px 96px; display: grid; place-items: center; }
.karaoke { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px 12px; font-size: clamp(30px, 3.4vw, 46px);
           font-weight: 600; letter-spacing: -0.03em; }
.karaoke span { color: #c9c5be; transition: color .25s var(--ease), background-color .25s var(--ease); padding: 0 .12em; border-radius: 8px; }
.karaoke span.on { color: var(--ink); }
.karaoke span.hit { color: #fff; background: var(--red); }
.langs { font-size: clamp(30px, 3vw, 42px); }
.langs span { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.langs span.on { opacity: 1; transform: none; }
.gate { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.gate .count { font-size: 96px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.gate .of { font-size: 26px; color: var(--muted); }
.faces span { font-size: 130px; line-height: 1; letter-spacing: -0.04em; font-family: var(--sans); font-weight: 600; transition: font-family 0s; }
.faces span.serif { font-family: var(--serif); font-weight: 400; font-style: italic; }
.cam { inset: 22px 22px 110px; display: block; }
.cam-frame { width: 100%; height: 100%; border-radius: var(--r); overflow: hidden; }
.cam-frame img { width: 100%; height: 100%; object-fit: cover; animation: camera 12s ease-in-out infinite; }
@keyframes camera { 0% { transform: scale(1.02) translateX(0); } 40% { transform: scale(1.22) translateX(-4%); } 70% { transform: scale(1.12) translateX(3%); } 100% { transform: scale(1.02) translateX(0); } }
.map { inset: 0 0 100px; display: block; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.map img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.ping { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(168, 32, 42, .5); animation: ping 2.4s var(--ease) infinite; }
.ping + .ping { animation-delay: 1.2s; }
@keyframes ping { 70% { box-shadow: 0 0 0 18px rgba(168, 32, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(168, 32, 42, 0); } }
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .c-wide { grid-column: auto; } .c-tall { grid-row: span 1; }
}

/* ------------------------------------------------------------------ your own AI */
.ai { padding: 0 var(--pad); }
.ai-card { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center;
           background: linear-gradient(180deg, #fff, #faf9f6); border: 1px solid var(--line); border-radius: 36px; box-shadow: var(--shadow);
           padding: clamp(28px, 4vw, 56px); }
.ai-copy h2 { font-weight: 600; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -0.035em; }
.ai-copy p { margin: 18px 0 26px; font-size: 18px; color: var(--ink-2); max-width: 44ch; }
.ai-term { background: var(--tint); border-radius: var(--r-lg); padding: 22px; font: 14px/1.6 var(--mono); color: var(--ink-2); }
.ai-term p { padding: 8px 0; border-bottom: 1px dashed var(--line-2); }
.t-who { display: inline-block; min-width: 128px; color: var(--muted); }
.t-tool { display: inline-block; min-width: 128px; color: var(--red); font-weight: 600; }
.ai-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; font-family: var(--sans); }
.ai-logos span { padding: 6px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); }
@media (max-width: 900px) { .ai-card { grid-template-columns: 1fr; } .t-who, .t-tool { min-width: 0; margin-right: 8px; } }

/* ------------------------------------------------------------------ plans */
.plans { max-width: 900px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { position: relative; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
        padding: 32px; display: flex; flex-direction: column; }
.plan-hot { border-color: rgba(168, 32, 42, .35); box-shadow: 0 0 0 4px var(--red-soft), var(--shadow); }
.plan-tag { position: absolute; top: 22px; right: 22px; padding: 5px 10px; border-radius: var(--r-pill); background: var(--red-soft);
            color: var(--red); font-size: 12px; font-weight: 600; }
.plan h3 { font-size: 22px; font-weight: 600; }
.plan-mins { margin-top: 10px; color: var(--muted); }
.plan-mins strong { font-size: 54px; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); margin-right: 6px; }
.plan ul { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: #e3f1e9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%231f7a4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan .btn { width: 100%; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ questions */
.qs { max-width: 820px; margin: 0 auto; padding: 0 var(--pad); display: grid; gap: 10px; }
.faq .sec-head { max-width: 820px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 17px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink);
                 border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { padding: 0 22px 20px; color: var(--ink-2); max-width: 64ch; }

/* ------------------------------------------------------------------ the close */
.cta { padding: 0 var(--pad); }
.cta-card { position: relative; max-width: var(--wrap); margin: 0 auto; text-align: center; border-radius: 36px; padding: clamp(48px, 7vw, 96px) var(--pad);
            background: radial-gradient(60% 90% at 50% 0%, rgba(168, 32, 42, .09), transparent 70%), #fff;
            border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.cta-card h2 { font-weight: 600; font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.04em; }
.cta-card h2 em { color: var(--red); }
.cta-card p { margin: 18px auto 30px; max-width: 42ch; font-size: 19px; color: var(--ink-2); }

/* ------------------------------------------------------------------ play with sound */
.reel-card { position: relative; }
.play { position: absolute; z-index: 2; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px; height: 36px;
        padding: 0 14px 0 8px; border: 0; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92); color: var(--ink);
        font: 600 13px/1 var(--sans); cursor: pointer; box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
        transition: transform .18s var(--ease), background-color .18s var(--ease); }
.play:hover { transform: translateY(-1px); background: #fff; }
.play-ico { width: 22px; height: 22px; border-radius: 50%; background: var(--red); position: relative; }
.play-ico::after { content: ""; position: absolute; left: 8px; top: 6px; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.player { width: min(1100px, 94vw); padding: 0; border: 0; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); }
.player::backdrop { background: rgba(20, 20, 22, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.player[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.player-in { padding: 14px; }
.player-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 12px; }
.player-head p { font-weight: 600; font-size: 16px; }
.player-x { border: 1px solid var(--line-2); background: #fff; border-radius: var(--r-pill); height: 34px; padding: 0 14px; font: 600 13px/1 var(--sans); cursor: pointer; }
.player video { width: 100%; max-height: 78vh; border-radius: var(--r); background: #000; }
