/* ==========================================================
   EscrowPORT AI
   色の役割：brand（エメラルド）＝預託・取引・主要操作 / ai（ブルー）＝AIが関わる要素だけ
   ========================================================== */
:root {
  --brand-50: #ecfdf5;
  --brand-100: #d1fae5;
  --brand-500: #10b981;
  --brand-600: #059669;
  --brand-700: #047857;
  --brand-800: #065f46;
  --ai-50: #eef4ff;
  --ai-300: #8fbcff;
  --ai-600: #176bff;
  --navy-950: #061229;
  --navy-900: #071a3c;
  --navy-800: #0d2550;
  --amber-600: #b45309;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --line-input: #7b8aa0; /* 入力欄の境界。白に対して3:1以上 */
  --bg: #ffffff;
  --bg-soft: #f5f8f7;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 28px -10px rgba(15, 23, 42, .14);
  --font: "Inter", "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.4; word-break: auto-phrase; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
button, input, select { font: inherit; color: inherit; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(800px, 100% - 32px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 8px 16px; border-radius: 8px; background: var(--navy-900); color: #fff; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 44px; padding: .7em 1.3em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer;
  transition: transform .15s ease, background-color .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-700); color: #fff; }
.btn--primary:hover { background: var(--brand-800); }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--light { background: #fff; color: var(--brand-800); }
.btn--light:hover { background: var(--brand-50); }
.btn--line { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--line:hover { background: rgba(255, 255, 255, .1); }
.btn--lg { min-height: 52px; padding: .9em 1.8em; font-size: 1rem; }
.btn--block { width: 100%; }
:focus-visible { outline: 3px solid var(--ai-600); outline-offset: 2px; }
.section--dark :focus-visible, .cta :focus-visible, .footer :focus-visible { outline-color: #fff; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.tag { display: inline-block; padding: 1px 9px; border-radius: 6px; font-size: .75rem; font-weight: 700; color: var(--amber-600); background: #fef3c7; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; min-height: var(--header-h);
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }
.footer .logo img { height: 44px; }

.nav { display: flex; align-items: center; gap: 20px; }
.nav__list { display: flex; gap: 2px; }
.nav__list a { display: block; padding: .5em .75em; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.nav__list a:hover { color: var(--ink); background: var(--bg-soft); }
.nav__actions { display: flex; gap: 6px; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 10px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .header__inner { flex-wrap: wrap; padding-block: 8px; }
  .nav { flex-wrap: wrap; width: 100%; }
  .nav__list { flex-wrap: wrap; }
  .js .header__inner { padding-block: 0; }
  .js .header__inner { flex-wrap: nowrap; }
  .js .menu-toggle { display: block; }
  .js .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    padding: 12px 16px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s ease;
  }
  .js .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .js .nav__list { flex-direction: column; }
  .js .nav__list a { padding: .8em .6em; font-size: 1rem; }
  .js .nav__actions { flex-direction: column; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(800px 460px at 90% -10%, rgba(16, 185, 129, .14), transparent 60%),
    linear-gradient(180deg, #f6faf8 0%, #fff 100%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--brand-700);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ai-600); box-shadow: 0 0 0 4px rgba(23, 107, 255, .16); }
.hero__title { margin-top: 20px; font-size: clamp(2.1rem, 4.8vw, 3.5rem); font-weight: 900; line-height: 1.28; color: var(--navy-900); }
.hl { color: var(--brand-700); }
.hero__lead { margin-top: 20px; font-size: 1.04rem; color: var(--ink-2); max-width: 34em; }
.hero__lead strong { color: var(--ink); }

.duo { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; }
.duo__item { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.duo__item p { margin-top: 8px; font-size: .9rem; line-height: 1.7; color: var(--ink-2); }
.duo__who { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--navy-900); background: #e8edf5; }
.duo__who--seller { color: var(--brand-800); background: var(--brand-100); }
@media (max-width: 520px) { .duo { grid-template-columns: 1fr; } .duo__item p br { display: none; } }

/* Quote form */
.quote { padding: 28px; }
.quote__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quote__title { font-size: 1.15rem; font-weight: 800; }
.quote__roles { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; background: var(--bg-soft); border-radius: 12px; }
.quote__roles label { position: relative; }
.quote__roles input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.quote__roles span { display: block; text-align: center; padding: .55em; border-radius: 9px; font-weight: 700; font-size: .92rem; color: var(--ink-2); transition: .15s; }
.quote__roles input:checked + span { background: #fff; color: var(--brand-700); box-shadow: 0 1px 4px rgba(15, 23, 42, .12); }
.quote__roles input:focus-visible + span { outline: 3px solid var(--ai-600); outline-offset: 1px; }
.field { display: block; margin-top: 16px; }
.field__label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.field select, .field__money {
  width: 100%; height: 50px; border: 1.5px solid var(--line-input); border-radius: var(--radius-sm); background: #fff;
  padding: 0 14px; transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%2364748b' stroke-width='2'/%3E%3C/svg%3E") right 12px center/18px no-repeat; cursor: pointer; padding-right: 40px; }
.field__money { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.field__money input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; font-size: 1.15rem; font-weight: 700; background: transparent; font-variant-numeric: tabular-nums; }
.field select:focus-visible, .field__money:focus-within { outline: 0; border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(5, 150, 105, .15); }
.field.is-invalid .field__money { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
.field__help { margin-top: 6px; font-size: .8rem; color: var(--ink-3); }
.field__error { margin-top: 6px; font-size: .84rem; font-weight: 700; color: #b91c1c; }
.quote__result { margin: 20px 0; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-soft); display: grid; gap: 6px; }
.quote__result div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .9rem; color: var(--ink-2); }
.quote__result dd { color: var(--ink); font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.quote__result .free { color: var(--brand-700); font-size: .95rem; }
.quote__note { margin-top: 12px; font-size: .8rem; color: var(--ink-3); line-height: 1.6; }
.quote { scroll-margin-top: calc(var(--header-h) + 16px); }
.quote__title:focus { outline: none; }
.quote__fields:disabled { opacity: .6; }
.quote__sub { margin: -10px 0 18px; font-size: .8rem; color: var(--ink-3); line-height: 1.6; }
.quote__status:empty { display: none; }
.quote__status { margin-top: 12px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--brand-50); border: 1px solid var(--brand-100); font-size: .86rem; color: var(--brand-800); line-height: 1.6; }
.quote__status b { display: block; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 420px) {
  .quote { padding: 20px 18px; }
  .btn--block { white-space: normal; padding-inline: 12px; }
}

/* Trust bar */
.trustbar__note { margin-top: 56px; font-size: .8rem; color: var(--ink-3); }
.trustbar { margin-top: 8px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.trustbar li { padding: 20px 24px; text-align: center; }
.trustbar li + li { border-left: 1px solid var(--line); }
.trustbar strong { display: block; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.trustbar span { font-size: .85rem; color: var(--ink-2); }

@media (max-width: 920px) {
  .hero { padding-top: 40px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .trustbar { grid-template-columns: repeat(2, 1fr); }
  .trustbar li:nth-child(3) { border-left: 0; }
  .trustbar li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: #e2e8f0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.kicker { font-size: .85rem; font-weight: 700; color: var(--brand-700); }
.kicker::before { content: ""; display: inline-block; width: 18px; height: 2px; margin-right: 8px; vertical-align: middle; background: currentColor; }
.kicker--ai { color: var(--ai-300); }
.section__title { margin-top: 8px; font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 900; color: var(--navy-900); }
.section--dark .section__title { color: #fff; }
.section__lead { margin-top: 14px; color: var(--ink-2); }
.section--dark .section__lead { color: #b6c2d4; }
@media (max-width: 640px) { .section { padding: 72px 0; } .section__head { margin-bottom: 36px; } }

/* ---------- Steps ---------- */
.js-only { display: none; }
.js .js-only { display: block; }
.tabs-fallback { text-align: center; font-weight: 700; color: var(--ink-2); margin-bottom: 32px; }
.js .tabs-fallback { display: none; }
.tabs { display: none; }
.js .tabs { display: flex; }
.tabs { flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.tab { min-height: 44px; padding: .6em 1.2em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; color: var(--ink-2); cursor: pointer; transition: .15s; }
.tab:hover { border-color: var(--brand-600); color: var(--brand-700); }
.tab.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
#stepsPanel:focus-visible { outline-offset: 8px; border-radius: 8px; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, #cbd5e1 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding: 0 6px; animation: rise .4s both; }
.step:nth-child(2) { animation-delay: .05s; } .step:nth-child(3) { animation-delay: .1s; }
.step:nth-child(4) { animation-delay: .15s; } .step:nth-child(5) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.step__num {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--brand-600); color: var(--brand-700); font-weight: 800; font-size: 1.2rem;
}
.step:last-child .step__num { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.step__who { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; color: var(--navy-900); background: #e8edf5; }
.step__who--seller { color: var(--brand-800); background: var(--brand-100); }
.step__who--ai { color: #0b4fc4; background: var(--ai-50); }
.step h3 { margin-top: 10px; font-size: 1.02rem; font-weight: 800; }
.step p { margin-top: 6px; font-size: .88rem; color: var(--ink-2); line-height: 1.7; }
.rule { margin: 40px auto 0; max-width: 800px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--brand-50); border: 1px solid var(--brand-100); font-size: .92rem; color: var(--ink-2); }
.rule b { display: block; color: var(--brand-800); }
@media (max-width: 920px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin-inline: auto; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #cbd5e1 0 8px, transparent 8px 14px); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; padding: 0 0 24px; }
  .step__num { grid-row: span 3; margin: 0; }
  .step__who { justify-self: start; margin-top: 4px; }
}

/* ---------- Protection ---------- */
.protect { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.protect__item { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.protect__item svg { width: 32px; height: 32px; fill: none; stroke: var(--brand-700); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.protect__item h3 { margin-top: 14px; font-size: 1.02rem; font-weight: 800; }
.protect__item p { margin-top: 6px; font-size: .88rem; color: var(--ink-2); }
@media (max-width: 920px) { .protect { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .protect { grid-template-columns: 1fr; } }

/* ---------- AI ---------- */
.ai-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ai-main h3 { font-size: 1.5rem; color: #fff; font-weight: 800; }
.ai-main__text p { margin-top: 14px; color: #b6c2d4; }
.ai-main__text .ai-main__note { font-size: .82rem; color: #8b9ab0; }
.risk { padding: 24px; border-radius: var(--radius); background: var(--navy-950); border: 1px solid rgba(143, 188, 255, .22); display: grid; gap: 12px; }
.risk__head { font-size: .8rem; color: #8b9ab0; padding-bottom: 10px; border-bottom: 1px solid rgba(148, 163, 184, .18); }
.risk__checks { display: grid; gap: 2px; }
.risk__checks li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .88rem; color: #dbe4f0; border-bottom: 1px dashed rgba(148, 163, 184, .16); }
.risk__checks b { font-size: .8rem; font-weight: 700; text-align: right; }
.risk__checks b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.risk__checks b.ok { color: #6ee7b7; }
.risk__checks b.warn { color: #fcd34d; }
.risk__flag { display: grid; gap: 4px; padding: 10px 12px; border-radius: 8px; background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .3); font-size: .8rem; color: #fde68a; }
.risk__score { margin-top: 4px; padding-top: 14px; border-top: 1px solid rgba(148, 163, 184, .18); display: flex; align-items: baseline; gap: 12px; }
.risk__score span { font-size: .85rem; color: #b6c2d4; }
.risk__score strong { margin-left: auto; font-size: 2rem; color: #fff; font-variant-numeric: tabular-nums; }
.risk__score small { font-size: .9rem; color: #8b9ab0; }
.risk__score em { font-style: normal; font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: rgba(252, 211, 77, .14); color: #fcd34d; }
.risk__scale { font-size: .76rem; color: #8b9ab0; }

.ai-list { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(148, 163, 184, .22); }
.ai-list li { padding: 24px 24px 0 0; }
.ai-list li + li { padding-left: 24px; border-left: 1px solid rgba(148, 163, 184, .22); }
.ai-list h3 { font-size: 1rem; color: #fff; font-weight: 700; }
.ai-list p { margin-top: 8px; font-size: .88rem; color: #b6c2d4; }
@media (max-width: 920px) {
  .ai-main { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ai-list { grid-template-columns: 1fr 1fr; }
  .ai-list li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .ai-list { grid-template-columns: 1fr; }
  .ai-list li, .ai-list li + li { padding: 20px 0 0; border-left: 0; }
}

/* ---------- Use cases ---------- */
.cases-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.cases { border-top: 1px solid var(--line); }
.case { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.case dt { font-weight: 800; }
.case dd { font-size: .92rem; color: var(--ink-2); }
@media (max-width: 920px) { .cases-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 560px) { .case { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Fees ---------- */
.fees { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.fees__copy .btn { margin-top: 28px; }
.fees__table { padding: 20px 28px 24px; }
.fees__table table { width: 100%; border-collapse: collapse; }
.fees__table caption { text-align: left; font-weight: 800; padding-bottom: 8px; }
.fees__table th { text-align: left; font-size: .82rem; color: var(--ink-3); font-weight: 700; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fees__table td { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fees__table td:last-child, .fees__table th:last-child { text-align: right; white-space: nowrap; padding-left: 16px; }
.fees__table strong { font-size: 1.15rem; color: var(--navy-900); }
.fees__note { margin-top: 16px; font-size: .84rem; color: var(--ink-2); line-height: 1.75; }
@media (max-width: 920px) { .fees { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 520px) { .fees__table { padding: 16px 18px 20px; } }

/* ---------- Business ---------- */
.biz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.checklist { margin-top: 24px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 28px; font-size: .95rem; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 4px; background: var(--brand-700); }
.checklist li::after { content: ""; position: absolute; left: 5px; top: calc(.45em + 3px); width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checklist b { color: var(--ink); }
.biz__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

.code { margin: 0; background: #0b1220; border-color: #1e293b; overflow: hidden; }
.code__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #1e293b; }
.code__bar i { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.code__bar span { margin-left: 10px; font-size: .78rem; color: #94a3b8; }
.code__cap { padding: 10px 16px; border-top: 1px solid #1e293b; font-size: .78rem; color: #94a3b8; }
.code pre { margin: 0; padding: 22px 24px; overflow-x: auto; font: 500 .84rem/1.75 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #e2e8f0; }
.code .c { color: #94a3b8; } .code .k { color: #d8b4fe; } .code .f { color: #93c5fd; } .code .s { color: #86efac; } .code .n { color: #fcd34d; }
@media (max-width: 920px) { .biz { grid-template-columns: minmax(0, 1fr); gap: 36px; } }


/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s; }
.faq details[open] { border-color: #a7dcc6; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; position: relative; border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border: solid var(--ink-3); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); font-size: .94rem; }

/* ---------- CTA ---------- */
.cta { padding: 88px 0; background: linear-gradient(135deg, var(--brand-700), var(--brand-800) 60%, #053d2e); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 900; }
.cta p { margin: 14px 0 32px; color: rgba(255, 255, 255, .88); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #b6c2d4; padding: 64px 0 28px; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer__brand p { margin-top: 16px; max-width: 22em; }
.footer__h { color: #fff; font-size: .9rem; margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer ul a:hover { color: #fff; text-decoration: underline; }
.footer__soon li { color: #8b9ab0; }
.footer__soon-note { margin-top: 10px; font-size: .78rem; color: #8b9ab0; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(148, 163, 184, .18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #8b9ab0; }
@media (max-width: 920px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media print {
  .header, .menu-toggle, .skip-link, .tabs { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .section { padding: 32px 0; }
}
