/* Ask Kami
   Red on very dark grey. Type first. Motion is transform and opacity only. */

/* The whole site is set in the system font: San Francisco on iPhone and Mac, and the device's own
   interface font elsewhere. Nothing is downloaded, so text is in its final font from the first
   frame and never swaps partway through loading. (The site was first set in Archivo, a downloaded
   font whose lowercase g is squashed flat at heavy weights.) */

:root {
  --bg: #161616;
  --bg-2: #1c1c1c;
  --bg-3: #232323;
  --line: rgba(255, 255, 255, .085);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #efece6;
  --ink-2: #a39f98;
  --ink-3: #6f6c67;
  --red: #fd2b2b;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
  --pad: 20px;
  --nav-h: 56px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
  font-feature-settings: "kern", "liga";
}
/* While the sign-up sheet is open the page keeps its scroll bar: hiding it
   (overflow: hidden) makes the whole page jump sideways on a desktop. The
   page behind is held still in site.js instead. */

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: 10px; font-weight: 700; text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }

.shin { width: 1em; height: 1em; fill: var(--red); flex: none; }

/* ── Reveal: a reply arriving ── */
.js [data-reveal],
.js [data-gated] {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity .55s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s);
}
.js [data-reveal].in,
.js .is-sent [data-gated].in { opacity: 1; transform: none; }

/* ── Nav ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--pad) 0;
  display: flex; align-items: center; justify-content: space-between;
  transition: transform .5s cubic-bezier(.3, .1, .3, 1);   /* coming back in: an even, visible slide */
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(22, 22, 22, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav.is-away { transform: translate3d(0, -110%, 0); transition: transform .34s cubic-bezier(.4, 0, .7, .4); }   /* leaving */
.nav__brand {
  display: inline-flex; align-items: center; gap: 9px; height: 44px;
  text-decoration: none; font-weight: 800; letter-spacing: -.01em; font-size: 15.5px;
}
.nav__brand .shin { width: 22px; height: 22px; }
.nav__cta {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
  border-radius: 999px; background: var(--red); color: #161616;
  font-weight: 750; font-size: 14.5px; text-decoration: none; letter-spacing: -.005em;
  position: relative;
}
.nav__cta::after { content: ""; position: absolute; inset: -6px; } /* thumb-sized */
.nav__end { display: flex; align-items: center; gap: 4px; }
.nav__brand span, .nav__lang, .nav__cta { white-space: nowrap; }
.nav__lang {
  display: inline-flex; align-items: center; height: 44px; padding: 0 12px;
  color: var(--ink-2); font-size: 14px; font-weight: 650; text-decoration: none;
}
@media (hover: hover) { .nav__lang:hover, .foot__lang:hover { color: var(--ink); } }
.nav__cta:active { transform: scale(.96); }

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 540px; max-height: 1000px;
  display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--nav-h) + env(safe-area-inset-top)) var(--pad) calc(18px + env(safe-area-inset-bottom));
  text-align: center;
  overflow: hidden;
}
.hero__god { position: relative; flex: 1 1 0; min-height: 150px; width: 100%; }
.hero__god-move {
  position: absolute; left: 50%; top: 50%;
  height: min(114%, 470px, 100vw); aspect-ratio: 1;   /* its top edge meets the header; its foot runs under the slogan */
  margin: 0;
  transform: translate3d(-50%, calc(var(--gy, -44%) + var(--py, 0px)), 0);
  will-change: transform, opacity;
}
.hero__god img {
  width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 97%);
  animation: god-in 1.8s var(--ease) both;
  transform-origin: 50% 60%;
}
@keyframes god-in {
  from { opacity: 0; transform: translate3d(0, 26px, 0) scale(1.05); }
  to { opacity: 1; transform: none; }
}
/* One ring leaves the sun each time a question is sent. */
.hero__ring {
  position: absolute; left: 50%; top: 30%;
  width: 53%; aspect-ratio: 1; margin: -26.5% 0 0 -26.5%;
  border-radius: 50%; border: 2px solid var(--red);
  opacity: 0; pointer-events: none;
}

.hero__body { position: relative; width: 100%; max-width: 680px; flex: none; }

.slogan {
  font-weight: 900;
  letter-spacing: -.045em; line-height: .9;
  margin-top: -8px;
}
.slogan__ask {
  display: block; font-size: clamp(85.5px, 26.19vw, 120.5px);
  animation: rise 1s var(--ease) .15s both;
}
.slogan__logged {
  display: block; font-size: clamp(33px, 10.09vw, 46.5px); letter-spacing: -.04em; line-height: 1;
  margin-top: 2px;
  opacity: .24;
  transition: opacity .7s var(--ease);
  animation: rise-dim 1s var(--ease) .3s both;
}
.hero.is-logged .slogan__logged { opacity: 1; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes rise-dim { from { opacity: 0; transform: translate3d(0, 22px, 0); } }

.hero__sub {
  margin: 14px auto 0; max-width: 30em;
  color: var(--ink-2); font-size: 15.5px; line-height: 1.42;
  animation: rise 1s var(--ease) .45s both;
  text-wrap: balance;   /* even lines, so no two words are left alone */
}
.hero__ask { display: block; margin-top: .7em; }   /* its own line, with a little air above it */

/* The message box: this site's own element, not a picture of the app. */
.box {
  margin: 20px auto 0; width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 26px;
  padding: 15px 12px 12px 18px;
  text-align: left;
  animation: rise 1.1s var(--ease) .6s both;
  position: relative;
}
/* Three lines: the longest question is 110 characters. */
.box__field { position: relative; height: 4.05em; font-size: 16px; line-height: 1.35; }
.box__text, .box__done {
  position: absolute; inset: 0 6px 0 0;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.box__text { color: var(--ink); font-weight: 500; }
.box__caret {
  display: inline-block; width: 2px; height: 1.05em; margin-left: 2px;
  background: var(--red); vertical-align: -.16em; border-radius: 1px;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.box__done {
  display: flex; align-items: flex-start; gap: .35em;
  color: var(--ink-2); text-decoration: none; font-weight: 500;
  opacity: 0; transform: translate3d(0, 10px, 0); pointer-events: none;
}
.box__done b { color: var(--red); font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.box__done svg { width: 17px; height: 17px; }
.box.is-sent .box__text { opacity: 0; transform: translate3d(0, -12px, 0); }
.box.is-sent .box__done { opacity: 1; transform: none; pointer-events: auto; }
.box__row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.box__kami {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ink-3); font-size: 12.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
}
.box__kami .shin { width: 17px; height: 17px; }
.box__send {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #161616;
  display: grid; place-items: center;
  transition: transform .25s var(--ease);
}
.box__send svg { width: 22px; height: 22px; }
.box__send:active, .box__send.is-down { transform: scale(.88); }

/* ── One question, one answer ── */
.ask { padding: 84px 0 56px; position: relative; }
.ask__grid {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: minmax(0, 1fr);
}

.who {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}
.who--kami { color: var(--ink-2); }
.who--kami .shin { width: 18px; height: 18px; }

.q {
  position: relative;
  margin-top: 16px;
  font-weight: 800;
  font-size: clamp(35px, 10.28vw, 44.5px);
  line-height: 1.02; letter-spacing: -.035em;
  text-wrap: balance;
  max-width: 13.9em;
}
.q--long { font-size: clamp(26px, 7.47vw, 33px); line-height: 1.08; letter-spacing: -.03em; text-wrap: pretty; }
.q .w { display: inline-block; white-space: nowrap; }
.js .q[data-type] .c { opacity: 0; transition: opacity .04s linear; }
.js .q[data-type] .c.on { opacity: 1; }
.q__caret {
  position: absolute; left: 0; top: 0; width: .055em; min-width: 2px; height: .86em;
  background: var(--red); border-radius: 1px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.q.is-typing .q__caret { opacity: 1; }


.kami { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 22px; }
.js .kami .who--kami { opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.js .is-sent .kami .who--kami { opacity: 1; transform: none; }
.js .is-sent .kami .who--kami .shin { animation: mark .9s var(--ease) both; }
@keyframes mark { from { transform: scale(1.9); opacity: 0; } }
.steps { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.steps li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.steps li::before {
  content: ""; width: 13px; height: 13px; flex: none; border-radius: 50%;
  border: 1.5px solid currentColor;
  background: no-repeat center / 9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 10 17.5 19 7' fill='none' stroke='%236f6c67' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.js .steps li { opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity .4s var(--ease), transform .5s var(--ease); transition-delay: calc(.08s + var(--i, 0) * .11s); }
.js .is-sent .steps li { opacity: 1; transform: none; }

/* The phone: a frame with rounded corners around the real recording. */
.phone {
  /* On a phone the recording is nearly as wide as the screen, with a margin each side, so the text
     in it is readable. That makes the frame about as tall as the screen, or a little taller. */
  --pw: min(calc((100vw - 48px) * .955), 372px);
  position: relative;
  width: var(--pw);
  margin: 26px auto 0;
  padding: calc(var(--pw) * .03);
  border-radius: calc(var(--pw) * .178);
  background: #0b0b0b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), 0 0 0 1px rgba(0, 0, 0, .6), 0 40px 70px -40px rgba(0, 0, 0, .9);
}
.phone__screen {
  position: relative; aspect-ratio: 804 / 1748;
  border-radius: calc(var(--pw) * .15);
  overflow: hidden; background: #000;
  isolation: isolate; transform: translateZ(0);
}
/* The clip's first frame, as a still, sits behind the clip so the screen is never empty. */
.phone__still, .phone video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.phone video { z-index: 1; background: transparent; opacity: 0; transition: opacity .22s linear; }
.phone video.is-live { opacity: 1; }

.js .ask .phone {
  opacity: 0; transform: translate3d(0, 26px, 0) scale(.975);
  transition: opacity .55s var(--ease), transform .8s var(--ease);
  will-change: transform, opacity;
}
.js .ask.is-sent .phone.in { opacity: 1; transform: none; }

.what { margin-top: 34px; max-width: 34em; }
.what h3 { font-size: 20.5px; line-height: 1.18; font-weight: 750; letter-spacing: -.018em; text-wrap: balance; }
.what p { margin-top: 10px; color: var(--ink-2); text-wrap: pretty; }

/* ── …and it is logged ── */
.logged { padding: 110px 0 60px; }
.big {
  margin-top: 16px;
  font-weight: 900;
  font-size: clamp(44.5px, 13vw, 62px);
  line-height: .95; letter-spacing: -.042em;
  text-wrap: balance;
}
.lead { margin-top: 20px; max-width: 33em; color: var(--ink-2); font-size: 17px; text-wrap: pretty; }

/* On a phone the four recordings sit one under another: no sideways scrolling. */
.shots {
  margin-top: 46px;
  display: grid; gap: 68px;
  padding: 0 var(--pad);
}
.shot { display: flex; flex-direction: column-reverse; gap: 22px; }
.phone--s { margin: 0 auto; }
.shot figcaption { color: var(--ink-2); font-size: 16px; line-height: 1.42; text-wrap: pretty; max-width: 30em; }
.shot figcaption b { display: block; color: var(--ink); font-size: 22.5px; font-weight: 800; letter-spacing: -.022em; line-height: 1.1; margin-bottom: 6px; }

/* ── Three plain statements ── */

.said { padding: 70px 0 40px; }
.said__grid { display: grid; gap: 58px; }
.said__item { padding-top: 22px; border-top: 1px solid var(--line-2); }
.said__item h2 { font-size: clamp(29px, 8.34vw, 37px); font-weight: 850; line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.said__item p { margin-top: 14px; color: var(--ink-2); max-width: 31em; text-wrap: pretty; }

/* ── Plans ── */
/* A link to #plans lands on the question, not on the padding above it (the script does the same for the header button). */
.plans { padding: 110px 0 40px; scroll-margin-top: -118px; }
.plans__answer { margin-top: 30px; }
.plans__lead { margin-top: 12px; font-size: 22.5px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; max-width: 22em; text-wrap: balance; }

.toggle {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  margin-top: 26px; padding: 4px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line);
}
.toggle button {
  position: relative; z-index: 1; height: 44px; padding: 0 18px; border-radius: 999px;
  font-size: 15px; font-weight: 700; color: var(--ink-2); white-space: nowrap;
  transition: color .3s ease;
}
.toggle button small { font-size: 12px; font-weight: 600; opacity: .75; margin-left: 4px; }
.toggle button[aria-pressed="true"] { color: #161616; }
.toggle__thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--ink);
  transition: transform .5s var(--ease), width .5s var(--ease);
}
.plans[data-billing="yearly"] .toggle__thumb { transform: translate3d(100%, 0, 0); }   /* Monthly is first, and is what shows to begin with */

.cards { display: grid; gap: 14px; margin-top: 26px; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 22px 20px 20px;
  border-radius: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.card--rec { border: 1.5px solid var(--red); background: #1e1a1a; }
.card header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card h3 { font-size: 29px; font-weight: 900; letter-spacing: -.035em; line-height: 1; }
.card__tag { font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); text-align: right; }
.card__tag--rec { color: var(--red); }

.price, .price__note { display: grid; }
.price > *, .price__note > * { grid-area: 1 / 1; transition: opacity .45s var(--ease), transform .55s var(--ease); }
.price { margin-top: 18px; font-size: 44.5px; font-weight: 850; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: 16px; font-weight: 600; letter-spacing: -.005em; color: var(--ink-2); margin-left: 2px; }
.price__note { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
/* Prices are written in the visitor's own currency. Some are long (¥13,000, Rp 1,499,000). */
.price [data-p] { white-space: nowrap; }   /* an amount never breaks; "a year" may drop to the next line */
.price-l .price { font-size: 37px; letter-spacing: -.035em; }
.price-xl .price { font-size: 29px; letter-spacing: -.03em; }
@media (max-width: 374px) {
  .price-l .price { font-size: 32px; }
  .price-xl .price { font-size: 25px; }
}
.price-xl .price small { font-size: 14.5px; }
.price-xl .choice__price { font-size: 17px; }
.plans[data-billing="yearly"] .price__m,
.plans[data-billing="monthly"] .price__y { opacity: 0; pointer-events: none; }
.plans[data-billing="yearly"] .price__m { transform: translate3d(0, 10px, 0); }
.plans[data-billing="monthly"] .price__y { transform: translate3d(0, -10px, 0); }

.card__allow { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; font-size: 16px; letter-spacing: -.005em; line-height: 1.3; text-wrap: balance; }
.card__allow .shin { width: 18px; height: 18px; }
.card__allow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); margin: 0 5px; flex: none; }
.card__for { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.42; text-wrap: pretty; }
.card__list { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; line-height: 1.38; }
.card__list li { position: relative; padding-left: 16px; margin-top: 7px; break-inside: avoid; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 1.5px; background: var(--ink-3); }
.card__go { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.card--free .card__go { margin-top: auto; padding-top: 20px; }
.trial { font-size: 14.5px; font-weight: 650; color: var(--ink); line-height: 1.25; }
.trial--quiet { color: var(--ink-3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 750; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s ease, border-color .25s ease;
}
.btn:active { transform: scale(.96); }
.btn--red { background: var(--red); color: #161616; }
.btn--line { border: 1.5px solid var(--line-2); color: var(--ink); }
.btn--ghost { color: var(--ink-2); }
.btn--lg { min-height: 56px; padding: 0 34px; font-size: 18px; }
.btn--wide { width: 100%; }
.btn--store { background: #0a0a0a; border: 1.5px solid var(--line-2); padding: 0 22px 0 18px; min-height: 56px; text-align: left; }
.btn--store svg { width: 26px; height: 26px; flex: none; margin-top: -3px; }
.btn--store span { display: grid; font-size: 19px; font-weight: 650; line-height: 1.05; letter-spacing: -.01em; }
.btn--store small { font-size: 10.5px; font-weight: 500; letter-spacing: .01em; opacity: .85; }
@media (hover: hover) {
  .btn--line:hover { border-color: var(--ink); }
  .btn--red:hover, .nav__cta:hover, .box__send:hover { background: #ff4444; }
  .btn--store:hover { border-color: var(--ink); }
}

.plans__rule { margin-top: 30px; display: grid; gap: 14px; max-width: 40em; color: var(--ink-2); }
.plans__rule b { color: var(--ink); font-weight: 700; }
.need { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 550; }
.need svg { width: 24px; height: 24px; flex: none; color: var(--red); margin-top: 1px; }

/* More questions, each with an example of the answer */
.more { padding: 56px 0 0; }
.more__title { font-size: clamp(39px, 11.15vw, 54.5px); font-weight: 900; letter-spacing: -.042em; line-height: .96; text-wrap: balance; }
.more__lead { margin-top: 18px; max-width: 35em; color: var(--ink-2); text-wrap: pretty; }
.more__list { margin-top: 30px; display: grid; gap: 14px; }
.talk { padding: 22px 20px; border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line); }
.talk__q { font-size: 19.5px; font-weight: 750; letter-spacing: -.018em; line-height: 1.22; text-wrap: pretty; }
.talk__with { margin-top: 8px; font-size: 13.5px; font-weight: 550; color: var(--ink-3); }
.talk__a { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.42; }
.talk__a .who { margin-bottom: 2px; }
.talk__a p { text-wrap: pretty; }
.talk__a ul { display: grid; gap: 6px; }
.talk__a li { padding-left: 16px; position: relative; }
.talk__a li::before { content: ""; position: absolute; left: 0; top: .66em; width: 6px; height: 1.5px; background: var(--ink-3); }
.talk__a b { color: var(--ink); font-weight: 700; }

/* FAQ */
.rest { padding: 0 0 40px; }
.faq { margin-top: 96px; }
.faq__title { font-size: clamp(39px, 11.15vw, 54.5px); font-weight: 900; letter-spacing: -.042em; line-height: .96; }
.faq__list { margin-top: 26px; border-top: 1px solid var(--line-2); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 0; min-height: 60px;
  font-size: 19.5px; font-weight: 750; letter-spacing: -.018em; line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--red); transition: transform .45s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq__a { padding: 0 0 22px; color: var(--ink-2); max-width: 38em; display: grid; gap: 12px; }
.faq details[open] .faq__a { animation: answer .6s var(--ease) both; }
@keyframes answer { from { opacity: 0; transform: translate3d(0, -8px, 0); } }
.faq__a ul { display: grid; gap: 9px; }
.faq__a li { padding-left: 16px; position: relative; }
.faq__a li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 1.5px; background: var(--ink-3); }
.faq__a b { color: var(--ink); font-weight: 650; }

.fine { margin-top: 80px; max-width: 820px; color: var(--ink-3); font-size: 13.5px; line-height: 1.5; }
.fine h2 { font-size: 12.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.fine ul { display: grid; gap: 7px; }
.fine b { font-weight: 650; color: var(--ink-2); }
.fine a { color: var(--ink-2); text-underline-offset: 3px; }

/* ── Close ── */
.close { position: relative; padding: 90px 0 70px; overflow: hidden; text-align: center; }
.close__god { width: min(88vw, 520px); margin: 0 auto; }
.close__god img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 98%);
}
.js .close__god[data-reveal] { transform: translate3d(0, 40px, 0) scale(.96); transition-duration: 1.2s, 1.6s; }
.js .close__god[data-reveal].in { transform: none; }
.close__body { margin-top: -34px; position: relative; }
.close .big { margin-top: 0; }
.close .big span { display: block; text-wrap: balance; }
.close .big .red { color: var(--red); }
.close .lead { margin-left: auto; margin-right: auto; }
.close__go { margin-top: 34px; display: grid; justify-items: center; gap: 18px; }
.close__sub { display: flex; align-items: center; gap: 14px; text-align: left; }

/* ── Footer ── */
.foot { border-top: 1px solid var(--line); padding: 34px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--ink-3); font-size: 14px; }
.foot__in { display: grid; gap: 10px; justify-items: center; text-align: center; }
.foot__brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; font-size: 15.5px; }
.foot__brand .shin { width: 22px; height: 22px; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; margin-top: 6px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink-2); text-underline-offset: 4px; }

.foot__links a.foot__lang { text-decoration: none; font-weight: 650; }

/* ── Sign-up sheet ── */
.sheet { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet__shade { position: absolute; inset: 0; background: rgba(8, 8, 8, .72); opacity: 0; transition: opacity .45s ease; }
.sheet__panel {
  position: relative; width: 100%; max-width: 520px;
  height: min(660px, 92vh); height: min(660px, 92svh);
  display: flex; flex-direction: column;
  background: #1b1b1b; border: 1px solid var(--line-2); border-bottom: 0;
  border-radius: 28px 28px 0 0;
  transform: translate3d(0, 104%, 0);
  transition: transform .6s var(--ease);
  outline: none; overflow: hidden;
}
.sheet.is-open .sheet__shade { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 4px; flex: none; }
.sheet__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: opacity .3s ease; }
.sheet__icon svg { width: 22px; height: 22px; }
.sheet__icon[disabled] { opacity: 0; pointer-events: none; }
.sheet__prog { display: flex; gap: 6px; }
.sheet__prog li { width: 30px; height: 3px; border-radius: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.sheet__prog li::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: translate3d(-101%, 0, 0); transition: transform .6s var(--ease); }
.sheet__prog li.on::after { transform: none; }
.sheet__steps { position: relative; flex: 1 1 auto; min-height: 0; }
.step {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 10px 22px 18px; display: flex; flex-direction: column;
  transition: opacity .4s var(--ease), transform .55s var(--ease);
}
.step[hidden] { display: none; }
.step.is-before { opacity: 0; transform: translate3d(-36px, 0, 0); pointer-events: none; }
.step.is-after { opacity: 0; transform: translate3d(36px, 0, 0); pointer-events: none; }
.step__n { font-size: 12.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.step h2 { margin-top: 8px; font-size: 39px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.step h2:focus { outline: none; }
.step__sub { margin-top: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.42; }
.step__sub .shin { display: inline-block; width: 16px; height: 16px; vertical-align: -2px; margin-right: 6px; }
.step__small { margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.step__small--c { text-align: center; color: var(--ink-3); }
.step__go { margin-top: auto; padding-top: 20px; display: grid; gap: 4px; text-align: center; }
.step__go .step__small { margin-top: 8px; }
.step__legal { margin-top: auto; padding-top: 20px; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.step__legal a { color: var(--ink-2); text-underline-offset: 3px; display: inline-block; padding: 10px 4px; }

.choice { display: grid; gap: 10px; margin-top: 22px; }
.choice button {
  display: flex; align-items: center; gap: 13px; text-align: left;
  padding: 14px 16px; min-height: 66px; border-radius: 18px;
  background: var(--bg-3); border: 1.5px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.choice button[aria-checked="true"] { border-color: var(--red); background: #241c1c; }
.choice__dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink-3); flex: none; display: grid; place-items: center; transition: border-color .3s ease; }
.choice__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .4s var(--ease); }
[aria-checked="true"] .choice__dot { border-color: var(--red); }
[aria-checked="true"] .choice__dot::after { transform: none; }
.choice__main { display: grid; flex: 1; }
.choice__main b { font-size: 17px; font-weight: 750; }
.choice__main small { font-size: 13.5px; color: var(--ink-2); }
.choice__price { font-size: 21.5px; font-weight: 850; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.notice { display: flex; gap: 11px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line-2); font-size: 14.5px; line-height: 1.42; color: var(--ink-2); }
.notice svg { width: 24px; height: 24px; flex: none; color: var(--red); }
.notice b { color: var(--ink); font-weight: 700; }
.notice--quiet { align-items: center; }

.gbtn {
  position: relative; margin-top: 26px; width: 100%; min-height: 54px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: #fff; color: #1f1f1f; font-size: 16.5px; font-weight: 650;
  transition: transform .25s var(--ease), opacity .3s ease;
}
.gbtn:active { transform: scale(.97); }
.gbtn svg { width: 20px; height: 20px; }
.gbtn__spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.2px solid #d0d0d0; border-top-color: #1f1f1f; animation: spin .7s linear infinite; }
.gbtn.is-busy svg { display: none; }
.gbtn.is-busy .gbtn__spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.bill { margin-top: 20px; border-radius: 18px; background: var(--bg-3); padding: 4px 16px; }
.bill > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.bill > div:last-child { border-bottom: 0; }
.bill dt { color: var(--ink-2); }
.bill dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

.step--end { text-align: left; }
.step__mark { width: 44px; height: 44px; margin-top: 4px; }
.step--end h2 { margin-top: 14px; font-size: 44.5px; }
.step__then { margin-top: 20px; font-size: 12.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.then { margin-top: 10px; display: grid; gap: 10px; counter-reset: then; color: var(--ink-2); font-size: 15.5px; line-height: 1.4; }
.then li { counter-increment: then; display: grid; grid-template-columns: 26px 1fr; align-items: start; }
.then li::before { content: counter(then); font-weight: 850; color: var(--red); font-size: 17px; }
.then li > * { grid-column: 2; }
.then li { display: block; padding-left: 26px; position: relative; }
.then li::before { position: absolute; left: 0; top: -1px; }
.then b { color: var(--ink); font-weight: 700; }
.step--end .step__go { gap: 6px; }

.sheet__foot { flex: none; text-align: center; font-size: 12px; letter-spacing: .04em; color: var(--ink-3); padding: 8px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

/* ── Toast ── */
.toast {
  position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 90;
  max-width: calc(100vw - 32px); padding: 13px 18px; border-radius: 16px;
  background: var(--ink); color: #161616; font-size: 15px; font-weight: 650; line-height: 1.3; text-align: center;
  transform: translate3d(-50%, 150%, 0); opacity: 0;
  transition: transform .55s var(--ease), opacity .4s ease;
  pointer-events: none;
}
.toast.is-on { transform: translate3d(-50%, 0, 0); opacity: 1; }

/* ───────────── Wider screens ───────────── */
@media (min-width: 700px) {
  :root { --pad: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card--free, .card--rec { grid-column: 1 / -1; }
  .card--free .card__list { columns: 2; column-gap: 36px; }
  .more__list { display: block; columns: 2; column-gap: 16px; }
  .talk { break-inside: avoid; margin-bottom: 16px; }
  .said__grid { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .said__item h2 { font-size: 31px; }
  .sheet { align-items: center; }
  .sheet__panel { border-radius: 28px; border-bottom: 1px solid var(--line-2); height: min(680px, 92vh); transform: translate3d(0, 40px, 0) scale(.97); opacity: 0; transition: transform .55s var(--ease), opacity .4s ease; }
  .sheet.is-open .sheet__panel { opacity: 1; }
  .shots { grid-template-columns: 1fr 1fr; gap: 72px 40px; max-width: 760px; margin-left: auto; margin-right: auto; }
  .phone--s { --pw: min(320px, 38vw); }
}

@media (min-width: 960px) {
  :root { --pad: 56px; --nav-h: 68px; }
  html { font-size: 18px; }
  .nav__brand { font-size: 17.5px; }
  .nav__brand .shin { width: 26px; height: 26px; }
  .nav__cta { height: 40px; padding: 0 20px; font-size: 15.5px; }
  .nav__end { gap: 10px; }
  .nav__lang { font-size: 15px; }

  .hero { max-height: none; min-height: 720px; }
  .hero__god-move { height: min(104%, 540px); --gy: -48%; }
  .slogan__logged { margin-left: .16em; }
  .hero__body { max-width: 1500px; }
  .slogan { margin-top: 0; letter-spacing: -.048em; white-space: nowrap; }
  .slogan__ask, .slogan__logged { display: inline; font-size: clamp(70px, 8.15vw, 132px); letter-spacing: inherit; line-height: .9; }
  .hero__sub { font-size: 18px; margin-top: 20px; max-width: 33em; }
  .box { max-width: 680px; margin-top: 28px; padding: 20px 14px 14px 24px; border-radius: 30px; }
  .box__field { font-size: 20px; height: 2.7em; }
  .box__send { width: 48px; height: 48px; }

  .ask { padding: 0; min-height: 100vh; display: flex; align-items: center; }
  .ask__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr) auto auto auto auto minmax(0, 1fr);
    column-gap: clamp(56px, 8vw, 130px);
    padding-block: 90px;
  }
  .ask__grid > .who { grid-area: 2 / 1; }
  .ask__grid > .q { grid-area: 3 / 1; }
  .ask__grid > .kami { grid-area: 4 / 1; }
  .ask__grid > .what { grid-area: 5 / 1; }
  .ask__grid > .phone { grid-area: 1 / 2 / 7 / 3; align-self: center; margin: 0; }
  /* Every other example swaps sides: the phone on the left, the words on the right. */
  .ask--flip .ask__grid { grid-template-columns: auto minmax(0, 1fr); }
  .ask--flip .ask__grid > .who { grid-area: 2 / 2; }
  .ask--flip .ask__grid > .q { grid-area: 3 / 2; }
  .ask--flip .ask__grid > .kami { grid-area: 4 / 2; }
  .ask--flip .ask__grid > .what { grid-area: 5 / 2; }
  .ask--flip .ask__grid > .phone { grid-area: 1 / 1 / 7 / 2; }
  .q { font-size: clamp(48.5px, 4.95vw, 75.5px); margin-top: 22px; letter-spacing: -.04em; line-height: 1; }
  .q--long { font-size: clamp(33px, 3.2vw, 48.5px); line-height: 1.06; max-width: 17.5em; }
  .kami { margin-top: 40px; }
  .steps { font-size: 14px; }
  .what { margin-top: 40px; }
  .what h3 { font-size: 25px; }
  .phone { --pw: min(360px, 38vh); }

  .logged { padding: 150px 0 80px; }
  .big { font-size: clamp(70px, 7.18vw, 108.5px); }
  .lead { font-size: 20px; margin-top: 28px; }
  .shots {
    --gap: clamp(20px, 3.4vw, 56px);
    --sw: min(232px, calc((100vw - 2 * var(--pad) - 3 * var(--gap)) / 4));
    display: flex; justify-content: center; max-width: none;
    margin-top: 64px; gap: var(--gap);
  }
  .shot { width: var(--sw); flex: none; flex-direction: column; gap: 18px; }
  .shot:nth-child(2) { --d: .08s; }
  .shot:nth-child(3) { --d: .16s; }
  .shot:nth-child(4) { --d: .24s; }
  .phone--s { --pw: var(--sw); }
  .shot figcaption { font-size: 15px; }
  .shot figcaption b { font-size: 17.5px; font-weight: 750; letter-spacing: -.015em; margin-bottom: 3px; }

  .said { padding: 120px 0 60px; }
  .said__grid { gap: 56px; }
  .said__item h2 { font-size: clamp(33px, 3.1vw, 44.5px); }
  .said__item { padding-top: 28px; }

  .plans { padding: 160px 0 60px; scroll-margin-top: -170px; }
  .plans .q { font-size: clamp(70px, 7.18vw, 108.5px); }
  .plans__lead { font-size: 29px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; align-items: stretch; }
  .card { padding: 26px 22px 24px; }
  .card h3 { font-size: 31px; }
  .card header { flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
  .card__tag { text-align: left; }
  .price { font-size: clamp(37px, 3.2vw, 46.5px); margin-top: 22px; }
  .price-l .price { font-size: clamp(30px, 2.6vw, 38px); }
  .price-xl .price { font-size: clamp(23px, 2vw, 30px); }
  .card__for { min-height: 6.4em; }
  .card__go, .card--free .card__go { margin-top: auto; padding-top: 22px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .card .btn { min-height: 52px; }
  .card .btn--red, .card .btn--line { width: 100%; }
  /* Free is a band across the top: what it costs on the left, what is in it on the right. */
  .card--rec { grid-column: auto; }
  .card--free { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); column-gap: clamp(32px, 4vw, 64px); align-items: start; }
  .card--free > * { grid-column: 1; }
  .card--free .card__list { grid-column: 2; grid-row: 1 / span 4; margin-top: 2px; font-size: 15px; column-gap: 44px; }
  .card--free .card__list li:first-child { margin-top: 0; }
  .card--free .card__go { margin-top: 22px; padding-top: 0; }
  .more { padding-top: 70px; }
  .more__title { font-size: clamp(54.5px, 5.24vw, 81.5px); }
  .more__lead { margin-top: 24px; font-size: 18px; }
  .more__list { margin-top: 48px; column-gap: 20px; }
  .talk { padding: 28px; margin-bottom: 20px; }
  .talk__q { font-size: 22px; }
  .talk__a { font-size: 16px; }
  .rest { padding-bottom: 60px; }
  .faq { margin-top: 130px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
  .faq__title { font-size: clamp(54.5px, 5.24vw, 81.5px); position: sticky; top: 110px; }
  .faq__list { margin-top: 0; }
  .faq summary { font-size: 21.5px; padding: 22px 0; }
  .fine { margin-top: 110px; font-size: 13.5px; max-width: none; }
  .fine ul { grid-template-columns: 1fr 1fr; gap: 9px 56px; }

  .close { padding: 140px 0 110px; }
  .close__god { width: min(36vw, 46vh, 480px); }
  .close__body { margin-top: -48px; }
  .close__go { grid-auto-flow: column; justify-content: center; gap: 36px; margin-top: 44px; }
  .foot__in { grid-template-columns: auto 1fr auto auto; justify-items: start; text-align: left; align-items: center; gap: 22px; }
  .foot__links { margin: 0; }
}

@media (min-width: 960px) and (max-width: 1180px) {
  .card__for { min-height: 0; }
}

/* Short phones: keep the first screen whole. */
@media (max-height: 700px) and (max-width: 699px) {
  .slogan__ask { font-size: clamp(73.5px, 22.31vw, 97px); }
  .hero__sub { font-size: 14.5px; margin-top: 10px; }
  .box { margin-top: 14px; padding-top: 13px; }
}
@media (max-height: 600px) and (max-width: 699px) {
  .hero__god { min-height: 120px; }
  .slogan__ask { font-size: 66px; }
  .slogan__logged { font-size: 29px; }
  .hero__sub { font-size: 13.5px; margin-top: 8px; }
  .box { margin-top: 10px; }
  .box__field { height: 4.05em; font-size: 15px; }
}

/* ── Reduced motion: everything is simply there ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .box__caret { animation: none; }
  .slogan__logged { opacity: 1; }
  /* The header still slides out and back, as the browser's own bars do: a small movement that tells
     you where it went. Without this it would vanish and reappear in one frame. */
  .nav { transition-duration: .5s !important; }
  .nav.is-away { transition-duration: .34s !important; }
  .phone video { transition-duration: .22s !important; }   /* a cross-fade between two identical pictures, not movement */
}

/* Narrow phones: the longest question typed into the hero message box stays within its three lines. */
@media (max-width: 374px) {
  /* the header holds the name, the language link and the Get it now button on one line */
  .nav__brand { font-size: 14.5px; gap: 7px; }
  .nav__lang { padding: 0 6px; font-size: 13.5px; }
  .nav__cta { padding: 0 11px; font-size: 13.5px; }
  .box__field { font-size: 14px; }
  .box__text { letter-spacing: -.02em; }
}
@media (max-width: 339px) {
  .box__field { font-size: 13px; }
}

/* ───────────── Japanese ───────────── */
/* The Japanese page (ja/) uses the same styles. Japanese characters are square and far wider than
   Latin letters, so the big headings are smaller; they are not tracked tight; lines are further
   apart; and a heading only breaks between phrases, never inside a word. The font is still the
   device's own: Hiragino Sans on iPhone and Mac. */
.ph { display: inline-block; }   /* one phrase of a heading: a line breaks before or after it, not inside */

:lang(ja) {
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
}
html:lang(ja) { line-height: 1.7; line-break: strict; }
:lang(ja) :is(h1, h2, h3, summary, .plans__lead, .shot figcaption b, .talk__q) {
  letter-spacing: 0; font-feature-settings: "palt" 1, "kern" 1;   /* punctuation and kana sit closer, as in set headlines */
}
:lang(ja) :is(.hero__sub, .what p, .lead, .shot figcaption, .said__item p, .card__for, .plans__rule, .more__lead, .talk__a, .faq__a, .step__sub, .then) { line-height: 1.7; }
:lang(ja) :is(.card__list, .fine, .step__small, .notice, .price__note) { line-height: 1.6; }

:lang(ja) .slogan { letter-spacing: 0; line-height: 1.08; margin-top: -2px; }
:lang(ja) .slogan__ask { font-size: clamp(62px, 19.6vw, 92px); letter-spacing: 0; }
:lang(ja) .slogan__logged { font-size: clamp(34px, 10.6vw, 50px); letter-spacing: 0; line-height: 1.15; margin-top: 4px; }
:lang(ja) .hero__sub { font-size: 14.5px; line-height: 1.6; }
:lang(ja) .box__field { line-height: 1.35; }

:lang(ja) .q { font-size: clamp(24.5px, 7.7vw, 34px); line-height: 1.28; max-width: none; }
:lang(ja) .q__caret { height: 1em; }
:lang(ja) .what h3 { font-size: 19px; line-height: 1.4; }
:lang(ja) .big { font-size: clamp(33px, 10.2vw, 48px); line-height: 1.2; }
:lang(ja) .close .big { font-size: clamp(26px, 8.3vw, 42px); line-height: 1.3; }
:lang(ja) .said__item h2 { font-size: clamp(23px, 7vw, 30px); line-height: 1.3; }
:lang(ja) .shot figcaption b { font-size: 20px; line-height: 1.3; }
:lang(ja) .plans__lead { font-size: 18.5px; line-height: 1.45; }
:lang(ja) .more__title, :lang(ja) .faq__title { font-size: clamp(30px, 9.2vw, 44px); line-height: 1.22; }
:lang(ja) .talk__q { font-size: 17.5px; line-height: 1.5; font-weight: 700; }
:lang(ja) .faq summary { font-size: 17.5px; line-height: 1.35; }
:lang(ja) .card__allow { font-size: 15.5px; }
:lang(ja) .step h2 { font-size: 29px; line-height: 1.2; }
:lang(ja) .step--end h2 { font-size: 27px; }
:lang(ja) .price small { font-size: 15px; }
:lang(ja) .btn--store small { font-size: 11px; }
:lang(ja) .nav__cta { font-size: 14px; }
@media (max-width: 374px) {
  :lang(ja) .nav__cta { font-size: 13px; }
  :lang(ja) .step h2 { font-size: 26px; }
  :lang(ja) .step--end h2 { font-size: 25px; }
}

@media (min-width: 700px) {
  :lang(ja) .said__item h2 { font-size: 23px; }
}
@media (min-width: 960px) {
  :lang(ja) .slogan { line-height: 1.1; }
  :lang(ja) .slogan__ask, :lang(ja) .slogan__logged { font-size: clamp(58px, 6.9vw, 112px); line-height: 1.1; }
  :lang(ja) .hero__sub { font-size: 17px; }
  :lang(ja) .q { font-size: clamp(34px, 3.5vw, 54px); line-height: 1.25; max-width: 13em; }
  :lang(ja) .plans .q { font-size: clamp(54px, 5.4vw, 84px); }
  :lang(ja) .what h3 { font-size: 22px; }
  :lang(ja) .big { font-size: clamp(50px, 5.2vw, 80px); }
  :lang(ja) .close .big { font-size: clamp(40px, 4.2vw, 64px); }
  :lang(ja) .said__item h2 { font-size: clamp(25px, 2.3vw, 33px); }
  :lang(ja) .shot figcaption b { font-size: 17px; }
  :lang(ja) .plans__lead { font-size: 24px; }
  :lang(ja) .more__title, :lang(ja) .faq__title { font-size: clamp(40px, 3.9vw, 60px); }
  :lang(ja) .talk__q { font-size: 19.5px; }
  :lang(ja) .faq summary { font-size: 19px; }
}
@media (max-height: 700px) and (max-width: 699px) {
  :lang(ja) .slogan__ask { font-size: clamp(54px, 17vw, 74px); }
  :lang(ja) .hero__sub { font-size: 13.5px; }
}
@media (max-height: 600px) and (max-width: 699px) {
  :lang(ja) .slogan__ask { font-size: 50px; }
  :lang(ja) .slogan__logged { font-size: 28px; }
  :lang(ja) .hero__sub { font-size: 13px; }
}

/* ───────────── The simplified trial (sites/3-simple): the top of the page ─────────────
   "Ask Kami…" in place of the slogan, and under it four questions shown in turn, each a word at a
   time (site.js, "Hero"). The four sit in one grid cell, so the block is always as tall as the
   tallest and nothing below it moves when one question gives way to the next. */
.hero__title {
  margin-top: -6px;
  font-weight: 900; font-size: clamp(50px, 16.6vw, 78px);
  letter-spacing: -.045em; line-height: .95; white-space: nowrap;
  animation: rise 1s var(--ease) .15s both;
}
.hero__qs { display: grid; margin: 16px auto 0; max-width: 21em; }
.hero__q { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.hero__words {
  font-size: clamp(21px, 6.15vw, 27px); font-weight: 750; line-height: 1.2; letter-spacing: -.02em;
  text-wrap: balance;
}
.hero__pics { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }   /* under the question (the owner, 19 November) */
.hero__pics img { width: 58px; height: 77px; object-fit: cover; border-radius: 11px; box-shadow: 0 0 0 1px var(--line-2); }

/* Without the script: the first question, still. */
html:not(.hq) .hero__q:not(:first-child) { visibility: hidden; }

/* With it: each word rises into place in turn, and the question leaves as one. */
.hq .hero__q { pointer-events: none; }
.hq .hero__q .hw {
  display: inline-block; opacity: 0; transform: translate3d(0, .32em, 0);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.hq .hero__q.is-on:not(.is-leaving) .hw { opacity: 1; transform: none; transition-delay: calc(var(--i) * 85ms); }
.hq .hero__q .hero__pics img { opacity: 0; transform: translate3d(0, 12px, 0) scale(.94); transition: opacity .5s var(--ease), transform .7s var(--ease); }
/* The photos follow the question's last word (--n, the number of words, is set by site.js). */
.hq .hero__q.is-on:not(.is-leaving) .hero__pics img { opacity: 1; transform: none; transition-delay: calc(var(--n, 0) * 85ms + 120ms); }
.hq .hero__q.is-on:not(.is-leaving) .hero__pics img:nth-child(2) { transition-delay: calc(var(--n, 0) * 85ms + 210ms); }
.hq .hero__q.is-on:not(.is-leaving) .hero__pics img:nth-child(3) { transition-delay: calc(var(--n, 0) * 85ms + 300ms); }
.hq .hero__q.is-leaving .hw, .hq .hero__q.is-leaving .hero__pics img {
  opacity: 0; transform: translate3d(0, -.18em, 0); transition: opacity .42s ease, transform .45s ease; transition-delay: 0s;
}

@media (min-width: 960px) {
  .hero__title { font-size: clamp(70px, 8.15vw, 132px); letter-spacing: -.048em; line-height: .9; margin-top: 0; }
  .hero__qs { margin-top: 24px; max-width: 30em; }
  .hero__words { font-size: clamp(28px, 2.5vw, 40px); }
  .hero__pics { gap: 10px; margin-top: 18px; }
  .hero__pics img { width: 74px; height: 98px; border-radius: 13px; }
}
@media (max-height: 700px) and (max-width: 699px) {
  .hero__title { font-size: clamp(48px, 15vw, 64px); }
  .hero__words { font-size: clamp(19px, 5.5vw, 23px); }
  .hero__pics img { width: 48px; height: 64px; border-radius: 9px; }
  .hero__pics { margin-top: 10px; }
}

/* The questions sit halfway between "Ask Kami…" and "…and it is logged." (the owner, 19 November):
   the same gap above them as below, and each question centred in the block, so a short one is
   halfway too. The god takes up what is left of the first screen. */
.hero { --qgap: clamp(40px, 7.5svh, 76px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.hero__qs { margin-top: var(--qgap); }
.hero__q { justify-content: center; }
.logged { padding-top: clamp(40px, 7.5svh, 76px); }
.logged .big { margin-top: 0; }
@media (min-width: 960px) {
  .hero { --qgap: clamp(48px, 8vh, 96px); }
  .logged { padding-top: clamp(48px, 8vh, 96px); }
}
@media (max-height: 700px) and (max-width: 699px) {
  .hero { --qgap: 34px; }
  .logged { padding-top: 34px; }
}

/* The questions keep moving with Reduce Motion on (most of the page goes still): the owner's phone
   has it on, and the questions are the point of the first screen. */
@media (prefers-reduced-motion: reduce) {
  .hq .hero__q .hw, .hq .hero__q .hero__pics img { transition-duration: .5s, .7s !important; transition-delay: 0s !important; }
  .hq .hero__q.is-on:not(.is-leaving) .hw { transition-delay: calc(var(--i) * 85ms) !important; }
  .hq .hero__q.is-on:not(.is-leaving) .hero__pics img { transition-delay: calc(var(--n, 0) * 85ms + 120ms) !important; }
  .hq .hero__q.is-on:not(.is-leaving) .hero__pics img:nth-child(2) { transition-delay: calc(var(--n, 0) * 85ms + 210ms) !important; }
  .hq .hero__q.is-on:not(.is-leaving) .hero__pics img:nth-child(3) { transition-delay: calc(var(--n, 0) * 85ms + 300ms) !important; }
  .hq .hero__q.is-leaving .hw, .hq .hero__q.is-leaving .hero__pics img { transition-duration: .42s, .45s !important; transition-delay: 0s !important; }
}

/* On a phone the four app recordings are a row you swipe sideways (the owner, 19 November), the next
   one showing at the edge. Titles line up across the row, and so do the phones. */
@media (max-width: 699px) {
  .shots {
    --sw: min(calc(100vw - var(--pad) - 56px), 340px);
    display: grid; grid-auto-flow: column; grid-auto-columns: var(--sw);
    grid-template-rows: auto auto; gap: 0 16px;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
    padding: 0 var(--pad) 6px;
    scrollbar-width: none;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shot { display: grid; grid-row: span 2; grid-template-rows: subgrid; gap: 18px; scroll-snap-align: start; }
  .shot figcaption { grid-row: 1; align-self: start; }
  .shot .phone--s { grid-row: 2; --pw: var(--sw); margin: 0; }
  /* The row arrives as one; recordings to the right are never late when swiped to. */
  .js .shots [data-reveal] { opacity: 1; transform: none; }
}

/* 19 November, later (the owner): "Ask Kami" is the name; under it, the line on what the app is;
   then "Ask…" and the questions, left-justified. The top of the page may now run a little past
   the first screen on short phones, rather than squeeze the god. */
.hero { height: auto; min-height: 100vh; min-height: 100svh; max-height: none; }
.hero__sub { margin-top: 12px; }
.hero__asks { width: 100%; max-width: 560px; margin: var(--qgap) auto 0; text-align: left; }
.hero__lbl {
  font-size: clamp(21px, 6.15vw, 27px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em;
  color: var(--red); margin-bottom: 4px;
  animation: rise 1s var(--ease) .55s both;
}
.hero__asks .hero__qs { margin: 0; max-width: none; }
.hero__asks .hero__q { align-items: flex-start; justify-content: flex-start; }
.hero__asks .hero__words { text-wrap: pretty; }
.hero__asks .hero__pics { justify-content: flex-start; }
@media (min-width: 960px) {
  .hero__asks { max-width: 780px; }
  .hero__lbl { font-size: clamp(28px, 2.5vw, 40px); margin-bottom: 6px; }
}
@media (max-height: 700px) and (max-width: 699px) {
  .hero__lbl { font-size: clamp(19px, 5.5vw, 23px); }
}

/* Swiping the four app recordings: each one stops in the middle of the screen, one at a time. */
@media (max-width: 699px) {
  .shots { padding-inline: calc((100vw - var(--sw)) / 2); scroll-padding-inline: 0; }
  .shot { scroll-snap-align: center; scroll-snap-stop: always; }
}

/* 19 November, later: "Ask Kami…" again, no red "Ask…"; under the line on what the app is,
   "Available on iPhone.", a quiet link to the App Store. */
.hero__avail { margin-top: 10px; font-size: 15.5px; line-height: 1.42; animation: rise 1s var(--ease) .5s both; }
.hero__avail a {
  color: var(--ink); font-weight: 650; text-decoration: underline;
  text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
@media (hover: hover) { .hero__avail a:hover { color: var(--red); } }
@media (min-width: 960px) { .hero__avail { font-size: 18px; margin-top: 12px; } }
@media (max-height: 700px) and (max-width: 699px) { .hero__avail { font-size: 14px; margin-top: 8px; } }

/* 19 November, later: "Ask" in red in the title; the App Store line in red, not underlined. */
.hero__ask-red { color: var(--red); }
.hero__avail a { color: var(--red); text-decoration: none; font-weight: 700; }
@media (hover: hover) { .hero__avail a:hover { color: var(--ink); } }

/* "What does it cost?": no "The answer" label; the second line runs as wide as it can, with air above it. */
.plans__answer { margin-top: 24px; }
.plans__lead { max-width: none; text-wrap: pretty; }
.plans__lead2 { display: block; margin-top: .65em; }

/* "What else can I ask Kami?": the photo sent with a question, as an attachment under it. */
.talk__pic { display: block; width: min(100%, 260px); height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 14px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2); }
@media (min-width: 960px) { .talk__pic { width: min(100%, 300px); } }

/* "Ask" in red wherever the name is played on, as in the title. */
.ask-red { color: var(--red); }

/* Each question sits in the middle of its space, between the App Store line and "…and it is logged.",
   whether it has photos or not (the owner, 19 November). Still left-justified. */
.hero__asks .hero__q { justify-content: center; }

/* The label photo is upright, so its card shows it upright. */
.talk__pic--tall { width: min(100%, 180px); aspect-ratio: 3 / 4; }
@media (min-width: 960px) { .talk__pic--tall { width: min(100%, 200px); } }

/* 19 November, later: the questions under the title are centred again (the owner). */
.hero__asks { text-align: center; }
.hero__asks .hero__q { align-items: center; }
.hero__asks .hero__words { text-wrap: balance; }
.hero__asks .hero__pics { justify-content: center; }
/* The closing line: "Ask" red as in the title (not a line of its own), "done" in italics. */
.close .big .ask-red { display: inline; }
.close .big i { font-style: italic; }

/* Japanese page: the title is 「Ask Kamiと…」, a character longer than the English, so it is a little
   smaller below desktop width, to stay on one line. */
@media (max-width: 959px) {
  :lang(ja) .hero__title { font-size: clamp(42px, 14.3vw, 68px); }
}
@media (max-height: 700px) and (max-width: 699px) {
  :lang(ja) .hero__title { font-size: clamp(40px, 13vw, 56px); }
}
