/* image-arranger LP — palette/typography unified with public/styles.css (spec §1.1) */
:root {
  --paper: #f3f0ff;
  --ink: #3d3550;
  --muted: #6b5f8a;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(155, 125, 255, 0.28);
  --soft: rgba(155, 125, 255, 0.14);
  --purple: #9b7dff;
  --red: #ff6b9d;
  --blue: #5d9dff;
  --green2: #00a79c;
  --ok: #2c7a4f;
  --warn: #a76c16;
  --bad: #b53f2a;
  --dark-chip: #3d3550;
  --dark-2: #2c263a;
  --dark-3: #1f1a2b;
  --accent-grad: linear-gradient(90deg, #ff8ec4, #9b7dff);
  --ease-pop: cubic-bezier(.3, 1.4, .4, 1);
  --ease-pop-big: cubic-bezier(.3, 1.6, .4, 1);
  --ease-out: cubic-bezier(.2, .7, .3, 1);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow-x: hidden; }
body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.7;
  /* aurora stack — copied verbatim from public/styles.css body */
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 182, 220, 0.28), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(160, 210, 255, 0.22), transparent 26%),
    radial-gradient(circle at 74% 82%, rgba(255, 230, 180, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(93, 255, 232, 0.16), transparent 28%, transparent 72%, rgba(255, 158, 192, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 239, 255, 0.96)),
    var(--paper);
  overflow-x: hidden;
}
a { color: var(--purple); }
code { font-family: var(--mono); font-size: .92em; background: var(--soft); border-radius: 6px; padding: 1px 6px; }
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 24px; }
section { padding: 56px 0 8px; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 0 0 10px; letter-spacing: -.01em; line-height: 1.3; }
.sec-sub { color: var(--muted); margin: 0 0 30px; max-width: 680px; }

/* ===== animated aurora blobs (decorative, behind hero) ===== */
.blobs { position: absolute; inset: 0; overflow: hidden; contain: paint; z-index: -1; pointer-events: none; }
.blob { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(80px); }
.blob.pink { background: rgba(255, 142, 196, 0.25); top: -180px; left: -120px; }
.blob.blue { background: rgba(93, 157, 255, 0.22); top: 60px; right: -200px; }
@media (prefers-reduced-motion: no-preference) {
  .blob.pink { animation: blob-a 22s ease-in-out infinite; }
  .blob.blue { animation: blob-b 18s ease-in-out infinite; }
}
@keyframes blob-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 80px) scale(1.15); }
}
@keyframes blob-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-140px, 60px) scale(0.9); }
}

/* ===== hero ===== */
header.hero { position: relative; padding: 36px 0 26px; }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.brand-logo {
  display: block; width: min(360px, 100%); height: auto; max-height: 108px;
  object-fit: contain;
}
.brand .chip {
  background: var(--dark-chip); color: #c6bff0; font-family: var(--mono);
  font-size: 12px; letter-spacing: .2em; padding: 8px 14px; border-radius: 10px; font-weight: 800;
  box-shadow: 0 8px 24px rgba(155, 125, 255, 0.16);
}
.brand .ver { font-size: 12px; color: var(--muted); }
.lang-switch {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  min-height: 42px; padding: 5px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel-strong); box-shadow: 0 10px 24px rgba(155, 125, 255, 0.16);
}
.lang-switch-label {
  padding: 0 9px; color: var(--muted); font-size: 12px; font-weight: 650;
}
.lang-btn {
  appearance: none; border: 0; min-width: 64px; min-height: 32px; padding: 6px 12px;
  border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer;
  font: 800 12px var(--sans); transition: background .16s var(--ease-out), color .16s var(--ease-out), transform .16s var(--ease-out);
}
.lang-btn:hover { color: var(--ink); background: var(--soft); }
.lang-btn:active { transform: scale(.97); }
.lang-btn.is-active {
  color: #fff; background: var(--accent-grad); box-shadow: 0 8px 18px rgba(155, 125, 255, 0.22);
}
h1 {
  font-size: clamp(34px, 6vw, 64px); line-height: 1.14; margin: 0 0 16px;
  letter-spacing: -.02em; font-weight: 800;
}
h1 .em {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(15px, 2vw, 18px); color: var(--muted); max-width: 660px; margin: 0 0 20px; }
.lede strong { color: var(--ink); font-weight: 650; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  padding: 12px 22px; border-radius: 12px; font-weight: 650; font-size: 15px;
  border: 2px solid transparent;
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(155, 125, 255, 0.28); }
.btn:active { transform: translateY(0) scale(.97); }
.btn.primary { background: var(--accent-grad); color: #fff; }
.btn.ghost { background: var(--panel-strong); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--purple); }
.starcount {
  font-family: var(--mono); font-size: 12px; font-weight: 650; color: var(--purple);
  background: var(--soft); border-radius: 999px; padding: 2px 9px; margin-left: 2px;
}
/* Astro-style command pill */
.cmd {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  margin-top: 16px; background: var(--dark-3); color: #cfc6f2;
  border-radius: 999px; padding: 8px 8px 8px 18px;
  box-shadow: 0 10px 28px rgba(61, 53, 80, 0.25);
}
.cmd code {
  background: none; padding: 0; color: inherit; font-size: 12.5px;
  white-space: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0;
}
.cmd code::-webkit-scrollbar { display: none; }
.cmd .dollar { color: var(--red); user-select: none; }
.copy {
  flex: 0 0 auto; background: #3a3357; color: #c6bff0; border: none; cursor: pointer;
  border-radius: 999px; font-size: 11.5px; font-weight: 650; padding: 6px 14px; font-family: var(--sans);
  transition: transform .15s var(--ease-out), background .15s, color .15s;
}
.copy:hover { background: var(--purple); color: #fff; transform: translateY(-1px); }
.copy:active { transform: scale(.95); }
.copy.copied { background: var(--green2); color: #fff; }
.meta-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.meta-pills span {
  font-size: 12px; background: var(--panel); border: 1px solid var(--line);
  padding: 4px 12px; border-radius: 999px; color: var(--muted);
}

/* ===== real product screens ===== */
.product-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start;
  margin: 30px auto 0; max-width: 1120px;
}
.screen-frame {
  position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line);
  border-radius: 16px; background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 50px rgba(155, 125, 255, 0.22);
}
.screen-frame .bar {
  background: var(--dark-2); border-radius: 14px 14px 0 0; padding: 11px 16px;
  display: flex; align-items: center; gap: 8px;
}
.screen-frame .bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.screen-frame .bar i:nth-child(1) { background: #ff5f57; }
.screen-frame .bar i:nth-child(2) { background: #febc2e; }
.screen-frame .bar i:nth-child(3) { background: #28c840; }
.screen-frame .bar .url {
  flex: 1 1 auto; min-width: 0; margin-left: 12px; font-family: var(--mono);
  font-size: 11px; color: #9d96bd; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.screen-frame img {
  display: block; width: 100%; height: auto; background: #fff;
}
.hero-screen img {
  aspect-ratio: 1440 / 920; object-fit: cover; object-position: top center;
}
.screen-tag {
  position: absolute; left: 14px; bottom: 14px; padding: 5px 11px; border-radius: 999px;
  background: rgba(17, 16, 26, 0.78); color: #fff; font-size: 11px; font-weight: 800;
  border: 1px solid rgba(255,255,255,0.22);
}
.walkthrough-card {
  margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--panel-strong); box-shadow: 0 18px 40px rgba(155, 125, 255, 0.18);
}
.walkthrough-card .eyebrow {
  margin: 0 0 10px; font-size: 11px; font-family: var(--mono); font-weight: 800;
  letter-spacing: .12em; color: var(--purple); text-transform: uppercase;
}
.walkthrough-card .hero-gif-link {
  border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #11101a;
}
.walkthrough-card .overview-links {
  border: 0; padding: 10px 0 0; background: transparent;
}

.hero-gif-frame {
  background: #11101a; border: 1px solid rgba(155, 125, 255, 0.18); border-top: 0;
  border-radius: 0 0 14px 14px; overflow: hidden; aspect-ratio: 16 / 9;
}
.hero-gif-link {
  display: block; position: relative; width: 100%; height: 100%; color: #fff; text-decoration: none;
}
.hero-gif-link img {
  display: block; width: 100%; height: 100%; object-fit: cover; background: #11101a;
}
.play-label {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 7px 14px; border-radius: 999px;
  background: rgba(17, 16, 26, 0.82); border: 1px solid rgba(255,255,255,0.22);
  color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap;
  box-shadow: 0 12px 30px rgba(17,16,26,0.22);
}
.overview-links {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  background: var(--panel-strong); border: 1px solid rgba(155, 125, 255, 0.18);
  border-top: 0; border-radius: 0 0 14px 14px; padding: 10px 14px;
}
.overview-links a {
  font-size: 12px; font-weight: 650; text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
  background: #fff; color: var(--ink);
}
.hero-overview .hero-gif-frame { border-radius: 0; }
.overview-caption {
  margin: 8px 0 0; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.5;
}
.caret { display: inline-block; width: 1px; height: 1em; vertical-align: -2px; background: #c6bff0; opacity: 0; }
@keyframes blink { 50% { opacity: 0; } }

/* ===== works-with strip ===== */
.strip { margin: 26px 0 0; overflow: hidden; position: relative; }
/* Spacing via margin-right (not gap) so the duplicated row's total width is
   exactly 2x one period and translateX(-50%) loops without a seam. */
.strip .row { display: flex; row-gap: 10px; width: max-content; }
.strip .row span {
  flex: 0 0 auto; margin-right: 10px; font-size: 13px; font-weight: 650; color: var(--muted);
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px;
}
.strip .row span.hot { color: var(--purple); border-color: var(--purple); }
@media (prefers-reduced-motion: no-preference) {
  .strip .row { animation: scroll-x 30s linear infinite; }
  .strip:hover .row { animation-play-state: paused; }
}
@keyframes scroll-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .strip .row { flex-wrap: wrap; width: auto; }
  .strip .row > span[data-dup] { display: none; }
}

/* ===== scroll reveal ===== */
html.js [data-reveal] {
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
html.js [data-reveal].in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ===== honest sample state ===== */
.truth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.truth-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-strong);
  padding: 18px;
  box-shadow: 0 16px 34px rgba(155, 125, 255, 0.14);
}
.truth-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--purple);
  font: 800 11px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.truth-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}
.truth-card p {
  min-height: 76px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}
.truth-card code {
  display: block;
  margin-top: 7px;
  overflow-x: auto;
  white-space: nowrap;
}
.truth-card pre {
  margin: 0;
  border-radius: 12px;
  padding: 14px 16px;
  overflow-x: auto;
  background: var(--dark-3);
  color: #c6bff0;
  font: 12px/1.55 var(--mono);
}
.wf-shot figcaption {
  padding: 10px 13px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255,255,255,0.86);
  border-top: 1px solid var(--line);
}

/* ===== workflow scrollytelling ===== */
.wf { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
.wf-nav { position: sticky; top: 20vh; display: flex; flex-direction: column; gap: 6px; padding-left: 16px; }
.wf-track { position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.wf-track i {
  position: absolute; inset: 0; background: var(--accent-grad); border-radius: 999px;
  transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease-out); display: block;
}
.wf-label {
  text-align: left; background: none; border: none; font: 650 13px var(--sans); color: var(--muted);
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  transition: color .25s var(--ease-out), transform .25s var(--ease-out);
}
.wf-label .num { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; margin-right: 8px; }
.wf-label.on { background: var(--accent-grad); color: #fff; transform: translateX(4px); }
.wf-steps { display: flex; flex-direction: column; gap: 22px; }
.wf-step {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 18px;
}
.wf-step .n { font-family: var(--mono); font-size: 11px; color: var(--purple); font-weight: 650; letter-spacing: .12em; margin-bottom: 6px; }
.wf-step h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.wf-step p { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.wf-shot {
  margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: 0 12px 28px rgba(155, 125, 255, 0.14);
}
.wf-shot img {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center;
}
.wf-data-card {
  min-height: 230px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
}
.visual-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  color: var(--muted); font: 800 11px var(--mono); text-transform: uppercase; letter-spacing: .08em;
}
.visual-toolbar b {
  color: var(--purple); background: var(--soft); border-radius: 999px; padding: 3px 9px; font-size: 10px;
}
.wf-data-card pre {
  flex: 1;
  margin: 0;
  border-radius: 12px;
  padding: 16px 18px;
  overflow-x: auto;
  background: var(--dark-3);
  color: #c6bff0;
  font: 12.5px/1.7 var(--mono);
}
.base-ledger {
  flex: 1; display: grid; gap: 9px; align-content: center;
}
.base-ledger span {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-strong);
}
.base-ledger b { color: var(--ink); font-size: 13px; }
.base-ledger code {
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}
.base-ledger em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}
.process-list {
  flex: 1;
  display: grid;
  gap: 9px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-list li {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-strong);
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}
.wf-data-card figcaption { margin: auto -14px -14px; }
@media (max-width: 899px) {
  .wf { grid-template-columns: 1fr; }
  .wf-nav { display: none; }
  .wf, .wf-steps, .wf-step { min-width: 0; }
}

/* ===== bento features ===== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cell {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.cell:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(155, 125, 255, 0.22); }
.cell.big { grid-column: span 2; grid-row: span 2; }
.cell h3 { margin: 10px 0 6px; font-size: 15px; font-weight: 800; }
.cell.big h3 { font-size: 18px; }
.cell p { margin: 0; font-size: 13px; color: var(--muted); }
.cell .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.cell .ico svg { width: 19px; height: 19px; stroke: var(--purple); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* local-first file tree */
.tree { font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--soft); border-radius: 10px; padding: 12px 14px; margin-top: 14px; line-height: 1.9; }
.tree b { color: var(--ink); font-weight: 650; }
html.js .cell .tree span { display: block; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); transition-delay: var(--d, 0ms); }
html.js .cell.in-view .tree span { opacity: 1; transform: none; }
.adoption-steps {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}
.adoption-steps li {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-strong);
  padding: 10px 12px;
}
.adoption-steps b {
  display: block;
  color: var(--ink);
  font: 800 11px var(--mono);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.adoption-steps span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 560px) {
  .adoption-steps { grid-template-columns: 1fr; }
}
/* doctor checklist */
.checks { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.checks span::before { content: "✓ "; color: var(--green2); font-weight: 800; }
html.js .checks span { opacity: 0; transform: translateX(-6px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); transition-delay: var(--d, 0ms); }
html.js .cell.in-view .checks span { opacity: 1; transform: none; }
/* EN/JA toggle chip */
.langflip { position: relative; display: inline-block; margin-top: 12px; min-width: 110px; height: 28px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.langflip i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 650; color: var(--purple); }
@media (prefers-reduced-motion: no-preference) {
  .langflip i:first-child { animation: flipA 6s ease-in-out infinite; }
  .langflip i:last-child { animation: flipB 6s ease-in-out infinite; }
}
@keyframes flipA { 0%, 42% { opacity: 1; transform: none; } 50%, 92% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 1; transform: none; } }
@keyframes flipB { 0%, 42% { opacity: 0; transform: translateY(8px); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .langflip i:last-child { display: none; } }
/* gallery gates dots */
.gates { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.gates b { width: 26px; height: 26px; border-radius: 50%; background: var(--soft); color: var(--purple); font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.gates .bar { flex: 0 0 18px; height: 2px; background: var(--line); border-radius: 999px; }
html.js .gates b { opacity: 0; transform: scale(.6); transition: opacity .3s var(--ease-pop), transform .3s var(--ease-pop); transition-delay: var(--d, 0ms); }
html.js .cell.in-view .gates b { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .cell.big { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .cell.big { grid-column: auto; }
}

/* ===== dark panels (agent + quick start) ===== */
.dark-panel { background: var(--dark-2); border-radius: 16px; padding: 28px 30px; color: #e8e4fb; }
.dark-panel h2 { color: #fff; }
.dark-panel .sec-sub { color: #b3abd6; }
.dark-panel a { color: #c6bff0; }
.agent { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
.agent > * { min-width: 0; }
.agent-code pre {
  background: var(--dark-3); border-radius: 10px; padding: 14px 16px; overflow-x: auto;
  font-family: var(--mono); font-size: 12px; line-height: 1.7; margin: 0; color: #c6bff0;
}
.agent-code .k { color: #8ec5ef; }
.agent-code .s { color: #b8f7d8; }
.agent-code .c { color: #7d76a3; }
.term {
  margin-top: 10px; background: var(--dark-3); border-radius: 10px; padding: 11px 16px;
  font-family: var(--mono); font-size: 12.5px; color: #b8f7d8;
}
.term .dollar { color: var(--red); }
.term .caret { opacity: 1; background: #b8f7d8; width: 7px; margin-left: 2px; }
@media (prefers-reduced-motion: no-preference) { .term .caret { animation: blink 1s steps(1) infinite; } }
@media (max-width: 760px) {
  .dark-panel { padding: 24px 18px; }
  .agent { grid-template-columns: 1fr; }
  .agent-code, .agent-code pre, .term { min-width: 0; max-width: 100%; }
  .term { overflow-x: auto; white-space: nowrap; }
}

/* quick start */
.qs pre {
  background: var(--dark-3); border-radius: 10px; padding: 16px 18px; overflow-x: auto;
  font-family: var(--mono); font-size: 13.5px; line-height: 1.7; margin: 0 0 12px; position: relative;
}
.qs pre .c { color: #7d76a3; }
.qs pre .copy { position: absolute; top: 10px; right: 10px; border-radius: 7px; }
.qs .outcome { font-size: 13px; color: #b8f7d8; font-family: var(--mono); margin: 0 0 18px; }
.qs .req { font-size: 12.5px; color: #b3abd6; margin-top: 12px; }
.qs .req code { background: rgba(155, 125, 255, 0.2); color: #c6bff0; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 14px; font-weight: 650; font-size: 15px; padding: 14px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 18px; font-weight: 500; color: var(--purple); flex: 0 0 auto;
  transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 16px; font-size: 14px; color: var(--muted); }

/* ===== final CTA band ===== */
.cta-band {
  margin-top: 56px; padding: 64px 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 142, 196, 0.35), transparent 42%),
    radial-gradient(circle at 82% 70%, rgba(93, 157, 255, 0.3), transparent 42%),
    linear-gradient(120deg, rgba(255, 142, 196, 0.18), rgba(155, 125, 255, 0.22));
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 8px; }
.cta-band p { color: var(--muted); margin: 0 0 22px; }
.cta-band .cta { justify-content: center; }
.cta-band .cmd { margin-top: 18px; }

/* ===== JA card ===== */
.ja { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px 30px; }
.ja h2 { font-size: 22px; }
.ja ul { padding-left: 20px; color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.ja li { margin-bottom: 7px; }
.ja li strong { color: var(--ink); }
body[data-lang="ja"] #japanese { display: none; }

footer { padding: 50px 0 40px; text-align: center; color: var(--muted); font-size: 13px; }
footer a { font-weight: 650; }

@media (max-width: 760px) {
  .product-hero, .truth-grid { grid-template-columns: 1fr; }
  .product-hero { margin-top: 22px; }
  .walkthrough-card { padding: 12px; }
  .brand-logo { width: min(310px, 100%); }
  .lang-switch { width: 100%; margin-left: 0; justify-content: space-between; }
  .lang-btn { flex: 1 1 auto; }
  .cta { align-items: stretch; }
  .cta .btn { width: 100%; justify-content: center; }
  .cmd { width: 100%; border-radius: 18px; }
  .strip .row { flex-wrap: wrap; width: auto; animation: none; transform: none; }
  .strip .row > span[data-dup] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .copy, .cell, .wf-label { transition: none; }
}
