/* ============================================================
   DENJU（伝授）LP — styles.css
   Zero-dependency static stylesheet. No inline styles are used in
   the HTML so that the CSP can stay `style-src 'self'`.
   Design language: navy × gold × cream, Mincho headings, Gothic body,
   Cormorant Garamond for Latin labels and numerals.
   ============================================================ */

:root {
  --cream: #F7F4EE;
  --paper: #FFFDF9;
  --paper-2: #F3EFE6;
  --sand: #EFEAE0;
  --ink: #1C1B18;
  --ink-2: #3D3A33;
  --muted: #6B665B;
  --muted-2: #8A8478;
  --line: #E2DBCB;
  --line-2: #D8D0BF;
  --rule: #DDD6C8;
  --line-3: #D5CDBD;
  --muted-3: #B7AE9C;
  --navy: #0F2040;
  --navy-2: #0B1A36;
  --navy-3: #1E3A6E;
  --navy-glow: #1F3D72;
  --gold: #C8A45D;
  --gold-light: #EAD7A4;
  --gold-pale: #F1E3B8;
  --gold-mid: #A8843F;
  --gold-deep: #9C7A35;
  --gold-dark: #7A5C22;
  --on-navy: #E2DBCB;
  --on-navy-muted: #C9C2B2;
  --gold-gradient: linear-gradient(120deg, #A8843F 0%, #D9BC7A 38%, #EAD7A4 50%, #C8A45D 64%, #9C7A35 100%);
  --gold-gradient-text: linear-gradient(120deg, #8F6E2E 0%, #C8A45D 30%, #F1E3B8 50%, #C8A45D 70%, #8F6E2E 100%);
  --serif: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', serif;
  --sans: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', 'Noto Sans JP', sans-serif;
  --latin: 'Cormorant Garamond', 'Shippori Mincho', serif;
  --container: 1180px;
  --section-pad: clamp(80px, 9vw, 128px);
  --radius: 2px;
  --radius-md: 4px;
  --shadow-sm: 0 6px 14px -6px rgba(15, 32, 64, .35);
  --shadow-md: 0 12px 22px -12px rgba(15, 32, 64, .45);
  --shadow-lg: 0 14px 30px -12px rgba(15, 32, 64, .6);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  word-break: auto-phrase;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; text-wrap: balance; }
p, ul, ol, dl, figure, blockquote, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--navy-3); text-decoration: none; }
a:hover { color: var(--gold-dark); }
strong { font-weight: 700; }
small { font-weight: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: calc(900px + 48px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 1000; padding: 10px 16px; background: var(--navy); color: var(--gold-light); border-radius: var(--radius-md); }
.skip-link:focus { top: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 20px;
  font-size: 13px; letter-spacing: .2em; color: var(--navy-3);
  font-weight: 700;
}
.eyebrow__num { font-family: var(--latin); font-size: 16px; font-weight: 600; letter-spacing: .2em; color: var(--gold-deep); line-height: 1; }
.eyebrow__line { flex: none; width: 28px; height: 1px; background: var(--gold); }
.section-title {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--ink);
}
.section-lead { margin-top: 18px; font-size: 16px; line-height: 2; color: var(--ink-2); }
.sub-title { margin: 64px 0 28px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.6; letter-spacing: .04em; color: var(--ink); }
.sub-title--center { margin: 88px 0 36px; text-align: center; }
.section-head { max-width: 900px; margin-bottom: 44px; }
.section-head--center { max-width: none; margin-bottom: 56px; text-align: center; }
.section-split--center { align-items: center; gap: 48px 56px; }
.section-title--lg { font-size: clamp(28px, 3.6vw, 46px); }
.section-punch { margin-top: 26px; font-family: var(--serif); font-weight: 600; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.9; letter-spacing: .03em; color: var(--navy-3); }
.section-note { margin-top: 18px; font-size: 15.5px; line-height: 2; color: var(--ink-2); }
.section-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 40px 64px; align-items: start; }
.section-split .section-head { max-width: none; margin-bottom: 0; }
.lede { display: grid; gap: 20px; padding-top: 8px; }
.lede p { font-size: 16px; line-height: 2; color: var(--ink-2); }
.lede .lede__key { font-family: var(--serif); font-weight: 600; font-size: clamp(17px, 1.8vw, 20px); line-height: 2; letter-spacing: .03em; color: var(--navy-3); }
.section-head--center .eyebrow { justify-content: center; }
.nw { display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px;
  border-radius: var(--radius);
  font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .06em; line-height: 1.4;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn--gold {
  background: var(--gold-gradient); background-size: 200% 100%;
  color: var(--navy-2);
  box-shadow: 0 8px 20px -8px rgba(200, 164, 93, .6);
}
.btn--gold:hover { color: var(--navy-2); transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(200, 164, 93, .75); }
.btn--ghost { color: var(--gold-light); border-color: rgba(234, 215, 164, .55); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { color: var(--gold-pale); border-color: var(--gold-light); background: rgba(255, 255, 255, .08); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ---------- Shared ornaments ---------- */
.dia { flex: none; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.gold-text { background: var(--gold-gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rule-label { display: flex; align-items: center; justify-content: center; gap: 18px; }
.rule-label__line { height: 1px; flex: 1; max-width: 140px; background: linear-gradient(90deg, rgba(200, 164, 93, 0), var(--gold)); }
.rule-label__line:last-child { background: linear-gradient(90deg, var(--gold), rgba(200, 164, 93, 0)); }
.rule-label__text { font-family: var(--serif); font-size: 15px; letter-spacing: .32em; color: var(--gold-light); white-space: nowrap; }
.rule-label--latin .rule-label__text { font-family: var(--latin); font-size: 12px; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 18, 34, .93);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 164, 93, .28);
  color: #F3EFE6;
}
.site-header__inner { min-height: var(--header-h); display: flex; align-items: center; gap: 10px 24px; }
.brand { display: flex; align-items: center; gap: 14px; flex: none; color: #F3EFE6; flex-wrap: wrap; }
.brand:hover { color: #F3EFE6; }
.brand__mark { display: inline-flex; align-items: baseline; gap: 8px; }
.brand__latin {
  font-family: var(--latin); font-size: 27px; font-weight: 600; line-height: 1; letter-spacing: .16em;
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__kanji { font-family: var(--serif); font-size: 15px; letter-spacing: .24em; color: var(--gold-light); }
.brand__divider { width: 1px; height: 22px; background: rgba(243, 239, 230, .25); }
.brand__company { font-size: 13px; letter-spacing: .1em; color: rgba(243, 239, 230, .82); }
.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a { font-size: 14.5px; letter-spacing: .08em; color: rgba(243, 239, 230, .82); padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }
.site-header__cta { white-space: nowrap; flex: none; margin-left: auto; }
.site-header__cta-short { display: none; }
.site-header__band { border-top: 1px solid rgba(200, 164, 93, .18); background: rgba(30, 58, 110, .32); }
.site-header__band-inner {
  padding-top: 7px; padding-bottom: 7px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 22px;
  font-size: 13.5px; letter-spacing: .04em; color: rgba(243, 239, 230, .88);
}
.scope { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; margin: 0; }
.scope__label { color: var(--gold-light); font-weight: 700; }
.scope__arrow { color: var(--gold); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; }
.badges li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border: 1px solid rgba(200, 164, 93, .55); border-radius: var(--radius);
  font-size: 12.5px; letter-spacing: .06em; color: var(--gold-light); white-space: nowrap;
}
.badges li::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #F3EFE6;
  padding: clamp(96px, 11vw, 150px) 24px 88px;
  background:
    radial-gradient(ellipse 80% 60% at 78% 12%, var(--navy-glow) 0%, rgba(31, 61, 114, 0) 60%),
    radial-gradient(ellipse 60% 50% at 8% 92%, #17305C 0%, rgba(23, 48, 92, 0) 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero__orbit { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__orbit--a {
  right: -160px; top: 40px; width: 680px; height: 680px;
  border: 1px solid rgba(200, 164, 93, .22);
  background: radial-gradient(circle at 50% 50%, rgba(200, 164, 93, .11) 0%, rgba(200, 164, 93, 0) 62%);
}
.hero__orbit--b { right: -90px; top: 110px; width: 540px; height: 540px; border: 1px solid rgba(200, 164, 93, .12); }
.hero__seal {
  position: absolute; right: 30px; top: 96px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 18px 10px 16px;
  background: rgba(9, 20, 44, .78); border: 1px solid rgba(200, 164, 93, .6); border-radius: var(--radius);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .7); pointer-events: none;
}
.hero__seal-main, .hero__seal-sub {
  writing-mode: vertical-rl; font-family: var(--serif); line-height: 1; letter-spacing: .3em;
  color: var(--gold-pale); text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}
.hero__seal-main { font-weight: 700; font-size: 17px; }
.hero__seal-sub { font-weight: 600; font-size: 15px; }
.hero__seal-rule { width: 1px; height: 22px; background: rgba(200, 164, 93, .7); }
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__eyebrow {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px;
  margin: 0; font-size: clamp(12px, 1.3vw, 14px); letter-spacing: .2em; color: var(--gold-light);
}
.hero__title {
  margin: 34px 0 0; font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 5.8vw, 72px); line-height: 1.35; letter-spacing: .04em; color: #F6F3EC;
}
.hero__rule {
  display: block; width: 56px; height: 1px; margin-top: 30px;
  background: linear-gradient(90deg, rgba(200, 164, 93, 0), var(--gold) 50%, rgba(200, 164, 93, 0));
}
.hero__lead {
  margin: 26px 0 0; max-width: 900px; font-family: var(--serif); font-weight: 600;
  font-size: clamp(18px, 2.3vw, 26px); line-height: 1.8; letter-spacing: .06em; color: #F6F3EC;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.btn--lg { padding: 17px 34px; font-size: 15px; letter-spacing: .08em; }
.btn__arrow { font-family: var(--latin); font-size: 18px; line-height: 1; margin-left: 12px; }
.hero__notes {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 28px;
  margin-top: 22px; font-size: 14px; letter-spacing: .05em; color: rgba(243, 239, 230, .74);
}
.hero__notes li { display: inline-flex; align-items: center; gap: 9px; }
.hero__notes .dia { width: 5px; height: 5px; }

.hero__services { width: 100%; max-width: 1120px; margin-top: 72px; }
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; margin-top: 22px; text-align: left; }
.trio__item {
  position: relative; overflow: hidden; padding: 28px 26px 30px;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(200, 164, 93, .3); border-radius: var(--radius-md);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.trio__bar, .creds__bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-gradient-text); }
.trio__watermark {
  position: absolute; right: 12px; bottom: -14px;
  font-family: var(--serif); font-weight: 800; font-size: 128px; line-height: 1;
  color: rgba(234, 215, 164, .1); pointer-events: none; user-select: none;
}
.trio__head { position: relative; display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.trio__icon-box {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: clamp(46px, 4vw, 54px); height: clamp(46px, 4vw, 54px);
  border: 1px solid rgba(200, 164, 93, .5); border-radius: var(--radius); background: rgba(200, 164, 93, .08);
}
.trio__icon { display: block; fill: none; stroke: var(--gold-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.trio__headings { min-width: 0; }
.trio__tag { display: block; font-size: 12px; letter-spacing: .24em; color: var(--gold); margin-bottom: 6px; }
.trio__item h3 {
  margin: 0; font-family: var(--serif); font-weight: 700;
  font-size: clamp(17px, 1.75vw, 20px); line-height: 1.45; letter-spacing: .01em; color: var(--gold-pale);
}
.trio__sub { font-size: .9em; }
.trio__item p { position: relative; margin: 0; font-size: 14.5px; line-height: 1.95; color: rgba(243, 239, 230, .8); }
.creds { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.creds__item {
  flex: 1 1 250px; min-width: 0; position: relative; padding: 26px 18px 24px;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(200, 164, 93, .4); border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.creds__label { font-family: var(--latin); font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.creds__latin { font-family: var(--latin); font-weight: 600; font-size: 20px; line-height: 1.15; letter-spacing: .04em; color: var(--gold-light); white-space: nowrap; }
.creds__jp { font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.5; letter-spacing: .06em; color: #F6F3EC; }
.creds__note { margin-top: 8px; font-size: 13.5px; line-height: 1.7; letter-spacing: .03em; color: rgba(243, 239, 230, .7); }
.hero__hairline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(200, 164, 93, 0), var(--gold) 50%, rgba(200, 164, 93, 0));
}
html { scroll-padding-top: 120px; }
@media (max-width: 1180px) { .hero__seal { display: none; } }
@media (max-width: 900px) { .site-nav { display: none; } .hero__orbit { display: none; } }

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; }
.section--sand { background: var(--sand); }

/* ---------- Cards / lists ---------- */
.list { display: grid; gap: 8px; }
.list li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* ---------- 01 Models ---------- */
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 28px; }
.model {
  display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden;
}
.model__head { padding: 32px 34px 30px; background: var(--navy); color: #F6F3EC; }
.model--work .model__head { background: var(--ink); }
.model__kind { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.model__badge { font-size: 12px; letter-spacing: .2em; padding: 4px 10px; border: 1px solid rgba(200, 164, 93, .65); color: var(--gold-light); }
.model__for { font-size: 13px; letter-spacing: .08em; color: rgba(243, 239, 230, .72); }
.model__name { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; font-weight: 700; font-size: clamp(28px, 3vw, 36px); letter-spacing: .08em; line-height: 1.3; }
.model__latin { font-family: var(--latin); font-size: 16px; font-weight: 600; letter-spacing: .2em; color: var(--gold); }
.model__quote { margin-top: 14px; font-family: var(--serif); font-size: 16px; line-height: 1.8; color: var(--gold-light); }
.model__row { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 34px 0; }
.model__row--top { padding-top: 32px; }
.model__row--issues { padding-bottom: 26px; }
.model__row--deliv { margin: 0 34px; padding: 22px 0 36px; border-top: 1px solid var(--line); }
.model__label { font-size: 12.5px; letter-spacing: .2em; color: var(--gold-dark); font-weight: 700; padding-top: 5px; }
.model__row > p { font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.model__deliv { margin-bottom: 10px; font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: .04em; color: var(--navy-3); }

/* ---------- 02 Problem ---------- */
.walls { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.wall { position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px 30px 30px; }
.wall__num { position: absolute; right: 18px; top: 6px; font-family: var(--latin); font-size: 84px; font-weight: 500; line-height: 1; color: rgba(200, 164, 93, .16); }
.wall__kind { display: block; margin-bottom: 12px; font-size: 13px; letter-spacing: .16em; color: var(--gold-dark); font-weight: 700; }
.wall h4 { margin-bottom: 14px; font-weight: 700; font-size: 21px; letter-spacing: .03em; color: var(--ink); line-height: 1.5; }
.wall p { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }

.stats-panel {
  position: relative; overflow: hidden;
  margin-top: 72px; padding: clamp(36px, 5vw, 64px);
  background: var(--ink); color: #F6F3EC;
  border-radius: 6px;
}
.stats-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(200, 164, 93, .16), rgba(200, 164, 93, 0) 60%);
}
.stats-panel > * { position: relative; }
.stats-panel__title { margin-bottom: 40px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.6; letter-spacing: .03em; color: #F6F3EC; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 36px 32px; align-items: stretch; }
.stat { border-left: 1px solid rgba(200, 164, 93, .5); padding-left: 24px; }
.stat--arc { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.stat__label { display: block; margin-bottom: 14px; font-size: 13px; letter-spacing: .14em; color: var(--gold); }
.stat__value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.stat__num { font-family: var(--latin); font-weight: 600; font-size: clamp(56px, 6vw, 80px); line-height: 1; letter-spacing: .02em; color: #F6F3EC; font-variant-numeric: tabular-nums; }
.stat__unit { font-family: var(--serif); font-size: 22px; color: #F6F3EC; }
.stat__note { display: block; margin-top: 14px; font-family: var(--serif); font-size: 17px; line-height: 1.7; color: #F6F3EC; }
.stat__ring { position: relative; width: 132px; height: 132px; flex: none; }
.stat__ring-value { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--latin); font-weight: 600; color: #F6F3EC; }
.stat__ring-num { font-size: 36px; line-height: 1; }
.stat__ring-unit { font-size: 16px; margin: 10px 0 0 2px; }
.stat__body { flex: 1; min-width: 110px; }
.stat__body .stat__label { margin-bottom: 8px; }
.stat__name { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.6; }
.arc { display: block; transform: rotate(-90deg); }
.arc__track { fill: none; stroke: rgba(246, 243, 236, .12); stroke-width: 7; }
.arc__bar { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.9s cubic-bezier(.2, .7, .2, 1); }
.stats-panel__note { margin-top: 40px; font-size: 15px; line-height: 2; color: rgba(246, 243, 236, .84); }
.stats-panel__sum { margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(200, 164, 93, .3); }
.stats-panel__lead-in { margin-bottom: 12px; font-size: 14px; letter-spacing: .06em; color: rgba(246, 243, 236, .72); }
.stats-panel__punch { font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.7; letter-spacing: .03em; color: var(--gold-light); }
.stats-panel__source { margin-top: 28px; font-size: 12.5px; line-height: 1.8; color: rgba(246, 243, 236, .5); }

/* ---------- 03 Cause ---------- */
.quote { position: relative; max-width: 900px; margin: 0 auto; padding: 48px 24px 40px; text-align: center; }
.quote__mark { position: absolute; font-family: var(--latin); font-size: 120px; line-height: 1; color: rgba(200, 164, 93, .35); }
.quote__mark--open { left: 0; top: -10px; }
.quote__mark--close { right: 0; bottom: -40px; }
.quote__text { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3.4vw, 42px); line-height: 1.6; letter-spacing: .06em; color: var(--ink); }
.quote__by { margin-top: 20px; font-size: 13.5px; letter-spacing: .1em; color: var(--muted); }

.reading { display: grid; gap: 18px; max-width: 820px; margin: 32px auto 0; }
.reading > p { font-size: 16px; line-height: 2.1; color: var(--ink-2); }
.reading > .callout {
  margin-top: 12px; padding: 24px 28px;
  background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  font-family: var(--serif); font-weight: 600; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.9; letter-spacing: .03em; color: var(--navy-3);
}

.split-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 32px 64px; align-items: start; margin-top: 96px; }
.split-head__title { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.55; letter-spacing: .04em; color: var(--ink); }
.split-head__body { display: grid; gap: 16px; }
.split-head__body p { font-size: 15.5px; line-height: 2; color: var(--ink-2); }
.split-head__body .is-key { color: var(--navy-3); font-weight: 700; }

.table-wrap { margin-top: 44px; overflow-x: auto; padding-bottom: 6px; }
.table { width: 100%; min-width: 780px; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; font-size: 14.5px; }
.table th, .table td { padding: 22px; text-align: left; vertical-align: top; line-height: 1.9; }
.table thead th { padding: 16px 22px; background: var(--navy); color: #F6F3EC; font-family: var(--sans); font-size: 14px; letter-spacing: .1em; font-weight: 700; }
.table tbody th, .table tbody td { border-top: 1px solid var(--line); }
.table tbody th { font-family: var(--serif); font-weight: 600; font-size: 16px; line-height: 1.7; color: var(--ink); }
.table tbody td { color: var(--ink-2); }
.table tbody th small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 12.5px; font-weight: 400; letter-spacing: .1em; color: var(--muted); }
.roles { table-layout: fixed; }
.roles col.roles__col-a { width: 26.7%; }
.roles col.roles__col-b { width: 36%; }
.roles thead th:last-child { background: var(--navy-3); color: var(--gold-light); }
.roles thead th:last-child::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; background: var(--gold); transform: rotate(45deg); vertical-align: middle; }
/* The number sits beside the label via float, not flex: a table cell with
   display:flex drops out of the table layout and stops matching the row
   height, which left this column shorter than the other two. */
.roles__n {
  float: left; margin-right: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold);
  font-family: var(--latin); font-weight: 600; font-size: 15px; color: var(--gold-deep);
}
.roles__name { display: block; overflow: hidden; padding-top: 2px; }
.roles__ans { background: rgba(200, 164, 93, .08); color: var(--navy-3); font-weight: 700; }
.roles tbody td.roles__ans { color: var(--navy-3); }

/* ---------- 04 Method ---------- */
.method { position: relative; overflow: hidden; }
.method__watermark {
  position: absolute; right: -3%; top: 20px;
  font-family: var(--serif); font-weight: 800; font-size: clamp(220px, 30vw, 460px); line-height: 1;
  color: rgba(200, 164, 93, .09); pointer-events: none; user-select: none;
}
.method .container { position: relative; }

/* circular spiral diagram */
.spiral { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.spiral__disc { position: relative; width: min(400px, 100%); aspect-ratio: 1; }
.spiral__ripple, .spiral__dashed, .spiral__orbit { position: absolute; inset: 10.5%; border-radius: 50%; }
.spiral__ripple { border: 1px solid rgba(200, 164, 93, .55); animation: ripple 6s ease-out infinite; }
.spiral__ripple--b { animation-delay: 2s; }
.spiral__ripple--c { animation-delay: 4s; }
.spiral__dashed { border: 1px dashed rgba(156, 122, 53, .6); animation: spin 70s linear infinite; }
.spiral__inner { position: absolute; inset: 28%; border-radius: 50%; border: 1px solid rgba(30, 58, 110, .16); }
.spiral__orbit { animation: spin 12s linear infinite; }
.spiral__orbit::before {
  content: ""; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px;
  background: linear-gradient(135deg, #F6ECC9, var(--gold) 55%, #8F6E2E); transform: rotate(45deg);
  box-shadow: 0 0 16px rgba(200, 164, 93, .8);
}
.spiral__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
.spiral__core-jp { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 5vw, 26px); letter-spacing: .14em; color: var(--navy-3); }
.spiral__core-en { display: block; margin-top: 4px; font-family: var(--latin); font-style: italic; font-size: 13px; letter-spacing: .12em; color: var(--gold-deep); }
.spiral__node {
  position: absolute; transform: translate(-50%, -50%);
  width: clamp(84px, 24%, 100px); aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 1px solid var(--gold); color: #F6F3EC;
  box-shadow: 0 14px 30px -12px rgba(15, 32, 64, .6);
}
.spiral__node--1 { left: 50%; top: 10.5%; background: var(--navy); }
.spiral__node--2 { left: 84.2%; top: 69.75%; background: var(--navy-3); }
.spiral__node--3 {
  left: 15.8%; top: 69.75%; color: var(--ink);
  background: linear-gradient(135deg, var(--gold-mid), #D9BC7A 45%, var(--gold-light) 55%, var(--gold));
  border-color: var(--gold-pale); box-shadow: 0 14px 30px -12px rgba(200, 164, 93, .7);
}
.spiral__step { font-family: var(--latin); font-size: 10px; letter-spacing: .24em; color: var(--gold); }
.spiral__node--3 .spiral__step { font-weight: 600; color: #5E4516; }
.spiral__name { font-family: var(--serif); font-weight: 600; font-size: clamp(14px, 4vw, 17px); letter-spacing: .1em; }
.spiral__node--3 .spiral__name { font-weight: 700; }
.spiral figcaption { font-size: 13px; letter-spacing: .08em; color: var(--muted); text-align: center; }
@keyframes ripple { 0% { opacity: .7; transform: scale(.18); } 100% { opacity: 0; transform: scale(1.06); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* step rows */
.steps { margin-top: 80px; border-top: 1px solid var(--rule); }
.step { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 40px 56px; align-items: center; padding: 56px 0; }
.step + .step { border-top: 1px solid var(--rule); }
.step:last-child { padding-bottom: 8px; }
.step--flip .step__fig { order: 2; }
.step__label { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step__label-n { font-family: var(--latin); font-size: 14px; font-weight: 600; letter-spacing: .26em; color: var(--gold-deep); }
.step__label-line { flex: none; width: 24px; height: 1px; background: var(--gold); }
.step__romaji { font-family: var(--latin); font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--navy-3); }
.step__text h3 { margin-bottom: 20px; font-weight: 700; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.5; letter-spacing: .04em; color: var(--ink); }
.step__jp { color: var(--navy-3); }
.step__sep { margin: 0 10px; color: var(--muted-3); font-weight: 400; }
.step__text .list { gap: 12px; }
.step__text .list li { padding-left: 20px; font-size: 15.5px; line-height: 1.95; }
.step__text .list li::before { top: 12px; width: 7px; height: 7px; }

/* mock illustrations */
.mock {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 28px 16px 22px;
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
  border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 40px 60px -40px rgba(15, 32, 64, .35);
  color: var(--ink);
}
.mock::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(30, 58, 110, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 58, 110, .05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.mock > * { position: relative; width: 100%; }
.mock figcaption { font-size: 11.5px; letter-spacing: .08em; color: var(--muted); text-align: center; }
.mock--gold { border-color: var(--gold); box-shadow: 0 40px 60px -40px rgba(200, 164, 93, .55); }
.mock--gold::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(200, 164, 93, .18), rgba(200, 164, 93, 0) 70%);
}
.mock__cap { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .16em; color: var(--gold-deep); font-weight: 700; }
.mock__row { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 14px; align-items: center; }
.mock__col { display: grid; gap: 8px; }
.doc { display: inline-block; padding: 6px 10px; font-size: 12.5px; letter-spacing: .04em; background: #fff; border: 1px solid var(--line-2); border-radius: 2px 2px 0 0; border-top: 3px solid var(--gold); text-align: center; }
.doc--hi { background: var(--navy); color: var(--gold-light); border-color: var(--navy); border-top-color: var(--gold-light); }
.bubble { position: relative; padding: 10px 12px; font-size: 13px; line-height: 1.6; border-radius: 8px; max-width: 100%; }
.bubble__who { display: block; margin-bottom: 2px; font-size: 10.5px; letter-spacing: .14em; }
.bubble--ai { background: var(--navy); color: #F6F3EC; border: 1px solid rgba(200, 164, 93, .6); border-radius: 8px 8px 8px 2px; }
.bubble--ai .bubble__who { color: var(--gold); }
.bubble--human { background: #fff; border: 1px solid var(--line-2); border-radius: 8px 8px 2px 8px; margin-left: 24px; }
.bubble--human .bubble__who { color: var(--muted); }
.chip { display: inline-block; justify-self: end; padding: 4px 9px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; border-radius: var(--radius); border: 1px solid var(--line-2); }
.chip--ok { color: var(--ink); border-color: transparent; background: linear-gradient(120deg, var(--gold), var(--gold-light) 50%, var(--gold)); box-shadow: 0 6px 14px -6px rgba(200, 164, 93, .7); }
.ledger-box { display: grid; gap: 3px; justify-items: center; padding: 16px 12px; background: var(--navy-3); color: #F6F3EC; border-radius: 3px; text-align: center; font-family: var(--serif); font-size: 13px; letter-spacing: .14em; box-shadow: 0 12px 26px -10px rgba(15, 32, 64, .5); }
.ledger-box small { font-family: var(--sans); font-size: 9px; letter-spacing: .2em; color: var(--gold); }
.ledger-box--center { width: min(200px, 100%); margin: 0 auto; background: var(--navy); border-left: 4px solid var(--gold); }
.ledger-box--center small { font-family: var(--latin); letter-spacing: .3em; }
.raw { padding: 10px 12px; font-size: 12px; color: var(--muted); line-height: 1.7; border: 1px dashed var(--line-2); border-radius: 3px; background: #fff; }
.mock__arrow { margin: 10px 0; text-align: center; font-size: 10.5px; letter-spacing: .2em; color: var(--gold-deep); }
.distill { width: 100%; border-collapse: collapse; font-size: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; }
.distill th { padding: 6px 10px; font-size: 10px; font-weight: 400; letter-spacing: .14em; color: #F6F3EC; background: var(--navy); text-align: left; }
.distill th:last-child { text-align: center; }
.distill td { padding: 7px 10px; border-top: 1px solid var(--sand); color: var(--ink); }
.distill .kind { display: inline-block; padding: 2px 6px; font-size: 10px; letter-spacing: .1em; border-radius: 2px; background: var(--navy-3); color: #fff; }
.distill tbody tr:nth-child(2) .kind { background: #3E5A8C; }
.distill tbody tr:nth-child(3) .kind { background: var(--gold-dark); }
.distill tbody tr:nth-child(4) .kind { background: var(--gold); color: var(--ink); }
.distill .ok { text-align: center; color: var(--gold-deep); font-weight: 700; }
.mock__note { font-size: 10.5px; letter-spacing: .12em; color: var(--muted); text-align: center; }
.prompt { padding: 8px 14px; font-size: 12.5px; letter-spacing: .02em; color: var(--ink); border: 1px solid var(--gold); border-radius: 14px; background: #fff; box-shadow: 0 8px 20px -10px rgba(15, 32, 64, .3); text-align: center; }
.prompt .mock__cap { display: inline; margin-right: 6px; font-size: 10px; font-weight: 400; }
.fan { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fan .doc { min-width: 88px; }

/* ---------- 05 Effects ---------- */
.effects { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.effect { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px 30px 32px; }
.effect__wall { margin-bottom: 8px; font-size: 13.5px; letter-spacing: .06em; color: var(--muted-2); text-decoration: line-through; }
.effect__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.effect__num { font-family: var(--latin); font-size: 30px; font-weight: 500; line-height: 1; color: var(--gold); }
.effect h3 { font-weight: 700; font-size: 21px; line-height: 1.5; letter-spacing: .03em; color: var(--navy-3); }
.effect__can { margin-bottom: 14px; font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
.effect__gone { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--serif); font-weight: 600; font-size: 16px; line-height: 1.8; color: var(--ink); }

.goal {
  position: relative; overflow: hidden;
  margin-top: 88px; padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 72px);
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(200, 164, 93, .22), rgba(200, 164, 93, 0) 65%), var(--ink);
  color: #F6F3EC; border-radius: 6px; text-align: center;
}
.goal__ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); aspect-ratio: 1; border-radius: 50%; pointer-events: none; }
.goal__ring--a { width: min(900px, 140%); border: 1px solid rgba(200, 164, 93, .16); }
.goal__ring--b { width: min(640px, 100%); border: 1px solid rgba(200, 164, 93, .1); }
.goal__inner { position: relative; max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.goal__label { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-family: var(--serif); font-size: 15px; letter-spacing: .3em; color: var(--gold-light); }
.goal__label::before, .goal__label::after { content: ""; width: 36px; height: 1px; background: var(--gold); }
.goal__title {
  font-weight: 700; font-size: clamp(28px, 4.4vw, 56px); line-height: 1.45; letter-spacing: .05em;
  background: linear-gradient(120deg, #B8934A 0%, var(--gold-light) 40%, #F8F0D6 50%, #D9BC7A 62%, var(--gold-mid) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.goal__flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 42px; margin-top: 40px; font-family: var(--serif); font-size: clamp(14px, 1.5vw, 17px); letter-spacing: .08em; }
.goal__flow li { position: relative; padding: 10px 18px; border: 1px solid rgba(200, 164, 93, .45); color: rgba(246, 243, 236, .88); }
.goal__flow li + li::before { content: "→"; position: absolute; left: -32px; top: 50%; transform: translateY(-50%); font-family: var(--latin); font-size: 24px; line-height: 1; color: var(--gold); }
.goal__flow li:last-child { border-color: transparent; background: var(--gold-gradient); color: var(--ink); font-weight: 700; }
.goal__text { display: grid; gap: 14px; max-width: 760px; margin-top: 40px; }
.goal__text p { font-size: 15.5px; line-height: 2.1; color: rgba(246, 243, 236, .86); }
.goal__text .goal__punch { margin-top: 8px; font-family: var(--serif); font-weight: 600; font-size: clamp(17px, 1.9vw, 20px); line-height: 1.9; color: var(--gold-light); }

/* ---------- 06 Tech ---------- */
.tools { table-layout: fixed; }
.tools col.tools__col-a { width: 26.3%; }
.tools col.tools__col-b { width: 36.85%; }
.tools thead th:last-child { background: var(--navy-3); color: var(--gold-light); }
.tools thead th:last-child::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; background: var(--gold); transform: rotate(45deg); vertical-align: middle; }
.tools tbody th { font-size: 17px; line-height: 1.6; }
.tools__ans { background: rgba(200, 164, 93, .08); }
.tools tbody td.tools__ans { color: var(--navy-3); font-weight: 700; }

.assure { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 20px; margin-top: 24px; }
.assure__item { display: flex; gap: 18px; padding: 26px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.assure__check {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold);
  font-size: 16px; color: var(--gold-deep);
}
.assure__item h4 { margin-bottom: 8px; font-weight: 700; font-size: 18px; letter-spacing: .03em; color: var(--ink); }
.assure__item p { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }

.isms { max-width: 1000px; margin: 96px auto 0; }
.isms__head { text-align: center; margin-bottom: 36px; }
.isms__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 8px 14px; border: 1px solid var(--gold); border-radius: var(--radius);
  font-size: 13px; letter-spacing: .14em; color: var(--gold-dark); font-weight: 700;
}
.isms__badge::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.isms__title { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.55; letter-spacing: .04em; color: var(--ink); }
.isms__cert { display: grid; gap: 20px; align-items: center; margin-bottom: 16px; padding: 26px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
@media (min-width: 720px) { .isms__cert { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 28px; } }
.isms__mark { display: block; width: 100%; max-width: 340px; height: auto; }
.isms__cert-meta { font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.isms__cert-meta strong { display: block; margin-bottom: 2px; font-family: var(--serif); font-size: 17px; letter-spacing: .03em; color: var(--ink); }
.isms__cert-no { font-weight: 700; letter-spacing: .1em; color: var(--gold-dark); }
.isms__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.isms__list li { display: flex; gap: 20px; padding: 26px 26px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.isms__n { flex: none; padding-top: 4px; font-family: var(--latin); font-size: 15px; font-weight: 600; letter-spacing: .2em; color: var(--gold-deep); }
.isms__list h4 { margin-bottom: 8px; font-weight: 700; font-size: 17px; line-height: 1.6; color: var(--ink); }
.isms__list p { font-size: 14px; line-height: 1.9; color: var(--ink-2); }

/* ---------- 07 Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan {
  position: relative; min-width: 0;
  display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0;
  padding: 32px 28px 30px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
}
.plan--free {
  background: var(--navy); color: #F6F3EC; border-color: var(--gold);
  box-shadow: 0 30px 50px -30px rgba(15, 32, 64, .6);
}
.plan__badge { position: absolute; top: -1px; right: 24px; padding: 6px 13px; background: linear-gradient(120deg, var(--gold-mid), #D9BC7A 45%, var(--gold-light) 55%, var(--gold)); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.plan__rank { font-family: var(--latin); font-size: 13px; font-weight: 600; letter-spacing: .3em; color: var(--gold-deep); }
.plan--free .plan__rank { color: var(--gold); }
.plan__kanji { margin-top: 8px; font-family: var(--serif); font-weight: 700; font-size: 34px; letter-spacing: .14em; line-height: 1.2; color: var(--ink); }
.plan--free .plan__kanji { color: inherit; }
.plan__title { margin-top: 6px; font-weight: 400; font-size: 17px; letter-spacing: .02em; line-height: 1.6; color: var(--navy-3); }
.plan--free .plan__title { letter-spacing: .04em; color: var(--gold-light); }
.plan__title small { font-size: inherit; }
.plan__desc { margin-top: 18px; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.plan--free .plan__desc { color: rgba(246, 243, 236, .86); }
.plan__features { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); gap: 10px; }
.plan--free .plan__features { border-top-color: rgba(200, 164, 93, .35); }
.plan__features li { font-size: 13.5px; line-height: 1.85; }
.plan__features li::before { top: 10px; }
.plan--free .plan__features li { color: rgba(246, 243, 236, .9); }
.plan__foot { margin-top: auto; padding-top: 22px; }
.plan__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.plan__meta li { padding: 5px 10px; border: 1px solid var(--rule); font-size: 12.5px; letter-spacing: .06em; color: #5B574E; }
.plan--free .plan__meta li { border-color: rgba(200, 164, 93, .5); color: var(--gold-light); }
.plan__meta .plan__price { border-color: var(--gold); background: rgba(200, 164, 93, .1); color: var(--gold-dark); font-weight: 700; }
.plan__foot .btn { margin-top: 18px; padding: 14px 20px; font-size: 14px; letter-spacing: .08em; }

/* ---------- 08 FAQ ---------- */
.faq { border-bottom: 1px solid var(--line-3); }
.faq__item { border-top: 1px solid var(--line-3); }
.faq__item summary { display: flex; align-items: flex-start; gap: 18px; padding: 24px 4px; cursor: pointer; list-style: none; font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.7; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q, .faq__a { flex: none; font-family: var(--latin); font-weight: 600; font-size: 20px; line-height: 1.4; }
.faq__q { color: var(--gold-deep); }
.faq__a { color: var(--navy-3); }
.faq__question { flex: 1; }
.faq__plus {
  flex: none; margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border: 1px solid var(--gold); border-radius: 50%;
  font-size: 18px; line-height: 1; color: var(--gold-deep);
  transition: transform .3s ease;
}
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__answer { display: flex; gap: 18px; padding: 0 4px 26px; animation: fadeUp .4s ease both; }
.faq__answer p { font-size: 15px; line-height: 2; color: var(--ink-2); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */
.contact {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(96px, 11vw, 150px) 0;
  background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(200, 164, 93, .16), rgba(200, 164, 93, 0) 60%), #1A1916;
  color: #F6F3EC;
}
.contact__ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); aspect-ratio: 1; border-radius: 50%; pointer-events: none; }
.contact__ring--a { width: min(760px, 120vw); border: 1px solid rgba(200, 164, 93, .18); }
.contact__ring--b { width: min(560px, 90vw); border: 1px solid rgba(200, 164, 93, .1); }
.contact__inner { position: relative; max-width: 820px; display: flex; flex-direction: column; align-items: center; }
.contact__label { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; font-size: 13px; letter-spacing: .3em; color: var(--gold-light); }
.contact__label::before, .contact__label::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.contact__title {
  font-weight: 700; font-size: clamp(28px, 4.2vw, 52px); line-height: 1.5; letter-spacing: .05em;
  background: linear-gradient(120deg, #B8934A 0%, var(--gold-light) 40%, #F8F0D6 50%, #D9BC7A 62%, var(--gold-mid) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact__copy { display: grid; gap: 14px; margin-top: 32px; font-size: clamp(14.5px, 1.5vw, 16.5px); line-height: 2.1; color: rgba(246, 243, 236, .86); }
.contact__copy .contact__punch { font-family: var(--serif); font-size: clamp(16px, 1.8vw, 19px); color: #F6F3EC; }
.contact__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 24px; font-size: 13px; letter-spacing: .1em; color: rgba(246, 243, 236, .6); }
.contact__meta li + li::before { content: "｜"; margin-right: 18px; color: var(--gold); }

.form {
  width: 100%; max-width: 560px; margin: 44px auto 0; text-align: left;
  padding: clamp(26px, 3vw, 40px);
  background: var(--paper); color: var(--ink); border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.form__title { font-size: 20px; letter-spacing: .06em; color: var(--navy); }
.form__intro { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field label { font-size: 14px; letter-spacing: .08em; font-weight: 700; color: var(--ink-2); }
.req, .opt { display: inline-block; margin-left: 6px; padding: 1px 6px; font-size: 10.5px; letter-spacing: .1em; border-radius: var(--radius); vertical-align: middle; }
.req { color: #fff; background: var(--gold-deep); }
.opt { color: var(--muted); border: 1px solid var(--line-2); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 15px; line-height: 1.5; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 164, 93, .2); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B4432F; }
.field textarea { resize: vertical; min-height: 110px; }
.field--hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.consent input { margin: 5px 0 0; width: 16px; height: 16px; accent-color: var(--gold-deep); flex: none; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form .btn { margin-top: 22px; }
.form__status { margin-top: 12px; font-size: 14.5px; min-height: 1.5em; color: var(--ink-2); }
.form__status.is-error { color: #B4432F; font-weight: 700; }
.form__status.is-success { color: var(--navy-3); font-weight: 700; }
/* script.js replaces the whole .form card with this on success, so it has to
   carry the card surface itself — otherwise the dark section shows through and
   the ink-on-navy text is unreadable. */
.form__done {
  width: 100%; max-width: 560px; margin: 44px auto 0; text-align: center;
  padding: clamp(34px, 4vw, 48px) clamp(26px, 3vw, 40px);
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius-md); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.form__done::before { content: ""; display: block; width: 9px; height: 9px; margin: 0 auto 18px; background: var(--gold); transform: rotate(45deg); }
.form__done h3 { font-size: 22px; letter-spacing: .06em; line-height: 1.6; color: var(--navy); }
.form__done p { margin-top: 14px; font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: #121110; color: #9A948A; padding: 40px 0 32px; border-top: 1px solid rgba(200, 164, 93, .2); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.site-footer__brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.site-footer .brand__latin { font-size: 24px; background: none; -webkit-text-fill-color: currentColor; color: var(--gold); }
.site-footer .brand__kanji { font-size: 13px; }
.site-footer__divider { width: 1px; height: 18px; background: rgba(154, 148, 138, .4); }
.site-footer__company { font-size: 13.5px; letter-spacing: .08em; color: var(--on-navy-muted); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__nav a { font-size: 13.5px; letter-spacing: .08em; color: var(--on-navy-muted); }
.site-footer__nav a:hover { color: var(--gold-light); }
.badges--footer { justify-content: flex-start; }
.badges--footer li { padding: 5px 10px; border-color: rgba(200, 164, 93, .4); color: var(--gold-light); }
.badges--footer li::before { content: none; }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(154, 148, 138, .18);
  font-size: 12.5px; letter-spacing: .06em; color: #7B766C;
}

/* ---------- Floating CTA ----------
   Shown at every width once the hero is scrolled past, hidden again while
   #contact is on screen (script.js toggles .is-visible). Desktop is the
   bottom-right pill of the design original; narrow screens keep the
   full-width bar, which is the easier tap target. */
.float-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 30px; border-radius: 999px;
  background: var(--gold-gradient); color: var(--ink);
  font-weight: 700; font-size: 15.5px; letter-spacing: .08em; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow: 0 16px 36px -10px rgba(28, 27, 24, .6);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.float-cta::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--ink); transform: rotate(45deg); }
.float-cta.is-visible { opacity: 1; visibility: visible; transform: none; }
.float-cta.is-visible:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 20px 40px -10px rgba(28, 27, 24, .7); }

/* ---------- Reveal (JS-enhanced only) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Static pages (privacy / thanks / 404) ---------- */
.page { padding: clamp(56px, 7vw, 96px) 0; }
.page__title { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: .06em; color: var(--navy); line-height: 1.5; }
.page__meta { margin-top: 12px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.page__body { margin-top: 40px; max-width: 820px; }
.page__body h2 { margin: 40px 0 14px; font-size: 20px; letter-spacing: .06em; color: var(--navy); padding-left: 14px; border-left: 3px solid var(--gold); line-height: 1.5; }
.page__body p + p { margin-top: 12px; }
.page__body ul { display: grid; gap: 6px; margin: 10px 0; padding-left: 20px; list-style: disc; font-size: 15px; }
.page__body table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; background: var(--paper); border: 1px solid var(--line); }
.page__body th, .page__body td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.7; }
.page__body th { background: var(--paper-2); font-weight: 700; white-space: nowrap; }
.page__body .placeholder { background: var(--gold-pale); padding: 0 4px; }
.page__actions { margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .step, .step--flip { grid-template-columns: 1fr; }
  .step--flip .step__fig { order: 0; }
}
@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-header__cta { margin-left: auto; }
  .float-cta { left: 16px; right: 16px; bottom: 16px; padding: 17px 20px; border-radius: var(--radius-md); font-size: 15px; letter-spacing: .06em; }
  .site-footer { padding-bottom: 120px; }
}
@media (max-width: 720px) {
  .table thead { display: none; }
  .table { min-width: 0; }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table tr { border-bottom: 2px solid var(--line-2); }
  .table tbody th, .table td { border-bottom: 1px solid var(--line); border-top: 0; white-space: normal; }
  .roles col.roles__col-a, .roles col.roles__col-b { width: auto; }
  .table td::before, .table tbody th::before { content: attr(data-label); display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .16em; color: var(--gold-deep); font-weight: 700; margin-bottom: 4px; }
  .mock__row { grid-template-columns: 1fr; }
  .mock__col .doc { display: inline-block; margin-right: 6px; }
  .chip { justify-self: start; }
}
@media (max-width: 600px) {
  .site-header__inner { gap: 12px; }
  .site-header__cta-long { display: none; }
  .site-header__cta-short { display: inline; }
  .site-header__cta { padding: 9px 14px; }
  .hero__title { font-size: 30px; letter-spacing: .02em; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { width: 100%; }
  .brand__company { display: none; }
  .creds li { border-right: 0; padding-left: 0; padding-right: 0; }
  .model__head { padding-left: 22px; padding-right: 22px; }
  .model__row { grid-template-columns: 1fr; gap: 6px; padding-left: 22px; padding-right: 22px; }
  .model__row--deliv { margin-left: 22px; margin-right: 22px; padding-left: 0; padding-right: 0; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .float-cta { transform: none; }
}
