/* ============ Bonito Drop — product page ============ */
/* Inherits tokens, nav, footer, type and the hero entrance from /styles.css,
   and the motion layer from /product-motion.css (loaded after this file).
   The base (type, hero, facts row, cards, spec rows, FAQ, form) is the Bonito
   PDF page's, so fix those in all the product pages together.

   One accent, the teal of the app icon (--bd): kickers, icons, the focus ring,
   the one filled button and the light that travels between devices. The app
   is shown by its own screens, drawn here from its design (the paper card with
   a folded corner, the big percentage) and its own words, without device
   frames: Apple's marketing guidelines do not allow simulated Apple hardware. */

:root {
  --bd: #2fd6b8;               /* accent text and icons on --bg */
  --bd-strong: #08766a;        /* button fill: white text 5.4:1 */
  --bd-hover: #06665c;
  --bd-soft: rgba(47, 214, 184, .14);
  --bd-line: rgba(47, 214, 184, .5);
  --bd-glow: rgba(25, 194, 164, .55);
  --bd-app: #0b7d6f;           /* the app's green theme, behind its paper cards */
  --bd-app-2: #096b5f;
  --bd-paper: #ffffff;
  --bd-paper-ink: #0e2420;
  --bd-paper-muted: #5a6f6a;
  --pm-accent: var(--bd);      /* /product-motion.css */
  --r-frame: 18px;
}

.product-page { overflow-x: hidden; }
.product-page :focus-visible { outline-color: var(--bd); }

/* ---------- Type on this page ---------- */
.product-page .kicker {
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .009em;
  color: var(--bd);
  margin-bottom: 18px;
  text-align: center;
}
.product-page .stmt {
  font-size: clamp(1.9rem, 1.1rem + 3vw, 3.4rem);
  line-height: 1.1;
  max-width: 44ch;
  margin-inline: auto;
  text-align: center;
}
html[lang="ja"] .product-page .stmt { max-width: 22em; line-height: 1.26; }
.product-page .lead {
  max-width: 60ch;
  margin-inline: auto;
  text-align: center;
}
html[lang="ja"] .product-page .lead { max-width: 34em; }
html[lang="ko"] .product-page .stmt { max-width: 24em; line-height: 1.2; letter-spacing: 0; }
html[lang="ko"] .product-page .lead { max-width: 36em; letter-spacing: 0; }
html[lang="ko"] :is(.pr-sub, .pr-lede, .pr-card h3, .pr-card p, .pr-faq-q, .spec-label, .bd-points li, .bd-tool-name, .bd-tool-desc, .bd-tool-group h3, .bd-avail dd, .bd-hero-price) { letter-spacing: 0; }
html[lang="ko"] :is(.pr-sub, .pr-lede, .stmt, .lead, .pr-card h3, .pr-card p, .bd-tool-desc, .pr-faq-q, .bd-plan-eff, .bd-plan-vs dt, .pr-plan-list li, .bd-hero-price) { word-break: keep-all; }
html[lang="ko"] .pr-lede { max-width: 30em; line-height: 1.75; }
/* Japanese: short items and body text wrap at phrase boundaries (Chrome/Edge;
   other browsers keep the default), like the headings in /styles.css */
html[lang="ja"] :is(.bd-status, .bd-hero-price, .bd-fact, .bd-points li, .bd-tool-name, .bd-tool-desc, .bd-rd-find, .pr-card h3, .pr-card p, .bd-avail dd, .bd-avail-note, .spec-value p, .pr-faq-q, .pr-faq-a-inner, .pr-hint, .pr-form-note, .pm-stat-label, .footer-fine, .bd-cmp th, .bd-cmp td, .bd-cmp-more, .bd-cmp-note, .bd-plan-eff, .bd-plan-trial, .bd-plan-vs dt, .bd-plan-vs dd, .pr-plan-list li, .bd-plan-terms, .bd-pr-usd) {
  word-break: auto-phrase;
  line-break: strict;
}

/* ---------- Hero: the ember photograph, copy on the left ---------- */
.pr-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 76% 46%, rgba(25, 194, 164, .09), transparent 62%),
    linear-gradient(180deg, #02060d 0%, #050a18 60%, #02060d 100%);
}
.pr-hero-media { position: absolute; inset: 0; }
.pr-hero-img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 70% 50%;
  opacity: .9;
}
.pr-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 13, .94) 0%, rgba(2, 6, 13, .72) 36%, rgba(2, 6, 13, .18) 66%, rgba(2, 6, 13, .3) 100%),
    linear-gradient(180deg, rgba(2, 6, 13, .85) 0%, transparent 24%, transparent 66%, var(--bg) 100%);
}
.pr-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 13svh max(24px, env(safe-area-inset-left)) 10svh;
  width: 100%;
}
.pr-appicon {
  display: block;
  width: clamp(84px, 9vw, 112px);
  height: auto;
  margin-bottom: 26px;
  /* The icon file is the squircle itself, cropped to its edges with
     transparent corners (macOS icon shape), so the shadow follows its alpha
     instead of a rounded box: no dark plate around it. */
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .55)) drop-shadow(0 0 30px rgba(25, 194, 164, .3));
}
/* the same icon in the local navigation: its own corners, no extra rounding
   (/product-motion.css rounds it for the edge-to-edge icons of the other pages) */
.pm-localnav .pm-ln-brand img { border-radius: 0; }
.pr-eyebrow {
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--bd);
  margin-bottom: 14px;
}
.pr-title {
  font-size: clamp(2.6rem, 7.4vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.03;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 0%, #e2f2ee 58%, #93b8b0 132%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pr-sub {
  margin-top: 14px;
  max-width: 22em;
  font-size: clamp(1.3rem, 2.6vw, 1.95rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}
/* Japanese: phrases are kept whole with .nowrap in the dictionary; 24em keeps
   the line clear of the paper in the photograph */
html[lang="ja"] .pr-sub { max-width: 24em; letter-spacing: 0; line-height: 1.5; word-break: auto-phrase; }
/* one sentence per unit: when both do not fit on a line, the second starts a
   new one; a sentence wider than the screen still wraps inside itself */
.pr-sub .bd-sent { display: inline-block; }
.pr-lede {
  margin-top: 22px;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  letter-spacing: -.01em;
  color: var(--muted);
  text-wrap: pretty;
}
html[lang="ja"] .pr-lede { max-width: 30em; letter-spacing: 0; line-height: 1.85; word-break: auto-phrase; }
.pr-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.bd-hero-price {
  margin-top: 18px;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}
html[lang="ja"] .bd-hero-price { line-height: 1.8; }
/* "in other countries, the store sets the price": a line of its own under the US prices */
.bd-hero-local { display: block; }

/* Where the app is available: a status line beside the store badges, not a control. */
.bd-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 20px 8px 16px;
  border-radius: 24px;
  border: 1px solid var(--hairline-strong);
  background: rgba(2, 6, 13, .5);
  font-size: clamp(.92rem, .88rem + .25vw, 1.02rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.005em;
  color: var(--ink);
}
html[lang="ja"] .bd-status, html[lang="ko"] .bd-status { letter-spacing: 0; }
.bd-status-dot {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bd);
  box-shadow: 0 0 0 4px var(--bd-soft), 0 0 12px rgba(47, 214, 184, .6);
}

/* the one filled button: the launch notice */
.bd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  background: var(--bd-strong);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 30px -14px rgba(25, 194, 164, .7);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.bd-btn:hover { background: var(--bd-hover); }
.bd-btn:active { transform: translateY(1px); }
.bd-btn:focus-visible { outline: 2px solid var(--bd); outline-offset: 3px; }
.bd-btn--sm { min-height: 36px; padding: 0 16px; font-size: .9rem; box-shadow: none; white-space: nowrap; }
@media (pointer: coarse) { .bd-btn--sm { min-height: 40px; } }
html[lang="ja"] .bd-btn, html[lang="ko"] .bd-btn { letter-spacing: 0; }

/* the local navigation's call to action replaces the store badge of the other pages */
.pm-ln-cta.bd-btn { display: inline-flex; }

/* ---------- Facts row under the hero ---------- */
.bd-facts { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.bd-facts-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 30px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.bd-fact {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.bd-fact svg { flex-shrink: 0; color: var(--bd); }


/* ---------- Line icons: one per card, in the accent ---------- */
.card-mark { width: 24px; height: 24px; display: block; margin-bottom: 14px; color: var(--bd); }


/* ---------- Card lists (two columns of hairline rows) ---------- */
.pr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(32px, 5vw, 72px);
  margin-top: clamp(48px, 6vw, 72px);
}
.pr-card { border-top: 1px solid var(--hairline-strong); padding: 24px 0 30px; }
.pr-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.3;
  margin-bottom: 10px;
  text-wrap: balance;
}
html[lang="ja"] .pr-card h3 { letter-spacing: 0; line-height: 1.45; }
.pr-card p { font-size: 1rem; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
html[lang="ja"] .pr-card p { line-height: 1.85; }
.bd-safe .pr-grid { margin-top: 0; }

/* ---------- Requirements (hairline rows) ---------- */
.spec-list { margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--hairline-strong); }
.spec-row {
  display: grid;
  grid-template-columns: 24% 1fr;
  column-gap: clamp(24px, 3vw, 48px);
  padding: 30px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: start;
}
.spec-row > * { min-width: 0; }
.spec-label { font-size: 1.05rem; font-weight: 600; line-height: 1.4; color: var(--ink); margin: 0; }
.spec-value { max-width: 64ch; }
.spec-value p { font-size: 1rem; line-height: 1.55; color: var(--muted); margin: 0 0 6px; overflow-wrap: anywhere; }
.spec-value p:first-child { color: var(--ink); font-weight: 500; margin-bottom: 10px; }
.spec-value p:last-child { margin-bottom: 0; }
html[lang="ja"] .spec-value p { line-height: 1.8; }

/* ---------- FAQ ---------- */
.pr-faq-list { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--hairline-strong); max-width: 64ch; margin-inline: auto; }
html[lang="ja"] .pr-faq-list { max-width: 38em; }
html[lang="ko"] .pr-faq-list { max-width: 40em; }
.pr-faq-item { border-bottom: 1px solid var(--hairline); }
.pr-faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}
html[lang="ja"] .pr-faq-q { letter-spacing: 0; line-height: 1.6; }
.pr-faq-q:hover { color: #fff; }
.pr-faq-mark { flex-shrink: 0; width: 20px; height: 20px; position: relative; margin-top: .3em; }
.pr-faq-mark::before,
.pr-faq-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.pr-faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.pr-faq-item.open .pr-faq-mark::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.pr-faq-a { overflow: hidden; max-height: 0; transition: max-height var(--dur-base) var(--ease-out); }
.pr-faq-a-inner { padding: 0 40px 24px 0; font-size: 1rem; line-height: 1.65; color: var(--muted); }
html[lang="ja"] .pr-faq-a-inner { line-height: 1.9; }

/* ---------- Contact form ---------- */
.pr-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  max-width: 760px;
}
.pr-field { display: flex; flex-direction: column; }
.pr-field--full { grid-column: 1 / -1; }
.pr-field label { font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.pr-optional { font-weight: 400; color: var(--muted); }
.pr-hint { margin-top: 8px; font-size: .86rem; line-height: 1.55; color: var(--muted); }
html[lang="ja"] .pr-hint { line-height: 1.75; }
.pr-field input,
.pr-field select,
.pr-field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: rgba(244, 241, 234, .03);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-control);
  padding: 13px 14px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}
.pr-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}
.pr-field select option { background: #061020; color: var(--ink); }
.pr-field textarea { resize: vertical; min-height: 128px; line-height: 1.6; }
.pr-field input:focus,
.pr-field select:focus,
.pr-field textarea:focus {
  outline: none;
  border-color: var(--bd);
  box-shadow: 0 0 0 3px var(--bd-soft);
}
.pr-field.invalid input,
.pr-field.invalid textarea { border-color: rgba(255, 122, 40, .8); }
.pr-error { display: none; margin-top: 8px; font-size: .86rem; color: #ffab7a; }
.pr-field.invalid .pr-error { display: block; }
.pr-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.pr-form-note { font-size: .88rem; line-height: 1.6; color: var(--muted); max-width: 48ch; }
html[lang="ja"] .pr-form-note { max-width: 30em; line-height: 1.8; }
html[lang="ko"] .pr-form-note { max-width: 32em; }
.pr-form-note a { color: var(--ink); }
/* Turnstile injects its widget after load into an empty div; hold its 65px
   (line-height: 0 removes the descender gap that varies by language). Same
   rule as the other product pages. */
.cf-turnstile { min-height: 65px; line-height: 0; }
.pr-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
  background: var(--bd-strong);
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.pr-submit:hover { background: var(--bd-hover); }
.pr-submit:active { transform: translateY(1px); }
.pr-submit[disabled] { opacity: .55; cursor: default; }
.pr-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pr-form-sent {
  grid-column: 1 / -1;
  border: 1px solid var(--bd-line);
  background: var(--bd-soft);
  border-radius: var(--r-control);
  padding: 16px 18px;
  font-size: .98rem;
  line-height: 1.6;
  color: var(--ink);
}
.pr-form-sent.error { border-color: rgba(255, 138, 76, .5); background: rgba(255, 122, 40, .12); color: #ffcda8; }
.pr-contact-alt { margin-top: 32px; font-size: 1rem; color: var(--muted); text-align: center; }
.pr-contact-alt a { color: var(--ink); }

/* ---------- Footer additions ---------- */
.pr-trademark {
  margin: 14px auto 0;
  max-width: 62ch;
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--muted-2);
}
html[lang="ja"] .pr-trademark, html[lang="ko"] .pr-trademark { max-width: 40em; }
.footer-fine a { color: var(--muted); }
.footer-fine a:hover { color: var(--ink); }

/* the hero has seven rising lines; /product-motion.css times the first six */
html.pm body.loaded .pr-hero .rise:nth-child(7) { animation-delay: 1.22s; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  /* Phones and small tablets: the copy runs the full width, so the photograph
     becomes a band across the top, framed on the pages, and fades out before
     the copy starts; every text line then sits on the plain dark ground. */
  .pr-hero { align-items: flex-start; background: var(--bg); }
  .pr-hero-media { bottom: auto; height: min(44svh, 420px); overflow: hidden; }
  .pr-hero-img { object-position: 78% 45%; opacity: 1; }
  .pr-hero-shade {
    background: linear-gradient(180deg, rgba(2, 6, 13, .55) 0%, rgba(2, 6, 13, .05) 26%, rgba(2, 6, 13, .1) 58%, rgba(2, 6, 13, .82) 86%, var(--bg) 100%);
  }
  .pr-hero-inner { padding-top: calc(min(44svh, 420px) - 56px); }
  .pr-grid { grid-template-columns: 1fr; gap: 0; }
  .pr-card { padding: 22px 0 24px; }
  .spec-row { grid-template-columns: 1fr; row-gap: 12px; padding: 26px 0; }
  .spec-value { max-width: 100%; }
  .pr-form { grid-template-columns: 1fr; }
  .pr-faq-a-inner { padding-right: 0; }
}
@media (max-width: 480px) {
  .pr-cta { flex-direction: column; align-items: stretch; }
  .pr-cta .bd-btn { width: 100%; }
  .bd-status { border-radius: 16px; }
  .bd-fact { white-space: normal; }
  .pr-form-foot { align-items: stretch; }
  .pr-form-foot .pr-submit { width: 100%; }
  .bd-langs-label { flex-basis: 100%; margin: 0 0 2px; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .pr-faq-a { transition: none !important; }
  .pr-submit, .bd-btn, .bd-lang, #mainShot { transition: none !important; }
}


/* =====================================================================
   Bonito Drop: the page's own sections
   ===================================================================== */

/* ---------- Section rhythm ---------- */
.bd-how, .bd-route, .bd-pair, .bd-wait, .bd-who, .bd-work, .pr-specs, .pr-faq, .pr-contact { padding: var(--section-y) 0; }
.bd-how { padding-bottom: 0; }
.bd-pair, .bd-work, .pr-contact { background: var(--bg-2); }
.bd-safe { padding: 0 0 var(--section-y); }
.bd-who { padding-bottom: clamp(56px, 7vw, 96px); }
.pr-contact { padding-bottom: clamp(72px, 10vw, 128px); }
.product-page .stmt.stmt--mid { font-size: clamp(1.7rem, 1rem + 2.4vw, 2.8rem); }
@media (min-width: 861px) { .pr-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Hero additions ---------- */
.bd-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 6px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease-out);
}
.bd-ghost::after { content: "→"; margin-left: 8px; color: var(--bd); transition: transform var(--dur-base) var(--ease-out); }
.bd-ghost:hover { color: #fff; }
.bd-ghost:hover::after { transform: translateX(3px); }
.pr-hero .bd-status { margin-top: 26px; min-height: 40px; padding: 6px 16px 6px 13px; font-size: .9rem; font-weight: 500; color: var(--muted); }

/* ---------- The app's own look: green ground, white paper with a folded corner ---------- */
.bd-app {
  position: relative;
  background: linear-gradient(180deg, var(--bd-app) 0%, var(--bd-app-2) 100%);
  border-radius: 1.6em;
  padding: 1.1em 1em 1.2em;
  color: var(--bd-paper-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
  text-align: left;
  overflow: hidden;
}
.bd-paper {
  position: relative;
  background: var(--bd-paper);
  border-radius: .9em;
  padding: .95em 1.1em;
  margin-top: .7em;
  clip-path: polygon(0 0, calc(100% - 1.4em) 0, 100% 1.4em, 100% 100%, 0 100%);
}
.bd-paper::after {   /* the folded corner */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1.4em;
  height: 1.4em;
  background: linear-gradient(225deg, transparent 50%, #bfece2 50%);
  border-bottom-left-radius: .25em;
}
.bd-paper-head { font-size: .78em; font-weight: 700; color: var(--bd-paper-ink); margin-bottom: .55em; }
.bd-file-name { font-size: 1.12em; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; color: var(--bd-paper-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-file-meta { font-size: .76em; color: var(--bd-paper-muted); margin-top: .2em; }
.bd-tabs { display: flex; gap: .35em; font-size: .7em; font-weight: 600; color: rgba(255, 255, 255, .78); }
.bd-tabs span { padding: .45em .7em; border-radius: 999px; white-space: nowrap; }
.bd-tabs .is-on { background: rgba(255, 255, 255, .18); color: #fff; }
.bd-app-title { font-size: 1.5em; font-weight: 700; color: #fff; letter-spacing: -.01em; margin-top: .25em; }

/* ---------- How it works: the PC sends, the iPhone receives ---------- */
.bd-story { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.bd-story-pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 4vh, 48px);
  padding: 0 var(--gutter) clamp(64px, 8vw, 112px);
}
.bd-stage {
  container-type: inline-size;
  position: relative;
  width: min(100%, 1000px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(56px, .62fr) minmax(0, 1fr);
  align-items: end;
}
.bd-dev { font-size: clamp(9px, 1.62cqw, 15.5px); min-width: 0; }
.bd-dev-label { display: flex; align-items: center; gap: .5em; margin: 0 0 .9em .4em; font-size: .92em; font-weight: 600; color: var(--muted); }
.bd-dev-label svg { width: 1.3em; height: 1.3em; color: var(--bd); }
.bd-dev--from .bd-app { min-height: 25em; }
.bd-app--phone { min-height: 25em; border-radius: 2.2em; padding-top: 1.3em; }
.bd-file { padding-bottom: 2.6em; }
.bd-dests { padding-bottom: .4em; }
.bd-dest { display: flex; align-items: center; gap: .6em; padding: .55em 0; border-top: 1px solid #e3ece9; font-size: .9em; font-weight: 600; color: var(--bd-paper-ink); }
.bd-paper-head + .bd-dest { border-top: 0; }
.bd-dest svg { width: 1.2em; height: 1.2em; color: var(--bd-paper-muted); flex-shrink: 0; }
.bd-dest span { flex: 1; }
.bd-check { width: 1.35em; height: 1.35em; border-radius: 50%; border: 1.5px solid #9fb3ae; position: relative; flex-shrink: 0; transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.bd-check::after { content: ""; position: absolute; left: .42em; top: .2em; width: .32em; height: .62em; border: solid #fff; border-width: 0 .14em .14em 0; transform: rotate(45deg); opacity: 0; }
.bd-dest--phone .bd-check { background: var(--bd-app); border-color: var(--bd-app); }
.bd-dest--phone .bd-check::after { opacity: 1; }
.bd-sendbtn {
  margin-top: 1em;
  min-height: 2.9em;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: .9em;
  font-weight: 700;
  background: #fff;
  color: var(--bd-app);
}
.bd-sendbtn > span { grid-area: 1 / 1; transition: opacity var(--dur-base) var(--ease-out); }
.bd-sendbtn-idle { opacity: 0; }

.bd-arc { position: relative; width: 100%; height: 9em; align-self: center; font-size: clamp(9px, 1.62cqw, 15.5px); }
.bd-arc svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bd-arc-path { stroke: rgba(47, 214, 184, .22); stroke-width: 1.5; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; }
.bd-arc-lit { stroke: var(--bd); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px var(--bd-glow)); }
.bd-arc-drop { position: absolute; left: 2.5%; top: 87.5%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #b9fff0; box-shadow: 0 0 10px 2px var(--bd), 0 0 28px 6px var(--bd-glow); opacity: 0; }

.bd-banner {
  display: flex;
  align-items: center;
  gap: .7em;
  padding: .7em .8em;
  border-radius: 1.1em;
  background: rgba(245, 248, 247, .94);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45);
  font-size: .82em;
  line-height: 1.3;
  color: #13201d;
}
.bd-banner img { width: 2.4em; height: 2.4em; flex-shrink: 0; }
.bd-banner p { min-width: 0; }
.bd-banner b { display: block; font-weight: 700; }
.bd-banner span { display: block; color: #3b4a46; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-offer { margin-top: .6em; }
.bd-offer-btns { display: flex; justify-content: flex-end; gap: .5em; margin-top: 1.1em; font-size: .82em; }
.bd-pill { display: inline-flex; align-items: center; min-height: 2.3em; padding: 0 1em; border-radius: 999px; border: 1.5px solid #c5d3cf; font-weight: 700; color: var(--bd-paper-ink); white-space: nowrap; }
.bd-pill--fill { background: var(--bd-app); border-color: var(--bd-app); color: #fff; }
.bd-pct { display: flex; align-items: flex-end; gap: .1em; margin-top: .3em; font-size: 3.4em; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--bd-paper-ink); font-variant-numeric: tabular-nums; }
.bd-pct small { font-size: .42em; font-weight: 700; margin-bottom: .14em; }
.bd-pct-ok { margin-left: auto; width: .5em; height: .5em; border-radius: 50%; background: var(--bd-app); position: relative; align-self: center; }
.bd-pct-ok::after { content: ""; position: absolute; left: .18em; top: .09em; width: .1em; height: .22em; border: solid #fff; border-width: 0 .045em .045em 0; transform: rotate(45deg); }
.bd-where { margin-top: .8em; font-size: .74em; line-height: 1.45; color: rgba(255, 255, 255, .86); }
/* without motion the receiver shows the finished transfer: no buttons */
.bd-offer-btns { display: none; }

.bd-steps {
  list-style: none;
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  counter-reset: none;
}
.bd-step { display: flex; gap: 12px; font-size: .95rem; line-height: 1.55; color: var(--muted); border-top: 1px solid var(--hairline-strong); padding-top: 16px; transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.bd-step b { color: var(--ink); font-weight: 600; }
.bd-step-n { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; color: var(--bd); border: 1px solid var(--bd-line); font-variant-numeric: tabular-nums; }
html[lang="ja"] .bd-step { line-height: 1.8; word-break: auto-phrase; }
html[lang="ko"] .bd-step { word-break: keep-all; }

/* with motion: the scene is pinned and plays with the scroll (drop-motion.js sets .s1 to .s3 and the numbers) */
html.pm .bd-story { height: 330vh; }
html.pm .bd-story-pin { position: sticky; top: 0; height: 100vh; min-height: 560px; padding-bottom: 0; }
html.pm .bd-offer-btns { display: flex; }
html.pm .bd-dest--phone .bd-check { background: transparent; border-color: #9fb3ae; }
html.pm .bd-dest--phone .bd-check::after { opacity: 0; }
html.pm .bd-story.s1 .bd-dest--phone .bd-check { background: var(--bd-app); border-color: var(--bd-app); }
html.pm .bd-story.s1 .bd-dest--phone .bd-check::after { opacity: 1; }
html.pm .bd-sendbtn { background: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .8); transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
html.pm .bd-sendbtn-idle { opacity: 1; }
html.pm .bd-sendbtn-go { opacity: 0; }
html.pm .bd-story.s1 .bd-sendbtn { background: #fff; color: var(--bd-app); }
html.pm .bd-story.s1 .bd-sendbtn-idle { opacity: 0; }
html.pm .bd-story.s1 .bd-sendbtn-go { opacity: 1; }
html.pm .bd-arc-lit { stroke-dashoffset: 1; }
html.pm .bd-banner { opacity: 0; transform: translateY(-120%); transition: opacity .45s var(--ease-out), transform .55s var(--ease-out); }
html.pm .bd-story.s2 .bd-banner { opacity: 1; transform: none; }
html.pm .bd-offer { opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
html.pm .bd-story.s2 .bd-offer { opacity: 1; transform: none; }
html.pm .bd-pct, html.pm .bd-where { display: none; }
html.pm .bd-story.s3 .bd-offer-btns { display: none; }
html.pm .bd-story.s3 .bd-pct { display: flex; }
html.pm .bd-story.s3 .bd-where { display: block; }
html.pm .bd-pct-ok { opacity: 0; transform: scale(.4); transition: opacity .3s var(--ease-out), transform .4s var(--ease-out); }
html.pm .bd-story.is-done .bd-pct-ok { opacity: 1; transform: none; }
html.pm .bd-step { color: rgba(147, 163, 186, .5); }
html.pm .bd-step b { color: rgba(244, 241, 234, .55); }
html.pm .bd-step.is-active { color: var(--muted); border-color: var(--bd); }
html.pm .bd-step.is-active b { color: var(--ink); }
html.pm .bd-step.is-active .bd-step-n { background: var(--bd); color: #04201b; border-color: var(--bd); }

/* ---------- Every direction: pick two devices ---------- */
.bd-picker {
  margin: clamp(40px, 5vw, 64px) auto 0;
  max-width: 920px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas: "from view to" "say say say";
  gap: 28px clamp(16px, 3vw, 40px);
  align-items: center;
}
.bd-pick:first-child { grid-area: from; }
.bd-pick:nth-child(3) { grid-area: to; }
.bd-route-view { grid-area: view; }
.bd-route-say { grid-area: say; }
.bd-pick { display: flex; flex-direction: column; gap: 8px; }
.bd-pick-label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
html[lang="ja"] .bd-pick-label, html[lang="ko"] .bd-pick-label { letter-spacing: 0; }
.bd-chip {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--hairline-strong);
  background: rgba(244, 241, 234, .02);
  color: var(--muted);
  font-family: var(--font);
  font-size: .98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.bd-chip:hover { color: var(--ink); border-color: rgba(244, 241, 234, .3); }
.bd-chip[aria-pressed="true"] { color: var(--ink); border-color: var(--bd); background: var(--bd-soft); }
.bd-chip:focus-visible { outline: 2px solid var(--bd); outline-offset: 2px; }
.bd-route-view { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: end; gap: 10px; }
.bd-node { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--ink); text-align: center; }
.bd-node svg { width: 54px; height: 54px; color: var(--bd); padding: 12px; border-radius: 16px; background: rgba(47, 214, 184, .08); box-shadow: 0 0 0 1px var(--bd-line) inset; }
.bd-route-line { width: 100%; height: 56px; margin-bottom: 34px; overflow: visible; }
.bd-route-line path { fill: none; stroke: var(--bd); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 5px var(--bd-glow)); }
.bd-picker.is-go .bd-route-line path { animation: bd-draw .9s var(--ease-out) both; }
@keyframes bd-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.bd-route-say { max-width: 46ch; margin: 0 auto; text-align: center; font-size: 1.08rem; line-height: 1.6; color: var(--ink); min-height: 3.2em; }
html[lang="ja"] .bd-route-say { max-width: 30em; line-height: 1.85; word-break: auto-phrase; }
html[lang="ko"] .bd-route-say { max-width: 32em; word-break: keep-all; }

/* ---------- Register once / it waits: copy beside a drawing ---------- */
.bd-pair-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.bd-pair-grid--flip .bd-pair-copy { order: 2; }
.bd-pair-copy .kicker, .bd-pair-copy .lead { text-align: left; margin-inline: 0; }
.bd-pair-copy .stmt { margin-bottom: 18px; }
.bd-points { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--hairline); }
.bd-points li { position: relative; padding: 14px 0 14px 26px; border-bottom: 1px solid var(--hairline); font-size: 1rem; line-height: 1.55; color: var(--muted); }
.bd-points li::before { content: ""; position: absolute; left: 2px; top: 1.32em; width: 8px; height: 8px; border-radius: 50%; background: var(--bd); box-shadow: 0 0 10px var(--bd-glow); }
html[lang="ja"] .bd-points li { line-height: 1.8; word-break: auto-phrase; }
.bd-pair-art { position: relative; display: grid; justify-items: center; gap: 26px; }
.bd-qr-card {
  position: relative;
  width: min(300px, 70vw);
  aspect-ratio: 1;
  padding: 22px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 40px 90px -40px rgba(25, 194, 164, .55), 0 0 0 1px rgba(255, 255, 255, .1);
  overflow: hidden;
}
.bd-qr { width: 100%; height: 100%; display: block; }
.bd-qr rect { fill: #0e2420; }
.bd-qr-scan { position: absolute; left: 0; right: 0; top: 0; height: 26%; background: linear-gradient(180deg, transparent, rgba(47, 214, 184, .38) 85%, rgba(47, 214, 184, .9)); opacity: 0; pointer-events: none; }
.bd-digits { position: relative; display: grid; gap: 10px; justify-items: center; }
.bd-digits p { display: flex; gap: 8px; }
.bd-digits span { width: 44px; height: 54px; display: grid; place-items: center; border-radius: 10px; background: rgba(244, 241, 234, .05); box-shadow: 0 0 0 1px var(--hairline-strong) inset; font-size: 1.6rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.bd-digits-ok { position: absolute; right: -44px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--bd); }
.bd-digits-ok::after { content: ""; position: absolute; left: 10px; top: 6px; width: 6px; height: 12px; border: solid #04201b; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
html.pm .bd-pair-art .bd-qr rect { opacity: 0; transition: opacity .25s var(--ease-out); }
html.pm .bd-pair-art.is-qr .bd-qr rect { opacity: 1; }
html.pm .bd-pair-art.is-scan .bd-qr-scan { animation: bd-scan 1.3s var(--ease-out) 1 both; }
@keyframes bd-scan { 0% { opacity: 0; transform: translateY(-100%); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(390%); } }
html.pm .bd-pair-art .bd-digits span { opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease-out), transform .4s var(--ease-out); }
html.pm .bd-pair-art.is-digits .bd-digits span { opacity: 1; transform: none; }
html.pm .bd-pair-art .bd-digits-ok { opacity: 0; transform: scale(.4); transition: opacity .3s var(--ease-out), transform .45s var(--ease-out); }
html.pm .bd-pair-art.is-ok .bd-digits-ok { opacity: 1; transform: none; }
html.pm .bd-pair-art.is-ok .bd-digits span { box-shadow: 0 0 0 1px var(--bd-line) inset; color: #fff; }

.bd-queue { display: grid; justify-items: center; }
.bd-queue .bd-paper { width: min(420px, 100%); font-size: 17px; padding: 1.1em 1.3em 1em; border-radius: 1.1em; box-shadow: 0 40px 90px -40px rgba(25, 194, 164, .4); }
.bd-queue { background: linear-gradient(180deg, var(--bd-app), var(--bd-app-2)); border-radius: 28px; padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px); }
.bd-qrow { padding: .75em 0; border-top: 1px solid #e3ece9; }
.bd-paper-head + .bd-qrow { border-top: 0; padding-top: .2em; }
.bd-q-state { position: relative; display: inline-grid; }
.bd-q-state > span { grid-area: 1 / 1; transition: opacity .4s var(--ease-out); }
.bd-q-wait { color: #9a6a00; }
.bd-q-done { opacity: 0; color: var(--bd-app); font-weight: 600; }
.bd-queue.is-done .bd-q-wait { opacity: 0; }
.bd-queue.is-done .bd-q-done { opacity: 1; }
html.pm .bd-queue:not(.is-done) .bd-q-wait { animation: bd-pulse 1.6s ease-in-out infinite; }
@keyframes bd-pulse { 50% { opacity: .45; } }

/* ---------- Who sees what ---------- */
.bd-who-row {
  margin: clamp(40px, 5vw, 64px) auto 0;
  max-width: 1080px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.2fr) 56px minmax(0, 1fr);
  align-items: stretch;
}
.bd-who-col { padding: 24px 22px 26px; border-radius: 18px; border: 1px solid var(--hairline-strong); background: rgba(244, 241, 234, .02); }
.bd-who-col--relay { border-color: var(--bd-line); background: linear-gradient(180deg, rgba(47, 214, 184, .07), rgba(47, 214, 184, .02)); }
.bd-who-name { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.bd-who-sees { font-size: .98rem; line-height: 1.6; color: var(--muted); }
.bd-who-not { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: .98rem; line-height: 1.6; color: var(--ink); }
html[lang="ja"] :is(.bd-who-sees, .bd-who-not) { line-height: 1.85; word-break: auto-phrase; }
html[lang="ko"] :is(.bd-who-sees, .bd-who-not) { word-break: keep-all; }
.bd-who-pipe { position: relative; align-self: center; height: 2px; background: repeating-linear-gradient(90deg, var(--bd-line) 0 4px, transparent 4px 9px); }
.bd-who-pkt { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 3px; background: var(--bd); box-shadow: 0 0 12px var(--bd-glow); opacity: 0; }
html.pm .bd-who-row.is-on .bd-who-pkt { animation: bd-pkt 2.6s var(--ease-out) infinite; }
html.pm .bd-who-row.is-on .bd-who-pipe:last-of-type .bd-who-pkt { animation-delay: 1.3s; }
@keyframes bd-pkt { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* ---------- Drop: responsive ---------- */
@media (max-width: 860px) {
  .bd-steps { grid-template-columns: 1fr 1fr; }
  .bd-pair-grid { grid-template-columns: 1fr; }
  .bd-pair-grid--flip .bd-pair-copy { order: 0; }
  .bd-who-row { grid-template-columns: 1fr; gap: 0; max-width: 520px; }
  .bd-who-pipe { width: 2px; height: 40px; justify-self: center; background: repeating-linear-gradient(180deg, var(--bd-line) 0 4px, transparent 4px 9px); }
  .bd-who-pkt { left: 50%; top: 0; margin: -5px 0 0 -5px; }
  @keyframes bd-pkt { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
  .bd-picker { grid-template-columns: 1fr 1fr; grid-template-areas: "view view" "from to" "say say"; }
  .bd-route-view { max-width: 420px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .bd-stage { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); }
  .bd-dev { font-size: clamp(7.5px, 2.75cqw, 12px); }
  .bd-tabs span:nth-child(n+3) { display: none; }
  .bd-steps { grid-template-columns: 1fr; gap: 10px; }
  html.pm .bd-steps { display: block; position: relative; min-height: 6.5em; }
  html.pm .bd-step { position: absolute; inset: 0 0 auto; opacity: 0; transition: opacity .35s var(--ease-out); }
  html.pm .bd-step.is-active { opacity: 1; }
  .bd-digits span { width: 38px; height: 48px; font-size: 1.4rem; }
  .bd-digits-ok { right: -38px; }
}

@media (prefers-reduced-motion: reduce) {
  .bd-chip, .bd-ghost, .bd-ghost::after { transition: none !important; }
  .bd-picker.is-go .bd-route-line path { animation: none !important; }
}

/* the iPhone is narrower than the PC's window */
.bd-dev--to { justify-self: end; width: 78%; }
@media (max-width: 640px) { .bd-dev--to { width: 92%; } }

/* headings beside a picture: smaller and left-aligned (as on the Bonito PDF page) */
.stmt--sm { font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem); line-height: 1.14; }
.product-page .stmt.stmt--sm { max-width: 100%; margin-inline: 0; text-align: left; }
html[lang="ja"] .stmt--sm { line-height: 1.42; }
@media (max-width: 640px) {
  .bd-stage { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); }
  .bd-arc { height: 5em; }
}
