/* ============================================================
   FREX Corporate Site — shared stylesheet
   Brand: #20ADE5 (FREX Blue) / Noto Sans JP + Outfit
   ============================================================ */

:root {
  --primary: #20ADE5;
  --primary-dark: #1A8BBF;
  --primary-deep: #14719C;
  --primary-light: #91D2E4;
  --primary-pale: #EAF7FC;
  --navy: #0C1E2E;
  --navy-soft: #14293C;
  --ink: #1E293B;
  --muted: #5B6B7C;
  --faint: #64798C;
  --bg: #FFFFFF;
  --bg-soft: #F4F9FC;
  --border: #E3EBF1;
  --danger: #E2574C;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(12, 30, 46, 0.08);
  --shadow-sm: 0 4px 16px rgba(12, 30, 46, 0.06);
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Outfit", "Noto Sans JP", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: rgba(32, 173, 229, .25); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  line-break: strict;
}

/* 見出しは行長のバランスを取り、段落は孤立行を避ける（対応ブラウザのみ） */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
/* 文節単位の折り返し（対応ブラウザのみ・非対応は通常改行にフォールバック） */
h1, h2, .hero .lead, .section-lead, .page-hero p, .mission-copy, .mission-band .sub, .problem-conclusion, .promise, .voice { word-break: auto-phrase; }
/* 固有名詞・複合語の途中改行を防ぐ */
.nb { white-space: nowrap; }
/* 文の意味の切れ目で改行する（狭い画面では自然折り返しに任せる） */
.br-sentence { display: none; }
@media (min-width: 861px) { .br-sentence { display: inline; } }

img { max-width: 100%; display: block; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { opacity: .85; }
ul { list-style: none; }
strong { font-weight: 700; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.site-header .brand img { height: 34px; width: auto; }
.global-nav { display: flex; align-items: center; gap: 22px; }
.global-nav a {
  color: var(--ink); font-size: 14px; font-weight: 500;
}
.global-nav a:hover { color: var(--primary-dark); opacity: 1; }
@media (min-width: 901px) {
  .global-nav a:not(.nav-cta) { position: relative; }
  .global-nav a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px;
    background: var(--primary); transition: right .25s ease;
  }
  .global-nav a:not(.nav-cta):hover::after { right: 0; }
}
.global-nav .nav-cta {
  background: var(--primary); color: #fff;
  padding: 9px 20px; border-radius: 999px; font-weight: 700;
  transition: background .2s;
}
.global-nav .nav-cta:hover { background: var(--primary-dark); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  margin: 5px 0; transition: transform .25s, opacity .25s;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed; inset: 68px 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-130%); transition: transform .3s ease;
    box-shadow: var(--shadow);
  }
  .global-nav.open { transform: translateY(0); }
  .global-nav a { padding: 13px 4px; border-bottom: 1px solid var(--border); font-size: 15px; }
  .global-nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; }
  body.nav-locked { overflow: hidden; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- common section pieces ---------- */
.section { padding: 76px 0; }
.section.slim { padding: 56px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy); color: #E7F0F6; }

.eyebrow {
  font-family: var(--font-en);
  font-size: 13px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--primary);
  display: block; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800; line-height: 1.45; letter-spacing: .01em;
  margin-bottom: 18px;
}
.section-lead { color: var(--muted); margin-bottom: 48px; }
.section.dark .section-lead { color: #A9BDCB; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

.accent { color: var(--primary); }
.marker {
  background: linear-gradient(transparent 68%, rgba(32, 173, 229, .28) 68%);
}

.note {
  font-size: 12px; color: var(--faint); line-height: 1.8; margin-top: 20px;
}
.ref { font-size: 10px; vertical-align: super; }
.sp { display: none; }
@media (max-width: 760px) { .sp { display: inline; } }
.section.dark .note { color: #7E93A5; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 15px 34px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  transition: transform .15s, box-shadow .15s, background .2s;
  cursor: pointer; border: 0;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; box-shadow: 0 8px 24px rgba(32, 173, 229, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(32, 173, 229, .45); color: #fff; opacity: 1; }
.btn-ghost {
  background: #fff; color: var(--ink); border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); opacity: 1; }
.btn-outline-light {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5);
}
.btn-outline-light:hover { border-color: #fff; color: #fff; opacity: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(32,173,229,.16), transparent 60%),
    radial-gradient(ellipse 700px 480px at -10% 100%, rgba(145,210,228,.22), transparent 60%),
    linear-gradient(180deg, #FDFEFF 0%, #F2F9FD 100%);
  padding: 84px 0 64px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(20, 113, 156, .10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(120deg, transparent 42%, #000 100%);
  mask-image: linear-gradient(120deg, transparent 42%, #000 100%);
}
.hero .container { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px;
  align-items: center; margin-bottom: 56px;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; margin-bottom: 44px; } }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 900; line-height: 1.4; letter-spacing: .01em;
  margin-bottom: 26px;
}
.hero .lead {
  color: var(--muted); font-size: clamp(15px, 1.7vw, 16.5px);
  max-width: 700px; margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* hero visual: AIエージェントが業務を実行するイメージ */
.hero-visual {
  position: relative;
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 18px 20px 38px;
}
.hv-cap {
  display: block; text-align: center;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  color: var(--faint); margin-bottom: 14px;
}
.hv-chat { display: grid; gap: 14px; }
.hv-user-row { display: flex; justify-content: flex-end; align-items: flex-end; gap: 9px; }
.hv-user-avatar {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  background: #E2ECF3; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.hv-bubble {
  position: relative; background: var(--navy); color: #fff;
  padding: 12px 18px; border-radius: 16px 16px 4px 16px;
  font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow-sm); max-width: 82%;
}
.hv-bubble::after {
  content: ""; position: absolute; right: -7px; bottom: 8px;
  border: 8px solid transparent; border-left: 10px solid var(--navy); border-right: 0;
}
.hv-agent-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow); padding: 22px 24px 18px;
}
.hv-agent-head { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; }
.hv-avatar {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 34px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 12px; font-weight: 700;
}
.hv-status {
  margin-left: auto; font-size: 11px; color: var(--primary-deep);
  background: var(--primary-pale); padding: 4px 12px; border-radius: 999px; font-weight: 700;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.hv-status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary); animation: hvPulse 1.6s ease-in-out infinite;
}
.hv-tasks { display: grid; gap: 9px; margin: 16px 0 14px; }
.hv-tasks li { font-size: 13px; font-weight: 500; display: flex; gap: 9px; align-items: center; }
.hv-tasks li::before {
  content: "✓"; flex: 0 0 20px; height: 20px; border-radius: 50%;
  background: var(--primary-pale); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900;
}
.hv-tasks li.doing { color: var(--muted); }
.hv-tasks li.doing::before { content: "⋯"; background: #EDF2F6; color: var(--muted); }
.hv-log {
  font-size: 11px; color: var(--faint); border-top: 1px dashed var(--border);
  padding-top: 11px; letter-spacing: .04em;
}
.hv-float {
  position: absolute; z-index: 1; background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); border-radius: 999px; padding: 8px 16px;
  font-size: 12px; font-weight: 700; color: var(--primary-deep); white-space: nowrap;
}
.hv-f2 { bottom: 12px; right: 16px; animation: hvFloat 6s ease-in-out infinite; }
@media (max-width: 640px) { .hv-float { display: none; } }
@keyframes hvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hvPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .hv-float, .hv-status::before { animation: none; } }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  max-width: 760px; box-shadow: var(--shadow-sm);
}
.hero-stats .stat { background: #fff; padding: 22px 18px; text-align: center; }
.stat .num {
  font-family: var(--font-en); font-size: clamp(24px, 3vw, 34px);
  font-weight: 700; color: var(--primary-dark); line-height: 1.2;
}
.stat .num small { font-size: .55em; font-weight: 600; }
.stat .label { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.6; }

/* ---------- problem ---------- */
.voice-grid { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 48px; }
.voice {
  flex: 1 1 240px; min-width: 240px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  font-weight: 500; position: relative;
}
.voice::before {
  content: "“"; font-family: var(--font-en); font-size: 44px; line-height: 1;
  color: var(--primary-light); display: block; margin-bottom: 6px;
}
.problem-conclusion {
  text-align: center; font-size: clamp(20px, 2.6vw, 28px); font-weight: 800;
  line-height: 1.6;
}

/* ---------- compare (答えるAI / 動くAI) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare-col { border-radius: var(--radius); padding: 34px 30px; }
.compare-col.before { background: #fff; border: 1px solid var(--border); }
.compare-col.after {
  background: linear-gradient(150deg, var(--navy), #123049 65%, var(--primary-deep));
  color: #fff; box-shadow: var(--shadow);
}
.compare-col h3 { font-size: 20px; margin-bottom: 6px; }
.compare-col .tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  border-radius: 999px; padding: 4px 14px; margin-bottom: 16px;
}
.compare-col.before .tag { background: var(--bg-soft); color: var(--muted); }
.compare-col.after .tag { background: rgba(32,173,229,.25); color: #9FDCF5; }
.compare-col ul { display: grid; gap: 10px; margin-top: 16px; }
.compare-col li { padding-left: 26px; position: relative; font-size: 14.5px; }
.compare-col.before li { color: var(--muted); }
.compare-col li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--border);
}
.compare-col.after li::before { background: var(--primary); }

/* ---------- ability cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--primary-pale); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.5; }
.card p { font-size: 14.5px; color: var(--muted); }

/* ---------- usecases ---------- */
.usecase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 720px) { .usecase-grid { grid-template-columns: 1fr; } }
.usecase {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.usecase .head {
  background: var(--navy); color: #fff; padding: 20px 26px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.usecase .head .dept { font-size: 12px; color: var(--primary-light); font-family: var(--font-en); letter-spacing: .1em; text-transform: uppercase; }
.usecase .head h3 { font-size: 16.5px; }
.usecase .body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.usecase .copy { font-size: 19px; font-weight: 800; line-height: 1.5; }
.usecase .copy .accent { color: var(--primary-dark); }
.usecase p { font-size: 14px; color: var(--muted); }
.usecase .effect {
  margin-top: auto; background: var(--primary-pale); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: 13.5px; font-weight: 700; color: var(--primary-deep);
}

/* ---------- numbers ---------- */
.numbers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 900px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .numbers-grid { grid-template-columns: 1fr; } }
.numbers-grid .stat { background: var(--navy-soft); padding: 34px 22px; text-align: center; }
.numbers-grid .num {
  font-family: var(--font-en); font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 700; color: #fff; line-height: 1.15; white-space: nowrap;
}
.numbers-grid .num .accent { font-size: .75em; }
.numbers-grid .num .accent { color: var(--primary); }
.numbers-grid .num small { font-size: .5em; }
.numbers-grid .label { font-size: 13px; color: #A9BDCB; margin-top: 8px; line-height: 1.6; }
.numbers-grid .ref { color: var(--primary-light); }

/* ---------- services ---------- */
.service-main { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 26px; }
@media (max-width: 820px) { .service-main { grid-template-columns: 1fr; } }
.service-hero-card {
  border-radius: var(--radius); padding: 40px 36px;
  background: linear-gradient(160deg, #fff 0%, var(--primary-pale) 100%);
  border: 1.5px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.service-hero-card .no {
  font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .16em;
  color: var(--primary); display: block; margin-bottom: 12px;
}
.service-hero-card h3 { font-size: 23px; margin-bottom: 14px; line-height: 1.5; }
.service-hero-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.service-hero-card ul { display: grid; gap: 8px; }
.service-hero-card li {
  font-size: 14px; font-weight: 500; padding-left: 24px; position: relative;
}
.service-hero-card li::before {
  content: "✓"; position: absolute; left: 0; color: var(--primary);
  font-weight: 900;
}
.service-sub-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.service-sub {
  flex: 1 1 190px; min-width: 190px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; color: var(--ink); display: block;
  transition: transform .2s, box-shadow .2s;
}
a.service-sub:hover { transform: translateY(-4px); box-shadow: var(--shadow); opacity: 1; }
.service-sub h4 { font-size: 16px; margin-bottom: 8px; }
.service-sub h4 .en { font-family: var(--font-en); font-size: 11px; color: var(--primary); display: block; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.service-sub p { font-size: 13.5px; color: var(--muted); }

/* ---------- strengths ---------- */
.strength-grid { display: flex; flex-wrap: wrap; gap: 22px; }
.strength { flex: 1 1 250px; min-width: 250px; border-left: 3px solid var(--primary); padding: 6px 0 6px 22px; }
.strength h3 { font-size: 17.5px; margin-bottom: 8px; line-height: 1.5; }
.strength p { font-size: 14px; color: var(--muted); }

/* ---------- cases ---------- */
.case-grid { display: flex; flex-wrap: wrap; gap: 22px; }
.case-card {
  flex: 1 1 300px; min-width: 300px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s; color: var(--ink);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); opacity: 1; }
.case-card .client {
  font-size: 12px; font-weight: 700; color: var(--primary-deep);
  background: var(--primary-pale); border-radius: 999px; padding: 5px 14px;
  align-self: flex-start; margin-bottom: 16px;
}
.case-card h3 { font-size: 17.5px; line-height: 1.55; margin-bottom: 12px; }
.case-card p { font-size: 13.5px; color: var(--muted); flex: 1; }
.case-card .more {
  margin-top: 18px; font-size: 13.5px; font-weight: 700; color: var(--primary-dark);
}

/* case detail (cases.html) */
.case-detail {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 44px 42px; margin-bottom: 34px;
}
.case-detail:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .case-detail { padding: 30px 22px; } }
.case-detail .client-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.case-detail .client-label {
  font-size: 12.5px; font-weight: 700; color: var(--primary-deep);
  background: var(--primary-pale); border-radius: 999px; padding: 5px 16px;
}
.case-detail .tag {
  font-size: 11.5px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px;
}
.case-detail h2 { font-size: clamp(20px, 2.6vw, 26px); line-height: 1.55; margin-bottom: 22px; }
.case-detail h3 {
  font-size: 15px; color: var(--primary-deep); margin: 26px 0 10px;
  display: flex; align-items: center; gap: 10px;
}
.case-detail h3::before {
  content: ""; width: 18px; height: 3px; background: var(--primary); border-radius: 2px;
}
.case-detail p { font-size: 14.5px; color: var(--ink); }
.case-detail ul.points { display: grid; gap: 9px; margin-top: 6px; }
.case-detail ul.points li {
  font-size: 14.5px; padding-left: 24px; position: relative;
}
.case-detail ul.points li::before {
  content: "✓"; position: absolute; left: 2px; color: var(--primary); font-weight: 900;
}
.case-detail .outcome-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 8px;
}
.case-detail .outcome {
  background: var(--bg-soft); border-radius: var(--radius-sm); padding: 18px 18px;
  text-align: center;
}
.case-detail .outcome .num {
  font-family: var(--font-en); font-weight: 700; font-size: 24px; color: var(--primary-dark);
  line-height: 1.3;
}
.case-detail .outcome .num small { font-size: .6em; }
.case-detail .outcome .label { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.6; }

/* ---------- case index (cases.html サマリ) ---------- */
.case-index { display: flex; flex-wrap: wrap; gap: 14px; }
.ci-card {
  flex: 1 1 320px; min-width: 300px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-sm); color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ci-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary-light); opacity: 1; }
.ci-no {
  font-family: var(--font-en); font-size: 12px; font-weight: 700; color: var(--primary);
  background: var(--primary-pale); border-radius: 9px; padding: 8px 11px; line-height: 1;
}
.ci-body { min-width: 0; }
.ci-client { font-size: 11.5px; color: var(--faint); font-weight: 600; display: block; margin-bottom: 3px; }
.ci-title { font-size: 15px; font-weight: 700; line-height: 1.55; }
.ci-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.ci-tags span {
  font-size: 10.5px; font-weight: 600; color: var(--primary-deep);
  background: var(--primary-pale); border-radius: 999px; padding: 2px 9px;
}
.ci-arrow { color: var(--primary); font-weight: 900; font-size: 15px; }
.ci-card:hover .ci-arrow { transform: translateX(3px); transition: transform .2s; }

/* ---------- case output visual (cases.html) ---------- */
.case-visual {
  margin: 4px 0 30px;
  background: linear-gradient(135deg, var(--primary-pale), #F5FAFD 60%, #EEF6FB);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 26px 24px 14px;
  overflow: hidden;
}
.case-visual .cv-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px;
}
.case-visual .cv-cap {
  text-align: center; font-size: 11px; color: var(--faint); margin-top: 14px;
}
.cv-ar { color: var(--primary); font-weight: 900; font-size: 22px; font-family: var(--font-en); }
@media (max-width: 640px) { .cv-ar { transform: rotate(90deg); } }

.mk {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow-sm); width: 320px; max-width: 100%; overflow: hidden;
  text-align: left;
}
.mk .bar { display: flex; gap: 5px; padding: 9px 12px; background: var(--bg-soft); border-bottom: 1px solid var(--border); align-items: center; }
.mk .bar i { width: 8px; height: 8px; border-radius: 50%; background: #D6E2EB; display: block; }
.mk .bar i:nth-child(1) { background: #F4B9B3; }
.mk .bar i:nth-child(2) { background: #F5DCA9; }
.mk .bar i:nth-child(3) { background: #BFE3C4; }
.mk .bar .ttl { font-size: 10px; font-weight: 700; color: var(--faint); margin-left: 6px; letter-spacing: .04em; }
.mk .bd { padding: 14px; display: grid; gap: 8px; }
.mk .ln { height: 8px; border-radius: 4px; background: #E8EFF4; }
.mk .ln.w40 { width: 40%; } .mk .ln.w60 { width: 60%; } .mk .ln.w80 { width: 80%; }
.mk .chip {
  display: inline-block; font-size: 10px; font-weight: 700; color: var(--primary-deep);
  background: var(--primary-pale); border: 1px solid var(--primary-light);
  border-radius: 999px; padding: 2px 10px; justify-self: start;
}
.mk .chip.ok { color: #2E7D46; background: #E8F5EC; border-color: #BFE3C4; }
.mk .row { display: flex; gap: 8px; align-items: center; }
.mk .row .ln { flex: 1 1 auto; }
.mk .cell { flex: 1; height: 24px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--border); }
.mk .cell.hl { background: var(--primary-pale); border-color: var(--primary-light); }
.mk .cols { display: flex; gap: 8px; }
.mk .col { flex: 1; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 7px; padding: 6px; display: grid; gap: 6px; }
.mk .col .cttl { height: 6px; width: 60%; border-radius: 3px; background: var(--primary-light); }
.mk .kcard { height: 20px; background: #fff; border: 1px solid var(--border); border-radius: 5px; }
.mk .search { display: flex; gap: 8px; align-items: center; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: 11px; color: var(--faint); font-weight: 600; }
.mk .search::before { content: "🔍"; font-size: 11px; }
.mk .msg { padding: 8px 12px; border-radius: 10px; font-size: 11px; line-height: 1.6; max-width: 85%; }
.mk .msg.user { background: var(--primary); color: #fff; justify-self: end; border-bottom-right-radius: 3px; }
.mk .msg.bot { background: var(--bg-soft); border: 1px solid var(--border); border-bottom-left-radius: 3px; }
.mk .msg.bot .src { display: block; margin-top: 4px; font-size: 9.5px; color: var(--primary-deep); font-weight: 700; }

/* ---------- process ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px;
  position: relative; padding-bottom: 34px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 31px; top: 62px; bottom: 6px;
  width: 2px; background: var(--border);
}
.step:last-child::before { display: none; }
.step .badge {
  counter-increment: step;
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 700; font-size: 13px; color: var(--primary-dark);
  flex-direction: column; line-height: 1.1;
}
.step .badge::after { content: counter(step, decimal-leading-zero); font-size: 19px; }
.step h3 { font-size: 18px; margin: 8px 0 6px; }
.step h3 small { font-size: 12px; color: var(--primary-dark); font-weight: 700; margin-left: 10px; }
.step p { font-size: 14.5px; color: var(--muted); max-width: 640px; }

/* ---------- security ---------- */
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .security-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .security-grid { grid-template-columns: 1fr; } }
.security-item {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 26px 24px;
}
.security-item h3 { font-size: 15.5px; color: #fff; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.security-item h3::before { content: "🛡"; font-size: 17px; }
.security-item p { font-size: 13px; color: #A9BDCB; }

/* ---------- product ---------- */
.product-flex { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
@media (max-width: 820px) { .product-flex { grid-template-columns: 1fr; } }
.chat-mock {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px; display: grid; gap: 14px;
}
.chat-mock .bubble {
  padding: 14px 18px; border-radius: 14px; font-size: 13.5px; line-height: 1.75;
  max-width: 88%;
}
.chat-mock .user { background: var(--primary); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.chat-mock .bot { background: var(--bg-soft); border-bottom-left-radius: 4px; }
.chat-mock .bot .src { display: block; margin-top: 8px; font-size: 11.5px; color: var(--primary-deep); font-weight: 700; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
@media (max-width: 520px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li { font-size: 13.5px; font-weight: 600; padding-left: 24px; position: relative; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 900; }
.feature-list li small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }

/* ---------- founder ---------- */
.founder-flex { display: grid; grid-template-columns: 320px 1fr; gap: 52px; align-items: start; }
@media (max-width: 820px) { .founder-flex { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.founder-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.founder-name { font-size: 24px; font-weight: 800; margin-bottom: 2px; }
.founder-title { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.founder-history { display: grid; gap: 0; margin-bottom: 26px; }
.founder-history li {
  display: grid; grid-template-columns: minmax(0, auto) 1fr; gap: 3px 18px;
  align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--border);
}
.founder-history li:first-child { padding-top: 0; }
.founder-history li:last-child { border-bottom: 0; }
.founder-history .cat {
  grid-column: 1 / -1;
  font-family: var(--font-en); font-size: 11px; font-weight: 600;
  letter-spacing: .08em; color: var(--primary-dark);
}
.founder-history .org { font-weight: 700; font-size: 15px; }
.founder-history .desc { color: var(--muted); font-size: 13.5px; }
@media (max-width: 560px) {
  .founder-history li { grid-template-columns: 1fr; gap: 2px; }
}
.founder-message {
  background: var(--bg-soft); border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px; font-size: 14.5px;
}

/* ---------- company ---------- */
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td {
  padding: 18px 10px; border-bottom: 1px solid var(--border);
  font-size: 14.5px; text-align: left; vertical-align: top;
}
.company-table th { width: 160px; color: var(--muted); font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) {
  .company-table th { width: 96px; }
}

/* ---------- FAQ ---------- */
.faq-cat {
  font-size: 18px; margin: 48px 0 16px; padding-left: 14px;
  border-left: 3px solid var(--primary); line-height: 1.5;
}
.faq-cat:first-of-type { margin-top: 0; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 22px 56px 22px 26px;
  font-weight: 700; font-size: 15.5px; position: relative; line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q."; color: var(--primary); font-family: var(--font-en); font-weight: 700; margin-right: 10px; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-en); font-size: 22px; color: var(--primary); transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .answer { padding: 0 26px 24px; font-size: 14.5px; color: var(--muted); }

/* ---------- contact ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-bottom: 56px; }
.promise {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 24px; font-size: 14px; color: #D7E4EC;
}
.promise strong { color: #fff; display: block; margin-bottom: 6px; font-size: 15px; }

.contact-form {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 46px 44px; color: var(--ink);
}
@media (max-width: 640px) { .contact-form { padding: 30px 22px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; }
.req { color: var(--danger); font-size: 11px; margin-left: 6px; border: 1px solid currentColor; border-radius: 4px; padding: 1px 6px; }
.opt { color: var(--faint); font-size: 11px; margin-left: 6px; border: 1px solid currentColor; border-radius: 4px; padding: 1px 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 15px; font-family: var(--font-jp);
  background: #fff; color: var(--ink); transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.form-consent { font-size: 13.5px; margin: 6px 0 26px; display: flex; gap: 10px; align-items: flex-start; }
.form-consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--primary); }
.form-submit { text-align: center; }
.form-submit .btn { width: 100%; max-width: 380px; }
.form-status { text-align: center; margin-top: 18px; font-weight: 700; display: none; }
.form-status.ok { display: block; color: var(--primary-deep); }
.form-status.err { display: block; color: var(--danger); }
.contact-alt { text-align: center; margin-top: 26px; font-size: 13.5px; color: #A9BDCB; }
/* お問い合わせは末尾セクションのため下余白を詰める */
.section.dark#contact { padding-bottom: 56px; }
.contact-alt a { color: var(--primary-light); font-weight: 700; }

/* ---------- promise steps (services.html) ---------- */
.promise-flow { display: flex; flex-wrap: wrap; gap: 16px; counter-reset: pf; }
.pf-item {
  counter-increment: pf; flex: 1 1 220px; min-width: 220px; position: relative;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px 22px; box-shadow: var(--shadow-sm);
}
.pf-item::before {
  content: counter(pf, decimal-leading-zero);
  position: absolute; top: -13px; left: 22px;
  font-family: var(--font-en); font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 999px; padding: 4px 12px; letter-spacing: .06em;
}
.pf-item h3 { font-size: 16.5px; margin-bottom: 8px; line-height: 1.5; }
.pf-item p { font-size: 13.5px; color: var(--muted); }

/* ---------- commitment list (services.html) ---------- */
.commit-list { display: flex; flex-wrap: wrap; gap: 18px; }
.commit {
  flex: 1 1 260px; min-width: 260px;
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 22px 22px;
}
.commit .ic {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(32,173,229,.18); display: flex; align-items: center; justify-content: center;
  font-size: 19px;
}
.commit h3 { font-size: 15.5px; color: #fff; margin-bottom: 6px; line-height: 1.5; }
.commit p { font-size: 13px; color: #A9BDCB; }

/* ---------- mission band ---------- */
.mission-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #123B54 55%, var(--primary-deep) 100%);
  color: #fff; text-align: center; padding: 92px 24px;
}
.mission-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.mission-band > * { position: relative; }
.mission-band .eyebrow { color: var(--primary-light); }
.mission-copy {
  font-size: clamp(24px, 3.4vw, 40px); font-weight: 900; line-height: 1.6;
  letter-spacing: .02em; margin-bottom: 18px;
}
.mission-band .sub { color: #BCD3E1; font-size: 15px; max-width: 820px; margin: 0 auto; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff; text-align: center; padding: 72px 24px; border-radius: 0;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin-bottom: 14px; line-height: 1.6; }
.cta-band p { opacity: .92; margin-bottom: 30px; font-size: 15px; }
.cta-band .btn { background: #fff; color: var(--primary-deep); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #A9BDCB; padding: 64px 0 36px; }
.site-footer .cols {
  display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 48px;
  margin-bottom: 48px; align-items: start;
}
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr; gap: 36px; } }
.site-footer .brand img { height: 40px; width: auto; margin-bottom: 16px; }
.site-footer .brand p { font-size: 13px; line-height: 2; }
.site-footer .ft-title {
  font-family: var(--font-en); font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--primary-light); margin-bottom: 14px;
}
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.site-footer nav a { color: #C9D8E2; font-size: 13.5px; }
.site-footer nav a:hover { color: #fff; opacity: 1; }
.site-footer .ft-cta .btn { padding: 13px 30px; font-size: 14px; }
.site-footer .ft-cta p { font-size: 12.5px; margin-top: 14px; }
.site-footer .ft-cta a.mail { color: var(--primary-light); font-weight: 600; }
.site-footer .legal {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px;
}
.site-footer .legal a { color: #A9BDCB; }
.site-footer .legal a:hover { color: #fff; opacity: 1; }

/* ---------- page hero (subpages) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse 700px 360px at 90% -20%, rgba(32,173,229,.18), transparent 60%),
    linear-gradient(180deg, #FDFEFF 0%, #F2F9FD 100%);
  padding: 68px 0 44px;
}
/* 下層ページ: ヒーロー直後は詰める */
.page-hero + .section { padding-top: 52px; }
.page-hero + .mission-band { padding-top: 64px; padding-bottom: 64px; }
.page-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; line-height: 1.5; margin-bottom: 16px; }
.page-hero p { color: var(--muted); }
.breadcrumb { font-size: 12.5px; color: var(--faint); margin-bottom: 22px; }
.breadcrumb a { color: var(--faint); }

/* ---------- reveal animation (JS有効時のみ非表示にする) ---------- */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- section "more" link ---------- */
.link-more {
  display: inline-block; margin-top: 30px;
  font-size: 14.5px; font-weight: 700; color: var(--primary-dark);
}
.link-more:hover { opacity: 1; color: var(--primary); }

/* ---------- usecase cards (top page) ---------- */
.uc-grid { display: flex; flex-wrap: wrap; gap: 18px; }
.uc-card {
  flex: 1 1 250px; min-width: 250px;
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px 22px; box-shadow: var(--shadow-sm); color: var(--ink);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s, box-shadow .2s;
}
.uc-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.uc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); opacity: 1; }
.uc-card .uc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.uc-card .uc-icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--primary-pale);
  display: flex; align-items: center; justify-content: center; font-size: 23px;
}
.uc-card .uc-dept {
  font-family: var(--font-en); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary); font-weight: 600;
}
.uc-card h3 { font-size: 17px; line-height: 1.5; }
.uc-card .uc-copy { font-size: 13px; color: var(--muted); flex: 1; }
.uc-effect {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 15px;
}
.uc-effect .row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.uc-effect .b { color: var(--faint); font-size: 13px; font-weight: 700; text-decoration: line-through; }
.uc-effect .ar { color: var(--primary); font-weight: 900; font-family: var(--font-en); }
.uc-effect .a { color: var(--primary-deep); font-size: 16.5px; font-weight: 800; }
.uc-effect small { display: block; font-size: 11px; color: var(--faint); font-weight: 600; margin-top: 3px; }
.uc-card .uc-more { font-size: 12.5px; font-weight: 700; color: var(--primary-dark); }

/* ---------- horizontal steps (top page) ---------- */
.steps-h { counter-reset: hstep; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.steps-h .st {
  counter-increment: hstep;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow-sm);
}
.steps-h .st::before {
  content: "STEP " counter(hstep, decimal-leading-zero);
  font-family: var(--font-en); font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  color: var(--primary); display: block; margin-bottom: 8px;
}
.steps-h h3 { font-size: 15.5px; margin-bottom: 6px; line-height: 1.5; }
.steps-h h3 small { display: block; font-size: 11.5px; color: var(--primary-dark); font-weight: 700; margin-top: 2px; }
.steps-h p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ---------- security chips (top page slim band) ---------- */
.sec-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.sec-chip {
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  padding: 8px 18px; font-size: 13px; font-weight: 500; color: #D7E4EC;
}
.sec-chip::before { content: "🛡"; margin-right: 8px; font-size: 13px; }

/* ---------- comparison table (agent.html) ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; min-width: 720px; border-collapse: collapse; background: #fff; font-size: 13.5px; }
.compare-table th, .compare-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 1.6;
}
.compare-table thead th {
  background: var(--navy); color: #fff; font-size: 13px; white-space: nowrap;
}
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody th { color: var(--muted); font-weight: 600; white-space: nowrap; width: 150px; }
.compare-table td.hl { background: var(--primary-pale); font-weight: 700; color: var(--primary-deep); }
.compare-table thead th.hl { background: var(--primary-dark); }

/* ---------- privacy page ---------- */
.legal-body h2 { font-size: 19px; margin: 40px 0 12px; }
.legal-body p, .legal-body li { font-size: 14.5px; color: var(--ink); }
.legal-body ol { padding-left: 22px; display: grid; gap: 6px; }
.legal-body ul { padding-left: 22px; list-style: disc; display: grid; gap: 6px; }
.legal-body .updated { color: var(--faint); font-size: 13px; margin-top: 40px; }
