/* ─────────────────────────────────────────────────────────────
   Glimpse Vision AI, homepage.
   Palette and type are lifted straight from the app's GlimpseTheme:
   a deep teal ink lit from behind by cyan, the system typeface,
   semibold headlines, light hero numerals, monospaced labels.
───────────────────────────────────────────────────────────── */
:root {
    --ink: #010e0f;
    --ink-raised: #071e1f;
    --teal-ink: #011315;
    --teal-deep: #005153;
    --teal: #08928d;
    --horizon: #047273;
    --sky: #23a9a0;
    --cyan: #76e6d3;
    --aqua: #5cebd6;
    --steel: #8eb5b0;
    --text: #ffffff;
    --muted: rgba(255,255,255,0.64);
    --dim: rgba(255,255,255,0.42);
    --line: rgba(255,255,255,0.10);
    --line-strong: rgba(255,255,255,0.18);
    --glass: rgba(255,255,255,0.06);
    --glass-hi: rgba(255,255,255,0.11);
    --head: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
    --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
    --mono: ui-monospace, "SF Mono", "IBM Plex Mono", Menlo, monospace;
    --radius: 28px;
    --radius-lg: 40px;
    --gutter: clamp(20px, 5vw, 64px);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--body);
    background: var(--ink);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(118,230,211,0.35); }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.label {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyan);
}
.label.dim { color: var(--steel); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
.display {
    font-size: clamp(44px, 8vw, 112px);
    background: linear-gradient(180deg, #ffffff 0%, #c2dde0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.title { font-size: clamp(34px, 5.2vw, 68px); }
/* Japanese has no word breaks, so the display sizes step down a notch
   and the tight tracking relaxes, otherwise a headline splits mid word. */
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { letter-spacing: -0.01em; line-height: 1.12; }
html[lang="ja"] .display { font-size: clamp(33px, 7vw, 96px); }
html[lang="ja"] .title { font-size: clamp(30px, 4.6vw, 60px); }
html[lang="ja"] .welcome h1, html[lang="ja"] .closing h2 { max-width: none; }
.title-sm { font-size: clamp(26px, 3.4vw, 44px); }
.lede { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); line-height: 1.55; max-width: 34em; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 26px; border-radius: 999px;
    font-family: var(--head); font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
    transition: transform 0.35s var(--ease), background 0.25s, box-shadow 0.35s;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-solid { background: #fff; color: var(--ink); box-shadow: 0 8px 30px rgba(118,230,211,0.18); }
.btn-solid:hover { background: var(--cyan); }
.btn-glass {
    background: var(--glass); color: #fff;
    box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgba(255,255,255,0.25);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.btn-glass:hover { background: var(--glass-hi); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; } .rv-d2 { transition-delay: 0.16s; } .rv-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rv { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ── Floating pill nav ────────────────────────────────────── */
.nav-wrap { position: fixed; inset: 0 0 auto; z-index: 100; padding: 14px var(--gutter) 0; pointer-events: none; }
nav#nav {
    pointer-events: auto;
    margin-inline: auto; max-width: 1240px;
    height: 58px; padding: 0 10px 0 18px;
    display: flex; align-items: center; justify-content: space-between;
    border-radius: 999px;
    background: rgba(1,14,15,0.55);
    box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,0.14), 0 10px 40px rgba(0,0,0,0.35);
    backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
    transition: background 0.4s;
}
nav#nav.scrolled { background: rgba(1,14,15,0.78); }
.nav-brand img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a {
    padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.78);
    transition: background 0.2s, color 0.2s; position: relative;
}
.nav-links > a:hover { background: var(--glass); color: #fff; }
.nav-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); margin-left: 7px; vertical-align: 2px; box-shadow: 0 0 10px var(--aqua); }
.lang-switch { display: flex; align-items: center; gap: 2px; margin: 0 6px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px var(--line); }
.lang-switch a { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--dim); }
.lang-switch a[aria-current="true"] { background: rgba(255,255,255,0.12); color: #fff; }
.nav-cta { margin-left: 6px; height: 40px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--ink) !important; font-weight: 600 !important; display: inline-flex; align-items: center; }
.nav-cta:hover { background: var(--cyan) !important; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 50%; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-burger span { display: block; width: 20px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center; gap: 6px;
    padding: 100px var(--gutter) 60px;
    background: rgba(1,14,15,0.92); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--head); font-size: 34px; font-weight: 600; letter-spacing: -0.03em; padding: 8px 0; color: #fff; }
.mobile-menu a.menu-download { margin-top: 26px; font-size: 17px; font-weight: 600; height: 56px; border-radius: 999px; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }
}

/* ── Welcome ──────────────────────────────────────────────── */
.welcome { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.welcome-media { position: absolute; inset: 0; z-index: -2; }
.welcome-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; animation: heroIn 2.4s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }
.welcome-shade {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(1,14,15,0.55) 0%, rgba(1,14,15,0) 30%, rgba(1,14,15,0) 45%, rgba(1,14,15,0.92) 100%),
        linear-gradient(90deg, rgba(1,14,15,0.55) 0%, rgba(1,14,15,0) 55%);
}
.welcome-inner { position: relative; padding: 160px 0 clamp(56px, 8vh, 96px); }
.welcome h1 { max-width: 9.5em; margin: 18px 0 22px; }
.welcome .lede { max-width: 30em; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.welcome-note { margin-top: 18px; font-size: 13px; color: var(--dim); display: flex; align-items: center; gap: 8px; }
.welcome-note i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #3ed9a8; box-shadow: 0 0 10px #3ed9a8; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 36px; display: flex; align-items: center; gap: 10px; color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.scroll-cue span { display: block; width: 1px; height: 44px; background: linear-gradient(180deg, var(--cyan), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%, 100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 760px) {
    .welcome { align-items: flex-end; }
    .welcome-media img { object-position: 50% 0%; }
    .welcome-shade { background: linear-gradient(180deg, rgba(1,14,15,0.5) 0%, rgba(1,14,15,0) 22%, rgba(1,14,15,0.15) 48%, rgba(1,14,15,0.96) 78%); }
    .welcome-inner { padding-top: 120px; }
    .welcome-actions .btn { flex: 1 1 100%; }
    .scroll-cue { display: none; }
}

/* ── Section rhythm ───────────────────────────────────────── */
section { position: relative; }
.sec { padding: clamp(80px, 12vw, 160px) 0; }
.sec-head { max-width: 40em; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .lede { margin-top: 18px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lede { margin-inline: auto; }

/* ── Highlights (three tall cards) ────────────────────────── */
.highlights { background: var(--ink); }
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hl-card {
    position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
    background: var(--ink-raised); box-shadow: inset 0 0 0 1px var(--line);
    isolation: isolate;
}
.hl-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); z-index: -1; }
.hl-card:hover img { transform: scale(1.04); }
.hl-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,14,15,0) 40%, rgba(1,14,15,0.9) 100%); z-index: -1; }
.hl-body { position: absolute; inset: auto 0 0; padding: 28px; }
.hl-body .label { display: block; margin-bottom: 10px; }
.hl-body h3 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; letter-spacing: -0.035em; }
.hl-body p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 24em; }
@media (max-width: 900px) {
    .hl-grid { grid-template-columns: 1fr; gap: 12px; }
    .hl-card { aspect-ratio: 4 / 5; }
}

/* ── Stories (alternating photo + copy) ───────────────────── */
.stories { background: var(--teal-ink); }
.story { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 4vw, 56px) 0; }
.story.flip .story-media { order: 2; }
.story-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px rgba(0,0,0,0.45); background: var(--ink-raised); isolation: isolate; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,0.18); border-radius: inherit; pointer-events: none; }
.story-caption {
    position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 14px 10px 12px; border-radius: 999px;
    background: rgba(1,14,15,0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 0 0 1px var(--line-strong);
    font-size: 13.5px; color: #fff; max-width: calc(100% - 40px);
}
.story-caption .wave { display: inline-flex; gap: 2px; align-items: center; height: 14px; }
.story-caption .wave b { display: block; width: 2px; height: 6px; border-radius: 2px; background: var(--aqua); animation: wave 1.1s ease-in-out infinite; }
.story-caption .wave b:nth-child(2) { animation-delay: 0.15s; height: 12px; }
.story-caption .wave b:nth-child(3) { animation-delay: 0.3s; height: 9px; }
.story-caption .wave b:nth-child(4) { animation-delay: 0.45s; height: 13px; }
@keyframes wave { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1.2); } }
.story-copy .label { display: block; margin-bottom: 16px; }
.story-copy h3 { font-size: clamp(32px, 4vw, 54px); letter-spacing: -0.035em; max-width: 12em; }
.story-copy p { margin-top: 18px; color: var(--muted); font-size: clamp(16px, 1.3vw, 18.5px); max-width: 30em; }
.story-list { margin-top: 26px; display: grid; gap: 10px; list-style: none; }
.story-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: rgba(255,255,255,0.86); }
.story-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(118,230,211,0.14); box-shadow: inset 0 0 0 1px rgba(118,230,211,0.5); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2376e6d3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); background-size: 10px; background-repeat: no-repeat; background-position: center; }
@media (max-width: 900px) {
    .story { grid-template-columns: 1fr; gap: 24px; padding: 20px 0; }
    .story.flip .story-media { order: 0; }
    .story-media { aspect-ratio: 4 / 3; }
}

/* ── Glasses ──────────────────────────────────────────────── */
.glasses { background: var(--ink); overflow: hidden; }
.glasses-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; box-shadow: inset 0 0 0 1px var(--line); background: var(--ink-raised); isolation: isolate; }
.glasses-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.glasses-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,14,15,0.2), rgba(1,14,15,0) 30%, rgba(1,14,15,0) 65%, rgba(1,14,15,0.85)); }
.glasses-hero-copy { position: absolute; z-index: 1; left: clamp(22px, 4vw, 56px); right: clamp(22px, 4vw, 56px); bottom: clamp(22px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.glasses-hero-copy h3 { font-size: clamp(30px, 4.5vw, 62px); letter-spacing: -0.035em; max-width: 11em; }
.glasses-hero-copy .label { display: block; margin-bottom: 12px; }
.price-tag { display: flex; align-items: baseline; gap: 10px; }
.price-tag strong { font-family: var(--head); font-weight: 300; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1; }
.price-tag span { color: var(--muted); font-size: 15px; }
.glasses-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.glasses-actions .fine { font-size: 13px; color: var(--dim); }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; margin-top: 16px; }
.cell { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-raised); box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.4s var(--ease); }
.cell:hover img { transform: scale(1.03); }
.cell.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1,14,15,0.05) 0%, rgba(1,14,15,0.3) 40%, rgba(1,14,15,0.92) 100%); }
.cell.photo.top img { object-position: 50% 12%; }
.cell h4 { font-family: var(--head); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.cell p { margin-top: 6px; color: var(--muted); font-size: 14.5px; max-width: 26em; }
.cell .label { display: block; margin-bottom: 8px; }
.cell.text { background: linear-gradient(160deg, rgba(8,146,141,0.28), rgba(1,14,15,0) 60%), var(--ink-raised); justify-content: space-between; }
.cell.text .big { font-family: var(--head); font-weight: 300; font-size: clamp(44px, 5vw, 72px); letter-spacing: -0.04em; line-height: 1; margin-bottom: 14px; }
.c-6 { grid-column: span 6; } .c-4 { grid-column: span 4; } .c-8 { grid-column: span 8; } .c-12 { grid-column: span 12; }
.r-2 { grid-row: span 2; }
@media (max-width: 900px) {
    .glasses-hero { aspect-ratio: 4 / 5; }
    .glasses-hero img { object-position: 60% 50%; }
    .bento { grid-auto-rows: minmax(200px, auto); }
    .c-6, .c-4, .c-8 { grid-column: span 12; }
    .r-2 { grid-row: span 1; min-height: 360px; }
    .cell.photo.top { min-height: 380px; }
    .cell.photo.top img { object-position: 50% 0%; }
}

.spec-strip { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec { padding: 24px 26px; border-radius: var(--radius); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,0.12); }
.spec .label { display: block; margin-bottom: 10px; }
.spec p { font-size: 15px; color: rgba(255,255,255,0.86); }
@media (max-width: 900px) { .spec-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 480px) { .spec-strip { grid-template-columns: 1fr; } }

/* ── Facts (icon cards) ───────────────────────────────────── */
.facts { background: var(--teal-ink); }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { padding: 30px 28px 28px; border-radius: var(--radius); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,0.12); min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.fact .num { font-family: var(--head); font-weight: 300; font-size: clamp(40px, 4.4vw, 56px); letter-spacing: -0.04em; line-height: 1; }
.fact .num small { font-size: 0.45em; letter-spacing: 0; color: var(--steel); margin-left: 4px; font-weight: 400; }
.fact h4 { font-family: var(--head); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.fact p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .fact-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 560px) { .fact-grid { grid-template-columns: 1fr; } .fact { min-height: 0; gap: 16px; } }

/* ── Pricing ──────────────────────────────────────────────── */
.pricing { background: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; padding: 34px 30px 30px; border-radius: var(--radius-lg); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,0.12); display: flex; flex-direction: column; gap: 22px; }
.plan.featured { background: linear-gradient(160deg, rgba(8,146,141,0.34), rgba(1,14,15,0.2) 60%), var(--ink-raised); box-shadow: inset 0 0 0 1px rgba(118,230,211,0.35), inset 0 1px 0 rgba(255,255,255,0.4), 0 30px 80px rgba(8,146,141,0.18); }
.plan-name { font-family: var(--head); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.pill { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(118,230,211,0.14); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(118,230,211,0.4); }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price strong { font-family: var(--head); font-weight: 300; font-size: 56px; letter-spacing: -0.045em; line-height: 1; }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan-desc { color: var(--muted); font-size: 15px; }
.plan-list { list-style: none; display: grid; gap: 9px; font-size: 15px; color: rgba(255,255,255,0.88); margin-top: auto; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: rgba(118,230,211,0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2376e6d3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 9px no-repeat; box-shadow: inset 0 0 0 1px rgba(118,230,211,0.45); }
.plan .btn { width: 100%; }
.plans-note { margin-top: 18px; text-align: center; font-size: 13px; color: var(--dim); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

/* ── Closing ──────────────────────────────────────────────── */
.closing { position: relative; min-height: 88svh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; isolation: isolate; }
.closing-media { position: absolute; inset: 0; z-index: -2; }
.closing-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1,14,15,0.95) 0%, rgba(1,14,15,0.35) 40%, rgba(1,14,15,0.35) 60%, rgba(1,14,15,1) 100%); }
.closing-inner { padding: 120px 0; }
.closing h2 { max-width: 12em; margin-inline: auto; }
.closing .lede { margin: 20px auto 0; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ── Footer ───────────────────────────────────────────────── */
.footer-zone { position: relative; background: var(--ink); padding: clamp(60px, 8vw, 110px) 0 120px; box-shadow: inset 0 1px 0 var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.f-logo { height: 30px; width: auto; }
.footer-tag { font-family: var(--head); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; max-width: 12em; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14.5px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col .label { margin-bottom: 4px; }
.footer-col a { font-size: 15.5px; color: rgba(255,255,255,0.82); transition: color 0.2s; width: fit-content; }
.footer-col a:hover { color: var(--cyan); }
.footer-company { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin-top: 4px; }
.footer-company span { opacity: 0.75; }
.footer-bottom { margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; box-shadow: inset 0 1px 0 var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copyright, .footer-made { font-size: 13px; color: var(--dim); }
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-col:last-child { grid-column: 1 / -1; }
}

/* ── Sticky download bar (mobile) ─────────────────────────── */
.sticky-bar {
    position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 80;
    transform: translate(-50%, 140%); transition: transform 0.6s var(--ease);
    display: flex; gap: 8px; padding: 6px; border-radius: 999px;
    background: rgba(1,14,15,0.7); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    box-shadow: inset 0 0 0 1px var(--line-strong), 0 20px 60px rgba(0,0,0,0.5);
}
.sticky-bar.show { transform: translate(-50%, 0); }
.bar-main { height: 48px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--ink); font-family: var(--head); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; }
.bar-store { width: 48px; height: 48px; border-radius: 50%; background: var(--glass-hi); display: inline-flex; align-items: center; justify-content: center; }
.bar-store svg { width: 20px; height: 20px; }
@media (min-width: 901px) { .sticky-bar { display: none; } }/* ==GLIMPSE-I18N-CSS-START== */
.lang-switch {
    display: inline-flex; align-items: center;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 12px; overflow: hidden;
}
.lang-switch a {
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
    padding: 7px 10px; color: #8a8a8a; transition: background 0.2s, color 0.2s;
}
.lang-switch a[aria-current="true"] { background: rgba(92,235,214,0.14); color: #b5f2e6; }
.lang-switch a:not([aria-current="true"]):hover { background: rgba(255,255,255,0.07); color: #fff; }
/* ==GLIMPSE-I18N-CSS-END== */

/* ── Phone mockup inside a story ─────────────────────────────── */
.phone-stage { display: flex; align-items: center; justify-content: center; background: radial-gradient(60% 70% at 50% 45%, rgba(8,146,141,0.45), rgba(1,14,15,0) 70%), var(--ink-raised); }
.phone { height: 86%; aspect-ratio: 9 / 19.2; padding: 8px; border-radius: 40px; background: #060b0c; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22), inset 0 1px 0 rgba(255,255,255,0.35), 0 40px 90px rgba(0,0,0,0.6); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; border-radius: 32px; }


/* ── Document pages: privacy, terms, support, refund ─────────── */
.doc-hero { padding: 160px 0 40px; }
.doc-hero h1 { font-size: clamp(38px, 6vw, 76px); max-width: 12em; }
.doc-hero .updated, .doc-hero .subtitle { margin-top: 16px; color: var(--muted); font-size: 16px; }
.doc { max-width: 46em; padding-bottom: clamp(80px, 10vw, 140px); }
.doc h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 44px 0 14px; }
.doc h3 { font-size: 18px; margin: 28px 0 8px; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.7; color: rgba(255,255,255,0.8); }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 16px 1.2em; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(118,230,211,0.4); }
.doc strong { color: #fff; font-weight: 600; }
.doc .contact-card, .doc .faq-item { padding: 24px 26px; border-radius: var(--radius); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,0.12); margin: 0 0 12px; }
.doc .contact-card h3, .doc .faq-item h3 { margin-top: 0; }
.doc .contact-card p, .doc .faq-item p { margin-bottom: 0; }
.doc .contact-card br { display: none; }
.doc .contact-card a { font-family: var(--head); font-weight: 600; font-size: 18px; text-decoration: none; }

/* Japanese pages: the generator injects Noto Sans JP into pages that carry a
   style block; the document pages do not, so the face is set here as well. */
html[lang="ja"] { --head: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', system-ui, sans-serif; --body: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', system-ui, sans-serif; }
html[lang="ja"] p { line-height: 1.85; }

/* ── Get it: two cards ─────────────────────────────────────────── */
.get { background: var(--teal-ink); }
.get-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.get-card { position: relative; display: block; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-raised); box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; }
.get-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.4s var(--ease); }
.get-card:hover > img { transform: scale(1.03); }
.get-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1,14,15,0.1) 30%, rgba(1,14,15,0.92) 100%); }
.get-body { position: absolute; inset: auto 0 0; padding: clamp(24px, 3vw, 40px); }
.get-body .label { display: block; margin-bottom: 10px; }
.get-body h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; }
.get-body p { margin: 10px 0 20px; color: var(--muted); font-size: 15.5px; max-width: 26em; }
@media (max-width: 900px) { .get-grid { grid-template-columns: 1fr; } .get-card { min-height: 340px; } }

/* ── Floating CTA, bottom right on desktop ─────────────────────── */
.float-cta { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(1,14,15,0.7); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: inset 0 0 0 1px var(--line-strong), 0 20px 60px rgba(0,0,0,0.5); transform: translateY(160%); transition: transform 0.6s var(--ease); }
.float-cta.show { transform: none; }
.float-cta .btn { height: 46px; padding: 0 20px; font-size: 15px; }
@media (max-width: 900px) { .float-cta { display: none; } }
.bar-glasses { height: 48px; padding: 0 18px; border-radius: 999px; background: var(--glass-hi); color: #fff; font-family: var(--head); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; }

/* Narrow screens: taller phone stage so the answer text stays in frame */
@media (max-width: 900px) {
    .story-media.phone-stage { aspect-ratio: 4 / 5; }
    .phone { height: 88%; }
}

/* ── No glasses: two mode cards, styled like the app lobby ─────── */
.modes { background: var(--teal-ink); }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mode-card { padding: clamp(26px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,0.14); display: flex; flex-direction: column; gap: 12px; }
.mode-card .label { display: block; }
.mode-card h3 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.03em; }
.mode-card p { color: var(--muted); font-size: 16px; max-width: 28em; }
.mode-card .btn { align-self: flex-start; margin-top: 12px; }
@media (max-width: 900px) { .mode-grid { grid-template-columns: 1fr; } }
