/* ============================================================
   VoiceLine Cloud — marketing site kit layout
   Page-level scaffolding (header, hero, sections, pricing,
   comparison). Primitives come from the design-system bundle.
   ============================================================ */

.site {
  /* ============================================================
     CLOUD THEME — cooler, lighter, fresher than the on-prem brand.
     Scoped to the marketing surface only; core tokens untouched.
     Carefully tuned in oklch: cool near-white paper, crisp white
     cards, a clearer (slightly cyan) yet still calm/法人 teal.
     ============================================================ */
  /* surfaces: warm 生成り → cool near-white, crisp white cards */
  --vl-bg:          oklch(0.992 0.004 220);
  --vl-bg-2:        oklch(0.974 0.006 218);
  --vl-paper:       oklch(1 0 0);
  --vl-line:        oklch(0.922 0.006 220);
  --vl-line-2:      oklch(0.872 0.008 218);
  --vl-ink:         oklch(0.255 0.018 230);
  --vl-ink-soft:    oklch(0.40 0.016 226);
  --vl-muted:       oklch(0.53 0.014 224);
  --vl-faint:       oklch(0.66 0.012 222);

  /* accent: fresher, clearer teal (a touch brighter + more cyan) */
  --vl-accent:      oklch(0.585 0.105 197);
  --vl-accent-d:    oklch(0.465 0.092 200);
  --vl-accent-dd:   oklch(0.30 0.062 207);
  --vl-accent-wash: oklch(0.966 0.026 197);
  --vl-accent-line: oklch(0.85 0.052 197);

  /* airier elevation: lighter, cooler, more diffuse */
  --shadow-s: 0 1px 2px oklch(0.5 0.04 220 / 0.05);
  --shadow-m: 0 22px 50px -26px oklch(0.45 0.06 215 / 0.28), 0 3px 10px -5px oklch(0.45 0.06 215 / 0.10);

  /* more breathing room */
  --section-y: clamp(76px, 10vw, 148px);
  --section-y-tight: clamp(56px, 7vw, 96px);

  background: var(--surface-page); color: var(--text-strong);
}
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--section-y-tight); }
.band { background: var(--surface-band); }
.band-dark {
  background:
    radial-gradient(120% 140% at 85% -10%, oklch(0.33 0.055 210) 0%, transparent 55%),
    var(--vl-accent-dd);
  color: var(--text-on-dark);
}
.rule { height: 1px; background: var(--border-hair); border: 0; }

/* ---------------- Topology (cloud PBX connection) ---------------- */
.topo { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 44px; }
.topo-inbound { display: grid; gap: 10px; }
.topo-card {
  background: var(--surface-card); border: 1px solid var(--border-hair); border-radius: 13px;
  padding: 14px 16px; display: flex; align-items: center; gap: 11px; box-shadow: var(--shadow-s); min-width: 168px;
}
.topo-card .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--fill-accent-soft); color: var(--text-accent); flex: none; }
.topo-card .ic svg { width: 17px; height: 17px; }
.topo-card .nm { font-weight: 700; font-size: 0.86rem; color: var(--text-strong); line-height: 1.3; }
.topo-card .sub { font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-faint); letter-spacing: 0.02em; }
.topo-arrow { color: var(--vl-accent); flex: none; display: grid; place-items: center; }
.topo-arrow svg { width: 26px; height: 26px; }

.topo-hub {
  position: relative; text-align: center; color: #fff; border-radius: 18px; padding: 22px 26px; min-width: 224px;
  background: linear-gradient(150deg, oklch(0.46 0.09 200) 0%, var(--vl-accent-dd) 100%);
  box-shadow: 0 24px 50px -24px oklch(0.42 0.08 205 / 0.55);
}
.topo-hub .hub-ic { width: 40px; height: 40px; margin: 0 auto 8px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,0.14); }
.topo-hub .hub-ic svg { width: 22px; height: 22px; }
.topo-hub .hub-name { font-weight: 900; font-size: 1rem; letter-spacing: 0.01em; }
.topo-hub .hub-num { font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; margin-top: 4px; color: oklch(0.92 0.05 195); }
.topo-hub .hub-states { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-top: 12px; }
.topo-hub .hub-st { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.25em 0.6em; border-radius: 999px; background: rgba(255,255,255,0.12); color: oklch(0.93 0.03 195); border: 1px solid rgba(255,255,255,0.18); }
.topo-hub .pulse-ring { position: absolute; top: 14px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: oklch(0.85 0.12 150); box-shadow: 0 0 0 0 oklch(0.85 0.12 150 / 0.6); animation: vl-pulse 2.4s infinite; }

.topo-ends { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.topo-node { background: var(--surface-card); border: 1px solid var(--border-hair); border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; transition: transform var(--dur-base) ease, box-shadow var(--dur-base) ease, border-color var(--dur-base) ease; }
.topo-node:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: var(--border-accent); }
.topo-node svg { width: 18px; height: 18px; color: var(--text-accent); flex: none; }
.topo-node .tn-nm { font-weight: 700; font-size: 0.82rem; color: var(--text-strong); }
.topo-node .tn-sub { font-size: 0.7rem; color: var(--text-muted); }
@media (max-width: 760px) {
  .topo { flex-direction: column; }
  .topo-arrow { transform: rotate(90deg); }
  .topo-ends { grid-template-columns: 1fr 1fr; width: 100%; }
}

.section-head { max-width: 760px; }
.section-head .vl-h2 { margin-top: 14px; }
.section-head .vl-lead { margin-top: 18px; }
.band-dark .vl-lead { color: oklch(0.86 0.02 200); }
.band-dark .vl-eyebrow { color: oklch(0.80 0.06 200); }
.band-dark .vl-eyebrow::before { background: oklch(0.55 0.06 205); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: oklch(0.992 0.004 220 / 0.78);
  backdrop-filter: saturate(1.3) blur(16px);
  border-bottom: 1px solid var(--border-hair);
}
.headbar { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.headbar .logo { height: 34px; }
.nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav a { font-size: 0.9rem; font-weight: 500; color: var(--text-body); transition: color .15s ease; }
.nav a:hover { color: var(--text-accent); }
.head-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.head-tel .lbl { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; color: var(--text-faint); }
.head-tel .num { font-weight: 900; font-size: 1.05rem; color: var(--text-strong); font-family: var(--font-mono); }
@media (max-width: 1000px) { .nav, .head-tel { display: none; } }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; background: var(--vl-bg); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(80% 70% at 78% -8%, oklch(0.93 0.05 197 / 0.55) 0%, transparent 58%),
    radial-gradient(70% 60% at 8% 110%, oklch(0.95 0.03 210 / 0.45) 0%, transparent 60%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 0.96fr; gap: 60px; align-items: center; padding-block: clamp(64px, 8vw, 120px); }
.hero .display { font-size: clamp(2.1rem, 5vw, 3.5rem); }
.hero .vl-lead { margin-top: 22px; max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.risk-row { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; }
.risk-row span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.risk-row svg { width: 15px; height: 15px; color: var(--vl-accent); }
.statusbadge {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.82rem; font-weight: 700; color: var(--text-accent);
  background: var(--fill-accent-soft); border: 1px solid var(--border-accent);
  padding: 0.45em 0.9em; border-radius: 999px; margin-bottom: 22px;
}
.statusbadge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--vl-accent); box-shadow: 0 0 0 0 oklch(0.5 0.07 205 / 0.5); animation: vl-pulse 2.4s infinite; }
@keyframes vl-pulse { 0% { box-shadow: 0 0 0 0 oklch(0.5 0.07 205 / 0.45);} 70% { box-shadow: 0 0 0 9px oklch(0.5 0.07 205 / 0);} 100% { box-shadow: 0 0 0 0 oklch(0.5 0.07 205 / 0);} }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero .hcol-art { order: 2; } }

/* console preview (hero art) */
.console-preview {
  background: #fff; border: 1px solid var(--border-hair); border-radius: var(--radius);
  box-shadow: var(--shadow-m); overflow: hidden;
}
.cp-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: var(--vl-app-header); }
.cp-bar .dotwin { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.3); }
.cp-bar .cp-title { margin-left: 8px; font-size: 0.72rem; color: rgba(255,255,255,.85); font-weight: 700; }
.cp-body { display: grid; grid-template-columns: 116px 1fr; min-height: 280px; }
.cp-side { background: var(--vl-app-sidebar); border-right: 1px solid var(--vl-app-border); padding: 12px 8px; display: grid; gap: 3px; align-content: start; }
.cp-nav { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 999px; font-size: 0.72rem; color: #1f3d38; white-space: nowrap; }
.cp-nav.active { background: var(--vl-app-wash); font-weight: 700; }
.cp-nav svg { width: 13px; height: 13px; }
.cp-main { padding: 16px; }
.cp-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.cp-stat { position: relative; border: 1px solid var(--vl-app-border); border-radius: 9px; padding: 10px 12px; overflow: hidden; }
.cp-stat::before { content:""; position:absolute; inset-block:0; left:0; width:3px; background: var(--vl-app-primary); }
.cp-stat .l { font-size: 0.6rem; color: var(--vl-app-muted); }
.cp-stat .v { font-family: var(--font-mono); font-weight: 700; font-size: 1.2rem; color: var(--vl-app-stat); }
.cp-call { display: flex; align-items: center; gap: 11px; border: 1px solid var(--border-accent); background: var(--fill-accent-soft); border-radius: 10px; padding: 11px 13px; }
.cp-call .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--vl-accent); color:#fff; display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; }
.cp-call .nm { font-weight: 700; font-size: 0.8rem; color: var(--vl-app-ink); }
.cp-call .sub { font-family: var(--font-mono); font-size: 0.62rem; color: var(--vl-app-muted); }
.cp-call .timer { margin-left: auto; font-family: var(--font-mono); font-weight: 700; color: var(--vl-app-primary); font-size: 0.9rem; }
.cp-rows { margin-top: 12px; display: grid; gap: 1px; background: var(--vl-app-border); border: 1px solid var(--vl-app-border); border-radius: 9px; overflow: hidden; }
.cp-row { display: flex; align-items: center; gap: 10px; background: #fff; padding: 8px 12px; font-size: 0.72rem; }
.cp-row .ext { font-family: var(--font-mono); color: var(--vl-app-ink); font-weight: 700; }
.cp-row .pill { margin-left: auto; }

/* ---------------- Trust bar ---------------- */
.trustbar { border-top: 1px solid var(--border-hair); border-bottom: 1px solid var(--border-hair); }
.trustbar .wrap { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; padding-block: 18px; }
.trustbar .ti { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; font-weight: 500; color: var(--text-muted); }
.trustbar .ti svg { width: 16px; height: 16px; color: var(--vl-accent); }

/* ---------------- Value grid ---------------- */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vcard .vnum { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--text-accent); font-weight: 700; }
.vcard .vicon { width: 44px; height: 44px; margin: 16px 0 16px; color: var(--text-accent); }
.vcard h3 { font-size: 1.16rem; line-height: 1.45; margin: 0 0 12px; }
.vcard p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; margin: 0; }
@media (max-width: 880px) { .vgrid { grid-template-columns: 1fr; } }

/* ---------------- Function list ---------------- */
.funcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.func { display: flex; align-items: center; gap: 10px; background: var(--surface-card); border: 1px solid var(--border-hair); border-radius: 11px; padding: 14px 16px; }
.func svg { width: 18px; height: 18px; color: var(--text-accent); flex: none; }
.func .fn-name { font-weight: 700; font-size: 0.9rem; }
@media (max-width: 880px) { .funcs { grid-template-columns: 1fr 1fr; } }

/* ---------------- Pricing ---------------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { background: var(--surface-card); border: 1px solid var(--border-hair); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; }
.plan.feat { border-color: var(--border-accent); box-shadow: var(--shadow-m); position: relative; }
.plan .pname { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--text-accent); font-weight: 700; }
.plan .pprice { font-family: var(--font-mono); font-weight: 900; font-size: 1.7rem; color: var(--text-strong); margin: 14px 0 4px; }
.plan .pprice small { font-size: 0.78rem; font-weight: 400; color: var(--text-muted); font-family: var(--font-sans); }
.plan .pdesc { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; margin: 0 0 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.plan li { font-size: 0.84rem; color: var(--text-body); display: flex; gap: 9px; line-height: 1.5; }
.plan li svg { width: 15px; height: 15px; color: var(--vl-ok); flex: none; margin-top: 2px; }
.plan .ribbon { position: absolute; top: -11px; left: 22px; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; color: #fff; background: var(--vl-accent); padding: 0.3em 0.7em; border-radius: 999px; }
.plan .pfoot { margin-top: auto; }
@media (max-width: 980px) { .pricing { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }

/* ---------------- Comparison table ---------------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--border-hair); border-radius: var(--radius); background: var(--surface-card); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 600px; }
table.cmp th, table.cmp td { padding: 16px 18px; text-align: left; vertical-align: top; font-size: 0.92rem; border-bottom: 1px solid var(--border-hair); }
table.cmp thead th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--text-muted); font-weight: 700; background: var(--surface-band); }
table.cmp tbody th { font-weight: 700; color: var(--text-strong); width: 26%; }
table.cmp td { color: var(--text-body); }
table.cmp .col-feat { background: var(--fill-accent-soft); color: var(--text-accent); font-weight: 700; }
table.cmp thead .col-feat { background: var(--vl-accent); color: #fff; }
table.cmp tr:last-child th, table.cmp tr:last-child td { border-bottom: 0; }

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step .sn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--vl-accent); color: var(--text-accent); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; }
.step h3 { margin: 16px 0 8px; font-size: 1.02rem; }
.step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }

/* ---------------- FAQ ---------------- */
.faq-item { border-bottom: 1px solid var(--border-hair); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 40px 22px 0; position: relative; font-size: 1.02rem; font-weight: 700; color: var(--text-strong); display: flex; gap: 14px; cursor: pointer; }
.faq-q .qm { font-family: var(--font-mono); color: var(--text-accent); flex: none; }
.faq-a { display: none; padding: 0 0 24px 30px; color: var(--text-body); font-size: 0.92rem; line-height: 1.85; }
.faq-item.open .faq-a { display: block; }
.faq-q .ic { position: absolute; right: 4px; top: 26px; font-family: var(--font-mono); color: var(--text-accent); }

/* ---------------- AI band ---------------- */
.aigrid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.ai-cards { display: grid; gap: 12px; }
.ai-card { border: 1px solid oklch(0.46 0.05 205 / 0.6); border-radius: var(--radius); padding: 20px 22px; background: oklch(0.33 0.05 210 / 0.5); }
.ai-card h3 { font-size: 1rem; color: #fff; margin: 0 0 6px; }
.ai-card p { font-size: 0.85rem; color: oklch(0.84 0.02 200); line-height: 1.7; margin: 0; }
@media (max-width: 880px) { .aigrid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------------- CTA strip + Footer ---------------- */
.ctastrip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 40px; }
.ctastrip .num { font-family: var(--font-mono); font-weight: 900; font-size: 1.4rem; color: #fff; }
.site-footer { background: oklch(0.235 0.045 216); color: oklch(0.85 0.015 200); padding-block: clamp(48px, 6vw, 72px) 28px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-col h4 { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: oklch(0.72 0.05 200); margin: 0 0 14px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-col a { font-size: 0.86rem; color: oklch(0.85 0.015 200); }
.foot-col a:hover { color: #fff; }
.foot-info { font-size: 0.82rem; line-height: 1.9; color: oklch(0.78 0.02 200); margin-top: 14px; }
.foot-bot { margin-top: 32px; padding-top: 22px; border-top: 1px solid oklch(0.4 0.04 210); font-size: 0.74rem; color: oklch(0.66 0.03 200); }
@media (max-width: 880px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; } }
