/* ============ Bonito Drive — 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).
   Built on the Bonito PDF page: same type, hairline lists, spec rows, FAQ,
   form and window frame (fix those in all the product pages together).

   One accent, the violet of the app icon (--bd): kickers, icons, the focus
   ring and the one filled button. The product is shown as it is: real screens
   of the app (light theme, sample data) in a plain window frame drawn here.
   The diagrams are drawn in CSS and inline SVG from the same hairlines.

   This page's own motion (the compare slider, the pinned "before it leaves
   your computer" sequence, the wires, the two windows) is wired in
   /bonito-drive/motion.js. As in /product-motion.css, everything that hides,
   pins or moves something waits for html.pm: without it (no script, reduced
   motion, the built language pages) every scene rests in its final state. */

:root {
  --bd: #a987ff;               /* accent text and icons: 7.3:1 on --bg, 6.9:1 on --bg-2 */
  --bd-strong: #6d37c4;        /* button fill: white text 7.0:1 */
  --bd-hover: #5a2fae;         /* white text 8.6:1 */
  --bd-soft: rgba(169, 135, 255, .14);
  --bd-line: rgba(169, 135, 255, .5);
  --bd-seal: #231a44;          /* a sealed piece: dark violet, hatched */
  --bd-paper: #f4f1ea;
  --pm-accent: var(--bd);      /* /product-motion.css */
  --r-frame: 12px;
  --wrap-wide: 1320px;
  --bd-shot-ratio: 3 / 2;      /* the app's default window, 1080 × 720 (scripts/capture-drive-screens.mjs) */
  --bd-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

.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, .how-card h3, .how-card p, .pr-faq-q, .spec-label, .bd-points li, .bd-avail dd, .bd-hero-price, .bd-guard h3, .bd-guard p, .bd-flow-step h3, .bd-flow-step p, .bd-seen-col li, .bd-seen-blur p, .bd-cmp th, .bd-cmp td) { letter-spacing: 0; }
html[lang="ko"] :is(.pr-sub, .pr-lede, .stmt, .lead, .pr-card h3, .pr-card p, .how-card h3, .how-card p, .pr-faq-q, .bd-hero-price, .bd-guard h3, .bd-guard p, .bd-flow-step p, .bd-seen-col li, .bd-seen-blur p, .bd-cmp th, .bd-cmp td, .bd-pr-ex, .bd-pr-note, .bd-pr-prov, .bd-merge-note, .bd-see-note) { 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, .pr-card h3, .pr-card p, .how-card h3, .how-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-guard h3, .bd-guard p, .bd-flow-step h3, .bd-flow-step p, .bd-seen-col li, .bd-seen-blur p, .bd-pr-ex, .bd-pr-note, .bd-pr-prov, .bd-merge-note, .bd-see-note, .bd-see-hint, .bd-shot-note, .bd-wait li, .bd-node, .bd-none) {
  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% 40%, rgba(140, 96, 240, .1), 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: 66% 42%;
  opacity: .92;
}
/* between the phone layout and a wide desktop the frame is narrower than the
   picture: keep the glass cloud whole at the right edge */
@media (min-width: 861px) and (max-width: 1200px) { .pr-hero-img { object-position: 82% 42%; } }
/* up to a wide laptop the cloud would still touch the right edge at 66%: a little further left,
   but not so far that it runs under the headline */
@media (min-width: 1201px) and (max-width: 1700px) { .pr-hero-img { object-position: 74% 42%; } }
.pr-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 13, .94) 0%, rgba(2, 6, 13, .74) 36%, rgba(2, 6, 13, .16) 62%, rgba(2, 6, 13, .2) 100%),
    linear-gradient(180deg, rgba(2, 6, 13, .85) 0%, transparent 24%, transparent 70%, 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;
  border-radius: 23%;
  box-shadow: 0 10px 44px rgba(0, 0, 0, .6), 0 0 60px -18px rgba(140, 96, 240, .6), inset 0 0 0 1px rgba(244, 241, 234, .1);
}
.pr-eyebrow {
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--bd);
  margin-bottom: 14px;
}
html[lang="ja"] .pr-eyebrow, html[lang="ko"] .pr-eyebrow { letter-spacing: 0; }
.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%, #ebe6f6 58%, #aaa0c2 132%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pr-sub {
  margin-top: 14px;
  max-width: 20em;
  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: the two phrases are kept whole with .nowrap in the dictionary */
html[lang="ja"] .pr-sub { max-width: 16em; letter-spacing: 0; line-height: 1.5; }
html[lang="ko"] .pr-sub { max-width: 16em; }
.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: 28em; 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; }

/* Where the app stands: a status line beside the button, 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(169, 135, 255, .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(140, 96, 240, .8);
  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; }

/* the quiet second link: down to the mechanism */
.bd-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 6px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}
.bd-more span { border-bottom: 1px solid rgba(244, 241, 234, .34); padding-bottom: 2px; transition: border-color var(--dur-fast) var(--ease-out); }
.bd-more:hover span { border-color: var(--bd); }
.bd-more svg { color: var(--bd); }

/* ---------- 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); }
html[lang="ja"] .bd-fact, html[lang="ko"] .bd-fact { letter-spacing: 0; }
/* six facts: two even rows of three on wide screens, rather than five and one */
@media (min-width: 900px) {
  .bd-facts-row { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 14px 48px; }
}

/* ---------- Section rhythm ---------- */
.bd-sees, .bd-flow, .bd-direct-sec, .bd-concept, .bd-safe, .bd-drive, .bd-compare, .pr-pricing, .bd-start, .bd-limits, .pr-specs, .pr-faq, .pr-contact { padding: var(--section-y) 0; }
.bd-flow, .bd-concept, .bd-safe, .bd-compare, .bd-start, .pr-specs, .pr-contact { background: var(--bg-2); }
.bd-sync { padding: 0 0 var(--section-y); }
.bd-key { padding: clamp(24px, 4vw, 48px) 0 var(--section-y); }
.pr-contact { padding-bottom: clamp(72px, 10vw, 128px); }
.stmt--sm {
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.2rem);
  line-height: 1.16;
}
.product-page .stmt.stmt--sm { max-width: 100%; margin-inline: 0; text-align: left; }
html[lang="ja"] .stmt--sm { line-height: 1.42; }
/* a narrow column beside a picture: Japanese and Korean statements are set a size smaller so a phrase fits a line */
html:is([lang="ja"], [lang="ko"]) :is(.bd-tour, .bd-drive) .stmt--sm { font-size: clamp(1.4rem, .95rem + 1.3vw, 1.85rem); }
.pr-shot-copy .kicker, .bd-drive-copy .kicker { text-align: left; }
.pr-shot-copy .lead, .bd-drive-copy .lead { max-width: 100%; margin-inline: 0; text-align: left; }

/* ---------- Line icons: one per card, in the accent ---------- */
.card-mark { width: 24px; height: 24px; display: block; margin-bottom: 14px; color: var(--bd); }
.bd-ic { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- The window frame around every screenshot ---------- */
/* A plain macOS title bar ("Bonito Drive", as the app's window is titled), a
   hairline and a quiet shadow. The figure is a size container, so the bar,
   the buttons and the corner radius scale with the screenshot (cqw). */
.bd-win-fig { container-type: inline-size; margin: 0; }
.bd-win {
  position: relative;
  overflow: hidden;
  border-radius: max(7px, 1cqw);
  background: #f5f5f7;
  box-shadow:
    0 0 0 1px rgba(244, 241, 234, .16),
    0 2px 6px rgba(0, 0, 0, .45),
    0 44px 90px -40px rgba(0, 0, 0, .95),
    0 0 140px -56px rgba(140, 96, 240, .55);
}
.bd-win-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: max(4px, .7cqw);
  height: max(14px, 2.6cqw);
  padding-left: max(7px, 1.2cqw);
  background: linear-gradient(180deg, #ececee, #e3e3e6);
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.bd-win-bar i {
  width: max(6px, 1.1cqw);
  height: max(6px, 1.1cqw);
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .14);
}
.bd-win-bar i:nth-child(2) { background: #febc2e; }
.bd-win-bar i:nth-child(3) { background: #28c840; }
.bd-win-bar span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: max(8px, 1.2cqw);
  font-weight: 600;
  letter-spacing: 0;
  color: #4a4a50;
  pointer-events: none;
}
@container (max-width: 480px) { .bd-win-bar span { display: none; } }
.bd-win img { display: block; width: 100%; height: auto; aspect-ratio: var(--bd-shot-ratio); background: #f5f5f7; }
/* which language the screens are in, when it is not the page's */
.bd-shot-note {
  margin: 18px auto 0;
  max-width: 60ch;
  font-size: .86rem;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}
.bd-shot-note[hidden] { display: none; }

/* ---------- What the storage sees: two views of one folder ---------- */
.bd-see { margin: clamp(48px, 6vw, 72px) auto 0; max-width: 980px; }
.bd-see-stage { position: relative; overflow: hidden; border-radius: var(--r-frame); }
.bd-see-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bd-see-panel {
  min-width: 0;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-frame);
  background: #070d1b;
  overflow: hidden;
}
.bd-see-them { background: #0b0a18; border-color: var(--bd-line); }
.bd-see-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--hairline);
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
}
.bd-see-head svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--bd); }
.bd-see-them .bd-see-head { justify-content: flex-end; }
.bd-see-list { list-style: none; margin: 0; padding: 6px 0 8px; }
.bd-see-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 18px;
  font-size: .95rem;
  line-height: 1.2;
  color: var(--ink);
}
.bd-see-list li.bd-see-root { font-weight: 700; }
.bd-see-list li:not(.bd-see-root) { padding-left: 34px; }
.bd-see-list li.bd-see-in { padding-left: 62px; }
.bd-see-list .bd-ic { color: var(--muted); }
.bd-see-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-see-size { flex-shrink: 0; font-size: .82rem; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.bd-see-list--keys li { font-family: var(--bd-mono); font-size: .8rem; letter-spacing: 0; color: #cfc6ee; }
.bd-see-list--keys li:not(.bd-see-root) { padding-left: 18px; }
.bd-see-list--keys .bd-see-size { font-family: var(--font); }
.bd-see-range, .bd-see-handle, .bd-see-hint { display: none; }
.bd-see figcaption { margin-top: 18px; text-align: center; }
.bd-see-note { display: block; font-size: .86rem; line-height: 1.6; color: var(--muted); max-width: 62ch; margin-inline: auto; }
html[lang="ja"] .bd-see-note { max-width: 40em; line-height: 1.8; }
.bd-see-hint { margin-bottom: 8px; font-size: .92rem; font-weight: 600; color: var(--ink); }
@media (max-width: 760px) {
  .bd-see-panels { grid-template-columns: 1fr; }
  .bd-see-them .bd-see-head { justify-content: flex-start; }
}
/* live (motion.js, never with reduced motion): one panel over the other, the
   edge between them follows the range input, by pointer or by keyboard */
.bd-see.is-live .bd-see-panels { grid-template-columns: 1fr; gap: 0; }
.bd-see.is-live .bd-see-panel { grid-area: 1 / 1; }
.bd-see.is-live .bd-see-them { clip-path: inset(0 0 0 var(--pos, 50%)); }
.bd-see.is-live .bd-see-them .bd-see-head { justify-content: flex-end; }
/* each side reads whole at the half-way mark: sizes follow the names on the left, the bucket's lines sit to the right */
.bd-see.is-live .bd-see-you .bd-see-name { flex: 0 1 auto; }
.bd-see.is-live .bd-see-list--keys li { justify-content: flex-end; }
.bd-see.is-live .bd-see-list--keys .bd-see-name { flex: 0 1 auto; }
.bd-see.is-live .bd-see-range {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.bd-see.is-live .bd-see-handle {
  display: block;
  position: absolute;
  inset: 0;
  transform: translate3d(var(--pos, 50%), 0, 0);
  pointer-events: none;
}
.bd-see-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: var(--bd);
  box-shadow: 0 0 18px rgba(169, 135, 255, .6);
}
.bd-see-handle i {
  position: absolute;
  top: 50%;
  left: -20px;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  background: var(--bd-strong);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 8px 22px rgba(0, 0, 0, .6);
}
/* two small arrowheads on the knob */
.bd-see-handle i::before, .bd-see-handle i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
}
.bd-see-handle i::before { left: 10px; transform: rotate(45deg); }
.bd-see-handle i::after { right: 10px; transform: rotate(-135deg); }
.bd-see-range:focus-visible + .bd-see-handle i { outline: 2px solid #fff; outline-offset: 3px; }
.bd-see.is-live .bd-see-hint { display: block; }

/* what the provider cannot and can see: two hairline lists and one note */
.bd-seen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(32px, 5vw, 72px);
  max-width: 980px;
  margin: clamp(48px, 6vw, 72px) auto 0;
}
.bd-seen h3 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline-strong);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.bd-seen-col ul { list-style: none; margin: 0; padding: 0; }
.bd-seen-col li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--hairline);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}
html[lang="ja"] .bd-seen-col li { line-height: 1.75; }
/* cannot see: a closed eye; can see: an open eye. Drawn marks, not text. */
.bd-seen-col li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(13px + .5em);
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: var(--bd);
}
.bd-seen-col--yes li { color: var(--muted); }
.bd-seen-col--yes li::before {
  top: calc(13px + .28em);
  width: 10px;
  height: 10px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  background: transparent;
}
.bd-seen-blur { grid-column: 1 / -1; margin-top: 34px; }
.bd-seen-blur p { margin-top: 14px; max-width: 76ch; font-size: 1rem; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
html[lang="ja"] .bd-seen-blur p { max-width: 46em; line-height: 1.85; }
@media (max-width: 760px) {
  .bd-seen { grid-template-columns: 1fr; }
  .bd-seen-col + .bd-seen-col { margin-top: 34px; }
}

/* ---------- Before it leaves your computer ---------- */
/* At rest: five numbered stills. The scene is for the pinned sequence only. */
.bd-flow-scene { display: none; }
.bd-flow-steps {
  list-style: none;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 clamp(18px, 2.4vw, 32px);
}
.bd-flow-step { border-top: 1px solid var(--hairline-strong); padding: 22px 0 8px; }
.bd-still { display: block; width: 100%; max-width: 168px; height: auto; margin-bottom: 18px; overflow: visible; }
.bd-still * { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.bd-still .s-ink { stroke: var(--ink); }
.bd-still .s-soft { stroke: var(--muted); }
.bd-still .s-ghost { stroke: var(--hairline-strong); stroke-dasharray: 3 3; }
.bd-still .s-acc { stroke: var(--bd); }
.bd-still .s-seal { stroke: var(--bd); fill: var(--bd-seal); }
.bd-flow-step h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
html[lang="ja"] .bd-flow-step h3, html[lang="ko"] .bd-flow-step h3 { letter-spacing: 0; }
.bd-flow-n { font-size: .9rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--bd); }
.bd-flow-step p { font-size: .95rem; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
html[lang="ja"] .bd-flow-step p { line-height: 1.8; }
@media (max-width: 979px) {
  .bd-flow-steps { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .bd-flow-step { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 0 20px; align-items: start; padding: 22px 0 24px; }
  .bd-still { margin-bottom: 0; }
}
/* the scene's drawing (used only when pinned) */
.bd-scene { display: block; width: 100%; height: auto; max-height: calc(100vh - 430px); min-height: 200px; overflow: visible; }
.bd-zone { fill: rgba(244, 241, 234, .02); stroke: var(--hairline-strong); stroke-width: 1.2; }
.bd-zone-t { font-size: 15px; font-weight: 700; fill: var(--muted); letter-spacing: .02em; }
.bd-link { stroke: var(--hairline-strong); stroke-width: 2; stroke-dasharray: 5 6; }
.bd-link--on { stroke: var(--bd); stroke-dasharray: none; opacity: 0; }
.bd-link-t { font-size: 13px; font-weight: 700; fill: var(--muted); letter-spacing: .08em; }
.bd-file-sheet { fill: var(--bd-paper); }
.bd-file-fold { fill: none; stroke: #c9c3b6; stroke-width: 1.5; }
.bd-file-lines { fill: none; stroke: #9a958a; stroke-width: 5; stroke-linecap: round; }
.bd-chunk-plain { fill: var(--bd-paper); }
.bd-chunk-lines { fill: none; stroke: #9a958a; stroke-width: 4; stroke-linecap: round; }
.bd-chunk-sealed { fill: url(#bdHatch); stroke: var(--bd); stroke-width: 1.5; opacity: 0; }
.bd-pack-frame { fill: rgba(169, 135, 255, .07); stroke: var(--bd-line); stroke-width: 1.5; opacity: 0; }
.bd-obj { font-family: var(--bd-mono); font-size: 13px; fill: #cfc6ee; opacity: 0; }
.bd-flow-bar { height: 2px; margin-top: 14px; background: var(--hairline); border-radius: 1px; overflow: hidden; }
.bd-flow-bar i { display: block; height: 100%; background: var(--bd); transform: scaleX(0); transform-origin: 0 50%; }

@media (min-width: 980px) and (min-height: 660px) {
  /* pinned: the section is tall, its content sticks, and motion.js moves the
     scene by the scroll position. Normal scrolling throughout. */
  html.pm .bd-flow { height: 460vh; padding: 0; }
  html.pm .bd-flow-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
  html.pm .bd-flow-in { width: 100%; padding-top: 64px; }
  html.pm .bd-flow-head .kicker { margin-bottom: 10px; }
  html.pm .bd-flow-head .stmt { font-size: clamp(1.6rem, 1rem + 1.7vw, 2.5rem); max-width: 40ch; }
  html[lang="ja"].pm .bd-flow-head .stmt { max-width: 26em; }
  html.pm .bd-flow-head .lead { display: none; }
  html.pm .bd-flow-scene { display: block; margin-top: clamp(14px, 2.6vh, 30px); }
  html.pm .bd-flow .bd-flow-steps { display: grid; grid-template-columns: 1fr; margin-top: clamp(12px, 2.2vh, 24px); max-width: 720px; margin-inline: auto; min-height: 7.6em; }
  html.pm .bd-flow .bd-flow-steps .bd-flow-step {
    grid-area: 1 / 1;
    border-top: 0;
    padding: 0;
    text-align: center;
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    filter: none;
    transition: opacity .45s ease, transform .6s var(--pm-ease);
    transition-delay: 0s;
  }
  html.pm .bd-flow .bd-flow-steps .bd-flow-step.is-active { opacity: 1; transform: none; }
  html.pm .bd-flow .bd-flow-step .bd-still { display: none; }
  html.pm .bd-flow .bd-flow-step h3 { justify-content: center; font-size: 1.3rem; }
  html.pm .bd-flow .bd-flow-step p { font-size: 1.02rem; max-width: 60ch; margin-inline: auto; }
  html[lang="ja"].pm .bd-flow .bd-flow-step p { max-width: 36em; }
}

/* ---------- Two parties, nothing in between ---------- */
.bd-direct {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 18px 0;
  max-width: 920px;
  margin: clamp(48px, 6vw, 72px) auto 0;
}
.bd-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 112px;
  padding: 18px 16px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-frame);
  background: rgba(244, 241, 234, .025);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  text-align: center;
}
.bd-node svg { width: 30px; height: 30px; color: var(--bd); }
.bd-node small { font-size: .82rem; font-weight: 400; line-height: 1.45; color: var(--muted); }
.bd-node--mac { grid-area: 1 / 1; }
.bd-node--pc { grid-area: 2 / 1; }
.bd-node--bucket { grid-area: 1 / 3 / 3 / 4; border-color: var(--bd-line); background: var(--bd-soft); }
.bd-wires { grid-area: 1 / 2 / 3 / 3; position: relative; }
.bd-wire { position: absolute; left: 0; right: 0; height: 2px; margin-top: -1px; background: rgba(169, 135, 255, .4); overflow: hidden; }
.bd-wire--a { top: calc(25% - 4.5px); }
.bd-wire--b { top: calc(75% + 4.5px); }
/* a runner as long as the wire, with a dot at its head */
.bd-wire b { position: absolute; inset: 0; opacity: 0; }
.bd-wire b::after { content: ""; position: absolute; right: 0; top: 0; width: 44px; height: 2px; background: linear-gradient(90deg, transparent, #fff); }
/* where another service would keep its own server: an empty outline the wires pass straight through */
.bd-none {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(78%, 250px);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78%;
  padding: 10px 12px;
  border: 1.5px dashed rgba(244, 241, 234, .3);
  border-radius: var(--r-frame);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
}
.bd-none span { padding: 2px 8px; background: var(--bg); border-radius: 6px; }
@media (max-width: 700px) {
  .bd-direct { grid-template-columns: 1fr 1fr; grid-template-rows: auto 150px auto; gap: 0 14px; }
  .bd-node--mac { grid-area: 1 / 1; }
  .bd-node--pc { grid-area: 1 / 2; }
  .bd-wires { grid-area: 2 / 1 / 3 / 3; }
  .bd-node--bucket { grid-area: 3 / 1 / 4 / 3; }
  .bd-wire { left: auto; right: auto; top: 0; bottom: 0; width: 2px; height: auto; margin: 0 0 0 -1px; }
  .bd-wire--a { left: calc(25% - 3.5px); top: 0; }
  .bd-wire--b { left: calc(75% + 3.5px); top: 0; }
  .bd-wire b::after { right: auto; left: 0; top: auto; bottom: 0; width: 2px; height: 44px; background: linear-gradient(180deg, transparent, #fff); }
  .bd-none { width: 86%; min-height: 0; }
}
/* with motion: data runs along each wire twice (4.4 s in all), then the picture rests */
html.pm .bd-direct.on .bd-wire b { animation: bdRunX 2.2s linear .5s 2 both; }
html.pm .bd-direct.on .bd-wire--b b { animation-direction: reverse; }
@keyframes bdRunX {
  0% { opacity: 0; transform: translate3d(-100%, 0, 0); }
  8%, 92% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(0, 0, 0); }
}
@keyframes bdRunY {
  0% { opacity: 0; transform: translate3d(0, -100%, 0); }
  8%, 92% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(0, 0, 0); }
}
@media (max-width: 700px) {
  html.pm .bd-direct.on .bd-wire b { animation-name: bdRunY; }
}
.bd-direct-sec .pr-grid { margin-top: clamp(56px, 7vw, 88px); }

/* ---------- Concept: the main window, large ---------- */
.bd-concept { padding-bottom: clamp(64px, 8vw, 112px); }
.bd-main {
  max-width: calc(1040px + 2 * var(--gutter));
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 0 var(--gutter);
}
.bd-main-stage { position: relative; }

/* ---------- The tour: the window stays, the screens change ---------- */
/* /product-motion.css lays out .pm-steps for phone screenshots; a desktop
   window needs the wide column, so this page widens the grid and gives the
   window more than half of it. Below 980px each step shows its own screenshot. */
.bd-tour .wrap { max-width: calc(var(--wrap-wide) + 2 * 24px); }
.bd-step-figure { margin-top: 32px; }
.bd-tour > .bd-shot-note { padding: 0 var(--gutter); }
@media (max-width: 979px) {
  .bd-tour .pm-step + .pm-step { margin-top: clamp(72px, 12vw, 104px); }
}
@media (min-width: 980px) {
  .bd-tour .pm-steps-grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr);
    gap: clamp(40px, 4.5vw, 72px);
  }
  .bd-tour .pm-steps-visual {
    place-items: center stretch;
    top: max(84px, calc(50vh - 19vw));
  }
  .bd-tour .pm-frame { width: 100%; transform: none; transition: opacity .35s ease; }
  /* the window reaches the page gutter here: keep the step dots inside it */
  .bd-tour .pm-step-dots { right: -16px; }
  .bd-tour .pm-step { min-height: 92vh; }
  /* /product-motion.css hides each step's own screenshot on wide screens; the
     visible window is aria-hidden, so keep the figures for screen readers */
  .bd-tour .pm-step-figure {
    display: block !important;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ---------- Points beside a picture: an icon and one line each ---------- */
.bd-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.bd-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}
html[lang="ja"] .bd-points li { line-height: 1.7; }
.bd-points svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: .12em; 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-key .pr-grid { margin-top: 0; }
@media (min-width: 861px) { .bd-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Sync: the photograph, then the rule ---------- */
/* The laptops sit in the lower half of the photograph. On wide screens the
   heading takes its dark upper half; on narrower ones the heading comes first
   and the photograph follows as a band. */
.bd-sync-top { position: relative; display: flex; flex-direction: column; }
.bd-sync-head { order: 1; padding-top: var(--section-y); }
.bd-sync-band { order: 2; position: relative; margin: clamp(32px, 5vw, 56px) 0 0; overflow: hidden; }
.bd-sync-band img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7.4; object-fit: cover; object-position: 50% 82%; }
.bd-sync-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 26%, transparent 74%, var(--bg) 100%);
  pointer-events: none;
}
@media (min-width: 1100px) {
  .bd-sync-band { margin-top: clamp(150px, 15vw, 250px); }
  .bd-sync-band img { aspect-ratio: auto; }
  .bd-sync-head { position: absolute; inset: 0 0 auto 0; z-index: 1; padding-top: clamp(72px, 7vw, 116px); }
  .bd-sync-head .lead { text-shadow: 0 1px 24px rgba(2, 6, 13, .9); }
}

/* two windows, each with its own edit, and what both hold afterwards */
.bd-merge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px clamp(18px, 3vw, 40px);
  max-width: 860px;
  margin: clamp(40px, 5vw, 64px) auto 0;
}
.bd-mwin {
  min-width: 0;
  border-radius: 10px;
  background: #f5f5f7;
  color: #1d2430;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(244, 241, 234, .16), 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.bd-mwin-bar { position: relative; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: linear-gradient(180deg, #ececee, #e3e3e6); border-bottom: 1px solid rgba(0, 0, 0, .1); }
.bd-mwin-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.bd-mwin-bar i:nth-child(2) { background: #febc2e; }
.bd-mwin-bar i:nth-child(3) { background: #28c840; }
.bd-mwin-bar span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 600; color: #4a4a50; }
/* a Windows title bar: the name on the left, minimise / maximise / close on the right */
.bd-mwin-bar--win { background: #f3f3f3; gap: 0; padding: 0 0 0 12px; }
.bd-mwin-bar--win span { position: static; flex: 1; justify-content: flex-start; font-weight: 400; }
.bd-mwin-bar--win b { position: relative; width: 34px; height: 100%; }
.bd-mwin-bar--win b::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; margin: 0 0 0 -5px; background: #4a4a50; }
.bd-mwin-bar--win b:nth-of-type(2)::before { height: 9px; margin-top: -5px; background: none; border: 1px solid #4a4a50; width: 9px; }
.bd-mwin-bar--win b:nth-of-type(3)::before { transform: rotate(45deg); width: 13px; margin-left: -6.5px; }
.bd-mwin-bar--win b:nth-of-type(3)::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1px; margin-left: -6.5px; background: #4a4a50; transform: rotate(-45deg); }
.bd-mrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  min-height: 56px;
  padding: 10px 14px;
  font-size: .95rem;
  line-height: 1.35;
}
.bd-mrow .bd-ic { color: #6d37c4; }
.bd-mname { flex: 1 1 8em; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.bd-mrow em { flex: 0 1 auto; font-style: normal; font-size: .82rem; color: #5d6370; }
.bd-mresult {
  grid-column: 1 / -1;
  border: 1px solid var(--bd-line);
  border-radius: 10px;
  background: var(--bd-soft);
  overflow: hidden;
}
.bd-mresult-t { padding: 12px 16px; border-bottom: 1px solid var(--hairline); font-size: .86rem; font-weight: 700; color: var(--bd); }
.bd-mresult .bd-mrow { color: var(--ink); padding-inline: 16px; }
.bd-mresult .bd-mrow + .bd-mrow { border-top: 1px solid var(--hairline); }
.bd-mresult .bd-mrow .bd-ic { color: var(--bd); }
.bd-mresult .bd-mrow em { color: var(--muted); }
.bd-merge-note { max-width: 860px; margin: 18px auto 0; font-size: .86rem; line-height: 1.65; color: var(--muted); text-align: center; text-wrap: pretty; }
html[lang="ja"] .bd-merge-note { line-height: 1.85; }
@media (max-width: 560px) { .bd-merge { grid-template-columns: 1fr; } }
/* with motion: the two windows come together (motion.js), then the result appears */
html.pm .bd-merge .bd-mwin { will-change: transform; }
html.pm .bd-merge .bd-mresult { transition: opacity .7s ease .5s, transform .9s var(--pm-ease) .5s; }
html.pm .bd-merge:not(.on) .bd-mresult { opacity: 0; transform: translate3d(0, 18px, 0); }

/* ---------- Built not to lose data: three small pictures ---------- */
.bd-guards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3.2vw, 48px);
  margin-top: clamp(48px, 6vw, 72px);
}
.bd-guard { border-top: 1px solid var(--hairline-strong); padding: 26px 0 30px; }
.bd-guard figure {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 268px;
  margin: 0 0 24px;
}
.bd-guard h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; margin-bottom: 10px; text-wrap: balance; }
html[lang="ja"] .bd-guard h3, html[lang="ko"] .bd-guard h3 { letter-spacing: 0; line-height: 1.45; }
.bd-guard p { font-size: 1rem; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
html[lang="ja"] .bd-guard p { line-height: 1.85; }
@media (max-width: 999px) {
  .bd-guards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .bd-guard figure { min-height: 0; }
}
/* the ledger: every write is a new line; a second write to the same name is refused */
.bd-ledger ol { list-style: none; margin: 0; padding: 6px 0; border: 1px solid var(--hairline-strong); border-radius: 10px; background: #070d1b; }
.bd-ledger li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  padding: 8px 14px;
  font-size: .78rem;
  line-height: 1.45;
}
.bd-ledger li + li { border-top: 1px solid var(--hairline); }
.bd-ledger b { font-family: var(--bd-mono); font-weight: 700; color: var(--muted); }
.bd-ledger code { font-family: var(--bd-mono); font-size: 1em; color: #cfc6ee; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-ledger li span { grid-column: 2; font-size: .82rem; font-weight: 600; }
.bd-ledger .ok { color: var(--bd); }
.bd-ledger .no { color: #ffab7a; }
.bd-ledger li.is-no code { text-decoration: line-through; text-decoration-color: rgba(255, 171, 122, .8); color: var(--muted); }
.bd-ledger figcaption, .bd-wait figcaption { margin-top: 10px; font-size: .78rem; line-height: 1.5; color: var(--muted-2); }
html.pm .bd-guard .bd-ledger li { transition: opacity .5s ease, transform .6s var(--pm-ease); transition-delay: calc(var(--i, 0) * .32s + .3s); }
html.pm .bd-guard:not(.on) .bd-ledger li { opacity: 0; transform: translate3d(0, 10px, 0); }
.bd-ledger li:nth-child(2) { --i: 1; }
.bd-ledger li:nth-child(3) { --i: 2; }
.bd-ledger li:nth-child(4) { --i: 3.4; }
.bd-ledger li:nth-child(5) { --i: 4.6; }
/* the app's own notice (a real screen, light theme) */
.bd-alert img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin-inline: auto;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(244, 241, 234, .16), 0 30px 60px -30px rgba(0, 0, 0, .9);
}
/* the waiting period: a bar from the request to the earliest removal */
.bd-wait-track { position: relative; height: 10px; border-radius: 5px; background: rgba(244, 241, 234, .08); overflow: hidden; }
.bd-wait-track i { position: absolute; inset: 0; border-radius: 5px; background: linear-gradient(90deg, var(--bd-strong), var(--bd)); transform-origin: 0 50%; }
.bd-wait ul { list-style: none; margin: 18px 0 0; padding: 0; }
.bd-wait li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--hairline); font-size: .92rem; line-height: 1.45; color: var(--ink); }
.bd-wait li:last-child { border-bottom: 1px solid var(--hairline); }
.bd-wait li::before { content: ""; position: absolute; left: 4px; top: calc(9px + .42em); width: 8px; height: 8px; border-radius: 50%; background: var(--bd-strong); }
.bd-wait li:nth-child(2) { color: var(--bd); font-weight: 600; }
.bd-wait li:nth-child(2)::before { background: none; border: 2px solid var(--bd); }
.bd-wait li:nth-child(3)::before { background: var(--bd); }
html.pm .bd-guard .bd-wait-track i { transition: transform 2.4s cubic-bezier(.4, 0, .2, 1) .4s; }
html.pm .bd-guard:not(.on) .bd-wait-track i { transform: scaleX(0); }
.bd-safe .pr-grid { margin-top: clamp(32px, 4vw, 56px); }

/* ---------- Cloud drive on Mac: copy beside the real screen ---------- */
.bd-drive-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; max-width: calc(var(--wrap-wide) + 2 * 24px); }
@media (min-width: 900px) {
  .bd-drive-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 5vw, 80px); }
}
.bd-drive-shot { margin: 0; }

/* ---------- Three kinds of service: one hairline table ---------- */
.bd-compare { border-top: 1px solid var(--hairline); }
.bd-cmp-wrap { max-width: 1040px; margin: clamp(48px, 6vw, 72px) auto 0; }
.bd-cmp { width: 100%; border-collapse: collapse; font-size: 1rem; table-layout: fixed; }
.bd-cmp th, .bd-cmp td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
  border-bottom: 1px solid var(--hairline);
}
.bd-cmp thead th, .bd-cmp thead td {
  padding: 14px 16px;
  vertical-align: bottom;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline-strong);
}
.bd-cmp thead th.bd-cmp-us { color: var(--bd); border-radius: 10px 10px 0 0; }
.bd-cmp thead td { width: 21%; }
.bd-cmp tbody th { font-weight: 600; color: var(--ink); }
.bd-cmp td { color: var(--muted); }
/* the Bonito Drive column: a faint tint of the accent */
.bd-cmp .bd-cmp-us { background: rgba(169, 135, 255, .07); }
.bd-cmp td.bd-cmp-us { color: var(--ink); }
html[lang="ja"] .bd-cmp :is(th, td) { line-height: 1.7; }
@media (max-width: 760px) {
  /* each row becomes a small block: the question, then one line per kind */
  .bd-cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .bd-cmp, .bd-cmp tbody, .bd-cmp tr, .bd-cmp th, .bd-cmp td { display: block; width: 100%; }
  .bd-cmp tr { padding: 16px 0 12px; border-top: 1px solid var(--hairline-strong); }
  .bd-cmp tbody tr:last-child { border-bottom: 1px solid var(--hairline-strong); }
  .bd-cmp tbody th { padding: 0 0 8px; border: 0; font-size: 1.05rem; }
  .bd-cmp td { padding: 7px 10px; border: 0; }
  .bd-cmp td::before { content: attr(data-head); display: block; margin-bottom: 2px; font-size: .8rem; font-weight: 700; color: var(--muted-2); }
  .bd-cmp td.bd-cmp-us { border-radius: 8px; margin-top: 4px; }
  .bd-cmp td.bd-cmp-us::before { color: var(--bd); }
}

/* ---------- Cost and availability ---------- */
.pr-pricing {
  background:
    radial-gradient(760px 420px at 50% 12%, rgba(140, 96, 240, .1), transparent 70%),
    var(--bg);
}
.bd-avail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 48px);
  max-width: 920px;
  margin: clamp(48px, 6vw, 72px) auto 0;
}
@media (min-width: 860px) { .bd-avail { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bd-avail-item { border-top: 1px solid var(--hairline-strong); padding: 20px 0 22px; }
.bd-avail dt { font-size: .9rem; font-weight: 600; color: var(--muted); }
.bd-avail dd { margin: 8px 0 0; font-size: 1.12rem; font-weight: 600; line-height: 1.4; color: var(--ink); text-wrap: balance; }
html[lang="ja"] .bd-avail dd { line-height: 1.6; }
.bd-pr-ex, .bd-pr-prov {
  max-width: 760px;
  margin: 26px auto 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  text-align: center;
  text-wrap: pretty;
}
.bd-pr-prov { margin-top: 12px; font-size: .95rem; color: var(--muted); }
html[lang="ja"] :is(.bd-pr-ex, .bd-pr-prov) { max-width: 42em; line-height: 1.85; }
.bd-fn { font-size: .68em; line-height: 0; vertical-align: super; margin-left: 2px; }
.bd-fn a { color: var(--bd); text-decoration: none; padding: 2px 3px; border-radius: 4px; }
.bd-fn a:hover { text-decoration: underline; text-underline-offset: 2px; }
.bd-avail-cta {
  margin-top: clamp(36px, 5vw, 52px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 18px;
  text-align: center;
}
.bd-avail-note { font-size: .95rem; color: var(--muted); }
.bd-pr-note {
  max-width: 760px;
  margin: 34px auto 0;
  font-size: .86rem;
  line-height: 1.65;
  color: var(--muted-2);
}
html[lang="ja"] .bd-pr-note { line-height: 1.85; }
.bd-pr-note a { color: var(--muted); text-underline-offset: 2px; }
.bd-pr-note a:hover { color: var(--ink); }
.bd-pr-note:target { outline: 1px solid var(--bd-line); outline-offset: 8px; border-radius: 4px; }
html.pm-has-ln #prNote { scroll-margin-top: 92px; }

/* ---------- Start in three steps ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(28px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 72px);
}
.how-card { border-top: 1px solid var(--hairline-strong); padding: 24px 0 30px; }
.how-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.how-num {
  font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--bd);
}
.how-head .card-mark { width: 30px; height: 30px; margin: 0; }
.how-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"] .how-card h3, html[lang="ko"] .how-card h3 { letter-spacing: 0; line-height: 1.45; }
.how-card p { font-size: 1rem; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
html[lang="ja"] .how-card p { line-height: 1.85; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; gap: 0; } }
.bd-start-shot { max-width: 880px; margin: clamp(40px, 5vw, 64px) auto 0; }

/* ---------- Before you rely on it: plain statements, no icons ---------- */
.bd-limits { border-top: 1px solid var(--hairline); }
.bd-limits-grid .pr-card { border-top-color: var(--bd-line); }

/* ---------- 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 glass cloud, 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: 92% 24%; 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-more { justify-content: center; }
  .bd-status { border-radius: 16px; }
  .bd-fact { white-space: normal; }
  .pr-form-foot { align-items: stretch; }
  .pr-form-foot .pr-submit { width: 100%; }
  .bd-see-list li { padding-inline: 14px; }
  .bd-see-list li:not(.bd-see-root) { padding-left: 26px; }
  .bd-see-list li.bd-see-in { padding-left: 44px; }
  .bd-see-list--keys li:not(.bd-see-root) { padding-left: 14px; }
  .bd-see-head { padding-inline: 14px; }
}

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