/* leeda.jp — one stylesheet for every page (doc 122 §15 L1). */
:root{--bg:#fff;--ink:#14213d;--sub:#5b6472;--line:#e3e7ee;--soft:#f5f7fb;--acc:#0b6e4f;--acc2:#0ea5e9;--warn:#8a5a00;--accsoft:#eef8f3;--accline:#cfe8dd}
*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
body{font-family:"Hiragino Kaku Gothic ProN","Noto Sans JP",system-ui,sans-serif;background:var(--bg);color:var(--ink);line-height:1.8;font-size:16px}
a{color:var(--acc)}
h1,h2,h3,.verdict{word-break:auto-phrase;text-wrap:balance}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--acc2);outline-offset:2px}
.wrap{max-width:960px;margin:0 auto;padding:0 16px}

/* header / footer (the markup is generated by site/check-www.mjs — `node site/check-www.mjs --write`) */
header{border-bottom:1px solid var(--line)}
header .wrap{display:flex;align-items:center;justify-content:space-between;gap:4px 12px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap}
.logo{font-weight:800;font-size:20px;color:var(--ink);text-decoration:none}
nav{display:flex;flex-wrap:wrap;gap:0 16px}
nav a{color:var(--sub);text-decoration:none;font-size:14px;padding:6px 0;border-bottom:2px solid transparent}
nav a:hover{color:var(--ink)}
nav a[aria-current="page"]{color:var(--ink);font-weight:700;border-bottom-color:var(--acc)}
footer{border-top:1px solid var(--line);padding:24px 0;color:var(--sub);font-size:13px}

/* hero + chat */
.hero{padding:48px 0 24px;text-align:center}
.hero h1{font-size:30px;line-height:1.4;font-weight:800}
.hero p{margin:14px auto 0;max-width:640px;color:var(--sub)}
.chat{margin:28px auto 0;max-width:720px;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 10px 30px rgba(20,33,61,.08);scroll-margin-top:12px}
.chat iframe{display:block;width:100%;height:680px;border:0}
.note{font-size:13px;color:var(--sub);margin-top:8px}

/* sections */
section{padding:40px 0;border-top:1px solid var(--line)}
h2{font-size:22px;margin-bottom:18px}
.sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:4px 16px;flex-wrap:wrap;margin-bottom:6px}
.sec-head h2{margin-bottom:0}
.sec-head .more{font-size:14px}
.lead{color:var(--sub);font-size:15px;margin:0 0 16px}
.pagehead{padding:36px 0 8px}
.pagehead h1{font-size:28px;line-height:1.4;font-weight:800}
.pagehead .lead{margin-top:10px;max-width:720px}
.pagehead + section{border-top:0;padding-top:20px}

/* product cards */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.card{border:1px solid var(--line);border-radius:12px;padding:18px;background:var(--soft)}
.card h3{font-size:18px;margin-bottom:6px}
.card .tag{display:inline-block;font-size:12px;border:1px solid var(--line);border-radius:999px;padding:1px 10px;margin-top:10px;color:var(--sub);background:#fff}
.card .tag + .more{margin-left:10px}
.card .more{font-size:14px}
.soon{color:var(--sub);font-size:14px;margin-top:14px}
ul.plain{list-style:none}
ul.plain li{padding:6px 0;border-bottom:1px dashed var(--line)}
table{width:100%;border-collapse:collapse;font-size:15px}
th,td{border:1px solid var(--line);padding:10px;text-align:left;vertical-align:top}
th{background:var(--soft);width:28%}

/* buttons */
.btn{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-height:44px;padding:8px 20px;border-radius:8px;background:var(--acc);color:#fff;font-size:15px;line-height:1.4;font-family:inherit;text-decoration:none;border:1px solid var(--acc);cursor:pointer}
.btn.ghost{background:#fff;color:var(--acc)}
.btn[disabled],.btn.off{background:var(--soft);color:var(--sub);border-color:var(--line);cursor:not-allowed}
.btn .sub{font-size:11px;line-height:1.3;color:var(--sub)}
.btnrow{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.install{margin-top:22px}
.install .btnrow{justify-content:center}

/* answer samples (top page) */
.samples{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.sample{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.sample .q{background:var(--soft);padding:12px 16px;font-size:14px;color:var(--sub);display:flex;gap:10px}
.sample .q b{color:var(--ink);flex:none}
.sample .a{padding:14px 16px;flex:1}
.sample .a p + p{margin-top:8px}
.sample .verdict{font-weight:800;font-size:17px;line-height:1.5}
.sample .a .detail{font-size:15px}
.sample .src{border-top:1px dashed var(--line);padding:10px 16px;font-size:13px;color:var(--sub)}
.sample .src a{overflow-wrap:anywhere}

/* showcase: cases, flows */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.case,.flow{border:1px solid var(--line);border-radius:12px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:8px;min-width:0}
.case.team{background:var(--soft)}
.case h3,.flow h3{font-size:17px;line-height:1.5}
.case .body,.flow .summary{font-size:15px;white-space:pre-line;overflow-wrap:anywhere}
.case .head{display:flex;gap:10px;align-items:center;min-width:0}
.case .head .where{font-weight:700;overflow-wrap:anywhere}
.pict{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:17px;flex:none}
.pict svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.badges{display:flex;flex-wrap:wrap;gap:6px}
.badge{display:inline-block;font-size:12px;line-height:1.7;border-radius:999px;padding:0 10px;border:1px solid var(--line);background:#fff;color:var(--sub)}
.badge.ok{border-color:var(--accline);background:var(--accsoft);color:var(--acc)}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{font-size:12px;line-height:1.7;border:1px solid var(--line);border-radius:6px;padding:0 8px;background:#fff;color:var(--ink)}
.meta{font-size:13px;color:var(--sub);display:flex;flex-wrap:wrap;gap:0 14px}
a.flow{color:inherit;text-decoration:none}
a.flow:hover{border-color:var(--acc)}
a.flow h3{color:var(--acc)}
.counts{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 12px}
.count{border:1px solid var(--line);border-radius:12px;padding:12px 18px;background:var(--soft);min-width:170px}
.count .n{font-size:28px;font-weight:800;line-height:1.3}
.count .n small{font-size:14px;font-weight:400;margin-left:4px;color:var(--sub)}
.count .l{font-size:13px;color:var(--sub)}
.bysys{margin-top:14px}
.bysys h3{font-size:15px;margin-bottom:6px}
.steps{list-style:none;counter-reset:s}
.steps li{counter-increment:s;position:relative;padding:8px 0 8px 40px;border-bottom:1px dashed var(--line);overflow-wrap:anywhere}
.steps li::before{content:counter(s);position:absolute;left:0;top:9px;width:26px;height:26px;border-radius:50%;background:var(--soft);border:1px solid var(--line);text-align:center;font-size:13px;line-height:24px}
.kv{display:grid;grid-template-columns:7em 1fr;gap:6px 12px;margin:14px 0;font-size:15px}
.kv dt{color:var(--sub)}
.back{display:inline-block;margin-bottom:12px;font-size:14px}
.flow-title{font-size:26px;line-height:1.4}
.flow-badges{margin:10px 0}
.flow-sub{font-size:18px;margin:18px 0 6px}
#flow-detail{border-top:0;padding-top:24px}
details.tpl{margin-top:22px}
details.tpl summary{cursor:pointer;color:var(--acc);font-size:14px}
details.tpl pre{overflow:auto;font-size:12px;line-height:1.6;background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:12px;margin-top:8px;max-height:360px}
.survey{font-size:15px}

form.wait{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
form.wait input{flex:1;min-width:220px;padding:10px;border:1px solid var(--line);border-radius:8px;font-size:15px}
form.wait button{padding:10px 18px;border:0;border-radius:8px;background:var(--acc);color:#fff;font-size:15px;cursor:pointer}

@media (max-width:600px){
  .hero h1{font-size:24px}
  .pagehead h1{font-size:23px}
  .chat iframe{height:620px}
  nav{gap:0 14px;width:100%}
  nav a{font-size:13px}
  .kv{grid-template-columns:1fr;gap:2px}
  .kv dd{margin-bottom:8px}
}

/* #793 batch 6b: a published case recording replays inside its card (vendor/rrweb-player) */
.recbox{min-height:200px;border-radius:8px;overflow:hidden;background:#0e1116;margin:8px 0}
/* #793 batch 6d ④: use cases (method B) — the player and the scene bring their own lui-sp-* / lui-uc-* styles */
.uc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.uc-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;color:inherit;text-decoration:none;min-width:0}
.uc-card:hover{border-color:var(--accline)}
.uc-card .lui-sp{border-radius:0}
.uc-stage{position:relative;min-width:0}
/* the use-case player is wider than the text column on a wide screen (the whole window at a readable size) */
.uc-stage.big{margin:14px 0 10px}
@media (min-width:1000px){.uc-stage.big{width:min(1240px,calc(100vw - 48px));left:50%;transform:translateX(-50%)}}
.uc-body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px}
.uc-body h3{font-size:17px;line-height:1.5}
.uc-facts{margin:2px 0 0;display:grid;gap:4px;font-size:14px;line-height:1.55}
.uc-fact{display:grid;grid-template-columns:5.4em minmax(0,1fr);gap:8px}
.uc-fact dt{color:var(--sub);font-weight:600}
.uc-fact dd{margin:0}
.uc-steps{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:14px}
.uc-step{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:16px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff}
.uc-step p{margin:4px 0 0;font-size:15px}
.uc-who{font-weight:700;font-size:13px}
.uc-who.agent{color:#c2410c}.uc-who.human{color:#1d4ed8}.uc-who.autofill,.uc-who.in{color:#047857}.uc-who.site{color:var(--sub)}
@media (max-width:640px){.uc-step{grid-template-columns:1fr}}

/* /privacy/ — a long document: numbered headings, lists with bullets, wide tables scroll inside their box */
.policy h2,.policy h3{margin-top:28px}
.policy h2:first-child,.policy h3:first-of-type{margin-top:0}
.policy h3{font-size:18px;margin-bottom:10px}
.policy .policy-lang{margin-top:0}
.policy ul{padding-left:1.4em;margin:8px 0}
.policy li{margin:4px 0}
.policy p{margin:8px 0}
.tbl-scroll{overflow-x:auto;margin:12px 0}
.policy table{font-size:14px;min-width:560px}
.policy th{width:auto}
.policy th:nth-child(2),.policy td:nth-child(2){white-space:nowrap}
/* /pricing/ — two plan cards and one comparison table; a plan or row that is not offered yet carries the 準備中 tag */
.tag{display:inline-block;font-size:12px;font-weight:400;border:1px solid var(--line);border-radius:999px;padding:1px 10px;margin-left:8px;color:var(--sub);background:#fff;vertical-align:middle}
.plans{margin:8px 0 20px}
.plans .price{font-size:28px;font-weight:700;margin:6px 0 8px}
.plans .price span{font-size:14px;font-weight:400;color:var(--sub);margin-left:10px}
.plans .is-soon{opacity:.75}
.plans .is-soon .price{font-size:20px}
.plan-table{min-width:560px}
.plan-table thead th{background:var(--soft)}
.plan-table{table-layout:fixed}
.plan-table tbody th{font-weight:400}
.plan-table thead th:first-child{width:40%}
/* the pricing summary on / and /in/ (the cards and the first two rows of /pricing/'s table): the table is cut short, and the
   button under it says so — a whole-width button that opens /pricing/ */
.price-peek{margin-bottom:0}
.price-peek table{border-bottom-left-radius:0;border-bottom-right-radius:0}
.price-more{margin:0 0 8px}
.price-more a{display:block;padding:12px 16px;border:1px solid var(--acc);border-top:0;border-radius:0 0 10px 10px;background:var(--accsoft);color:var(--acc);font-weight:700;text-align:center;text-decoration:none}
.price-more a:hover{background:var(--acc);color:#fff}
.plan-table tr.grp th{background:var(--soft);font-weight:600}
.in-tag{display:inline-block;font-size:11px;font-weight:600;line-height:1.5;letter-spacing:.04em;border:1px solid var(--accline);border-radius:4px;padding:0 5px;margin-left:6px;color:var(--acc);background:var(--accsoft);vertical-align:middle}
.fgrp{font-size:16px;margin:22px 0 4px}
/* /in/ features: a heading, one lead line, a few points, and the use-case animation under it (BOSS 2026-10-15「用动画说明功能」) */
.feats{display:grid;gap:0}
.feat{padding:22px 0;border-bottom:1px solid var(--line)}
.feat:last-child{border-bottom:0}
.feat h4{font-size:18px;line-height:1.5;margin-bottom:6px}
.feat-lead{font-size:16px}
.feat-pts{margin:8px 0 0;padding-left:1.2em;color:var(--sub);font-size:15px;line-height:1.75}
.feat-pts li{margin:2px 0}
.feat-pts li::marker{color:var(--accline)}
.feat-demos{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin-top:16px}
