/* ============================================================
   CooBase — company / legal pages
   ============================================================ */

/* ===== sub-page hero ===== */
#sub-hero{
  position:relative;padding:148px 0 56px;overflow:hidden;
  background:
    radial-gradient(900px 480px at 84% -14%, #e7f3ff 0%, rgba(231,243,255,0) 56%),
    radial-gradient(700px 420px at 2% 116%, #eef6ff 0%, rgba(238,246,255,0) 52%),
    var(--paper);
}
.sub-crumbs{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--ink-3);margin-bottom:18px;}
.sub-crumbs a{color:var(--brand);}
.sub-crumbs svg{width:14px;height:14px;}
#sub-hero .eyebrow{margin-bottom:16px;}
#sub-hero h1{font-family:"Zen Kaku Gothic New";font-weight:900;font-size:clamp(30px,4.4vw,50px);line-height:1.3;letter-spacing:-.01em;color:var(--ink);}
#sub-hero .lead{margin-top:18px;font-size:clamp(15px,1.4vw,17.5px);line-height:2;color:var(--ink-2);max-width:640px;text-wrap:pretty;}
#sub-hero .updated{margin-top:18px;font-size:13px;color:var(--ink-3);}

/* ===== body ===== */
#sub-body{background:var(--bg);padding:64px 0 96px;}

/* ----- company profile table ----- */
.profile{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-sm);overflow:hidden;}
.profile dl{display:grid;grid-template-columns:200px 1fr;}
.profile dt,.profile dd{padding:22px 28px;border-bottom:1px solid var(--line-2);}
.profile dt{font-family:"Zen Kaku Gothic New";font-weight:700;font-size:14.5px;color:var(--brand-deep);background:#fafcff;display:flex;align-items:center;}
.profile dd{font-size:14.5px;color:var(--ink);line-height:1.85;}
.profile dd a{color:var(--brand);font-weight:700;}
.profile dd .pend{display:inline-block;font-size:11.5px;font-weight:700;color:var(--ink-3);background:var(--bg);border:1px dashed var(--line);border-radius:6px;padding:2px 9px;margin-left:2px;}
.profile dl > dt:last-of-type, .profile dl > dd:last-child{border-bottom:none;}

/* mission band */
.mission{margin-top:28px;background:var(--grad);color:#fff;border-radius:var(--r-lg);padding:40px 44px;box-shadow:var(--shadow-brand);position:relative;overflow:hidden;}
.mission::before{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.1);top:-130px;right:-80px;}
.mission .lbl{position:relative;font-family:"Zen Kaku Gothic New";font-weight:700;font-size:12.5px;letter-spacing:.18em;color:rgba(255,255,255,.85);margin-bottom:14px;}
.mission .big{position:relative;font-family:"Zen Kaku Gothic New";font-weight:900;font-size:clamp(22px,2.8vw,32px);line-height:1.55;text-wrap:balance;}
.mission p{position:relative;margin-top:16px;font-size:15px;line-height:1.95;color:rgba(255,255,255,.92);max-width:620px;}

.map-note{margin-top:28px;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:28px 32px;box-shadow:var(--shadow-sm);}
.map-note h3{font-family:"Zen Kaku Gothic New";font-weight:900;font-size:17px;margin-bottom:10px;color:var(--ink);}
.map-note p{font-size:14px;color:var(--ink-2);line-height:1.9;}

/* history label + products */
.hist-head .eyebrow{margin-bottom:0;}
.prod-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.prod-card{display:flex;flex-direction:column;gap:4px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:20px 22px;box-shadow:var(--shadow-sm);transition:transform .25s,box-shadow .25s,border-color .25s;}
.prod-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#cdddf6;}
.prod-card b{font-family:"Zen Kaku Gothic New";font-weight:900;font-size:16px;color:var(--brand-deep);}
.prod-card span{font-size:12.5px;color:var(--ink-3);}
@media(max-width:600px){.prod-grid{grid-template-columns:1fr;}}

/* ----- legal prose (privacy / terms) ----- */
.prose{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-sm);padding:48px 52px;}
.prose .intro{font-size:15px;line-height:2;color:var(--ink-2);margin-bottom:14px;text-wrap:pretty;}
.prose section{margin-top:38px;}
.prose section:first-of-type{margin-top:24px;}
.prose h2{font-family:"Zen Kaku Gothic New";font-weight:900;font-size:19px;color:var(--ink);margin-bottom:16px;display:flex;align-items:baseline;gap:12px;line-height:1.5;}
.prose h2 .no{font-size:13px;font-weight:900;color:#fff;background:var(--grad);border-radius:8px;padding:4px 10px;flex:none;font-family:"Zen Kaku Gothic New";}
.prose h3{font-family:"Zen Kaku Gothic New";font-weight:700;font-size:15px;color:var(--brand-deep);margin:20px 0 8px;}
.prose p{font-size:14.5px;line-height:2;color:var(--ink-2);margin-bottom:12px;text-wrap:pretty;}
.prose ul{list-style:none;display:flex;flex-direction:column;gap:9px;margin:6px 0 14px;}
.prose ul li{display:flex;gap:11px;font-size:14px;line-height:1.8;color:var(--ink-2);}
.prose ul li svg{width:16px;height:16px;color:var(--brand);flex:none;margin-top:4px;}
.prose ol{margin:6px 0 14px 0;padding-left:22px;display:flex;flex-direction:column;gap:8px;}
.prose ol li{font-size:14px;line-height:1.85;color:var(--ink-2);padding-left:4px;}
.prose .contact-box{margin-top:14px;background:var(--bg);border:1px solid var(--line);border-radius:var(--r);padding:22px 26px;}
.prose .contact-box p{margin-bottom:6px;font-size:14px;}
.prose .contact-box b{color:var(--ink);font-family:"Zen Kaku Gothic New";}

.toc{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-sm);padding:24px 28px;margin-bottom:28px;}
.toc h4{font-family:"Zen Kaku Gothic New";font-weight:700;font-size:13px;letter-spacing:.04em;color:var(--ink-3);margin-bottom:14px;}
.toc ol{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;counter-reset:toc;}
.toc ol li{counter-increment:toc;}
.toc ol li a{display:flex;gap:9px;font-size:13.5px;color:var(--ink-2);font-weight:500;transition:color .2s;align-items:baseline;}
.toc ol li a::before{content:counter(toc,decimal-leading-zero);font-family:"Zen Kaku Gothic New";font-weight:900;font-size:12px;color:var(--brand);flex:none;}
.toc ol li a:hover{color:var(--brand);}

/* ===== CTA ===== */
#sub-cta{background:var(--grad);color:#fff;text-align:center;padding:74px 0;overflow:hidden;position:relative;}
#sub-cta::before{content:"";position:absolute;width:440px;height:440px;border-radius:50%;background:rgba(255,255,255,.08);bottom:-200px;right:-120px;}
#sub-cta .inner{position:relative;z-index:1;}
#sub-cta h2{font-family:"Zen Kaku Gothic New";font-weight:900;font-size:clamp(22px,3vw,34px);line-height:1.5;text-wrap:balance;}
#sub-cta p{margin-top:16px;font-size:15.5px;color:rgba(255,255,255,.9);line-height:1.9;}
#sub-cta .ctas{margin-top:30px;display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}

@media(max-width:860px){
  #sub-hero{padding:116px 0 44px;}
  #sub-body{padding:44px 0 70px;}
  .profile dl{grid-template-columns:1fr;}
  .profile dt{border-bottom:none;padding-bottom:6px;}
  .profile dd{padding-top:6px;}
  .prose{padding:32px 24px;}
  .toc ol{grid-template-columns:1fr;}
  .mission{padding:32px 26px;}
}
