/* Loupe English page. Apple's pacing (one idea per screen, a pinned stage the scroll drives) with an
   anime.js-style instrument: the loupe drawn as a dial of timecode ticks that changes shape as you scroll —
   IN/OUT arc, then nine cut arcs, then a radial tempo chart. No character art here (the Japanese page has it). */
:root {
  --bg: #1b1917;          /* warm charcoal, like a dark edit suite */
  --bg-2: #24211e;
  --fg: #f5f1ec;
  --mute: #a39a91;
  --line: #3a3531;
  --pink: #ff4f6d;
  --amber: #ffb347;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --tc: "Barlow Condensed", "Helvetica Neue", Arial, sans-serif;
  --wrap: min(1120px, 100% - 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--line) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.tc { font-family: var(--tc); font-variant-numeric: tabular-nums; letter-spacing: .05em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }

.top { position: fixed; inset: 0 0 auto; z-index: 30; padding-top: env(safe-area-inset-top, 0px); background: rgba(27, 25, 23, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 52px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 700 18px/1 var(--display); letter-spacing: -0.02em; }
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--mute); }
.top nav a:hover { color: var(--fg); }
.top .get { background: var(--fg); color: var(--bg); padding: 7px 14px; border-radius: 999px; font-weight: 600; }
.top .get:hover { background: #fff; color: var(--bg); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; transition: background .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-main { background: var(--pink); color: #fff; }
.btn-main:hover { background: #ff3358; }
.btn-ghost { color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--mute); }

/* ---------- pinned lens story ---------- */
.story { position: relative; height: 420vh; }
.pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.dial { position: absolute; width: min(58vh, 88vw); aspect-ratio: 1; left: 50%; top: 59%; transform: translate(-50%, -50%); }
.dial canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.eye { position: absolute; inset: 24%; border-radius: 50%; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .6); transition: inset .6s var(--ease); }
.eye video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.eye::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(60% 40% at 30% 22%, rgba(255, 255, 255, .18), transparent 60%); }
.say { position: absolute; left: 0; right: 0; text-align: center; padding: 0 20px; pointer-events: none; }
.say-top { top: calc(52px + 5vh); }
.say h1, .say h2 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; }
.say p { margin: 14px auto 0; max-width: 30em; color: var(--mute); font-size: clamp(16px, 1.6vw, 20px); }
.say-bottom { bottom: 5vh; }
.say .readout { display: inline-flex; gap: 18px; font: 600 clamp(18px, 2vw, 24px)/1 var(--tc); color: var(--fg); background: rgba(27, 25, 23, .7); padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.say .readout b { color: var(--amber); font-weight: 600; }
.say .readout { flex-wrap: wrap; justify-content: center; max-width: calc(100% - 8px); }
.say .readout > span { white-space: nowrap; }
@media (max-width: 520px) { .say .readout { font-size: 16px; gap: 6px 14px; border-radius: 18px; } }
.phase { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.pin[data-phase="0"] .p0, .pin[data-phase="1"] .p1, .pin[data-phase="2"] .p2, .pin[data-phase="3"] .p3 { opacity: 1; transform: none; }
.phase.p0 { pointer-events: auto; }
.say-bottom .hero-cta { margin-top: 0; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.scroll-cue { margin-top: 18px; font: 600 14px/1 var(--tc); letter-spacing: .12em; color: var(--mute); }

/* ---------- chapters ---------- */
.chapter { padding: 140px 0; }
.chapter h2 { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.04; max-width: 13em; }
.chapter .lead { color: var(--mute); max-width: 32em; margin: 18px 0 0; font-size: clamp(17px, 1.7vw, 21px); }
.center { text-align: center; }
.center h2, .center .lead { margin-inline: auto; }

.compare { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-radius: 18px; overflow: hidden; background: #000; padding: 8px; }
.compare video { width: 100%; aspect-ratio: 2.35; object-fit: cover; border-radius: 10px; }
.compare-bar { display: flex; justify-content: center; gap: 22px; margin-top: 16px; color: var(--mute); font-size: 15px; }

.pdf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.sheets { position: relative; aspect-ratio: 1.414; }
.sheets img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.sheets img:first-child { transform: rotate(-4deg) translate(-4%, 3%); }
.sheets img:last-child { transform: rotate(2.5deg) translate(3%, -2%); }
.list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.list li { display: grid; grid-template-columns: 7.5em 1fr; gap: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.list b { font-weight: 600; }
.list span { color: var(--mute); }

.save { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.save div { padding: 26px 26px 0 0; }
.save div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.save h3 { font-size: 24px; letter-spacing: -0.02em; }
.save .key { display: inline-block; margin: 14px 0 10px; font: 600 28px/1 var(--tc); color: var(--amber); }
.save p { margin: 0; color: var(--mute); font-size: 16px; }

.private { background: var(--bg-2); }
.private .facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 42px; margin-top: 40px; font: 600 clamp(22px, 2.6vw, 30px)/1.2 var(--tc); letter-spacing: .03em; }
.private .facts span { color: var(--fg); }
.private .facts b { color: var(--pink); font-weight: 600; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 56px; }
.plan { border-radius: 22px; padding: 34px 32px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.plan.pro { background: var(--fg); color: var(--bg); box-shadow: none; }
.plan h3 { font-size: 26px; }
.plan .price { font: 600 56px/1.05 var(--tc); margin: 14px 0 4px; }
.plan .price small { font: 500 16px/1 var(--body); color: var(--mute); margin-left: 6px; }
.plan.pro .price small, .plan.pro .note { color: #6f655c; }
.plan .note { color: var(--mute); font-size: 15px; margin: 0 0 18px; }
.plan ul { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 16px; }
.plan ul li { padding-left: 22px; position: relative; }
.plan ul li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--pink); }
.plan .early { display: inline-block; background: var(--pink); color: #fff; font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 999px; margin-bottom: 10px; }
.plan.pro .btn-main { width: 100%; }
.plan .btn-ghost { width: 100%; }
.req { text-align: center; color: var(--mute); font-size: 14px; margin-top: 22px; }

.faq { max-width: 760px; margin: 48px auto 0; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font: 600 19px/1.4 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 26px/1 var(--tc); color: var(--mute); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--mute); }

.closing { text-align: center; padding: 160px 0 150px; }
.closing img { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 21px; }
.closing h2 { font-size: clamp(38px, 6vw, 80px); line-height: 1.02; margin-bottom: 30px; }
.closing .hero-cta { margin-top: 0; }

footer { border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; padding: 26px 0 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; }
footer nav { margin-left: auto; display: flex; gap: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phase, .eye { transition: none; }
}
@media (max-width: 860px) {
  .top nav a:not(.get):not(.lang) { display: none; }
  .dial { width: min(84vw, 46vh); top: 58%; }
  .pdf, .save, .plans { grid-template-columns: 1fr; }
  .save div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .save div { padding: 22px 0; }
  .compare { grid-template-columns: 1fr; }
  .chapter { padding: 100px 0; }
  .list li { grid-template-columns: 1fr; gap: 2px; }
}
