/* PadHost landing page — page chrome.
   The page is set like the product's own Washi theme: kinari paper, ink, a little indigo and a very
   little vermilion. Mock tablets use the product's board.css (.pb-root / .pb-tile); this file only adds
   the page, the device frames, the mock top bar and the scenes. */

/* ======================= tokens ======================= */
:root {
  --kinari: #ece5d6;
  --kinari-2: #e4dccb;
  --shiro: #faf6ed;
  --sumi: #2a241f;
  --sumi-2: #5e5347;
  --sumi-3: #66594a;
  --ai: #22384f;
  --ai-2: #2f4a66;
  --shu: #c53d2b;
  --rule: rgba(90, 65, 35, .16);
  --rule-2: rgba(90, 65, 35, .30);
  --radius: 3px;
  /* the Washi theme's own paper fibre (board.css), used for the page */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .10 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");

  /* names shared with board.css: on the page they are paper and ink; inside a .pb-root they are the theme's */
  --fg: var(--sumi);
  --fg-2: var(--sumi-2);
  --fg-3: var(--sumi-3);
  --line: var(--rule);
  --line-2: var(--rule-2);
  --tile: var(--shiro);

  --mincho: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", "Noto Serif CJK JP", "Iowan Old Style", Palatino, Georgia, serif;
  --latin-serif: "Iowan Old Style", Palatino, "Palatino Linotype", "Book Antiqua", Georgia, "Hiragino Mincho ProN", "Yu Mincho", serif;
  --num: Didot, "Bodoni 72", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --serif: var(--latin-serif);

  --ease: cubic-bezier(.22, .8, .2, 1);
  --side: clamp(20px, 5vw, 48px);
  --col: 1080px;
  --sec-pad: clamp(112px, 15vw, 208px);
  --indent: min(8%, 86px);
  color-scheme: light;
}
html:lang(ja) { --serif: var(--mincho); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; background: var(--kinari); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--noise) 0 0 / 220px 220px fixed, var(--kinari);
  color: var(--fg);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
html:lang(ja) body { font-size: 17px; line-height: 2; letter-spacing: .03em; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 2px; }
::selection { background: rgba(34, 56, 79, .2); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 16px; border-radius: var(--radius);
  background: var(--sumi); color: var(--kinari); text-decoration: none;
  transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }

.wrap { position: relative; width: 100%; max-width: calc(var(--col) + var(--side) * 2); margin: 0 auto; padding: 0 var(--side); }

/* ======================= type ======================= */
.cap {
  font-family: var(--latin-serif); font-size: 12px; font-weight: 400; line-height: 1.6;
  text-transform: uppercase; letter-spacing: .18em; color: var(--fg-3);
}
html:lang(ja) .cap { font-family: var(--mincho); font-size: 12.5px; letter-spacing: .2em; text-transform: none; }
/* the kanji section numeral (一 二 三 …), set a size up in ink so 一 never reads as a dash */
.cap .kn { font-family: var(--mincho); font-size: 1.45em; line-height: 1; letter-spacing: 0; color: var(--fg); vertical-align: -.08em; }
html:lang(en) .cap .kn { margin-right: .15em; }

.h1, .h2, h3 { font-family: var(--latin-serif); color: var(--fg); }
.h1 { font-weight: 400; font-size: clamp(40px, 6.2vw, 84px); line-height: 1.1; letter-spacing: -.012em; }
.h2 { font-weight: 400; font-size: clamp(30px, 4vw, 52px); line-height: 1.12; letter-spacing: -.01em; max-width: 17em; }
h3 { font-weight: 500; font-size: 22px; line-height: 1.3; letter-spacing: -.005em; }
html:lang(ja) .h1, html:lang(ja) .h2, html:lang(ja) h3 {
  font-family: var(--mincho); font-weight: 600; letter-spacing: .04em; line-height: 1.5;
  font-feature-settings: "palt"; word-break: keep-all; overflow-wrap: anywhere;
}
html:lang(ja) .h1 { font-size: clamp(30px, 5.4vw, 56px); }
html:lang(ja) .h2 { font-size: clamp(24px, 3.2vw, 40px); }
html:lang(ja) h3 { font-size: 20px; word-break: auto-phrase; text-wrap: balance; }
.body, .lede { color: var(--fg-2); max-width: 32em; }
.small { font-size: 14.5px; color: var(--fg-3); line-height: 1.6; }
.foot { font-size: 14px; color: var(--fg-3); line-height: 1.7; }
.h2 em { font-style: normal; }
.sec-hd .cap + .h2 { margin-top: 20px; }
.sec-hd + .body { margin-top: 28px; margin-left: var(--indent); }

/* the section label, vertical beside the heading (Japanese page) */
@media (min-width: 900px) {
  @supports (writing-mode: vertical-rl) {
    html:lang(ja) .sec-hd { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(28px, 3.4vw, 48px); align-items: start; }
    html:lang(ja) .sec-hd > .cap {
      writing-mode: vertical-rl; text-orientation: mixed; letter-spacing: .3em; line-height: 1.4;
      max-height: 18em; overflow: hidden; padding-top: .35em; white-space: nowrap;
    }
    html:lang(ja) .sec-hd .cap + .h2 { margin-top: 0; }
  }
}

/* decorative vertical labels in the margin */
.vlabel { display: none; }
@media (min-width: 900px) {
  @supports (writing-mode: vertical-rl) {
    .vlabel {
      display: block; position: absolute; z-index: 1; top: calc(var(--sec-pad) + 6px);
      right: max(10px, calc((100% - var(--col)) / 2 - 66px));
      writing-mode: vertical-rl; text-orientation: mixed; white-space: nowrap;
      max-height: 60vh; overflow: hidden; pointer-events: none;
      font-family: var(--mincho); font-size: 13px; font-weight: 400; line-height: 1; letter-spacing: .34em; color: var(--fg-3);
    }
  }
}

/* ======================= motion ======================= */
/* headlines: each line inks in from the top */
[data-split] .line { display: block; }
[data-split] .line > span { display: block; }
@keyframes inkIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.js [data-split]:not(.is-in) .line > span { clip-path: inset(0 0 100% 0); }
.js [data-split].is-in .line > span { animation: inkIn 1.05s var(--ease) backwards; animation-delay: calc(var(--li, 0) * 120ms); }

/* text and cards: a quiet rise */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } }
.js [data-reveal]:not(.is-in) { opacity: 0; }
.js [data-reveal].is-in { animation: rise .95s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 120ms); }

/* figures: uncovered like a fusuma sliding open; direction alternates per section.
   The clip sits on the children so the observed element itself keeps its full box. */
@keyframes fusumaL { from { clip-path: inset(0 100% 0 0); opacity: 0; } 14% { opacity: 1; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes fusumaR { from { clip-path: inset(0 0 0 100%); opacity: 0; } 14% { opacity: 1; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.js [data-reveal="fusuma"]:not(.is-in) { opacity: 1; }
.js [data-reveal="fusuma"]:not(.is-in) > :not(.sr) { opacity: 0; }
.js [data-reveal="fusuma"].is-in { animation: none; }
.js [data-reveal="fusuma"].is-in > :not(.sr) { animation: fusumaL 1.1s var(--ease) backwards; }
.js [data-reveal="fusuma"].fz-r.is-in > :not(.sr) { animation-name: fusumaR; }

/* ======================= the seal (落款) ======================= */
.seal {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 3px; background: var(--shu); color: #f7efe1;
  font-family: var(--mincho); font-weight: 600; font-size: 17px; line-height: 1.04; letter-spacing: 0;
  filter: url(#seal-edge); transform: rotate(-3deg);
}
.seal--s { width: 28px; height: 28px; font-size: 15px; line-height: 1; }
@keyframes stamp {
  0% { opacity: 0; transform: scale(1.35) rotate(-6deg); }
  100% { opacity: 1; transform: rotate(-3deg); }
}
.seal.is-stamp { animation: stamp .26s cubic-bezier(.3, .6, .25, 1) both; }
.js #hero-seal:not(.is-on) { opacity: 0; }
.stage-seal:not(.is-on) { opacity: 0; }

/* ======================= buttons ======================= */
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.store {
  position: relative; display: inline-flex; align-items: center; gap: 13px;
  height: 58px; padding: 0 24px 0 14px; border-radius: var(--radius);
  background: var(--sumi); color: var(--kinari); text-decoration: none;
  box-shadow: 0 12px 24px -18px rgba(42, 36, 31, .8);
  transition: transform .2s var(--ease), background-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.store img { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; }
.store-t { display: flex; flex-direction: column; text-align: left; line-height: 1.25; }
.store-cap { font-family: var(--latin-serif); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(236, 229, 214, .72); }
.store-l { position: relative; font-family: var(--serif); font-size: 16px; letter-spacing: .01em; white-space: nowrap; }
.store-l::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--shu);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .55s var(--ease);
}
.store:hover .store-l::after { transform: none; }
.store:active { transform: scale(.98); }
.store--s { height: 40px; padding: 0 14px 0 9px; gap: 9px; box-shadow: none; }
.store--s img { width: 22px; height: 22px; border-radius: 5px; }
.store--s .store-l { font-size: 14px; }

.ghost {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 2px;
  color: var(--fg); text-decoration: none; font-size: 16px;
}
.ghost::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 10px; height: 1px; background: currentColor; transform-origin: 0 50%; }
.ghost:hover::after { animation: redraw .8s var(--ease); }
@keyframes redraw {
  0% { transform: scaleX(1); transform-origin: 100% 50%; }
  40% { transform: scaleX(0); transform-origin: 100% 50%; }
  41% { transform: scaleX(0); transform-origin: 0 50%; }
  100% { transform: scaleX(1); transform-origin: 0 50%; }
}
.ghost .arr { display: inline-block; transition: transform .45s var(--ease); }
.ghost:hover .arr { transform: translateY(4px); }
.soon { margin-top: 16px; font-size: 14.5px; color: var(--fg-3); }

/* ======================= nav ======================= */
.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 50; height: 64px; transition: background-color .4s, box-shadow .4s; }
.nav.is-solid {
  background: rgba(236, 229, 214, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 -1px 0 var(--line);
}
.nav-in { height: 100%; max-width: calc(1180px + var(--side) * 2); margin: 0 auto; padding: 0 var(--side); display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.brand span { font-family: var(--latin-serif); font-size: 19px; font-weight: 500; letter-spacing: .01em; }
.nav-links { display: none; margin: 0 auto; gap: 2px; }
.nav-links a {
  position: relative; padding: 10px 14px; text-decoration: none;
  font-family: var(--mincho); font-size: 14.5px; letter-spacing: .06em; color: var(--sumi-2); transition: color .3s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--sumi); }
.ink-u { position: absolute; left: 12px; bottom: 4px; width: calc(100% - 24px); height: 7px; overflow: visible; pointer-events: none; }
.ink-u path { fill: none; stroke: var(--sumi); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease); }
.ink-u path + path { stroke-width: .8; opacity: .6; transition-delay: .08s; }
.nav-links a.is-active .ink-u path { stroke-dashoffset: 0; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
@media (min-width: 860px) { .nav-links { display: flex; } .nav-end { margin-left: 0; } }
.lang { display: flex; align-items: center; font-size: 13.5px; color: var(--fg-3); }
.lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; text-decoration: none; color: var(--fg-3); transition: color .2s; }
.lang a:hover, .lang a[aria-current] { color: var(--fg); }
.nav .lang { padding: 0 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--sumi); transform-origin: 0 50%; transform: scaleX(var(--prog, 0)); }
@media (max-width: 439px) { .nav .store--s { display: none; } }

/* ======================= sections ======================= */
main { display: block; }
.sec { position: relative; padding: var(--sec-pad) 0; overflow-x: hidden; }
@supports (overflow: clip) { .sec { overflow-x: clip; } }
/* a ruled line, like letter paper: from the left margin, stopping short of the right */
.sec::before {
  content: ""; position: absolute; top: 0; height: 1px; background: var(--line-2);
  left: max(var(--side), calc((100% - var(--col)) / 2));
  width: calc(min(100% - var(--side) * 2, var(--col)) * .84);
  transform-origin: 0 50%; transition: transform 1.6s var(--ease) .1s;
}
.js .sec:not(.is-ruled)::before { transform: scaleX(0); }
.reasons::before, .themes::before, .privacy::before, .details::before { display: none; }

/* card = a second sheet of paper laid on top */
.card {
  position: relative; border-radius: var(--radius); background: var(--shiro); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 10px 24px -18px rgba(70, 45, 20, .35);
  padding: 26px 26px 30px;
}
.card h3 { margin-top: 10px; }
.card h3 + p { margin-top: 12px; color: var(--fg-2); font-size: 16px; line-height: 1.7; }
html:lang(ja) .card h3 + p { line-height: 1.95; font-size: 15.5px; }
.card .small { margin-top: 12px; }

/* ======================= hero ======================= */
.hero { position: relative; padding: clamp(120px, 13vw, 164px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
@supports (overflow: clip) { .hero { overflow: clip; } }
.hero > .vlabel { top: 132px; }
html:lang(ja) .hero > .vlabel { right: auto; left: max(10px, calc((100% - var(--col)) / 2 - 66px)); }
.hero-head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero-mark { display: flex; align-items: center; gap: 14px; }
.hero-word { font-family: var(--latin-serif); font-size: 20px; letter-spacing: .02em; color: var(--sumi); }
.hero .h1 { margin-top: 26px; max-width: 13em; }
.hero-copy { margin-top: 32px; max-width: 34em; }
.hero-copy .ctas { margin-top: 34px; }
@media (min-width: 600px) { .hero-copy { margin-left: var(--indent); } }
.hero-stage { margin-top: clamp(56px, 7vw, 96px); }

/* Japanese: the headline hangs vertically at the right, two columns; the rest sits to its left */
@media (min-width: 900px) {
  @supports (writing-mode: vertical-rl) {
    html:lang(ja) .hero-in {
      display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(40px, 5vw, 88px);
      grid-template-areas: "head h1" "copy h1" "stage h1"; grid-template-rows: auto auto 1fr; align-items: start;
    }
    html:lang(ja) .hero-head { grid-area: head; }
    html:lang(ja) .hero .h1 {
      grid-area: h1; margin: -8px 0 0; max-width: none; max-height: 15em; white-space: nowrap;
      writing-mode: vertical-rl; text-orientation: mixed;
      font-size: clamp(44px, min(5vw, 6.4vh), 72px); line-height: 1.6; letter-spacing: .08em; font-feature-settings: "vpal";
    }
    html:lang(ja) .hero-copy { grid-area: copy; margin: 40px 0 0; }
    html:lang(ja) .hero-stage { grid-area: stage; margin-top: clamp(48px, 5vw, 72px); }
    html:lang(ja) .hero .h1.is-in .line > span { animation-duration: .9s; animation-delay: calc(var(--li, 0) * 420ms + 150ms); }
  }
}

.stage-wrap { position: relative; }
.stage-cap { margin-top: 22px; min-height: 64px; }
@media (min-width: 600px) { .stage-cap { padding-left: var(--indent); } }
.cap--live { display: flex; align-items: center; gap: 12px; min-height: 30px; color: var(--fg-2); }
.stage-hint { margin-top: 6px; transition: opacity .5s; }
.stage-hint.is-gone { opacity: 0; }

/* scaled fixed-size scenes */
.fit { position: relative; width: 100%; aspect-ratio: var(--ar, 4 / 3); }
.js .fit { aspect-ratio: auto; }
html:not(.js) .fit { overflow: hidden; }
.fit-in { position: absolute; left: 0; top: 0; transform-origin: 0 0; }

.stage { position: relative; width: 1180px; height: 640px; }
.stage.is-stacked { width: 720px; height: 930px; }

/* the one vermilion sun, mostly behind the Mac */
.sun {
  position: absolute; left: 930px; top: -96px; z-index: 0; width: 200px; height: 200px; border-radius: 50%;
  background: var(--shu); transform: translate3d(0, calc(var(--sun, 0) * -40px), 0);
}
.stage.is-stacked .sun { left: 470px; top: -92px; }

/* ---------- device: tablet ---------- */
.tablet {
  position: relative; width: var(--tw, 640px); height: var(--th, 480px);
  border-radius: 34px; padding: 18px;
  background: linear-gradient(160deg, #24211d, #141210);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .1),
    inset 0 0 0 2px rgba(0, 0, 0, .6),
    0 48px 70px -42px rgba(50, 32, 12, .6),
    0 22px 34px -26px rgba(50, 32, 12, .5);
}
.tablet::before { content: ""; position: absolute; left: 7px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #2f2b27; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.tablet-screen { position: relative; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: #000; isolation: isolate; }
.tablet--old {
  border-radius: 30px; padding: 22px 50px;
  background: linear-gradient(160deg, #3a3733, #292622 60%, #201e1b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 0 3px rgba(0, 0, 0, .35), 0 36px 60px -36px rgba(50, 32, 12, .7);
}
.tablet--old::before { left: 22px; }
.tablet--old::after { content: ""; position: absolute; right: 13px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16); }
.tablet--old .tablet-screen { border-radius: 4px; }

/* ---------- the board mock (top bar re-created from the product's index.html) ---------- */
.board { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; background: var(--paint); color: var(--fg); overflow: hidden; }
.mock-top { display: flex; align-items: center; height: 46px; padding: 0 12px 0 16px; flex-shrink: 0; }
.mock-host, .mock-tools { flex: 1 1 0; min-width: 0; }
.mock-host { font-family: var(--gothic); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-host .pb-dot { color: var(--good); }
.mock-tabs { flex: 0 1 auto; position: relative; white-space: nowrap; text-align: center; }
.mock-tab { display: inline-block; padding: 9px 10px; margin: 0 1px; font-family: var(--label-font); font-size: 13.5px; font-weight: var(--label-weight); letter-spacing: var(--label-track); text-transform: var(--label-transform); color: var(--fg-2); }
.mock-tab.on { color: var(--fg); }
.mock-ind { position: absolute; left: 0; bottom: 3px; width: 18px; height: 3px; border-radius: 2px; background: var(--fg); transition: transform .42s cubic-bezier(.3, 1.3, .5, 1); }
.mock-tools { text-align: right; white-space: nowrap; }
.mock-tool { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; color: var(--fg-2); vertical-align: middle; }
.mock-tool svg { width: 18px; height: 18px; }
.mock-grid { position: relative; flex: 1; min-height: 0; padding: 0 var(--gap) var(--gap); }
.board .pb-tile { cursor: default; }
.board.no-top .mock-grid { padding-top: var(--gap); }
.board button { -webkit-appearance: none; appearance: none; font: inherit; cursor: inherit; }
.board .pb-iconbtn { color: var(--fg-2); }
.board .pb-iconbtn svg, .board .pb-ctrls button svg { display: block; }
.pb-tile.is-hl { box-shadow: var(--tile-shadow), 0 0 0 1.5px var(--signal); }
.pb-tile { transition: transform .16s cubic-bezier(.2, .8, .3, 1), background-color .2s, box-shadow .25s; }

@keyframes tileIn { from { opacity: 0; transform: translate3d(0, 10px, 0); } }
.board.is-enter .pb-tile { animation: tileIn .8s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 40ms + 30ms); }

#hero-board .pb-tile[data-id] { cursor: pointer; }

/* the product's finger ring, in ink on paper */
.finger {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  pointer-events: none; z-index: 20;
  box-shadow: inset 0 0 0 1.5px rgba(42, 36, 31, .7), 0 6px 18px rgba(60, 40, 20, .18);
  background: rgba(42, 36, 31, .06);
  opacity: 0;
  transform: translate3d(var(--fx, 300px), var(--fy, 400px), 0) scale(var(--fs, 1));
  transition: transform .8s var(--ease), opacity .4s, background-color .16s;
}
.finger.is-on { opacity: 1; }
.finger.is-press { --fs: .84; background: rgba(42, 36, 31, .16); transition-duration: .16s, .4s, .16s; }
.finger.is-drag { transition: transform .06s linear, opacity .4s; }

/* ---------- device: Mac (generic) ---------- */
.mac { position: absolute; left: 420px; top: 0; width: 760px; z-index: 1; transform-origin: 50% 50%; }
.stage.is-stacked .mac { left: -20px; top: -14px; scale: .9474; }
.mac-display {
  width: 760px; height: 476px; padding: 10px; border-radius: 12px; background: #12100e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 0 0 2px #000, 0 50px 80px -50px rgba(50, 32, 12, .7), 0 26px 40px -30px rgba(50, 32, 12, .55);
}
.mac-neck { width: 124px; height: 62px; margin: 0 auto; background: linear-gradient(180deg, #a59d90, #cfc8bb 60%, #ddd7cb); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.mac-foot { width: 240px; height: 8px; margin: 0 auto; border-radius: 3px 3px 6px 6px; background: linear-gradient(#e2ddd2, #b3ac9f); box-shadow: 0 10px 16px -8px rgba(60, 40, 20, .45); }
.mac-screen { position: relative; width: 100%; height: 100%; border-radius: 4px; overflow: hidden; background: var(--ai); font-family: var(--gothic); color: #f4efe4; }
.wall {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  background:
    radial-gradient(90% 80% at 85% 0%, rgba(75, 101, 132, .7), transparent 70%),
    radial-gradient(70% 70% at 10% 100%, rgba(27, 45, 64, .9), transparent 70%),
    linear-gradient(170deg, #2f4a66, #22384f 55%, #1d3044);
  transition: filter .7s var(--ease);
}
.menubar {
  position: absolute; left: 0; top: 0; right: 0; height: 22px; z-index: 6; display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px; font-size: 11px; line-height: 1; color: rgba(244, 239, 228, .92);
  background: rgba(20, 32, 46, .35); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.mb-l, .mb-r { display: flex; align-items: center; gap: 13px; white-space: nowrap; }
.mb-l b { font-weight: 600; }
.mb-l b:first-child { font-size: 9px; opacity: .9; }
.mb-pad { display: inline-flex; width: 14px; height: 14px; border-radius: 3px; transition: color .25s, background-color .25s; }
.mb-pad svg { width: 14px; height: 14px; stroke-width: 2; }
.mb-pad.is-blink { color: #f0b3a8; background: rgba(197, 61, 43, .35); transition-duration: .05s; }
.mb-note { opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s var(--ease); }
.mac-screen.is-playing .mb-note { opacity: 1; transform: none; }
.mb-clock { font-variant-numeric: tabular-nums; }

.win {
  position: absolute; border-radius: 7px; overflow: hidden; background: #f7f3ea; color: #2a241f;
  box-shadow: 0 0 0 1px rgba(15, 25, 38, .3), 0 22px 40px -18px rgba(10, 18, 30, .6);
  transform-origin: 0 0;
  transition: transform .8s var(--ease), opacity .45s;
}
.win-bar { height: 22px; display: flex; align-items: center; gap: 6px; padding: 0 9px; background: #ebe5d8; box-shadow: inset 0 -1px 0 rgba(90, 65, 35, .12); }
.win-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cdc2b1; }
.win-body { padding: 14px; }
.blk { display: block; height: 10px; border-radius: 2px; background: rgba(42, 36, 31, .09); margin-bottom: 10px; }
.blk.h70 { height: 70px; background: linear-gradient(120deg, rgba(47, 74, 102, .22), rgba(42, 36, 31, .05)); }
.w40 { width: 40%; } .w60 { width: 60%; } .w80 { width: 80%; }
.addr { margin-left: 14px; flex: 1; height: 12px; border-radius: 2px; background: rgba(42, 36, 31, .08); }
.win-browser { left: 30px; top: 44px; width: 360px; height: 236px; z-index: 1; }
.win-code { left: 250px; top: 196px; width: 300px; height: 196px; z-index: 2; background: #f2ede2; }
.code b { display: block; height: 7px; width: var(--w); margin: 0 0 9px calc(var(--x, 0) * 16px); border-radius: 2px; background: var(--c); opacity: .62; }
.win-notes { left: 412px; top: 52px; width: 300px; height: 252px; z-index: 3; background: #faf6ed; }
.notes .nl { display: block; height: 8px; width: var(--w, 100%); border-radius: 2px; background: rgba(42, 36, 31, .1); margin-bottom: 10px; }
.notes .nl.t { width: 46%; height: 12px; background: rgba(42, 36, 31, .28); margin-bottom: 14px; }
.typed { font-family: var(--mincho); font-size: 13.5px; line-height: 1.5; color: #2a241f; min-height: 20px; margin-top: 4px; white-space: nowrap; overflow: hidden; }
.typed .tx { border-radius: 2px; transition: background-color .2s; }
.typed.is-sel .tx { background: rgba(47, 74, 102, .28); }
.pasted { opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .3s var(--ease); }
.pasted.is-on { opacity: 1; transform: none; }
.caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -.18em; background: currentColor; opacity: 0; }
.is-typing .caret, .caret.is-on { animation: caret 1s steps(1) infinite; }
@keyframes caret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* Mission Control: windows shrink into a row; Show Desktop: windows slide to the edges */
.mac-screen.is-mc .wall { filter: brightness(.6); }
.mac-screen.is-mc .win-browser { transform: translate(185px, 66px) scale(.44); }
.mac-screen.is-mc .win-code { transform: translate(140px, -86px) scale(.44); }
.mac-screen.is-mc .win-notes { transform: translate(130px, 54px) scale(.44); }
.mac-screen.is-mc .win-cal.is-on { transform: translate(100px, 250px) scale(.3); }
.mac-screen.is-sd .win-browser { transform: translate(-330px, -200px); }
.mac-screen.is-sd .win-code { transform: translate(-190px, 220px); }
.mac-screen.is-sd .win-notes { transform: translate(300px, -220px); }
.mac-screen.is-sd .win-cal.is-on { transform: translate(330px, 260px); }

.win-cal { left: 300px; top: 58px; width: 300px; height: 270px; z-index: 4; background: #faf6ed; opacity: 0; transform-origin: 40px 372px; transform: scale(.06); pointer-events: none; transition: transform .7s var(--ease), opacity .3s; }
.win-cal.is-on { opacity: 1; transform: none; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; padding: 12px; }
.cal-grid span { height: 30px; border-radius: 2px; background: rgba(42, 36, 31, .05); font-size: 9.5px; padding: 3px 5px; color: rgba(42, 36, 31, .62); font-variant-numeric: tabular-nums; }
.cal-grid span.is-h { height: auto; background: none; text-align: center; font-weight: 600; color: rgba(42, 36, 31, .45); }
.cal-grid span.is-today { background: var(--shu); color: #fff; }
.cal-grid span.is-ev { box-shadow: inset 2px 0 0 var(--ai-2); }

.spot {
  position: absolute; left: 50%; top: 92px; z-index: 7; width: 330px; height: 44px; margin-left: -165px;
  display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 10px;
  background: rgba(250, 246, 237, .9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(42, 36, 31, .14), 0 22px 44px -16px rgba(10, 18, 30, .6);
  font-size: 18px; color: #2a241f; opacity: 0; transform: scale(.96); transition: opacity .3s, transform .4s var(--ease);
}
.spot.is-on { opacity: 1; transform: none; }
.spot-i { width: 16px; height: 16px; color: rgba(42, 36, 31, .55); }
.spot-i svg { width: 16px; height: 16px; }
.hud {
  position: absolute; right: 14px; top: 32px; z-index: 7; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px; background: rgba(250, 246, 237, .86); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(42, 36, 31, .12); color: #2a241f; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .35s var(--ease);
}
.hud.is-on { opacity: 1; transform: none; }
.hud-i { width: 16px; height: 16px; }
.hud-i svg { width: 16px; height: 16px; }
.hud-bars { display: flex; gap: 2px; }
.hud-bars i { width: 5px; height: 12px; border-radius: 1px; background: rgba(42, 36, 31, .15); }
.hud-bars i.on { background: #2a241f; }
.thumb {
  position: absolute; right: 14px; bottom: 62px; z-index: 7; width: 124px; height: 78px; border-radius: 4px;
  background:
    linear-gradient(#ebe5d8 0 8px, transparent 8px) 26px 20px / 54px 34px no-repeat,
    linear-gradient(#faf6ed, #faf6ed) 26px 20px / 54px 34px no-repeat,
    linear-gradient(170deg, #2f4a66, #22384f 60%, #1d3044);
  box-shadow: 0 0 0 2px rgba(250, 246, 237, .95), 0 16px 30px -10px rgba(10, 18, 30, .6);
  opacity: 0; transform: translateX(170px); transition: transform .6s var(--ease), opacity .3s;
}
.thumb.is-on { opacity: 1; transform: none; }
.flash { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 9; background: #fffdf8; opacity: 0; pointer-events: none; transition: opacity .35s; }
.flash.is-on { opacity: .9; transition: none; }
.dock {
  position: absolute; left: 50%; bottom: 8px; z-index: 5; display: flex; gap: 7px; padding: 6px 8px; border-radius: 10px;
  transform: translateX(-50%); background: rgba(250, 246, 237, .2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(250, 246, 237, .18);
}
.dock i { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(160deg, #f4efe4, #d6cdbd); }
.dock i:nth-child(2) { background: linear-gradient(160deg, #5a7494, #2f4a66); }
.dock i.d-cal { background: #faf6ed; box-shadow: inset 0 5px 0 var(--shu); }
.dock i:nth-child(5) { background: linear-gradient(160deg, #8a9a74, #5b6e4e); }

/* ---------- link arc ---------- */
.arc { position: absolute; left: 0; top: 0; z-index: 10; overflow: visible; pointer-events: none; }
.arc path { stroke: rgba(42, 36, 31, .42); stroke-width: 1.4; stroke-dasharray: 2 7; stroke-linecap: round; }
.arc-pulse { fill: var(--shu); opacity: 0; }
.arc-pulse.is-on { opacity: 1; }
.arc-label {
  position: absolute; left: 0; top: 0; z-index: 11; transform: translate(-50%, -50%);
  font: 400 11px/1 var(--latin-serif); letter-spacing: .2em; color: var(--sumi-2); white-space: nowrap;
  padding: 6px 10px; border-radius: 2px; background: rgba(250, 246, 237, .94); box-shadow: inset 0 0 0 1px var(--line);
}

/* tablet on the stage */
.stage .tablet { position: absolute; left: 0; top: 160px; z-index: 3; }
.stage.is-stacked .tablet { left: 40px; top: 450px; }

/* entrance */
.js .stage .mac { opacity: 0; transform: translate3d(0, 12px, 0); }
.js .stage .tablet { opacity: 0; transform: translate3d(0, 60px, 0); }
.js .stage .arc, .js .stage .arc-label, .js .stage .sun { opacity: 0; }
.stage.is-in .mac { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.stage.is-in .tablet { opacity: 1; transform: none; transition: opacity 1s var(--ease) .4s, transform 1.3s var(--ease) .4s; }
.stage.is-in .sun { opacity: 1; transition: opacity 1.6s var(--ease) .2s; }
.stage.is-in .arc, .stage.is-in .arc-label { opacity: 1; transition: opacity 1s 1.2s; }

/* ======================= marquee ======================= */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; overflow: hidden; }
.mq-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; }
.mq-set { font-family: var(--mincho); font-size: 15px; letter-spacing: .06em; color: var(--sumi-2); white-space: nowrap; }
.js .mq-track.is-run { animation: mq 150s linear infinite; }
@keyframes mq { to { transform: translate3d(-50%, 0, 0); } }

/* ======================= three reasons ======================= */
.reasons { padding-top: 0; }
.drawer-scene { position: relative; padding: calc(var(--sec-pad) * .8) 0 calc(var(--sec-pad) * .5); }
.drawer-sticky { position: relative; }
.drawer-sticky > .vlabel { top: 0; }
.drawer-scene.is-sticky { height: 260vh; padding: 0; }
.drawer-scene.is-sticky .drawer-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.drawer-scene.is-sticky .drawer-sticky > .vlabel { top: 120px; }
.drawer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .drawer-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.drawer-copy .h2 { max-width: 12em; }
.drawer-copy .h2 em { transition: color .7s var(--ease); }
.js .drawer-scene .h2 em { color: rgba(42, 36, 31, .38); }
.js .drawer-scene[data-phase="0"] .h2 em[data-ph="0"],
.js .drawer-scene[data-phase="1"] .h2 em[data-ph="1"],
.js .drawer-scene[data-phase="2"] .h2 em[data-ph="2"] { color: var(--fg); }
.drawer-caps { position: relative; margin-top: 30px; min-height: 3.6em; }
@media (min-width: 600px) { .drawer-caps { margin-left: var(--indent); } }
.drawer-cap { font-size: clamp(17px, 1.5vw, 19px); color: var(--fg-2); max-width: 22em; }
.drawer-cap::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--shu); margin-right: 12px; vertical-align: 3px; }
.js .drawer-cap { position: absolute; left: 0; top: 0; opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .6s, transform .8s var(--ease); }
.js .drawer-scene[data-phase="0"] .drawer-cap[data-ph="0"],
.js .drawer-scene[data-phase="1"] .drawer-cap[data-ph="1"],
.js .drawer-scene[data-phase="2"] .drawer-cap[data-ph="2"] { opacity: 1; transform: none; }
.drawer-art { width: 100%; max-width: 600px; margin: 0 0 0 auto; }

/* a paulownia chest (桐箪笥), drawn flat and head-on. --o open, --rise, --up (upright), --wake (screen) all 0..1 */
.dr { position: relative; width: 640px; height: 560px; --o: 1; --rise: 1; --up: 1; --wake: 1; }
.dr-desk {
  position: absolute; left: 66px; right: 66px; top: 352px; height: 16px; border-radius: 2px; z-index: 4;
  background: linear-gradient(#e6d8ba, #d2bf98);
  box-shadow: inset 0 0 0 1px rgba(60, 40, 20, .45), 0 16px 26px -14px rgba(60, 40, 20, .35);
}
.dr-cab {
  position: absolute; left: 80px; right: 80px; top: 368px; bottom: -40px; z-index: 1; perspective: 1300px; perspective-origin: 50% -220px;
  background:
    repeating-linear-gradient(90deg, rgba(120, 88, 48, .05) 0 1px, transparent 1px 7px, rgba(120, 88, 48, .035) 7px 9px, transparent 9px 15px),
    linear-gradient(#d9c7a3, #cdb88f);
  box-shadow: inset 0 0 0 1px rgba(60, 40, 20, .45);
}
.dr-hole { position: absolute; left: 16px; right: 16px; top: 10px; height: 46px; background: linear-gradient(#3b2d1d, #5b4831); border-radius: 1px; opacity: var(--o); transform: scaleY(var(--o)); transform-origin: 50% 0; }
.dr-front, .dr-lower {
  position: absolute; left: 16px; right: 16px; border-radius: 2px; z-index: 3;
  background:
    repeating-linear-gradient(90deg, rgba(120, 88, 48, .05) 0 1px, transparent 1px 8px, rgba(120, 88, 48, .03) 8px 10px, transparent 10px 17px),
    linear-gradient(#e0cfac, #d3bf98);
  box-shadow: inset 0 0 0 1px rgba(50, 34, 18, .55), 0 8px 14px -10px rgba(60, 40, 20, .5);
}
.dr-front { top: 12px; height: 92px; transform: translate3d(0, calc(var(--o) * 34px), 0) scale(calc(1 + var(--o) * .05)); }
.dr-lower { top: 116px; height: 92px; right: calc(50% + 4px); }
.dr-lower--2 { left: calc(50% + 4px); right: 16px; }
/* iron pull: a bar between two round plates */
.dr-handle { position: absolute; left: 50%; top: 50%; width: 62px; height: 4px; margin: -2px 0 0 -31px; border-radius: 2px; background: #2b2622; }
.dr-handle::before, .dr-handle::after { content: ""; position: absolute; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; border-radius: 50%; background: #2b2622; box-shadow: inset 0 0 0 2px #3d3630; }
.dr-handle::before { left: -10px; }
.dr-handle::after { right: -10px; }
.dr-lower .dr-handle { width: 40px; margin-left: -20px; }
.dr-old {
  position: absolute; left: 20px; top: -352px; z-index: 2; width: 440px; height: 330px; transform-origin: 50% 100%;
  transform:
    translate3d(0, calc((1 - var(--rise)) * 96px + 14px), 0)
    rotateX(calc((1 - var(--up)) * 84deg + 4deg));
}
.dr-old .tablet { --tw: 440px; --th: 330px; }
.dr-old .tablet-screen::after { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 3; background: #000; opacity: calc(1 - var(--wake)); pointer-events: none; }
.dust {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 4; pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 255, 255, .35), transparent 100%),
    radial-gradient(1px 1px at 38% 64%, rgba(255, 255, 255, .3), transparent 100%),
    radial-gradient(2px 2px at 71% 31%, rgba(255, 255, 255, .25), transparent 100%),
    radial-gradient(1px 1px at 84% 78%, rgba(255, 255, 255, .3), transparent 100%),
    radial-gradient(1.5px 1.5px at 56% 12%, rgba(255, 255, 255, .28), transparent 100%),
    radial-gradient(1px 1px at 23% 84%, rgba(255, 255, 255, .3), transparent 100%),
    linear-gradient(150deg, rgba(255, 255, 255, .07), transparent 45%, rgba(255, 255, 255, .04));
  opacity: calc(1 - var(--wake) * .85);
}
#drawer-board .pb-tile { opacity: clamp(0, calc(var(--wake) * 8 - var(--i, 0) - .5), 1); transform: translate3d(0, calc((1 - clamp(0, calc(var(--wake) * 8 - var(--i, 0) - .5), 1)) * 10px), 0); transition: none; }

.reason-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: clamp(24px, 4vw, 56px); }
@media (min-width: 860px) {
  .reason-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
  .reason-grid > :nth-child(2) { margin-top: 28px; }
  .reason-grid > :nth-child(3) { margin-top: 56px; }
}
.reason .cap { margin-top: 24px; }

/* small illustrations (washi) */
.ill { position: relative; height: 190px; border-radius: 2px; background: var(--kinari-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.mini-tab { width: 224px; height: 162px; padding: 9px; border-radius: 16px; background: linear-gradient(160deg, #2a2723, #161411); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 18px 26px -16px rgba(60, 40, 20, .55); }
.mini-screen { position: relative; width: 100%; height: 100%; border-radius: 8px; background: var(--noise) 0 0 / 220px 220px, var(--kinari); overflow: hidden; }
.mini-board { position: absolute; left: 6px; top: 6px; right: 6px; bottom: 6px; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 5px; }
.mini-board i { border-radius: 2px; background: rgba(250, 246, 237, .85); box-shadow: inset 0 0 0 1px rgba(90, 65, 35, .16); }
.mini-board i.w2 { grid-column: span 2; }
.mini-board i:nth-child(1)::after { content: "17:52"; display: block; padding: 14px 8px 0; font: 400 22px/1 var(--num); letter-spacing: -.01em; color: var(--sumi); }
.mini-board i:nth-child(5) { position: relative; }
.mini-board i:nth-child(5)::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 10px; height: 2px; background: linear-gradient(90deg, var(--shu) 40%, rgba(90, 65, 35, .14) 40%); }
.mini-off { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: #0b0a09; animation: wakeLoop 7s var(--ease) infinite; }
.mini-off::after { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: linear-gradient(130deg, rgba(255, 255, 255, .06), transparent 40%); }
@keyframes wakeLoop { 0%, 30% { opacity: 1; } 44%, 88% { opacity: 0; } 100% { opacity: 1; } }

.url-bar { position: absolute; left: 6px; right: 6px; top: 6px; height: 22px; z-index: 2; display: flex; align-items: center; gap: 5px; padding: 0 8px; border-radius: 2px; background: #faf6ed; box-shadow: inset 0 0 0 1px rgba(90, 65, 35, .18); font: 500 10.5px/1 var(--gothic); color: var(--sumi); }
.url-lock { width: 6px; height: 6px; border-radius: 50%; background: #4d6b3c; }
.url-load { position: absolute; left: 6px; top: 29px; height: 1.5px; width: 0; background: var(--sumi); z-index: 2; }
.url-load.is-on { width: calc(100% - 12px); transition: width .8s var(--ease); }
.ill-url .mini-board { top: 34px; }
.js .ill-url .mini-board i { opacity: 0; transform: translate3d(0, 6px, 0); }
.js .ill-url .mini-board.is-on i { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .ill-url .mini-board i:nth-child(2) { --i: 1; } .js .ill-url .mini-board i:nth-child(3) { --i: 2; } .js .ill-url .mini-board i:nth-child(4) { --i: 3; } .js .ill-url .mini-board i:nth-child(5) { --i: 4; } .js .ill-url .mini-board i:nth-child(6) { --i: 5; }
.ill-url .mini-board i:nth-child(1)::after { padding-top: 10px; font-size: 18px; }

.lan-mini { width: 100%; max-width: 300px; height: auto; }
.bound { fill: none; stroke: var(--line-2); stroke-width: 1.3; stroke-dasharray: 4 6; }
.svg-cap { font-family: var(--latin-serif); font-size: 10.5px; letter-spacing: .16em; fill: var(--fg-3); text-transform: uppercase; }
:lang(ja) .svg-cap { font-family: var(--mincho); letter-spacing: .12em; }
.svg-small { font-family: var(--latin-serif); font-size: 12px; fill: var(--fg-2); }
.dev { fill: var(--shiro); stroke: rgba(42, 36, 31, .55); stroke-width: 1.3; }
.dev-s { fill: rgba(42, 36, 31, .06); stroke: none; }
.dev-t { fill: rgba(42, 36, 31, .1); stroke: none; }
.dev-l { fill: none; stroke: rgba(42, 36, 31, .55); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.link { fill: none; stroke: rgba(42, 36, 31, .5); stroke-width: 1.3; stroke-dasharray: 2 6; stroke-linecap: round; }
.pulse { fill: var(--shu); }
.pulse--b { fill: var(--ai-2); }
.cloud-x path { fill: none; stroke: var(--fg-3); stroke-width: 1.3; stroke-linejoin: round; }
.cloud-x .strike { stroke: var(--shu); stroke-width: 1.6; stroke-linecap: round; }

/* ======================= setup ======================= */
.steps-wrap { position: relative; margin-top: clamp(56px, 7vw, 96px); }
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: 1fr; gap: 56px; }
/* the ink line: a faint guide, then the ink drawn over it with scroll */
.steps-wrap::before { content: ""; position: absolute; left: 27px; top: 34px; bottom: 34px; width: 1px; background: var(--line); }
.ink { position: absolute; pointer-events: none; overflow: visible; }
.ink path { fill: none; stroke: var(--sumi); stroke-width: 2.1; stroke-linecap: round; opacity: .88; }
.ink .ink-b { stroke-width: 1.1; opacity: .5; }
.ink--h { display: none; }
.ink--v { left: 22px; top: 34px; width: 12px; height: calc(100% - 68px); clip-path: inset(0 0 calc((1 - var(--sp, 0)) * 100%) 0); }
.step { position: relative; padding-left: 80px; }
.step-n {
  position: absolute; left: 0; top: 0; z-index: 1; width: 56px; height: 68px; display: flex; align-items: center; justify-content: center;
  background: var(--noise) 0 0 / 220px 220px fixed, var(--kinari);
  font-family: var(--num); font-weight: 400; font-size: 60px; line-height: 1; font-variant-numeric: lining-nums; color: var(--sumi);
}
.step h3 { margin-top: 22px; }
.step h3 + p { margin-top: 10px; color: var(--fg-2); font-size: 16px; max-width: 26em; }
html:lang(ja) .step h3 + p { font-size: 15.5px; line-height: 1.95; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .steps-wrap::before { left: 0; right: 0; top: 34px; bottom: auto; width: auto; height: 1px; }
  .ink--v { display: none; }
  .ink--h { display: block; left: 0; top: 28px; width: 100%; height: 12px; clip-path: inset(0 calc((1 - var(--sp, 0)) * 100%) 0 0); }
  .step { padding-left: 0; }
  .step-n { position: relative; width: auto; height: 68px; justify-content: flex-start; padding-right: 16px; display: inline-flex; }
  .step-fig { margin-top: 26px; }
}
.step-fig {
  container-type: inline-size; margin-top: 18px; height: 180px; border-radius: var(--radius); position: relative; overflow: hidden;
  background: var(--shiro); border: 1px solid var(--line); box-shadow: 0 10px 24px -18px rgba(70, 45, 20, .35);
}

/* step 1: menu bar with the PadHost menu open */
.mbm { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: linear-gradient(170deg, #2f4a66, #22384f 60%, #1d3044); font-family: var(--gothic); }
.mbm-bar { display: flex; justify-content: space-between; align-items: center; height: 26px; padding: 0 12px; font-size: 12px; color: rgba(244, 239, 228, .92); background: rgba(20, 32, 46, .4); white-space: nowrap; }
.mbm-bar b { font-size: 9px; }
.mbm-r { display: flex; align-items: center; gap: 12px; }
.mbm-pad { display: inline-flex; width: 22px; height: 18px; align-items: center; justify-content: center; border-radius: 3px; background: rgba(244, 239, 228, .24); }
.mbm-pad svg { width: 14px; height: 14px; stroke-width: 2; }
.mbm-menu {
  position: absolute; right: 52px; top: 30px; width: 200px; padding: 5px; border-radius: 7px; display: flex; flex-direction: column;
  background: rgba(250, 246, 237, .95); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(42, 36, 31, .14), 0 18px 36px -12px rgba(10, 18, 30, .6); font-size: 13px; color: var(--sumi);
}
.mbm-h { padding: 5px 9px 6px; font-size: 11px; font-weight: 600; color: rgba(42, 36, 31, .5); }
.mbm-i { padding: 6px 9px; border-radius: 4px; white-space: nowrap; }
.mbm-i.is-hot { background: var(--ai-2); color: #f4efe4; animation: menuHot 6s infinite; }
@keyframes menuHot { 0%, 12% { background: transparent; color: var(--sumi); } 18%, 70% { background: var(--ai-2); color: #f4efe4; } 76%, 100% { background: transparent; color: var(--sumi); } }

/* step 2: connect panel */
.conn { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: min(22px, 5cqw); padding: min(18px, 4.5cqw); }
.qr { width: min(128px, 34cqw); height: min(128px, 34cqw); flex-shrink: 0; padding: min(8px, 2cqw); border-radius: 2px; background: #fffdf7; box-shadow: inset 0 0 0 1px var(--line); }
.qr svg { width: 100%; height: 100%; }
.conn-r { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.conn-r .cap { font-size: 10px; }
.odo { display: flex; font-family: var(--num); font-weight: 400; font-size: min(38px, 10.5cqw); line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; color: var(--fg); height: 1.1em; overflow: hidden; }
.odo-d { display: block; height: 1.1em; overflow: hidden; }
.odo-d:nth-child(3) { margin-right: .22em; }
.odo-c { display: flex; flex-direction: column; transform: translate3d(0, calc(var(--n, 0) * -1.1em), 0); transition: transform 1s var(--ease); transition-delay: calc(var(--k, 0) * 60ms); }
.odo-c span { height: 1.1em; }
.conn-url { font-family: var(--latin-serif); font-size: min(12.5px, 3.6cqw); letter-spacing: .02em; color: var(--fg-2); white-space: nowrap; }

/* step 3: home screen */
.hs { position: absolute; left: 50%; top: 50%; width: 230px; max-width: calc(100% - 20px); height: 150px; transform: translate(-50%, -50%); padding: 8px; border-radius: 16px; background: linear-gradient(160deg, #2a2723, #161411); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.hs-grid { position: absolute; left: 8px; top: 8px; right: 8px; bottom: 8px; border-radius: 8px; padding: 12px 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, 1fr); gap: 10px 12px; background: linear-gradient(170deg, #2f4a66, #22384f 60%, #1d3044); }
.hs-grid i { border-radius: 9px; background: rgba(244, 239, 228, .2); width: 100%; max-width: 40px; aspect-ratio: 1; justify-self: center; align-self: center; }
.hs-grid i.hs-slot { background: none; box-shadow: inset 0 0 0 1px rgba(244, 239, 228, .16); }
.hs-slot img { width: 100%; height: auto; border-radius: 9px; animation: iconPop 8s var(--ease) infinite; }
@keyframes iconPop { 0%, 10% { transform: scale(.6); opacity: 0; } 20%, 100% { transform: none; opacity: 1; } }
.hs-open { position: absolute; left: 8px; top: 8px; right: 8px; bottom: 8px; border-radius: 8px; background: var(--noise) 0 0 / 220px 220px, var(--kinari); overflow: hidden; clip-path: inset(62% 7% 9% 75% round 10px); opacity: 0; animation: hsOpen 8s var(--ease) infinite; }
.hs-open .mini-board { left: 6px; top: 6px; right: 6px; bottom: 6px; }
@keyframes hsOpen { 0%, 36% { clip-path: inset(62% 7% 9% 75% round 10px); opacity: 0; } 38% { opacity: 1; } 52%, 86% { clip-path: inset(0 0 0 0 round 8px); opacity: 1; } 94%, 100% { clip-path: inset(0 0 0 0 round 8px); opacity: 0; } }

/* ======================= actions ======================= */
.split { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 980px) { .split { grid-template-columns: .92fr 1.08fr; gap: 72px; align-items: start; } .split-l { position: sticky; top: 120px; } }
.split-l .sec-hd + .body { margin-left: 0; }
.bullets { list-style: none; margin: 34px 0 0; padding: 0; }
.bullets li { position: relative; padding: 14px 0 14px 28px; border-top: 1px solid var(--line); color: var(--fg-2); font-size: 16px; }
.bullets li:last-child { border-bottom: 1px solid var(--line); }
.bullets li::before { content: ""; position: absolute; left: 2px; top: calc(14px + .82em); width: 12px; height: 1px; background: var(--fg-3); }
html:lang(ja) .bullets li { font-size: 15.5px; }
html:lang(ja) .bullets li::before { top: calc(14px + 1em); }

.act-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; color: var(--fg); background: none; }
@media (min-width: 560px) { .act-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.act {
  -webkit-appearance: none; appearance: none; border: 0; margin: 0; text-align: left; cursor: pointer; min-height: 150px;
  --g: 28px; --fl: 16px; --pad: 16px 17px 17px; --pv: 15px;
  -webkit-tap-highlight-color: transparent;
}
.act .pb-bd { justify-content: flex-start; }
.act .pb-glyph { color: var(--fg); margin-bottom: auto; padding-bottom: 14px; box-sizing: content-box; }
.act .pb-label { -webkit-line-clamp: 2; }
.act .pb-sub { white-space: normal; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
html:lang(ja) .act .pb-sub { -webkit-line-clamp: 3; }
/* washi tiles: no colour tints; the active one gets a thin vermilion rule */
.act-grid .act.has-tint::before { height: 2px; background: var(--shu); opacity: 0; transition: opacity .3s; }
.act-grid .act.is-on::before { opacity: 1; }
.act:hover { background: var(--tile-hi); }
.act.is-on { box-shadow: inset 0 0 0 1px var(--line-2); background: var(--tile-hi); }
.act:focus-visible { outline-offset: 2px; }
.result {
  display: flex; align-items: center; gap: 14px; margin-top: 14px; min-height: 58px; padding: 12px 18px; border-radius: var(--radius);
  background: var(--shiro); border: 1px solid var(--line); font-family: var(--latin-serif), -apple-system, sans-serif; font-size: 15px; color: var(--fg); overflow: hidden;
}
html:lang(ja) .result { font-family: var(--mincho); letter-spacing: .02em; }
.result-t { white-space: pre; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.result-t.is-new { animation: resIn .6s var(--ease); }
@keyframes resIn { from { opacity: 0; } }
.seq-s { color: var(--fg-3); transition: color .3s; }
.seq-s.on { color: var(--fg); }
.seq-a { color: var(--fg-3); padding: 0 .5em; }

/* ======================= widgets ======================= */
.w-layout { display: grid; grid-template-columns: 1fr; gap: 44px; margin-top: clamp(48px, 6vw, 80px); align-items: center; }
@media (min-width: 980px) { .w-layout { grid-template-columns: 1.55fr 1fr; gap: 64px; } }
.wdefs { margin: 0; }
.wdef { display: block; padding: 16px 0; border-top: 1px solid var(--line); cursor: default; }
.wdef:last-child { border-bottom: 1px solid var(--line); }
.wdef dt { transition: color .3s; }
.wdef dd { margin: 6px 0 0; color: var(--fg-2); font-size: 16px; transition: color .3s; }
html:lang(ja) .wdef dd { font-size: 15.5px; line-height: 1.9; }
.wdef.is-hl dt { color: var(--shu); }
.wdef.is-hl dd { color: var(--fg); }

/* ======================= themes ======================= */
/* the section takes the chosen theme's colours (set from JS); without JS it shows Washi */
.sec.themes {
  font-family: var(--serif); background: transparent; isolation: isolate; overflow: hidden; color: var(--fg);
  --fg: #2a241f; --fg-2: #5e5347; --fg-3: #7c6f60; --line: rgba(90, 65, 35, .14); --line-2: rgba(90, 65, 35, .26); --signal: #c53d2b;
}
.th-bg, .th-wipe { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: -1; background: var(--paint); pointer-events: none; }
.themes .cap, .themes .h2, .themes .body, .themes .vlabel { transition: color .9s var(--ease); }
.themes .cap, .themes .vlabel { color: var(--fg-2); }
.th-dev { width: 100%; max-width: 860px; margin: clamp(44px, 5vw, 72px) 0 0; }
@media (min-width: 900px) { .th-dev { margin-left: var(--indent); } }
.th-hint { margin-top: 44px; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 16px; }
@media (min-width: 560px) { .chips { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .chips { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.chips .chip {
  -webkit-appearance: none; appearance: none; border: 0; margin: 0; background: none; cursor: pointer; text-align: left;
  border-radius: 6px; padding: 3px; box-shadow: 0 0 0 1px transparent; transition: box-shadow .3s, transform .16s var(--ease);
  -webkit-tap-highlight-color: transparent; color: inherit; font: inherit; letter-spacing: normal; text-transform: none;
}
.chips .chip:active { transform: scale(.98); }
.chips .chip[aria-checked="true"] { box-shadow: 0 0 0 1.5px var(--fg); }
.chips .pb-swatch { display: block; border-radius: 4px; box-shadow: 0 0 0 1px rgba(128, 128, 128, .25); }
.chips .pb-swatch > span { display: block; }
.chips .pb-swatch .pb-tile { display: flex; height: 76px; }
.chips .pb-swatch .pb-hd > span { display: inline; }
.chips .pb-swatch .pb-num { font-size: 34px; margin-top: auto; }
.chips .pb-swatch .pb-desc { white-space: normal; line-height: 1.4; }

/* ======================= trackpad & keyboard ======================= */
.pk-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 900px) { .pk-grid { grid-template-columns: 1fr 1fr; align-items: start; } .pk-grid > :nth-child(2) { margin-top: 40px; } }
.pk-ill { position: relative; margin-bottom: 26px; }
.pk-mac { width: 58%; margin: 0 auto; padding: 5px; border-radius: 6px; background: #12100e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.pk-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 3px; overflow: hidden; background: linear-gradient(170deg, #2f4a66, #22384f 60%, #1d3044); }
.pk-mb { position: absolute; left: 0; top: 0; right: 0; height: 8px; background: rgba(20, 32, 46, .45); }
.cursor {
  position: absolute; left: 0; top: 0; width: 13px; height: 18px; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 18'%3E%3Cpath d='M1 1v14.5l3.6-3.4 2.4 5.3 2.3-1-2.4-5.2H12z' fill='%23000' stroke='%23fff' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  transform: translate3d(var(--cx, 60px), var(--cy, 40px), 0);
}
.ripple { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(244, 239, 228, .85); opacity: 0; transform: translate3d(var(--rx, 0), var(--ry, 0), 0) scale(.3); }
.ripple.is-on { animation: ripple .7s var(--ease); }
@keyframes ripple { 0% { opacity: 1; transform: translate3d(var(--rx, 0), var(--ry, 0), 0) scale(.3); } 100% { opacity: 0; transform: translate3d(var(--rx, 0), var(--ry, 0), 0) scale(1.4); } }
.pk-dev { position: relative; margin-top: 18px; padding: 10px; border-radius: 6px; background: var(--paint); box-shadow: inset 0 0 0 1px var(--line); }
.pad {
  position: relative; height: 200px; border-radius: var(--radius); overflow: hidden; touch-action: pan-y; cursor: crosshair;
  background-color: var(--tile); background-image: radial-gradient(var(--line-2) 1px, transparent 1.3px);
  background-size: 26px 26px; background-position: 13px 13px; box-shadow: inset 0 0 0 1px var(--line);
}
.pad .pb-hd { position: absolute; left: 14px; right: 14px; top: 12px; }
.pad .pb-hd span { background: var(--tile-hi); padding: 3px 6px; border-radius: 2px; }
.finger--pad { margin: -24px 0 0 -24px; width: 48px; height: 48px; opacity: 1; transition: background-color .16s; box-shadow: inset 0 0 0 1.5px var(--fg-2); background: rgba(42, 36, 31, .05); transform: translate3d(var(--fx, 100px), var(--fy, 100px), 0) scale(var(--fs, 1)); }
.finger--pad.is-press { --fs: .86; background: rgba(42, 36, 31, .14); }
.trail i { position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--fg-2); opacity: 0; }
.krow { display: flex; gap: var(--gap); margin-top: var(--gap); }
.key {
  flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 50px; padding: 0 4px;
  border-radius: var(--key-radius); background: var(--tile); box-shadow: var(--tile-shadow); color: var(--fg);
  font-family: var(--label-font); font-size: 13px; font-weight: var(--label-weight); letter-spacing: var(--label-track); white-space: nowrap; overflow: hidden;
  transition: transform .12s, background-color .15s;
}
.key .k { font-family: var(--hd-font); font-size: 9.5px; font-weight: var(--hd-weight); line-height: 1; letter-spacing: var(--hd-track); color: var(--fg-3); text-transform: uppercase; margin-top: 4px; }
.key.is-down { transform: scale(.96); background: var(--tile-hi); }
.key.mod { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Apple Symbols", sans-serif; font-size: 18px; font-weight: 400; }
.key.wide { flex: 3; }
@media (max-width: 420px) { .krow .key { font-size: 11.5px; } .key .k { display: none; } }
.kb-top { display: flex; gap: var(--gap); height: 200px; }
.kb-card { flex: 1; min-width: 0; padding: 14px 16px; }
.kb-text { margin-top: 10px; font-family: var(--label-font); font-size: 19px; line-height: 1.5; color: var(--fg); min-height: 2.9em; word-break: break-word; }
.key--send { flex: 0 0 110px; height: auto; background: var(--fg); color: var(--bg); font-size: 16px; }
.key--send.is-down { background: var(--fg-2); }
.kb-toast {
  position: absolute; left: 50%; top: 18px; z-index: 3; padding: 8px 14px; border-radius: 2px; font-size: 13px;
  background: var(--tile-hi); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 26px -12px rgba(60, 40, 20, .35);
  opacity: 0; transform: translate(-50%, -6px); transition: opacity .25s, transform .3s var(--ease); pointer-events: none;
}
.kb-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.pk-screen--text { display: flex; align-items: center; justify-content: center; }
.pk-field { position: relative; width: 78%; min-height: 26px; padding: 5px 8px; border-radius: 3px; background: rgba(250, 246, 237, .95); color: #2a241f; font-size: 10.5px; line-height: 1.4; box-shadow: 0 8px 20px -8px rgba(10, 18, 30, .6); }
.pk-field .tx.is-new { animation: resIn .5s var(--ease); }
.pk h3 { margin-top: 0; }

/* ======================= privacy: the one indigo-dyed band ======================= */
.privacy {
  background: var(--ai); color: var(--fg);
  --fg: #ece5d6; --fg-2: rgba(236, 229, 214, .84); --fg-3: rgba(236, 229, 214, .72);
  --line: rgba(236, 229, 214, .16); --line-2: rgba(236, 229, 214, .32);
}
.privacy ::selection { background: rgba(236, 229, 214, .25); }
.pv-grid { display: grid; grid-template-columns: 1fr; gap: 44px; margin-top: clamp(48px, 6vw, 80px); align-items: center; }
@media (min-width: 980px) { .pv-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.lan { width: 100%; height: auto; }
.lan .svg-cap { font-size: 12.5px; }
.privacy .dev { fill: rgba(236, 229, 214, .05); stroke: rgba(236, 229, 214, .6); }
.privacy .dev-s { fill: rgba(236, 229, 214, .08); }
.privacy .dev-t { fill: rgba(236, 229, 214, .16); }
.privacy .dev-l { stroke: rgba(236, 229, 214, .6); }
.privacy .link { stroke: rgba(236, 229, 214, .62); }
.privacy .pulse--b { fill: #ece5d6; }
.facts { margin: 0; }
.fact { padding: 18px 0; border-top: 1px solid var(--line); }
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact dd { margin: 6px 0 0; color: var(--fg-2); font-size: 16px; }
html:lang(ja) .fact dd { font-size: 15.5px; line-height: 1.9; }
.pv-foot { margin-top: 36px; max-width: 46em; }
@media (min-width: 600px) { .pv-foot { margin-left: var(--indent); } }

/* ======================= details ======================= */
.details { padding-top: calc(var(--sec-pad) * .7); padding-bottom: calc(var(--sec-pad) * .5); }
.det-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .det-grid { grid-template-columns: repeat(2, 1fr); align-items: start; } .det-grid > :nth-child(2n) { margin-top: 28px; } }
@media (min-width: 980px) {
  .det-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .det-grid > :nth-child(2n) { margin-top: 0; }
  .det-grid > :nth-child(3n + 2) { margin-top: 28px; }
  .det-grid > :nth-child(3n) { margin-top: 56px; }
}
.det { padding: 22px 22px 26px; }
.det p + p { margin-top: 10px; color: var(--fg-2); font-size: 15.5px; line-height: 1.7; }
html:lang(ja) .det p + p { font-size: 15px; line-height: 1.9; }

/* ======================= final CTA ======================= */
.get { overflow: hidden; isolation: isolate; }
.get-clock { position: absolute; left: max(0px, calc((100% - var(--col)) / 2 - 40px)); top: 50%; transform: translateY(-50%); z-index: -1; pointer-events: none; }
.get-clock span {
  display: block; font-family: var(--num); font-weight: 400; font-size: clamp(150px, 30vw, 440px); line-height: 1;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; color: rgba(90, 65, 35, .09); white-space: nowrap;
}
.get-in { display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 900px) { .get-in { padding-left: calc(var(--side) + min(42%, 460px)); } }
.get-icon { width: 104px; height: 104px; margin-bottom: 36px; }
.get-icon img { width: 104px; height: 104px; border-radius: 23px; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 18px 30px -18px rgba(60, 40, 20, .55); }
.get .body { margin-top: 22px; }
.get .ctas { margin-top: 36px; }
.note { margin-top: 10px; font-size: 14px; color: var(--fg-3); }

/* ======================= footer: indigo ======================= */
.footer {
  background: var(--ai); color: var(--fg); padding: 56px 0 64px;
  --fg: #ece5d6; --fg-2: rgba(236, 229, 214, .84); --fg-3: rgba(236, 229, 214, .72); --line: rgba(236, 229, 214, .16);
}
.foot-in { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; }
@media (min-width: 760px) { .foot-in { grid-template-columns: auto 1fr auto; gap: 28px; } .tm { grid-column: 1 / -1; } }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand > span:not(.seal) { font-family: var(--latin-serif); font-size: 18px; font-weight: 500; }
.foot-brand img { width: 28px; height: 28px; border-radius: 6px; }
.seal--foot { width: 40px; height: 40px; font-size: 14px; margin-left: 6px; }
.foot-tag { color: var(--fg-2); font-size: 15.5px; }
.tm { font-size: 12.5px; color: var(--fg-3); line-height: 1.7; }
/* links to the privacy policy and support pages; on a wide footer they get their own row above the trademarks */
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 26px; font-size: 14.5px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg-2); text-decoration: none; transition: color .2s; }
.foot-links a:hover, .foot-links a[aria-current] { color: var(--fg); }
.foot-links a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }
@media (min-width: 760px) { .foot-links { grid-column: 1 / -1; } }

/* ======================= article pages (privacy policy, support) ======================= */
/* One quiet column of text, set in from the left like the landing page's body copy; hairlines between sections. */
.doc { position: relative; padding: clamp(128px, 14vw, 176px) 0 clamp(96px, 11vw, 150px); }
.doc > .vlabel { top: clamp(136px, 14.6vw, 186px); }
.doc-hd { max-width: 40em; }
.doc-hd .cap + .h1 { margin-top: 20px; }
.doc-title { font-size: clamp(38px, 5.2vw, 66px); max-width: 14em; }
html:lang(ja) .doc-title { font-size: clamp(28px, 4.2vw, 46px); }
.doc-meta { margin-top: 24px; font-size: 14px; color: var(--fg-3); }
.doc-meta::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--shu); margin-right: 12px; vertical-align: 2px; }
.doc-body { margin-top: clamp(48px, 6vw, 80px); max-width: 38em; }
@media (min-width: 600px) { .doc-body { margin-left: var(--indent); } }
.doc-lede { padding-bottom: 44px; font-size: 19px; color: var(--fg-2); }
html:lang(ja) .doc-lede { font-size: 17px; }
.doc-sec { padding: 40px 0 46px; border-top: 1px solid var(--line-2); }
.doc-sec:last-child { padding-bottom: 0; }
.doc-h { display: flex; align-items: baseline; gap: .75em; font-family: var(--latin-serif); font-weight: 500; font-size: 22px; line-height: 1.35; color: var(--fg); }
html:lang(ja) .doc-h { font-family: var(--mincho); font-weight: 600; font-size: 20px; letter-spacing: .04em; line-height: 1.6; font-feature-settings: "palt"; }
.doc-h .kn { flex-shrink: 0; font-family: var(--mincho); font-weight: 400; font-size: 1.2em; line-height: 1; letter-spacing: 0; }
.doc-sec > * + * { margin-top: 14px; }
.doc-sec > .doc-h + * { margin-top: 20px; }
.doc-body p, .doc-body li { font-size: 17px; color: var(--fg-2); }
html:lang(ja) .doc-body p, html:lang(ja) .doc-body li { font-size: 16px; }
.doc-body .doc-note, html:lang(ja) .doc-body .doc-note { font-size: 15px; color: var(--fg-3); }
.doc-body a { color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line-2); text-underline-offset: .22em; transition: text-decoration-color .2s; }
.doc-body a:hover { text-decoration-color: currentColor; }
.doc-ui { color: var(--fg); }
.doc-list { margin: 0; padding: 0 0 0 1.6em; }
.doc-list li + li { margin-top: 8px; }
ol.doc-list li::marker { font-family: var(--num); color: var(--fg-3); }
ul.doc-list { list-style: none; padding-left: 28px; }
ul.doc-list li { position: relative; }
ul.doc-list li::before { content: ""; position: absolute; left: -26px; top: .82em; width: 12px; height: 1px; background: var(--fg-3); }
html:lang(ja) ul.doc-list li::before { top: 1em; }
.doc-body .doc-mail, html:lang(ja) .doc-body .doc-mail { font-size: 20px; letter-spacing: .02em; }

/* questions: each one folds open; an ink ＋ that turns into － */
.doc-faq { margin-top: 24px; }
.doc-q { border-top: 1px solid var(--line); }
.doc-q:last-child { padding-bottom: 6px; }
.doc-q > summary {
  position: relative; display: block; list-style: none; cursor: pointer; padding: 18px 2.4em 18px 0;
  font-size: 18px; line-height: 1.5; color: var(--fg); -webkit-tap-highlight-color: transparent;
}
html:lang(ja) .doc-q > summary { font-family: var(--mincho); font-size: 17px; line-height: 1.8; }
.doc-q > summary::-webkit-details-marker { display: none; }
.doc-q > summary::after { content: "＋"; position: absolute; right: 2px; top: 18px; font-family: var(--mincho); font-size: 18px; line-height: 1.5; color: var(--fg); }
html:lang(ja) .doc-q > summary::after { line-height: 1.8; font-size: 17px; }
.doc-q[open] > summary::after { content: "－"; }
.doc-a { padding: 2px 0 28px; }
.doc-a > * + * { margin-top: 12px; }
.doc-a .doc-list + p, .doc-a p + .doc-list { margin-top: 12px; }

/* ======================= paused when off-screen ======================= */
.is-off, .is-off * { animation-play-state: paused !important; }

/* ======================= reduced motion ======================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-iteration-count: 1 !important; }
  @keyframes fadeOnly { from { opacity: 0; } }
  .js [data-reveal].is-in, .js [data-reveal="fusuma"].is-in { animation: fadeOnly .15s both; }
  .js [data-reveal="fusuma"].is-in > :not(.sr) { animation: none; }
  .js [data-split]:not(.is-in) .line > span { clip-path: none; opacity: 0; }
  .js [data-split].is-in .line > span, html:lang(ja) .hero .h1.is-in .line > span { animation: fadeOnly .15s both; }
  .seal.is-stamp { animation: none; }
  .mini-off, .hs-slot img, .hs-open, .mbm-i.is-hot { animation: none !important; }
  .mini-off { opacity: 0; }
  .hs-open { opacity: 0; }
  .js .mq-track.is-run { animation: none; }
  .sun { transform: none; }
  .board.is-enter .pb-tile { animation: fadeOnly .15s both; }
  .is-typing .caret, .caret.is-on { animation: none; opacity: 1; }
  .js .sec:not(.is-ruled)::before { transform: none; }
  .ghost:hover::after { animation: none; }
}
@media (max-width: 480px) {
  .step { padding-left: 68px; }
}
