:root {
    --font: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
    --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    /* 夜 night room (Genzo app tokens) */
    --night: #0B1A1C;
    --night-2: #10252A;
    --night-3: #163238;
    --ink: #F4F1EA;
    --ink-muted: #A9BDBA;
    --line: #234C52;
    --line-strong: #3D7079;
    --magenta: #FF3D8A;
    --magenta-hover: #FF5C9C;
    --on-magenta: #120910;
    --cyan: #3DE0FF;
    --on-cyan: #07262C;
    --cyan-text: #3DE0FF;
    /* 印画紙 morning paper room */
    --paper: #F4F1EA;
    --paper-2: #EAE4D8;
    --paper-ink: #0B1A1C;
    --paper-muted: #4C5A58;
    --paper-line: #D3CABA;
    --paper-magenta: #D8156A;
    --paper-cyan-text: #0B6B79;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --radius: 22px;
    --tape-clip: polygon(0 10%, 1.2% 0, 2.6% 12%, 4% 2%, 5.2% 10%, 96% 10%, 97% 0, 98.2% 12%, 99.2% 3%, 100% 10%, 100% 92%, 98.8% 100%, 97.6% 90%, 96.4% 100%, 95.2% 92%, 4.5% 92%, 3.2% 100%, 2% 90%, .9% 100%, 0 92%);
    --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
    margin: 0;
    overflow-x: clip;
    background: var(--night);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: .06;
    background-image: var(--grain);
}
html[lang="ja"] .en, html[lang="en"] .ja { display: none !important; }
html[lang="ja"] body { word-break: auto-phrase; line-break: strict; }
.nw { display: inline-block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; border-radius: 999px; background: var(--cyan); color: var(--on-cyan); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- tape: the Genzo signature ---------- */
.tape {
    display: inline-block;
    padding: 5px 16px 6px;
    background: var(--magenta);
    color: var(--on-magenta);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: .01em;
    transform: rotate(-1.6deg);
    transform-origin: left center;
    clip-path: var(--tape-clip);
}
.tape--cyan { background: var(--cyan); color: var(--on-cyan); transform: rotate(2.2deg); }
.tape--paper { background: var(--ink); color: var(--night); transform: rotate(-2.4deg); }
.tape--sm { padding: 2px 11px 3px; font-family: var(--mono); font-weight: 500; font-size: .8rem; letter-spacing: .05em; }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--ink-muted); font-size: .85rem; font-weight: 700; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 26px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: .04em;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s var(--ease), transform .15s var(--ease), border-color .15s var(--ease);
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.985); }
.btn--primary { background: var(--magenta); color: var(--on-magenta); }
.btn--primary:hover { background: var(--magenta-hover); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink-muted); background: rgba(244, 241, 234, .06); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.btn .arrow { font-weight: 700; }

/* ---------- top bar ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 26, 28, .86);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 900; font-size: 1.2rem; letter-spacing: .03em; text-decoration: none; white-space: nowrap; }
.brand img { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 8px; }
.brand small { font-size: .95rem; font-weight: 700; color: var(--ink-muted); }
.topbar-actions { display: flex; align-items: center; gap: 6px; }
/* header language toggle: names the other language, like the app's own switch */
.lang-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-muted);
    font: inherit;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.lang-toggle:hover { color: var(--ink); }
.lang-toggle .long { display: none; }
/* quiet link for people who already have a film */
.open-link { display: none; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink-muted); font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.open-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.topbar .btn--sm { min-height: 40px; padding: 0 14px; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.lang-switch button {
    min-width: 44px;
    min-height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-muted);
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
}
html[lang="ja"] .lang-switch [data-set-lang="ja"],
html[lang="en"] .lang-switch [data-set-lang="en"] { background: var(--cyan); color: var(--on-cyan); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 44px 0 72px; }
.hero::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto auto;
    width: 70vw;
    height: 70vw;
    max-width: 760px;
    max-height: 760px;
    background: radial-gradient(closest-side, rgba(255, 61, 138, .20), transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto auto -30% -20%;
    width: 60vw;
    height: 60vw;
    max-width: 640px;
    max-height: 640px;
    background: radial-gradient(closest-side, rgba(61, 224, 255, .12), transparent 70%);
    pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 44px; align-items: center; }
.hero-eyebrow { color: var(--ink-muted); font-weight: 700; font-size: .95rem; margin: 18px 0 14px; }
.hero h1 {
    font-weight: 900;
    font-size: clamp(3.3rem, 15vw, 6.6rem);
    line-height: 1.08;
    letter-spacing: .01em;
}
html[lang="en"] .hero h1 { font-size: clamp(3.1rem, 14vw, 6.2rem); letter-spacing: -.02em; line-height: 1.02; }
.brush { width: min(78%, 400px); height: auto; margin: 4px 0 22px; color: var(--magenta); }
.hero-lead { max-width: 33em; font-size: 1.08rem; line-height: 1.9; color: var(--ink); }
.hero-lead em { font-style: normal; color: var(--cyan-text); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; color: var(--ink-muted); font-size: .88rem; }
.hero-note .dot { display: inline-block; margin: 0 .5em; color: var(--line-strong); }
.have-film { margin-top: 10px; color: var(--ink-muted); font-size: .92rem; }
.have-film a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; text-underline-offset: 4px; }
.have-film a:hover { color: var(--cyan-text); }
.final .have-film { margin-top: 8px; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-visual .strip { position: absolute; left: -40%; right: -40%; top: 48%; transform: translateY(-50%) rotate(-8deg); }

/* ---------- film strip & abstract "photos" ---------- */
.strip {
    display: flex;
    gap: 10px;
    padding: 22px 12px;
    background: #050C0D;
    position: relative;
}
.strip::before, .strip::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 8px;
    background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(244, 241, 234, .82) 9px 19px, transparent 19px 28px);
    border-radius: 2px;
    opacity: .9;
}
.strip::before { top: 7px; }
.strip::after { bottom: 7px; }
.strip .shot { flex: 0 0 auto; width: 186px; }
.strip-edge { position: absolute; left: 14px; bottom: -1px; font-family: var(--mono); font-size: 9px; letter-spacing: .2em; color: #FF8A3D; opacity: .8; }

.shot { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 3px; background: #142226; }
.shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: .22;
    mix-blend-mode: overlay;
    pointer-events: none;
}
.art { position: absolute; inset: 0; }
img.art { width: 100%; height: 100%; object-fit: cover; }
/* undeveloped → developed */
.js .develop .shot .art,
.js .develop .scr-shot .art {
    filter: brightness(.16) sepia(1) saturate(3) hue-rotate(-28deg) contrast(1.5) blur(3px);
}
.js .develop.is-in .shot .art,
.js .develop.is-in .scr-shot .art {
    animation: develop 2.8s var(--ease) forwards;
    animation-delay: calc(var(--i, 0) * 170ms + 150ms);
}
@keyframes develop {
    0% { filter: brightness(.16) sepia(1) saturate(3) hue-rotate(-28deg) contrast(1.5) blur(3px); }
    55% { filter: brightness(.62) sepia(.55) saturate(1.8) hue-rotate(-10deg) contrast(1.15) blur(1px); }
    100% { filter: brightness(1) sepia(0) saturate(1) hue-rotate(0deg) contrast(1) blur(0); }
}

/* name tags: each guest gets a colour */
.tag {
    position: absolute;
    left: 6px;
    bottom: 7px;
    z-index: 2;
    padding: 1px 8px 2px;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1.35;
    color: #07262C;
    background: var(--tag, var(--cyan));
    transform: rotate(-3deg);
    clip-path: var(--tape-clip);
}
.c1 { --tag: #3DE0FF; } .c2 { --tag: #FF3D8A; } .c3 { --tag: #FFD23D; } .c4 { --tag: #9BF06B; }
.c5 { --tag: #FF8A3D; } .c6 { --tag: #C3A8FF; } .c7 { --tag: #F4F1EA; }

/* ---------- phone mock (scaled by font-size; everything inside uses em) ---------- */
.phone {
    position: relative;
    z-index: 1;
    width: 22.5em;
    font-size: 13px;
    aspect-ratio: 9 / 18.6;
    padding: 1.2em 1.15em 1.3em;
    border-radius: 2.6em;
    background: var(--night);
    border: 1.5px solid var(--line-strong);
    box-shadow: 0 0 0 .5em #07121399, 0 2.4em 6em rgba(0, 0, 0, .55), 0 0 6em rgba(255, 61, 138, .12);
    display: flex;
    flex-direction: column;
    gap: .8em;
    overflow: hidden;
    line-height: 1.5;
    color: var(--ink);
    text-align: left;
    /* the app screen always stays in the night room, even inside paper sections */
    --ink: #F4F1EA; --ink-muted: #A9BDBA; --line: #234C52; --line-strong: #3D7079;
    --magenta: #FF3D8A; --on-magenta: #120910; --cyan-text: #3DE0FF;
}
.phone::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .07; pointer-events: none; border-radius: inherit; }
.scr-status { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .82em; color: var(--ink); padding: 0 .4em; }
.scr-status i { display: inline-block; width: 1.9em; height: .8em; border: 1px solid var(--ink); border-radius: .25em; position: relative; }
.scr-status i::after { content: ""; position: absolute; inset: 1px 30% 1px 1px; background: var(--ink); border-radius: 1px; }
.scr-brand { font-weight: 900; font-size: 1.12em; letter-spacing: .03em; padding-bottom: .6em; border-bottom: 1px solid var(--line); }
.scr-brand small { font-size: .85em; color: var(--ink-muted); font-weight: 700; margin-left: .3em; }
.scr-title { font-size: 1.15em; padding: .3em .9em .4em; }
.scr-cover { position: relative; flex: 1 1 auto; min-height: 7em; border-radius: .7em; overflow: hidden; }
.scr-cover .art { filter: blur(1.1em) saturate(1.3); transform: scale(1.3); }
.scr-cover-label {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: .4em;
    justify-items: center;
    background: rgba(11, 26, 28, .45);
    font-weight: 900;
    font-size: 1.1em;
    letter-spacing: .12em;
}
.scr-cover-label svg { width: 1.8em; height: 1.8em; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.scr-stats { display: grid; grid-template-columns: .8fr .9fr 1.5fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .55em 0; }
.scr-stats div { padding: 0 .5em; border-left: 1px solid var(--line); }
.scr-stats div:first-child { border-left: 0; padding-left: .1em; }
.scr-stats small { display: block; font-size: .72em; color: var(--ink-muted); font-weight: 700; }
.scr-stats b { font-family: var(--mono); font-weight: 500; font-size: 1.45em; line-height: 1.1; white-space: nowrap; }
.scr-stats b i { font-style: normal; font-family: var(--font); font-size: .55em; margin-left: .1em; }
.framebar { display: grid; grid-template-columns: repeat(27, 1fr); gap: .14em; }
.framebar i { aspect-ratio: 1 / 1.25; border: 1px solid var(--line-strong); border-radius: 1px; }
.framebar i.on { background: var(--magenta); border-color: var(--magenta); }
.framebar-label { margin-top: -.3em; text-align: right; font-family: var(--mono); font-size: .8em; color: var(--magenta); }
.scr-btn {
    display: grid;
    place-items: center;
    min-height: 3.4em;
    border-radius: 999px;
    background: var(--magenta);
    color: var(--on-magenta);
    font-weight: 900;
    font-size: 1.05em;
    letter-spacing: .06em;
}
.scr-btn--ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); font-weight: 700; }
.scr-field small { display: block; font-size: .78em; color: var(--ink-muted); font-weight: 700; margin-bottom: .3em; }
.scr-input { padding: .55em .8em; border: 1px solid var(--line-strong); border-radius: .6em; background: var(--night-2); font-weight: 700; }
.scr-chips { display: flex; flex-wrap: wrap; gap: .35em; }
.scr-chips > span { padding: .2em .7em; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .82em; font-weight: 700; }
.scr-chips > span.on { background: var(--cyan); border-color: var(--cyan); color: var(--on-cyan); }
.scr-radio { display: flex; align-items: center; gap: .5em; font-size: .86em; font-weight: 700; }
.scr-radio i { width: 1em; height: 1em; border-radius: 50%; border: 1px solid var(--line-strong); flex: 0 0 auto; }
.scr-radio i.on { border: .3em solid var(--magenta); }
.scr-qr { align-self: center; width: 58%; padding: .7em; background: #FFFFFF; border-radius: .7em; }
.scr-qr svg { width: 100%; height: auto; }
.scr-msg { padding: .7em .85em; border-radius: .8em; background: var(--night-3); font-size: .86em; line-height: 1.55; }
.scr-msg .mono { color: var(--cyan-text); font-size: .92em; }
.scr-view { position: relative; flex: 1 1 auto; border-radius: .7em; overflow: hidden; }
.scr-view .tape { position: absolute; top: .8em; right: .8em; z-index: 2; font-size: .85em; transform-origin: right center; }
.scr-view::after { content: ""; position: absolute; inset: 22% 18%; border: 1px dashed rgba(244, 241, 234, .45); border-radius: .4em; }
.scr-shutter-row { display: flex; align-items: center; justify-content: space-between; padding: 0 .6em; }
.scr-shutter { width: 4.2em; height: 4.2em; border-radius: 50%; border: .3em solid var(--ink); box-shadow: inset 0 0 0 .3em var(--night); background: var(--ink); }
.scr-thumb { width: 2.6em; height: 2.6em; border-radius: .4em; background: #050C0D; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.scr-thumb svg { width: 1.2em; height: 1.2em; stroke: var(--ink-muted); fill: none; stroke-width: 1.75; }
.scr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3em; }
.scr-shot { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: .2em; }
.scr-shot .tag { font-size: .62em; left: .3em; bottom: .3em; padding: 0 .5em 1px; }

/* ---------- generic sections ---------- */
section { position: relative; scroll-margin-top: 70px; }
.section { padding: 96px 0; }
.h2 { font-weight: 900; font-size: clamp(2rem, 7.4vw, 3.4rem); line-height: 1.2; letter-spacing: .01em; }
html[lang="en"] .h2 { letter-spacing: -.015em; line-height: 1.1; }
.lead { max-width: 36em; margin-top: 22px; font-size: 1.05rem; line-height: 1.95; color: var(--ink-muted); }
.lead + .lead { margin-top: 14px; }
.lead strong { color: var(--ink); font-weight: 700; }

/* problem */
.problem-grid { display: grid; gap: 48px; align-items: start; }
.pains { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pains li { display: grid; grid-template-columns: 3.2em 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 700; line-height: 1.7; }
.pains .mono { color: var(--magenta); font-size: .9rem; padding-top: .2em; }
.pains li:last-child { color: var(--ink); }
.chat { position: relative; max-width: 380px; margin: 0 auto; padding: 22px 18px 26px; border: 1px solid var(--line); border-radius: 26px; background: var(--night-2); }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--ink-muted); }
.chat-msg { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0 0 12px; }
.chat-msg.me { align-items: flex-end; }
.chat-bubble { max-width: 80%; padding: 9px 14px; border-radius: 18px 18px 18px 4px; background: var(--night-3); font-size: .95rem; line-height: 1.55; }
.chat-msg.me .chat-bubble { border-radius: 18px 18px 4px 18px; background: #1F4A50; }
.chat-meta { font-family: var(--mono); font-size: .7rem; color: var(--ink-muted); padding: 0 6px; }
.chat-gap { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--ink-muted); font-size: .8rem; font-weight: 700; }
.chat-gap::before, .chat-gap::after { content: ""; flex: 1; border-top: 1px dashed var(--line-strong); }
.chat-unanswered { opacity: .9; }
.chat-note { position: absolute; right: -6px; bottom: -14px; font-size: .78rem; }

/* ichigo ichie */
.ichigo { background: #081416; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.ichigo-grid { position: relative; display: grid; gap: 48px; align-items: start; }
.vertical {
    position: absolute;
    top: -24px;
    right: -6px;
    writing-mode: vertical-rl;
    font-weight: 900;
    font-size: clamp(5.5rem, 26vw, 11rem);
    line-height: 1;
    letter-spacing: .06em;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(61, 112, 121, .55);
    pointer-events: none;
    user-select: none;
}
.ichigo-reading { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.ichigo-copy { position: relative; z-index: 1; }

.cam { position: relative; z-index: 1; width: 100%; max-width: 420px; margin: 0 auto; padding: 18px; border: 1px solid var(--line-strong); border-radius: 30px; background: var(--night); }
.cam-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .88rem; font-weight: 700; color: var(--ink-muted); }
.cam-view { position: relative; aspect-ratio: 4 / 3.4; border-radius: 18px; overflow: hidden; background: #050C0D; }
.cam-view .art { inset: -6%; width: 112%; height: 112%; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(-3%, -2%) scale(1.02); } to { transform: translate(3%, 2%) scale(1.08); } }
.cam-view::after { content: ""; position: absolute; inset: 20% 22%; border: 1px dashed rgba(244, 241, 234, .5); border-radius: 8px; pointer-events: none; }
.cam-count { position: absolute; top: 12px; right: 12px; z-index: 2; transform-origin: right center; }
.cam-flash { position: absolute; inset: 0; z-index: 3; background: #FFFFFF; opacity: 0; pointer-events: none; }
.cam-flash.go { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .95; } 100% { opacity: 0; } }
.cam .framebar { margin-top: 14px; gap: 3px; }
.cam .framebar i { border-radius: 2px; }
.cam-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.cam-roll { flex: 1; display: flex; gap: 6px; min-height: 42px; overflow: hidden; }
.cam-roll span {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: #050C0D;
    border: 1px solid var(--line-strong);
    display: grid;
    place-items: center;
    color: var(--ink-muted);
}
.cam-roll span svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.cam-roll span.new { animation: drop .4s var(--ease); }
@keyframes drop { from { transform: translateY(-10px) scale(.9); opacity: 0; } }
.shutter {
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 4px solid var(--ink);
    background: var(--ink);
    box-shadow: inset 0 0 0 4px var(--night);
    cursor: pointer;
    transition: transform .1s var(--ease);
    -webkit-tap-highlight-color: transparent;
}
.shutter:active { transform: scale(.92); }
.shutter:disabled { opacity: .4; cursor: default; }
.cam-msg { min-height: 3.4em; margin-top: 14px; font-size: .92rem; line-height: 1.6; color: var(--ink-muted); }
.cam-msg b { color: var(--ink); }

/* morning */
.morning {
    color: var(--paper-ink);
    background:
        linear-gradient(180deg, #081416 0, #12303A 90px, #3F5878 190px, #B58A94 300px, #EDB79A 400px, #F6DCC0 500px, var(--paper) 640px);
    padding-top: 300px;
}
.morning .sun {
    position: absolute;
    left: 50%;
    top: 330px;
    width: 640px;
    height: 640px;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(255, 240, 210, .9), rgba(255, 220, 170, .35) 45%, transparent 70%);
    pointer-events: none;
}
.day { --ink: var(--paper-ink); --ink-muted: var(--paper-muted); --line: var(--paper-line); --line-strong: #A89C88; --magenta: var(--paper-magenta); --on-magenta: #FFFFFF; --magenta-hover: #B80F58; --cyan-text: var(--paper-cyan-text); color: var(--paper-ink); }
.day .tape--paper { background: var(--paper-ink); color: var(--paper); }
.day .btn--ghost:hover { background: rgba(11, 26, 28, .05); }
.morning-head { position: relative; z-index: 1; display: grid; gap: 24px; }
.clock-tape { font-size: 1.1rem; }
.sheet {
    position: relative;
    z-index: 1;
    margin-top: 52px;
    padding: 18px;
    background: #FFFDF8;
    border: 1px solid var(--paper-line);
    border-radius: 6px;
    box-shadow: 0 30px 60px rgba(60, 40, 20, .12);
}
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; align-items: baseline; padding: 2px 4px 14px; font-weight: 700; }
.sheet-head .mono { color: var(--paper-muted); font-size: .82rem; }
.sheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sheet-grid .shot:nth-child(n+10) { display: none; }
.sheet-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 14px 4px 0; font-size: .8rem; color: var(--paper-muted); }
.sheet-foot > span:last-child { opacity: .85; }
.pull {
    position: relative;
    z-index: 1;
    margin: 64px auto 0;
    max-width: 22em;
    text-align: center;
    font-weight: 900;
    font-size: clamp(1.6rem, 5.6vw, 2.4rem);
    line-height: 1.45;
}
.pull mark { background: linear-gradient(transparent 62%, rgba(61, 224, 255, .55) 62% 92%, transparent 92%); color: inherit; padding: 0 .1em; }

/* steps */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.step {
    display: grid;
    grid-template-columns: 1fr 128px;
    gap: 18px;
    align-items: center;
    padding: 22px;
    background: #FFFDF8;
    border: 1px solid var(--paper-line);
    border-radius: var(--radius);
}
.step-num { font-family: var(--mono); font-size: .85rem; color: var(--paper-magenta); }
.step h3 { margin: 4px 0 8px; font-size: 1.35rem; font-weight: 900; }
.step p { color: var(--paper-muted); font-size: .96rem; line-height: 1.8; }
.step .phone { width: 22.5em; aspect-ratio: 9 / 16.5; font-size: 5.6px; justify-self: end; box-shadow: 0 0 0 .5em #0B1A1C22, 0 1.6em 3em rgba(11, 26, 28, .25); }
.illus-note { margin-top: 16px; font-size: .8rem; color: var(--paper-muted); }
.swipe-hint { display: none; margin-top: 10px; font-size: .82rem; font-weight: 700; color: var(--paper-muted); }
@media (max-width: 639px) {
    .steps {
        grid-auto-flow: column;
        grid-auto-columns: 84%;
        gap: 12px;
        margin: 40px -20px 0;
        padding: 4px 20px 18px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .steps::-webkit-scrollbar { display: none; }
    .step { grid-template-columns: 1fr; align-items: start; scroll-snap-align: start; padding: 22px 20px 24px; }
    .step .phone { order: -1; justify-self: center; font-size: 8.2px; margin-bottom: 4px; }
    .swipe-hint { display: block; }
    .vertical { opacity: .5; }
    .section.final { padding-top: 380px; }
}

/* use cases */
.cases { display: grid; gap: 18px; margin-top: 48px; }
.case { overflow: hidden; background: #FFFDF8; border: 1px solid var(--paper-line); border-radius: var(--radius); }
.case .shot { aspect-ratio: 16 / 9; border-radius: 0; }
.case .tape { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-size: 1.05rem; }
.case-body { padding: 20px 22px 24px; }
.case-body p { color: var(--paper-muted); font-size: .96rem; line-height: 1.85; }
.case-body p b { color: var(--paper-ink); }

/* promises */
.promises { display: grid; gap: 0; margin-top: 56px; border-top: 1px solid var(--paper-line); }
.promise { display: grid; grid-template-columns: 2.6em 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--paper-line); }
.promise svg { width: 28px; height: 28px; stroke: var(--paper-cyan-text); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.promise b { display: block; font-size: 1.02rem; }
.promise span { color: var(--paper-muted); font-size: .93rem; }

/* pricing */
.pricing { background: var(--paper-2); }
.plans { display: grid; gap: 14px; margin-top: 44px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; background: #FFFDF8; border: 1px solid var(--paper-line); border-radius: var(--radius); }
.plan-name { font-weight: 900; font-size: 1.05rem; }
.plan-price { font-family: var(--mono); font-size: 2.3rem; line-height: 1.1; letter-spacing: -.02em; }
.plan-price small { font-family: var(--font); font-size: .85rem; font-weight: 700; color: var(--paper-muted); letter-spacing: 0; margin-left: 4px; }
.plan-guests { font-weight: 700; color: var(--paper-cyan-text); }
.plan p { color: var(--paper-muted); font-size: .9rem; }
.plan--free { border: 2px solid var(--paper-ink); }
.plan--free .tape { position: absolute; top: -14px; right: 16px; transform-origin: right center; }
.plan-notes { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 10px; }
.plan-notes li { position: relative; padding-left: 1.5em; line-height: 1.75; }
.plan-notes li::before { content: ""; position: absolute; left: 0; top: .62em; width: .75em; height: .4em; border-left: 2px solid var(--paper-magenta); border-bottom: 2px solid var(--paper-magenta); transform: rotate(-45deg); }
.status-note { margin-top: 30px; padding: 16px 18px; border: 1px dashed #A89C88; border-radius: 14px; font-size: .92rem; color: var(--paper-muted); }
.status-note b { color: var(--paper-ink); }

/* faq */
.faq { margin-top: 40px; border-top: 1px solid var(--paper-line); }
.faq details { border-bottom: 1px solid var(--paper-line); }
.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 2px;
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font-family: var(--mono); font-size: 1.4rem; line-height: 1; color: var(--paper-magenta); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 22px; color: var(--paper-muted); line-height: 1.9; max-width: 44em; }

/* final */
.final {
    overflow: hidden;
    background: linear-gradient(180deg, var(--paper) 0, #EBC3A4 80px, #A47488 170px, #3A3F62 240px, #12283A 300px, var(--night) 350px);
    text-align: center;
}
.section.final { padding-top: 400px; }
.final::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -260px;
    width: 900px;
    height: 700px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(255, 61, 138, .22), transparent 70%);
    pointer-events: none;
}
.final .wrap { position: relative; z-index: 1; }
.dusk { position: absolute; left: 0; right: 0; top: 96px; z-index: 1; text-align: center; font-family: var(--mono); font-size: .85rem; letter-spacing: .08em; color: #4A3346; }
.final .kicker { justify-content: center; }
.final .h2 { font-size: clamp(2.3rem, 9vw, 4.4rem); }
.final .lead { margin-left: auto; margin-right: auto; }
.final-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.final-cards { display: grid; gap: 18px; margin: 64px auto 0; max-width: 820px; text-align: left; }
.share-card, .qr-card { padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(16, 37, 42, .7); }
.share-card h3, .qr-card h3 { font-size: 1.15rem; font-weight: 900; }
.share-card p, .qr-card p { margin-top: 6px; color: var(--ink-muted); font-size: .92rem; }
.share-url { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding: 10px 14px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--cyan-text); font-size: .95rem; }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.share-actions .btn { flex: 1 1 auto; }
.qr-card { display: none; grid-template-columns: 128px 1fr; gap: 20px; align-items: center; }
.qr-card .qr { padding: 10px; background: #FFFFFF; border-radius: 12px; }
.qr-card .qr img { width: 100%; height: auto; }
.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 120;
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s var(--ease);
    font-size: 1rem;
}
.toast.show { opacity: 1; transform: translate(-50%, 0) rotate(-1.6deg); }

.site-footer { position: relative; z-index: 1; background: #071214; border-top: 1px solid var(--line); color: var(--ink-muted); padding: 40px 0 calc(36px + env(safe-area-inset-bottom)); font-size: .9rem; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand { display: grid; gap: 10px; justify-items: start; }
.footer-brand p { max-width: 24em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; }
.site-footer a { color: var(--ink); text-underline-offset: 4px; }
.site-footer a:hover { color: var(--cyan); }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-base small { font-size: .82rem; }
.by { font-size: .82rem; }
.draft-chip { display: inline-block; margin-left: 6px; padding: 0 7px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .72rem; font-weight: 700; color: var(--ink-muted); vertical-align: middle; }

/* ---------- plain document pages (legal, privacy, 404) ---------- */
.doc { padding: 48px 0 88px; }
.doc .wrap { max-width: 760px; }
.doc h1 { margin: 18px 0 8px; font-weight: 900; font-size: clamp(1.9rem, 6.4vw, 2.7rem); line-height: 1.25; }
.doc h2 { margin: 40px 0 12px; font-size: 1.2rem; font-weight: 900; }
.doc p, .doc li, .doc dd { color: var(--ink-muted); line-height: 1.9; }
.doc p + p { margin-top: 12px; }
.doc strong, .doc b { color: var(--ink); }
.doc ul { padding-left: 1.2em; }
.doc p a, .doc li a, .doc dd a { color: var(--cyan-text); }
.legal-list { margin: 0; border-top: 1px solid var(--line); }
.legal-list dt { padding-top: 16px; font-weight: 700; color: var(--ink); }
.legal-list dd { margin: 4px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.draft-banner { margin-top: 20px; padding: 16px 18px; border: 1.5px dashed var(--magenta); border-radius: 14px; color: var(--ink); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.updated { margin-top: 40px; font-size: .85rem; }

/* reveal on scroll */
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rise.is-in { opacity: 1; transform: none; }
.js .hero .brush path { clip-path: inset(0 100% 0 0); animation: brush 1.1s .5s var(--ease) forwards; }
@keyframes brush { to { clip-path: inset(0 0 0 0); } }
.js .hero h1 .line { display: block; opacity: 0; transform: translateY(.18em); animation: up .9s var(--ease) forwards; }
.js .hero h1 .line + .line { animation-delay: .18s; }
@keyframes up { to { opacity: 1; transform: none; } }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
    .wrap { padding: 0 32px; }
    .step { grid-template-columns: 1fr 150px; padding: 26px 28px; }
    .step .phone { font-size: 6.6px; }
    .cases { grid-template-columns: 1fr 1fr; }
    .plans { grid-template-columns: 1fr 1fr; }
    .promises { grid-template-columns: 1fr 1fr; column-gap: 32px; }
    .sheet-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .sheet-grid .shot:nth-child(n+9) { display: none; }
    .sheet { padding: 24px; }
}
@media (min-width: 900px) {
    .hero { padding: 64px 0 104px; }
    .hero-grid { grid-template-columns: 1.08fr .92fr; }
    .hero-visual { min-height: 640px; }
    .phone { font-size: 14px; }
    .section { padding: 128px 0; }
    .problem-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
    .ichigo-grid { grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
    .vertical { position: absolute; right: auto; left: -10px; top: -10px; font-size: 8.6rem; opacity: .9; }
    .ichigo-copy { padding-left: 170px; }
    .hero-copy { position: relative; z-index: 2; }
    .hero-visual .strip { left: -6%; right: -60%; }
    .morning { padding-top: 360px; }
    .morning-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
    .morning-head .lead { margin-top: 0; }
    .sheet-grid { grid-template-columns: repeat(5, 1fr); }
    .sheet-grid .shot:nth-child(n+9) { display: block; }
    .steps { grid-template-columns: repeat(4, 1fr); }
    .step { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 24px 22px 26px; align-items: start; }
    .step .phone { order: -1; justify-self: center; font-size: 8.4px; margin-bottom: 8px; }
    .cases { grid-template-columns: repeat(4, 1fr); }
    .plans { grid-template-columns: repeat(4, 1fr); }
    .promises { grid-template-columns: repeat(4, 1fr); column-gap: 28px; border-top: 0; }
    .promise { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid var(--paper-line); padding-top: 20px; }
    .final-cards { grid-template-columns: 1.2fr 1fr; }
    .qr-card { display: grid; }
}

@media (min-width: 640px) {
    .lang-toggle .short { display: none; }
    .lang-toggle .long { display: inline; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 900px) {
    .open-link { display: inline-flex; }
    .topbar-actions { gap: 10px; }
}
@media (max-width: 639px) {
    .brand small { display: none; }
}
@media (max-width: 359px) {
    .brand img { display: none; }
    .topbar .btn--sm { padding: 0 12px; font-size: .84rem; }
}

@media (max-width: 380px) {
    .hero-visual { min-height: 470px; }
    .phone { font-size: 11.5px; }
}

@media (hover: none) {
    .qr-card { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .js .rise { opacity: 1; transform: none; }
    .js .develop .shot .art, .js .develop .scr-shot .art { filter: none; animation: none; }
    .js .hero h1 .line { opacity: 1; transform: none; animation: none; }
    .js .hero .brush path { clip-path: none; animation: none; }
    .cam-view .art { animation: none; }
    .cam-flash.go { animation: none; }
}
