/* TypeMacX — typemacx.com
   Colors come from the app icon: violet field, cyan caret.
   Violet marks Japanese, cyan marks English, everywhere on the site.
   Layout language: big centered hero with the product shown large, a quiet facts strip,
   feature rows that each pair short copy with one large visual, bento cards,
   simple pricing cards, FAQ, and a final call to action. One accent color, lots of air. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --surface: #ffffff;
  --ink: #0f1222;
  --ink-2: #3a3f58;
  --muted: #676c87;
  --line: #e6e8f1;
  --line-strong: #d5d8e6;

  --accent: #5146e0;
  --accent-hi: #6a60f0;
  --accent-ink: #ffffff;
  --accent-soft: #eeedff;
  --ja: #4b40d8;
  --ja-soft: #ecebff;
  --en: #0a7a91;
  --en-soft: #e1f6f9;

  --win: #ffffff;
  --win-bar: #f4f5f9;
  --win-line: #e4e6ef;
  --win-ink: #14172b;
  --win-muted: #7a7f99;
  --key-bg: #ffffff;
  --key-edge: #cfd2e2;

  --glow-a: rgba(108, 124, 255, .16);
  --glow-b: rgba(72, 228, 242, .10);

  --shadow-xs: 0 1px 2px rgba(15, 18, 34, .06);
  --shadow-sm: 0 1px 2px rgba(15, 18, 34, .05), 0 2px 8px -2px rgba(15, 18, 34, .06);
  --shadow-md: 0 1px 2px rgba(15, 18, 34, .05), 0 12px 32px -12px rgba(15, 18, 34, .16);
  --shadow-win: 0 0 0 1px rgba(15, 18, 34, .08), 0 2px 6px rgba(15, 18, 34, .06), 0 40px 80px -28px rgba(28, 18, 96, .45);

  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1180px;
  --gutter: 16px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090b17;
    --bg-soft: #0e1122;
    --surface: #13162b;
    --ink: #eef0fb;
    --ink-2: #c5c9df;
    --muted: #9096b4;
    --line: #23284a;
    --line-strong: #30365c;

    --accent: #6c63f5;
    --accent-hi: #7d75ff;
    --accent-ink: #ffffff;
    --accent-soft: #1f1d48;
    --ja: #aaa4ff;
    --ja-soft: #23214b;
    --en: #57e2f0;
    --en-soft: #0f2f3c;

    --win: #1a1d34;
    --win-bar: #22264a;
    --win-line: #2f3459;
    --win-ink: #eef0fb;
    --win-muted: #9196b6;
    --key-bg: #262a4e;
    --key-edge: #3c4272;

    --glow-a: rgba(108, 99, 245, .22);
    --glow-b: rgba(72, 228, 242, .08);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 8px -2px rgba(0, 0, 0, .4);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, .35), 0 16px 40px -16px rgba(0, 0, 0, .7);
    --shadow-win: 0 0 0 1px rgba(255, 255, 255, .08), 0 2px 6px rgba(0, 0, 0, .3), 0 40px 80px -28px rgba(0, 0, 0, .8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--en); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.3; margin: 0; word-break: auto-phrase; text-wrap: balance; font-feature-settings: "palt" 1; letter-spacing: -.005em; color: var(--ink); }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: .92em; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 20; background: var(--surface); padding: 8px 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(1.8) blur(16px);
  backdrop-filter: saturate(1.8) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 36px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.01em; flex-shrink: 0; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.site-nav { display: flex; align-items: center; gap: 28px; flex: 1; font-size: 14.5px; font-weight: 500; }
.site-nav a { color: var(--ink-2); text-decoration: none; transition: color .15s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"] { font-weight: 700; }
.site-nav .btn { margin-left: auto; padding: 8px 16px; font-size: 14px; border-radius: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 15.5px; text-decoration: none; line-height: 1.3;
  border: 1px solid color-mix(in srgb, var(--accent) 80%, #000);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(20, 14, 90, .18), 0 6px 16px -6px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.site-nav .btn, .site-nav .btn:hover { color: var(--accent-ink); }
.btn:hover { background: var(--accent-hi); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: var(--surface); color: var(--ink); border-color: var(--line-strong);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover { background: var(--bg-soft); }
.btn-ja { /* the recommended plan's button keeps the accent */ }
.btn-lg { padding: 14px 26px; font-size: 16.5px; border-radius: 14px; }
.btn .chev { width: 14px; height: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink); text-decoration: none; font-size: 15px; }
.text-link::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-left: 4px; transition: transform .15s ease; }
.text-link:hover::after { transform: translateX(3px) rotate(45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 0; text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -64px 0 auto; height: 760px; z-index: -1;
  background:
    radial-gradient(48% 60% at 50% 0%, var(--glow-a), transparent 70%),
    radial-gradient(30% 40% at 78% 20%, var(--glow-b), transparent 70%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 26px; padding: 5px 14px 5px 10px;
  border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: 13px; font-weight: 600; line-height: 1.5;
}
.eyebrow img { width: 18px; height: 18px; border-radius: 5px; }
.hero h1 {
  font-size: clamp(38px, 6.2vw, 76px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.14;
}
.hero h1 span { display: inline-block; }
.grad {
  background: linear-gradient(100deg, var(--accent) 10%, #5b7cfa 55%, #1fb8cc 95%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
@media (prefers-color-scheme: dark) {
  .grad { background-image: linear-gradient(100deg, #a39dff 10%, #7f9bff 55%, #57e2f0 95%); }
}
.hero .lead { word-break: auto-phrase; text-wrap: pretty; font-size: clamp(16px, 1.9vw, 19px); color: var(--ink-2); max-width: 34em; margin: 24px auto 32px; line-height: 1.85; }
.hero .actions { justify-content: center; }
.hero .meta { font-size: 14px; color: var(--muted); margin: 18px 0 0; font-weight: 500; }

/* ---------- product visuals (all HTML/CSS) ---------- */
.stage {
  position: relative;
  margin: 64px auto 0;
  border-radius: 28px;
  padding: 0 clamp(14px, 5vw, 72px) clamp(40px, 6vw, 84px);
  background:
    radial-gradient(70% 90% at 0% 0%, #6d8bff 0%, transparent 60%),
    radial-gradient(70% 90% at 100% 100%, #9a3fe6 0%, transparent 60%),
    radial-gradient(40% 50% at 85% 10%, rgba(72, 228, 242, .55) 0%, transparent 70%),
    #5a3df0;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 30px 80px -40px rgba(60, 30, 200, .6);
}
.desk-bar {
  display: flex; align-items: center; gap: 18px;
  margin: 0 calc(clamp(14px, 5vw, 72px) * -1) clamp(28px, 5vw, 64px);
  padding: 0 18px; height: 30px;
  background: rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden;
}
.desk-bar .dim { font-weight: 500; opacity: .9; }
.desk-bar .right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.menu-icon { display: inline-grid; place-items: center; width: 26px; height: 20px; border-radius: 5px; }
.menu-icon img { width: 16px; height: 16px; border-radius: 4px; }
.menu-icon.on { background: rgba(255, 255, 255, .28); }

.win {
  background: var(--win); color: var(--win-ink);
  border-radius: 14px;
  box-shadow: var(--shadow-win);
  overflow: hidden;
}
.win-bar {
  position: relative; display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px;
  background: var(--win-bar); border-bottom: 1px solid var(--win-line);
}
.win-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; flex-shrink: 0; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-title { position: absolute; left: 0; right: 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--win-muted); pointer-events: none; }
.win-body { padding: clamp(18px, 3.4vw, 40px) clamp(18px, 4vw, 48px); }

.hero-win { max-width: 900px; margin: 0 auto; }
.editor { min-height: 300px; }
.ed-line { margin: 0 0 6px; font-size: clamp(16px, 1.9vw, 20px); line-height: 1.8; color: var(--win-ink); }
.ed-h { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; margin-bottom: 14px; letter-spacing: -.01em; }
.ed-muted { color: var(--win-muted); }
.ed-live { font-size: clamp(24px, 4vw, 40px); font-weight: 700; line-height: 1.5; margin-top: 18px; min-height: 1.6em; word-break: break-all; font-feature-settings: "palt" 1; }
.ed-live .seg-ja, .ed-live .seg-en { border-bottom: 3px solid currentColor; padding-bottom: 1px; }

.typed { font-family: var(--mono); font-weight: 500; letter-spacing: .01em; text-decoration: underline; text-decoration-style: dotted; text-decoration-color: var(--win-muted); text-underline-offset: .22em; text-decoration-thickness: 2px; }
.caret { display: inline-block; width: 3px; height: 1.05em; margin-left: 2px; vertical-align: -.14em; background: #1fc6d6; border-radius: 2px; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.seg-ja { color: var(--ja); }
.seg-en { color: var(--en); font-family: var(--mono); font-weight: 600; }

/* floating cards over the hero window */
.float {
  position: absolute; z-index: 2;
  background: color-mix(in srgb, var(--win) 92%, transparent);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  color: var(--win-ink);
  border-radius: 14px; padding: 14px 18px;
  box-shadow: var(--shadow-win);
}
.float-label { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--win-muted); margin: 0 0 2px; }
.keys-card { left: clamp(14px, 3vw, 40px); bottom: clamp(26px, 4vw, 48px); max-width: 320px; }
.keys-line { font-family: var(--mono); font-size: 17px; font-weight: 600; min-height: 1.6em; line-height: 1.6; word-break: break-all; }
.legend-card { right: clamp(14px, 3vw, 40px); top: clamp(80px, 9vw, 120px); font-size: 13px; }
.legend { display: flex; flex-direction: column; gap: 4px; }
.legend span { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.legend b { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.legend .l-ja b { background: var(--ja); }
.legend .l-en b { background: var(--en); }
.legend-card .note { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--win-line); color: var(--win-muted); font-size: 12px; max-width: 14em; line-height: 1.6; }
.stage-caption { text-align: center; margin: 22px auto 0; font-size: 14.5px; color: var(--muted); max-width: 42em; }

/* ---------- facts strip ---------- */
.facts { padding: 56px 0 8px; }
.facts-cap { text-align: center; color: var(--muted); font-size: 13.5px; margin: 0 0 20px; }
.facts-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; }
.facts-list li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; font-size: 15px; }
.facts-list svg { width: 22px; height: 22px; color: var(--muted); flex-shrink: 0; }

/* ---------- sections ---------- */
.section { padding: 120px 0 0; }
.section:last-of-type { padding-bottom: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 48px; }
.section-head > div { max-width: 40em; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; letter-spacing: -.02em; }
.section-head p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center > div { margin: 0 auto; }

/* ---------- bento cards ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-text { padding: 28px 28px 0; }
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.75; }
.card-vis {
  flex: 1; margin-top: auto; padding: 28px;
  min-height: 190px; display: grid; place-items: center; gap: 12px;
}
.card-text + .card-vis { margin-top: 24px; }
.card-vis.wide { place-items: stretch; align-content: center; }

/* gradient tints for visuals */
.tint-violet { background: radial-gradient(90% 100% at 0% 0%, #dcd8ff, transparent 70%), radial-gradient(80% 100% at 100% 100%, #d4e6ff, transparent 70%), #ecebfd; }
.tint-cyan   { background: radial-gradient(90% 100% at 100% 0%, #c9f1f6, transparent 70%), radial-gradient(80% 100% at 0% 100%, #dde5ff, transparent 70%), #e9f7fa; }
.tint-blue   { background: radial-gradient(90% 100% at 0% 100%, #cfdcff, transparent 70%), radial-gradient(80% 100% at 100% 0%, #e2d9ff, transparent 70%), #e9eefc; }
.tint-night  { background: radial-gradient(80% 90% at 20% 0%, #3d2fc4, transparent 65%), radial-gradient(70% 90% at 100% 100%, #0f6f86, transparent 65%), #0f1129; }
@media (prefers-color-scheme: dark) {
  .tint-violet { background: radial-gradient(90% 100% at 0% 0%, #2f2875, transparent 70%), radial-gradient(80% 100% at 100% 100%, #1c2c66, transparent 70%), #161838; }
  .tint-cyan   { background: radial-gradient(90% 100% at 100% 0%, #0f4552, transparent 70%), radial-gradient(80% 100% at 0% 100%, #1f2660, transparent 70%), #111a30; }
  .tint-blue   { background: radial-gradient(90% 100% at 0% 100%, #1d2f6e, transparent 70%), radial-gradient(80% 100% at 100% 0%, #33237a, transparent 70%), #121736; }
}

/* small shared mock parts */
.key {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.2em; padding: 2px 10px;
  font-family: var(--font); font-size: 14px; font-weight: 700; line-height: 1.7;
  color: var(--win-ink); background: var(--key-bg);
  border: 1px solid var(--key-edge); border-bottom-width: 3px; border-radius: 8px;
  white-space: nowrap;
}
.key-lg { font-size: 17px; padding: 6px 14px; border-radius: 10px; }
.plus { color: var(--muted); font-size: 14px; font-weight: 700; }
.keyrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.key-off { position: relative; opacity: .55; }
.key-off::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 2px; background: var(--ink); transform: rotate(-14deg); border-radius: 2px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 10px;
  background: var(--win); color: var(--en);
  font-family: var(--mono); font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow-sm);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 300px; }
.chip.ja { color: var(--ja); font-family: var(--font); }
.mac-lock { position: relative; width: 150px; }
.mac-lock .screen { height: 96px; border-radius: 10px 10px 4px 4px; border: 6px solid #1c1f36; background: linear-gradient(160deg, #6d8bff, #5a3df0 55%, #9a3fe6); display: grid; place-items: center; }
.mac-lock .base { height: 8px; margin: 0 -14px; border-radius: 0 0 10px 10px; background: linear-gradient(#d5d8e4, #aeb2c4); }
.mac-lock svg { width: 34px; height: 34px; color: #fff; }

/* ---------- feature rows: copy + one large visual ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding: 56px 0; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip > :first-child { order: 2; }
.feature h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.feature p { color: var(--muted); font-size: 16.5px; }
.checks { list-style: none; margin: 22px 0 0; padding: 0; }
.checks li { position: relative; padding: 6px 0 6px 32px; font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.6; }
.checks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 6px; background: var(--accent-soft); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 12px; width: 6px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }

.vis {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 420px; padding: clamp(24px, 4vw, 52px);
  display: grid; place-items: center; align-content: center; gap: 18px;
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.vis > .win { width: 100%; max-width: 520px; }
.vis-note { position: absolute; right: 18px; bottom: 12px; margin: 0; font-size: 12px; color: var(--muted); }
.tint-night .vis-note { color: rgba(255, 255, 255, .6); }

/* auto-detect rows inside a window */
.conv { display: grid; gap: 4px; }
.conv-row { padding: 14px 0; }
.conv-row + .conv-row { border-top: 1px dashed var(--win-line); }
.conv-in { display: block; font-family: var(--mono); font-size: 14px; color: var(--win-muted); text-decoration: underline dotted; text-underline-offset: .25em; overflow-wrap: anywhere; }
.conv-out { display: block; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; margin-top: 2px; overflow-wrap: anywhere; line-height: 1.5; }

/* before / after text fields */
.field {
  width: 100%; max-width: 460px;
  background: var(--win); color: var(--win-ink);
  border-radius: 14px; padding: 14px 20px 16px;
  box-shadow: var(--shadow-win);
}
.field-tag { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--win-muted); }
.field-text { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; line-height: 1.5; }
.field.before { opacity: .78; transform: scale(.96); }
.field.before .field-text { color: var(--win-muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.flip-keys { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 700; font-size: 14px; }
.flip-keys .arrow-down { width: 18px; height: 18px; color: var(--ink-2); }

/* AI chat mock */
.chat { max-width: 520px; }
.chat .win-body { padding: 20px 22px 18px; display: grid; gap: 12px; }
.bubble { height: 12px; border-radius: 6px; background: var(--win-line); }
.bubble.w1 { width: 70%; } .bubble.w2 { width: 52%; } .bubble.w3 { width: 62%; margin-left: auto; background: color-mix(in srgb, var(--accent) 26%, var(--win-line)); }
.msg-me { justify-self: end; max-width: 80%; display: grid; gap: 8px; }
.chat-input {
  display: flex; align-items: flex-end; gap: 12px; margin-top: 8px;
  border: 1px solid var(--win-line); border-radius: 16px; padding: 14px 14px 14px 18px;
  background: var(--bg-soft);
}
.chat-text { flex: 1; font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; line-height: 1.5; }
.chat-text .marked { border-bottom: 2px solid var(--win-ink); }
.send { width: 34px; height: 34px; border-radius: 50%; background: var(--win-line); display: grid; place-items: center; flex-shrink: 0; }
.send svg { width: 16px; height: 16px; color: var(--win-muted); }
.tip {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  padding: 10px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .1); color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 14px; font-weight: 700;
}
.tip .key { --key-bg: #fff; --key-edge: #c7cadb; color: #14172b; }
.tip .plus { color: rgba(255, 255, 255, .7); }

/* menu-bar input menu mock */
.menubar-vis { align-content: start; padding-top: 0; }
.vis .desk-bar { margin: 0 calc(clamp(24px, 4vw, 52px) * -1) 0; width: calc(100% + clamp(24px, 4vw, 52px) * 2); justify-self: stretch; background: rgba(255, 255, 255, .55); color: #14172b; }
@media (prefers-color-scheme: dark) { .vis .desk-bar { background: rgba(255, 255, 255, .08); color: #eef0fb; } .vis .menu-icon.on { background: rgba(255, 255, 255, .2); } }
.vis .menu-icon.on { background: rgba(20, 23, 43, .12); }
.menu {
  justify-self: end; width: min(100%, 400px);
  margin-top: 6px;
  background: color-mix(in srgb, var(--win) 90%, transparent);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  color: var(--win-ink);
  border-radius: 12px; padding: 6px;
  box-shadow: var(--shadow-win);
  font-size: 14px; line-height: 1.5;
}
.menu-item { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 7px; }
.menu-item .check { width: 14px; flex-shrink: 0; color: var(--win-ink); font-weight: 700; }
.menu-item img { width: 18px; height: 18px; border-radius: 5px; }
.menu-sep { height: 1px; background: var(--win-line); margin: 5px 10px; }
.menu-stat { display: block; padding: 4px 10px 4px 34px; }
.menu-stat b { font-variant-numeric: tabular-nums; }
.menu-stat .up { color: #1f9d55; font-weight: 700; }
@media (prefers-color-scheme: dark) { .menu-stat .up { color: #4ade80; } }
.menu-stat.hl { background: var(--accent); color: #fff; border-radius: 7px; margin: 0; }
.menu-stat.hl .up { color: #c6ffd9; }
.menu-item.dim { color: var(--win-ink); }

/* Tab: text field + candidate hint */
.hint-wrap { position: relative; width: 100%; max-width: 360px; }
.hint-wrap .field { max-width: none; }
.hint {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  margin: 14px 0 0 14px; padding: 8px 12px;
  background: var(--win); color: var(--win-ink);
  border-radius: 10px; box-shadow: var(--shadow-win);
  font-size: 15px; font-weight: 700;
}
.hint::before { content: ""; position: absolute; left: 18px; top: -6px; width: 12px; height: 12px; background: var(--win); transform: rotate(45deg); border-radius: 2px; }
.hint .key { font-size: 12px; padding: 0 7px; line-height: 1.6; }
.hint .to { color: var(--win-muted); font-weight: 600; }

.mini-rows { width: 100%; display: grid; gap: 8px; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--win); box-shadow: var(--shadow-sm); font-size: 15px; }
.mini-row .in { font-family: var(--mono); color: var(--win-muted); text-decoration: underline dotted; text-underline-offset: .25em; }
.mini-row .out { margin-left: auto; font-weight: 800; color: var(--win-ink); font-variant-numeric: tabular-nums; }
.mini-row .key { font-size: 12px; padding: 0 7px; line-height: 1.6; }

.cands { width: 100%; max-width: 260px; background: var(--win); border-radius: 12px; box-shadow: var(--shadow-win); padding: 6px; font-size: 17px; font-weight: 700; color: var(--win-ink); }
.cand { display: flex; gap: 12px; padding: 5px 12px; border-radius: 8px; }
.cand span { color: var(--win-muted); font-weight: 600; font-size: 13px; padding-top: 3px; }
.cand.sel { background: var(--accent); color: #fff; }
.cand.sel span { color: rgba(255, 255, 255, .75); }
.cand-note { font-size: 13px; color: var(--ink-2); font-weight: 600; text-align: center; margin: 0; }

/* ---------- privacy (dark card) ---------- */
.privacy-band {
  position: relative; overflow: hidden;
  background:
    repeating-radial-gradient(circle at 82% 50%, rgba(255, 255, 255, .045) 0 1px, transparent 1px 46px),
    radial-gradient(60% 80% at 82% 50%, rgba(108, 99, 245, .45), transparent 70%),
    #0d0f22;
  color: #eef0fb;
  border-radius: 28px; padding: clamp(32px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center;
  border: 1px solid rgba(255, 255, 255, .06);
}
.privacy-band h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.privacy-band p { color: rgba(238, 240, 251, .74); }
.privacy-band a { color: #fff; font-weight: 600; }
.shield { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px; background: linear-gradient(160deg, #6d8bff, #5a3df0 60%, #9a3fe6); box-shadow: 0 10px 30px -8px rgba(108, 99, 245, .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
.shield svg { width: 28px; height: 28px; color: #fff; }
.privacy-band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.privacy-band li { padding: 18px 22px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.privacy-band li strong { display: block; font-size: 16.5px; color: #fff; }
.privacy-band li span { font-size: 14px; color: rgba(238, 240, 251, .7); }

/* ---------- requirements ---------- */
.reqs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.reqs div { padding: 26px 28px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.reqs dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.reqs dd { margin: 4px 0 0; font-size: 19px; font-weight: 800; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 22px; padding: 0 6px 6px;
}
.plan-tab { text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); padding: 9px 0 8px; }
.plan-card { flex: 1; display: flex; flex-direction: column; background: var(--surface); border-radius: 17px; padding: 26px 26px 24px; box-shadow: var(--shadow-sm); }
.plan.recommended { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.plan.recommended .plan-tab { color: var(--accent); }
@media (prefers-color-scheme: dark) { .plan.recommended .plan-tab { color: var(--ja); } }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan h3, .plan-name { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.badge { font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent); padding: 3px 10px; border-radius: 999px; white-space: nowrap; line-height: 1.6; }
.price { margin: 18px 0 2px; font-size: 46px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.price-sub { color: var(--muted); font-size: 14px; margin: 6px 0 20px; line-height: 1.7; }
.price-sub strong { color: var(--accent); }
@media (prefers-color-scheme: dark) { .price-sub strong { color: var(--ja); } }
.renew { display: flex; gap: 10px; align-items: flex-start; margin: -6px 0 20px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); border: 1px dashed var(--line-strong); font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.renew b { color: var(--ink); }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; font-size: 14.5px; color: var(--ink-2); }
.plan li { position: relative; padding: 6px 0 6px 28px; line-height: 1.6; border-top: 1px solid var(--line); }
.plan li:first-child { border-top: 0; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); }
.plan li::after { content: ""; position: absolute; left: 8px; top: 14px; width: 4px; height: 8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }
@media (prefers-color-scheme: dark) { .plan li::after { border-color: var(--ja); } }
.plan .btn { margin-top: auto; width: 100%; }
.plans-foot { text-align: center; margin: 26px auto 0; color: var(--muted); font-size: 14px; max-width: 46em; }
.trial-note { margin: 28px auto 0; color: var(--muted); font-size: 14px; max-width: 52em; text-align: center; }

.strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px;
  margin: 56px auto 0; padding: 22px 28px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.strip img { width: 52px; height: 52px; border-radius: 13px; }
.strip .info { flex: 1 1 260px; }
.strip strong { display: block; font-size: 17px; }
.strip span { color: var(--muted); font-size: 14px; }

.compare-wrap { margin-top: 96px; }
.compare-wrap h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 24px; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 600px; table-layout: fixed; }
.compare thead td { border-bottom: 0; }
.compare th, .compare td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; line-height: 1.6; }
.compare thead th { font-size: 15px; font-weight: 800; border-bottom: 0; padding-bottom: 12px; }
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink-2); width: 28%; padding-left: 0; }
.compare td { color: var(--ink); }
.compare td small { display: block; color: var(--muted); font-size: 12.5px; }
.compare .ok { display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink-2); position: relative; vertical-align: middle; }
.compare .ok::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.faq-grid .section-head { margin: 0; position: sticky; top: 100px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-xs); transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 16px; position: relative; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; position: absolute; right: 18px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--bg-soft); }
.faq summary::after { content: ""; position: absolute; right: 27px; top: 50%; width: 6px; height: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- final CTA ---------- */
.cta { padding: 120px 0 112px; }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 32px; padding: clamp(48px, 8vw, 96px) var(--gutter);
  background:
    radial-gradient(50% 70% at 50% 0%, var(--glow-a), transparent 70%),
    radial-gradient(40% 60% at 85% 100%, var(--glow-b), transparent 70%),
    var(--bg-soft);
  border: 1px solid var(--line);
}
.cta img { width: 104px; height: 104px; margin: 0 auto 28px; border-radius: 24px; box-shadow: 0 24px 48px -16px rgba(60, 30, 200, .5); }
.cta h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.025em; }
.cta p { color: var(--muted); margin: 16px auto 30px; max-width: 32em; font-size: 17px; }
.cta .actions { justify-content: center; }

/* ---------- inner pages ---------- */
.page-head { position: relative; padding: 80px 0 48px; text-align: center; isolation: isolate; }
.page-head::before {
  content: ""; position: absolute; inset: -64px 0 auto; height: 460px; z-index: -1;
  background: radial-gradient(44% 70% at 50% 0%, var(--glow-a), transparent 70%);
  pointer-events: none;
}
.page-head h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -.025em; }
.page-head p { color: var(--ink-2); font-size: 17px; margin: 18px auto 0; max-width: 38em; }
.page-head .head-icon { width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 22px; box-shadow: 0 24px 48px -16px rgba(60, 30, 200, .5); }
.page-body { padding: 16px 0 112px; }
.page-body > .wrap > .prose, .page-body > .wrap > .steps, .page-body > .wrap > .download-box { margin-left: auto; margin-right: auto; }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; font-weight: 800; margin: 52px 0 14px; letter-spacing: -.01em; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: 4px 0; }
.prose .updated { color: var(--muted); font-size: 14px; }
.prose .faq { margin-top: 8px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; max-width: 760px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 32px 60px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 16px; box-shadow: 0 6px 16px -6px var(--accent); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 46px; bottom: 6px; width: 2px; background: var(--line); }
.steps h3 { font-size: 18px; font-weight: 800; margin: 5px 0 6px; }
.steps p { color: var(--muted); margin: 0; }
.path { font-weight: 700; color: var(--ink); }

/* download: three step cards */
.step-cards { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step-cards li { counter-increment: s; display: flex; flex-direction: column; }
.step-cards .card-text::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 18px; background: var(--accent); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 6px 16px -6px var(--accent); }
.step-cards .card-vis { min-height: 170px; }
.pkg { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--win); color: var(--win-ink); border-radius: 14px; box-shadow: var(--shadow-win); font-weight: 700; font-size: 14px; }
.pkg img { width: 40px; height: 40px; border-radius: 10px; }
.pkg small { display: block; color: var(--win-muted); font-weight: 600; font-size: 12px; }
.src-list { width: 100%; max-width: 260px; background: var(--win); border-radius: 12px; box-shadow: var(--shadow-win); padding: 6px; font-size: 14px; font-weight: 600; color: var(--win-ink); }
.src-list div { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 8px; }
.src-list .sel { background: var(--accent); color: #fff; }
.src-list img { width: 18px; height: 18px; border-radius: 5px; }
.src-list .ab { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--win-line); font-size: 11px; font-weight: 800; }
.src-plus { margin-top: 8px; display: flex; gap: 4px; }
.src-plus span { width: 24px; height: 22px; display: grid; place-items: center; border: 1px solid var(--win-line); border-radius: 6px; font-weight: 700; color: var(--win-ink); background: var(--win); font-size: 14px; }

.download-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: 28px 32px; box-shadow: var(--shadow-md); max-width: 760px;
}
.download-box img { width: 80px; height: 80px; border-radius: 18px; }
.download-box .info { flex: 1 1 220px; }
.download-box h2 { font-size: 22px; font-weight: 800; margin: 0; }
.download-box p { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
.prose .download-box h2 { margin: 0; }

.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.table th { width: 30%; font-weight: 700; padding-right: 20px; }
.ph { background: var(--ja-soft); color: var(--ja); padding: 0 .3em; border-radius: 4px; font-weight: 600; }

.notice-list { list-style: none; padding: 0; margin: 0; }
.notice-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.notice-list strong { display: block; }
.notice-list span { color: var(--muted); font-size: 14px; }

.callout { padding: 20px 24px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); margin: 28px 0; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 64px; font-size: 14px; color: var(--muted); background: var(--bg-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; align-items: flex-start; }
.foot-brand p { margin: 10px 0 0; }
.foot-brand .copy { margin-top: 18px; font-size: 13px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 28px 72px; }
.foot-cols div { display: flex; flex-direction: column; gap: 8px; }
.foot-cols h2 { font-size: 13px; font-weight: 700; color: var(--ink); margin: 0 0 4px; letter-spacing: .02em; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .brand { font-size: 16px; color: var(--ink); }
.site-footer .brand img { width: 24px; height: 24px; border-radius: 6px; }

/* ---------- 404 ---------- */
.nf { position: relative; padding: 140px 0; text-align: center; isolation: isolate; }
.nf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 50% 30%, var(--glow-a), transparent 70%); }
.nf .field-line { font-size: 28px; font-weight: 600; }
.nf .typed { --win-muted: var(--muted); }
.nf h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; margin: 24px 0 12px; letter-spacing: -.02em; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.float-y { animation: floaty 6s ease-in-out infinite; }
.float-y.d2 { animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.ed-live.pop .seg-ja, .ed-live.pop .seg-en { animation: pop .45s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(4px); } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .bento, .step-cards { grid-template-columns: minmax(0, 1fr); }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 0; }
  .feature.flip { grid-template-columns: minmax(0, 1fr); }
  .feature.flip > :first-child { order: 0; }
  .vis { min-height: 0; }
  .privacy-band { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
  .reqs { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq-grid .section-head { position: static; }
  .section { padding-top: 88px; }
  .legend-card { display: none; }
}
@media (max-width: 640px) {
  .site-nav .hide-sm { display: none; }
  .site-header .wrap { gap: 16px; height: 58px; }
  .site-nav { gap: 18px; }
  .hero { padding-top: 44px; }
  .eyebrow { margin-bottom: 20px; }
  .hero .actions .btn { width: 100%; }
  .stage { margin-top: 44px; border-radius: 20px; }
  .desk-bar { gap: 12px; padding: 0 12px; font-size: 12px; }
  .desk-bar .hide-xs { display: none; }
  .win { border-radius: 12px; }
  .editor { min-height: 0; }
  .keys-card { position: relative; left: auto; bottom: auto; max-width: none; margin-top: 14px; }
  .facts-list { gap: 12px 24px; }
  .facts-list li { font-size: 14px; }
  .section-head { margin-bottom: 32px; }
  .card-text { padding: 24px 22px 0; }
  .card-vis { padding: 22px; }
  .vis { padding: 22px 16px; border-radius: 20px; }
  .vis .desk-bar { margin: 0 -16px; width: calc(100% + 32px); }
  .vis-note { position: static; justify-self: end; }
  .table th, .table td { display: block; width: 100%; padding: 12px 0 0; border-bottom: 0; }
  .table td { padding: 2px 0 14px; border-bottom: 1px solid var(--line); }
  .price { font-size: 42px; }
  .plan-card { padding: 22px 20px 20px; }
  .cta { padding: 88px 0 80px; }
  .cta-card { border-radius: 24px; }
  .download-box { padding: 24px; }
  .download-box .btn { width: 100%; }
  .strip .btn { width: 100%; }
  .page-head { padding-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .caret, .float-y, .ed-live.pop .seg-ja, .ed-live.pop .seg-en { animation: none; }
  .btn, .card, .faq summary::after, .faq details, .text-link::after { transition: none; }
  .card:hover { transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* small utilities (keeps markup free of inline styles so the CSP needs no 'unsafe-inline') */
.mt-0 { margin-top: 0 !important; }
.mt-xs { margin: 10px 0 0; }
.mt-s { margin-top: 18px; }
.mt-l { margin-top: 48px; }
.mt-xl { margin-top: 80px; }
.my-m { margin: 32px 0; }
.muted { color: var(--muted); }
.small-muted { font-size: 14px; color: var(--muted); }
.tight { margin-bottom: 4px; }
.center { justify-content: center; text-align: center; }
.contact-mail { font-size: 22px; font-weight: 800; margin-bottom: 6px; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.phrases span { display: inline-block; }
.chip-icon { width: 18px; height: 18px; border-radius: 5px; }
.nf .field-line { overflow-wrap: anywhere; }
@media (max-width: 640px) { .nf .field-line { font-size: 22px; } }

/* 購入完了のページのライセンスキー */
.license-box { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 24px; margin-bottom: 40px; display: grid; gap: 14px; }
.license-status { margin: 0; font-weight: 600; }
.license-key { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.5; word-break: break-all; padding: 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); user-select: all; }
.license-box .btn { justify-self: start; }
