/* Redloop: shared styles for EN (/) and JP (/ja/). Mobile first. */
@font-face {
  font-family: 'Bricolage';
  src: url('/fonts/bricolage.woff2') format('woff2');
  font-weight: 500 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2022, U+2026, U+2192, U+2212, U+20AC;
}
:root {
  --paper: #f7f5f0;
  --paper-2: #efece4;
  --white: #ffffff;
  --ink: #0b0d12;
  --ink-2: #1a1d26;
  --muted: #4a4f5c;
  --muted-inv: #b9bdc8;
  --red: #ff3b1f;
  --red-ink: #c8250c;      /* red text on light backgrounds (AA) */
  --red-fill: #d42a0f;     /* red behind white text (about 5:1, AA) */
  --blue: #2346ff;
  --green: #0a8f5a;
  --line: rgba(11, 13, 18, 0.12);
  --line-inv: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --display: 'Bricolage', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --wrap: 1160px;
  --gutter: 20px;
}
html:lang(ja) {
  --display: 'Bricolage', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic UI', 'Yu Gothic', Meiryo, sans-serif;
  --body: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic UI', 'Yu Gothic', Meiryo, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html:lang(ja) body { font-size: 16px; line-height: 1.85; letter-spacing: 0.02em; font-feature-settings: 'palt' 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.04; letter-spacing: -0.025em; font-weight: 800; }
html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) h3 { letter-spacing: 0; line-height: 1.32; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--ink);
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red-fill); border-color: var(--red-fill); color: var(--white); box-shadow: 0 6px 0 -1px var(--ink); }
.btn-primary:hover { background: #e3300f; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--white); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 30; background: rgba(247, 245, 240, 0.88);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; }
.nav { display: none; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.top .lang { margin-left: auto; font-size: 14px; font-weight: 700; text-decoration: none; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
.top .btn { display: none; }
@media (min-width: 560px) { .top .btn { display: inline-flex; } .top .lang { margin-left: 0; } }
@media (min-width: 980px) { .nav { display: flex; } .top .lang { margin-left: 0; } }

/* ---------- hero ---------- */
.hero { padding: 44px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero .wrap { position: relative; display: grid; gap: 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px 7px 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 700; letter-spacing: .01em;
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255, 59, 31, .18); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 59, 31, .05); } }
.hero h1 { font-size: clamp(42px, 10.5vw, 88px); }
html:lang(ja) .hero h1 { font-size: clamp(34px, 8.6vw, 64px); }
.hero h1 em { font-style: normal; color: var(--red); }
.hero h1 .strike { position: relative; white-space: nowrap; }
.hero h1 .strike::after { content: ''; position: absolute; left: -2%; right: -2%; top: 54%; height: .09em; background: var(--ink); transform: rotate(-2deg); }
.lede { font-size: clamp(18px, 2.3vw, 21px); color: var(--muted); margin: 22px 0 28px; max-width: 37em; }
html:lang(ja) .lede { font-size: clamp(16px, 2vw, 18px); }
.lede strong { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fineprint { margin: 18px 0 0; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.fineprint svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--green); }

/* attack chain card */
.chain {
  background: var(--white); border: 2px solid var(--ink); border-radius: 22px; padding: 18px 18px 14px;
  box-shadow: 10px 10px 0 var(--ink); position: relative; max-width: 520px;
}
.chain-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 600 12px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.chain-head .live { display: inline-flex; align-items: center; gap: 6px; color: var(--red-ink); }
.chain-head .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.chain ol { list-style: none; margin: 0; padding: 14px 0 4px; position: relative; }
.chain li { position: relative; padding: 0 0 16px 44px; }
.chain li::before {
  content: attr(data-n); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font: 800 14px/1 var(--display); background: var(--paper); border: 2px solid var(--ink);
}
.chain li:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 32px; bottom: 2px; border-left: 2px dashed var(--red); }
.chain li:last-child::before { background: var(--red-fill); border-color: var(--red-fill); color: var(--white); }
.chain .t { font-weight: 700; font-size: 15.5px; line-height: 1.35; display: block; }
.chain .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag { font: 600 11.5px/1 var(--mono); padding: 5px 8px; border-radius: 6px; background: var(--paper-2); color: var(--ink); letter-spacing: .02em; }
.tag.sev-med { background: #fff1c2; }
.tag.sev-crit { background: var(--red-fill); color: var(--white); }
.chain-foot { border-top: 1px dashed var(--line); padding-top: 12px; font-size: 13.5px; color: var(--muted); }
.chain-foot strong { color: var(--ink); }
.chain-note { font-size: 12px; color: var(--muted); margin-top: 14px; }

@media (min-width: 980px) {
  .hero { padding: 72px 0 88px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
  .chain { justify-self: end; transform: rotate(1.2deg); }
}

/* ---------- sections ---------- */
section { padding: 72px 0; }
.kicker { font: 700 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); margin: 0 0 16px; }
html:lang(ja) .kicker { letter-spacing: .08em; }
.h2 { font-size: clamp(32px, 6.4vw, 58px); max-width: 16em; }
html:lang(ja) .h2 { font-size: clamp(26px, 5vw, 42px); max-width: 22em; }
.sub { color: var(--muted); font-size: 18px; max-width: 40em; margin: 18px 0 0; }
html:lang(ja) .sub { font-size: 16px; }
.inv { background: var(--ink); color: var(--white); }
.inv .sub, .inv .muted { color: var(--muted-inv); }
.inv .kicker { color: var(--red); }

/* stats */
.stats { padding: 0 0 72px; }
.stats-grid { display: grid; gap: 14px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.stat b { display: block; font: 800 clamp(44px, 9vw, 64px)/1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.stat b span { color: var(--red); }
.stat p { margin: 10px 0 0; font-size: 15.5px; color: var(--muted); }
.stat sup a, .fn-ref { color: var(--red-ink); font-weight: 700; text-decoration: none; font-size: 12px; }
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }

/* before / after */
.ba { display: grid; gap: 16px; margin-top: 40px; }
.ba-col { border-radius: 22px; padding: 26px 24px; }
.ba-col h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
html:lang(ja) .ba-col h3 { font-size: 21px; }
.ba-col ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.ba-col li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 16.5px; line-height: 1.45; }
.ba-col li svg { width: 20px; height: 20px; margin-top: 2px; }
.ba-before { background: var(--paper-2); color: var(--muted); border: 1px solid var(--line); }
.ba-before h3 { color: var(--ink); }
.ba-before li svg { color: #9aa0ad; }
.ba-after { background: var(--ink); color: var(--white); box-shadow: 0 0 0 3px var(--red) inset; }
.ba-after li svg { color: var(--red); }
.badge { font: 700 11px/1 var(--mono); padding: 6px 9px; border-radius: 6px; letter-spacing: .06em; text-transform: uppercase; }
.badge-red { background: var(--red-fill); color: var(--white); }
.badge-grey { background: #d9d6ce; color: var(--ink); }
@media (min-width: 860px) { .ba { grid-template-columns: 1fr 1fr; } .ba-col { padding: 34px 32px; } }

/* voice (problem in buyer's words) */
.voices { display: grid; gap: 12px; margin-top: 36px; }
.voice { background: var(--white); border-left: 4px solid var(--red); border-radius: 0 14px 14px 0; padding: 16px 18px; font-size: 17px; font-weight: 600; line-height: 1.45; }
.voice small { display: block; font-weight: 500; color: var(--muted); font-size: 13.5px; margin-top: 6px; }
@media (min-width: 860px) { .voices { grid-template-columns: repeat(3, 1fr); } }

/* benefits */
.benefits { display: grid; gap: 16px; margin-top: 40px; }
.benefit { background: var(--white); border: 2px solid var(--ink); border-radius: 22px; padding: 26px 24px; position: relative; }
.benefit .num { font: 800 15px/1 var(--mono); color: var(--red-ink); }
.benefit h3 { font-size: 26px; margin: 14px 0 12px; }
html:lang(ja) .benefit h3 { font-size: 21px; }
.benefit p { color: var(--muted); margin: 0; font-size: 16.5px; }
@media (min-width: 900px) { .benefits { grid-template-columns: repeat(3, 1fr); } }

/* surfaces */
.surfaces { display: grid; gap: 12px; margin-top: 40px; grid-template-columns: 1fr; }
.surface { border: 1px solid var(--line-inv); border-radius: 18px; padding: 20px; background: var(--ink-2); }
.surface svg { width: 34px; height: 34px; color: var(--red); }
.surface h3 { font-size: 20px; margin: 14px 0 8px; letter-spacing: -0.01em; }
html:lang(ja) .surface h3 { font-size: 18px; }
.surface p { margin: 0; color: var(--muted-inv); font-size: 15.5px; line-height: 1.5; }
@media (min-width: 640px) { .surfaces { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .surfaces { grid-template-columns: repeat(5, 1fr); } }

/* authorization */
.auth { background: var(--white); border-top: 6px solid var(--red); }
.auth-grid { display: grid; gap: 28px; }
.stamp {
  display: inline-grid; place-items: center; text-align: center; width: 150px; height: 150px; border-radius: 50%;
  border: 3px solid var(--red); color: var(--red-ink); font: 800 15px/1.15 var(--display); text-transform: uppercase; letter-spacing: .04em;
  transform: rotate(-8deg); padding: 18px; box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 7px var(--red);
}
html:lang(ja) .stamp { text-transform: none; font-size: 17px; letter-spacing: .04em; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.rules li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rules .n { font: 800 15px/1.6 var(--mono); color: var(--red-ink); }
.rules b { display: block; font-size: 17.5px; margin-bottom: 4px; }
.rules span { color: var(--muted); font-size: 16px; }
@media (min-width: 940px) { .auth-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }

/* steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px; counter-increment: s; position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 800 13px/1 var(--mono); color: var(--red-ink); }
.steps b { display: block; font: 800 20px/1.2 var(--display); margin: 10px 0 6px; }
html:lang(ja) .steps b { font-size: 18px; }
.steps span { color: var(--muted); font-size: 15.5px; line-height: 1.5; display: block; }
.steps li.loop { background: var(--red-fill); color: var(--white); border-color: var(--red-fill); }
.steps li.loop::before, .steps li.loop span { color: var(--white); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } }

/* AI + humans */
.split { display: grid; gap: 16px; margin-top: 40px; }
.split > div { border-radius: 22px; padding: 26px 24px; border: 1px solid var(--line-inv); }
.split h3 { font-size: 22px; margin-bottom: 14px; }
html:lang(ja) .split h3 { font-size: 19px; }
.split ul { margin: 0; padding-left: 1.1em; color: var(--muted-inv); display: grid; gap: 8px; font-size: 16px; }
.split ul li::marker { color: var(--red); }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }

/* pricing */
.tiers { display: grid; gap: 16px; margin-top: 40px; align-items: stretch; }
.tier {
  background: var(--white); border: 2px solid var(--ink); border-radius: 24px; padding: 26px 24px 22px;
  display: flex; flex-direction: column; position: relative; transition: box-shadow .15s ease, transform .15s ease;
}
.tier.is-picked { box-shadow: 0 0 0 4px var(--blue); }
.tier.featured { background: var(--ink); color: var(--white); }
.tier .flag { position: absolute; top: -13px; left: 22px; }
.tier h3 { font-size: 24px; }
html:lang(ja) .tier h3 { font-size: 21px; }
.tier .for { color: var(--muted); font-size: 15px; margin: 6px 0 18px; min-height: 2.8em; }
.tier.featured .for, .tier.featured .note { color: var(--muted-inv); }
.price { font: 800 44px/1 var(--display); letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
html:lang(ja) .price { font-size: 38px; letter-spacing: -0.01em; }
.price small { font: 600 15px/1.2 var(--body); letter-spacing: 0; color: var(--muted); }
.tier.featured .price small { color: var(--muted-inv); }
.price .from { font: 600 14px/1 var(--body); letter-spacing: 0; color: var(--muted); width: 100%; margin-bottom: 4px; }
.tier.featured .price .from { color: var(--muted-inv); }
.tier ul { list-style: none; padding: 0; margin: 20px 0 22px; display: grid; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.tier li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.tier li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--red); }
.tier .actions { margin-top: auto; display: grid; gap: 10px; }
.tier .btn { width: 100%; }
.tier.featured .btn-ghost { color: var(--white); border-color: var(--white); }
.tier.featured .btn-ghost:hover { background: var(--ink-2); }
.linkish { background: none; border: 0; padding: 6px 0; font: 600 14.5px/1.3 var(--body); text-decoration: underline; text-underline-offset: 3px; color: inherit; cursor: pointer; }
.pricing-note { margin-top: 22px; color: var(--muted); font-size: 15px; max-width: 52em; }
.founding { margin-top: 28px; display: grid; gap: 14px; align-items: center; background: var(--white); border: 2px dashed var(--red); border-radius: 22px; padding: 22px 22px; }
.founding h3 { font-size: 21px; }
html:lang(ja) .founding h3 { font-size: 19px; }
.founding p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } .founding { grid-template-columns: 1fr auto; padding: 24px 30px; } }

/* forms */
.book { background: var(--red-fill); color: var(--white); position: relative; overflow: hidden; }
.book-grid { display: grid; gap: 32px; position: relative; }
.book .h2 { color: var(--white); }
.book .sub { color: var(--white); }
.book ul.why { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-weight: 600; }
.book ul.why li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.book ul.why svg { width: 20px; height: 20px; margin-top: 3px; }
.card { background: var(--white); color: var(--ink); border-radius: 24px; padding: 24px 20px; box-shadow: 10px 10px 0 var(--ink); border: 2px solid var(--ink); }
@media (min-width: 560px) { .card { padding: 30px 28px; } }
@media (min-width: 960px) { .book-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field > label, fieldset legend { font-weight: 700; font-size: 15px; }
.field .hint { font-weight: 500; color: var(--muted); font-size: 13.5px; }
input[type=email], select {
  width: 100%; min-height: 52px; padding: 0 14px; font: 500 16px/1.2 var(--body); color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; appearance: none; -webkit-appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
input[type=email]:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(35, 70, 255, .2); }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
fieldset legend { margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: 14.5px; background: var(--white); user-select: none; }
.chip input:checked + span { background: var(--ink); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.row2 { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 4px 0 18px; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); }
.form-msg { min-height: 1.4em; margin: 12px 0 0; font-size: 14.5px; font-weight: 600; color: var(--red-ink); }
.form-msg.ok { color: var(--green); }
.form-foot { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.done { text-align: left; }
.done:focus { outline: none; }
.done h3 { font-size: 26px; margin-bottom: 10px; }
html:lang(ja) .done h3 { font-size: 21px; }
.done .check { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; margin-bottom: 16px; }
.done .check svg { width: 26px; height: 26px; }

/* brief */
.brief-grid { display: grid; gap: 34px; align-items: center; }
.doc {
  background: var(--white); border-radius: 6px; aspect-ratio: 1 / 1.414; max-width: 300px; padding: 22px 20px; margin: 0 auto;
  box-shadow: 0 1px 0 var(--line), 14px 16px 0 -2px var(--paper-2), 14px 16px 0 0 var(--ink); border: 2px solid var(--ink); transform: rotate(-3deg);
  display: flex; flex-direction: column; gap: 9px; overflow: hidden;
}
.doc .d-brand { font: 800 12px/1 var(--display); display: flex; gap: 6px; align-items: center; }
.doc .d-brand i { width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--red); }
.doc .d-title { font: 800 21px/1.05 var(--display); letter-spacing: -0.02em; }
html:lang(ja) .doc .d-title { font-size: 17px; line-height: 1.35; letter-spacing: 0; }
.doc .d-ring { width: 86px; height: 86px; border-radius: 50%; border: 9px solid var(--red); border-right-color: var(--ink); margin: 6px auto; }
.doc .bar { height: 7px; background: var(--paper-2); border-radius: 4px; }
.doc .bar.s { width: 62%; } .doc .bar.m { width: 82%; }
.brief-form-wrap { max-width: 520px; }
@media (min-width: 900px) { .brief-grid { grid-template-columns: .8fr 1.2fr; } }
.inline-form { display: grid; gap: 10px; margin-top: 22px; }
@media (min-width: 560px) { .inline-form .ir { display: grid; grid-template-columns: 1fr auto; gap: 10px; } }

/* faq */
.faq { margin-top: 32px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 700 18px/1.35 var(--body); }
html:lang(ja) .faq summary { font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font: 500 28px/1 var(--body); color: var(--red-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 20px; max-width: 46em; font-size: 16px; }

/* footer */
footer { background: var(--ink); color: var(--muted-inv); padding: 56px 0 40px; font-size: 14px; }
footer .brand { color: var(--white); }
footer h2 { color: var(--white); font: 700 14px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; margin: 34px 0 12px; }
footer ol { padding-left: 1.3em; margin: 0; display: grid; gap: 6px; }
footer a { color: var(--white); text-underline-offset: 3px; }
footer p { max-width: 62em; }
.foot-bottom { border-top: 1px solid var(--line-inv); margin-top: 30px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }

/* reserve dialog */
dialog { border: 2px solid var(--ink); border-radius: 22px; padding: 0; width: min(520px, calc(100vw - 28px)); box-shadow: 10px 10px 0 var(--ink); color: var(--ink); }
dialog::backdrop { background: rgba(11, 13, 18, .55); }
.dlg { padding: 26px 22px 22px; position: relative; }
.dlg h3 { font-size: 24px; margin: 0 40px 10px 0; }
html:lang(ja) .dlg h3 { font-size: 20px; }
.dlg p { color: var(--muted); font-size: 15.5px; }
.dlg .x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 22px; cursor: pointer; }

/* mobile sticky CTA */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; }
.sticky-cta .btn { width: 100%; box-shadow: 0 8px 24px rgba(11, 13, 18, .25); }
@media (min-width: 560px) { .sticky-cta { display: none; } }
@media (max-width: 559px) { footer { padding-bottom: 96px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* JP comparison table + 稟議 box */
.cmp-wrap { margin-top: 36px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; border: 2px solid var(--ink); background: var(--white); }
.cmp { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 14px; background: var(--paper-2); }
.cmp thead th.hl { background: var(--ink); color: var(--white); }
.cmp tbody th { font-weight: 700; white-space: nowrap; width: 9.5em; }
.cmp td { color: var(--muted); }
.cmp td.hl { color: var(--ink); font-weight: 600; background: rgba(255, 59, 31, .06); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.ringi { margin-top: 18px; padding: 22px 24px; border-radius: 18px; background: var(--white); border: 2px dashed var(--ink); }
.ringi h3 { font-size: 19px; margin-bottom: 8px; }
.ringi p { margin: 0; color: var(--muted); font-size: 15.5px; }
