/*
 * Cotoa HQ unified LP design system
 * Source: CEO request 2026-08-26 + 37-page customer-first PDF audit
 * Scope: visual shell only. Product facts, screenshots, consent and runtime contracts remain product-owned.
 */
:root {
  --hq-ink: #14203f;
  --hq-ink-soft: #34415f;
  --hq-paper: #fffdf9;
  --hq-canvas: #f3f7fb;
  --hq-line: #d9e3ee;
  --hq-blue: #245bda;
  --hq-blue-deep: #153d9a;
  --hq-mint: #dff7ee;
  --hq-coral: #ffe4dc;
  --hq-gold: #fff2c7;
  --hq-shadow: 0 18px 48px rgba(20, 32, 63, .12);
  --hq-radius: 28px;
  --hq-radius-small: 18px;
  --hq-max: 1180px;
  --hq-focus: #ffb703;
}
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--hq-ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(87, 199, 180, .16), transparent 26rem),
    radial-gradient(circle at 92% 11%, rgba(36, 91, 218, .12), transparent 30rem),
    var(--hq-canvas);
  font-family: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  z-index: 1000;
  background: linear-gradient(90deg, #245bda, #20a784 40%, #ff9b72 72%, #f2c14e);
}
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 4px solid var(--hq-focus) !important;
  outline-offset: 3px;
}
.site-header, .topbar, .company-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(20, 32, 63, .1);
  background: rgba(255, 253, 249, .94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(20, 32, 63, .06);
}
.site-header > *, .topbar > *, .company-header > *,
.wrap, .content-width, .section-shell, .footer-inner {
  width: min(var(--hq-max), calc(100% - 40px));
  margin-inline: auto;
}
.series-nav, .family-nav, .product-nav {
  scrollbar-width: none;
  gap: 8px !important;
}
.series-nav::-webkit-scrollbar, .family-nav::-webkit-scrollbar, .product-nav::-webkit-scrollbar { display: none; }
.series-nav a, .family-nav a, .product-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 14px !important;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 700;
}
.series-nav a[aria-current="page"], .family-nav a[aria-current="page"], .product-nav a[aria-current="page"] {
  color: #fff !important;
  background: var(--hq-ink);
}
.company-hero {
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(232,243,255,.92)),
    var(--hq-paper);
}
.company-hero::after {
  content: "";
  position: absolute;
  width: min(420px, 100%);
  height: 420px;
  right: 0;
  top: -180px;
  z-index: -1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(36,91,218,.2), rgba(32,167,132,.18));
  filter: blur(2px);
}
h1, h2, h3 { letter-spacing: .01em; }
h1 { text-wrap: balance; line-height: 1.08; }
h2 { text-wrap: balance; line-height: 1.28; }
p, li, dd { overflow-wrap: anywhere; }
.section, .section-band, .company-section, .qa-section, .persona-section,
.manual-section, .pricing, .faq-section, .start, .trust, .feature-band, .ans-section {
  position: relative;
}
.section > .wrap, .section-band > .content-width, .company-section > .wrap,
.section-shell, .trust > *, .feature-band > * {
  border-radius: var(--hq-radius);
}
.panel, .card, .problem-card, .feature-card, .plan-card, .persona-card,
.campaign-card, .command-panel, .price-card, .faq-list details, .policy-stack details,
.start-step, .unit-table, .screen-strip figure, .story-card {
  border: 1px solid var(--hq-line) !important;
  border-radius: var(--hq-radius-small) !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 10px 28px rgba(20, 32, 63, .07);
}
.problem-card, .feature-card, .plan-card, .persona-card, .campaign-card, .command-panel,
.price-card, .story-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.problem-card:hover, .feature-card:hover, .plan-card:hover, .persona-card:hover,
.campaign-card:hover, .command-panel:hover, .price-card:hover, .story-card:hover {
  transform: translateY(-3px);
  border-color: rgba(36,91,218,.35) !important;
  box-shadow: var(--hq-shadow);
}
.eyebrow, .kicker, .section-label, .sale-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 2px 12px;
  border-radius: 999px;
  color: var(--hq-blue-deep);
  background: #e9f0ff;
  font-weight: 900;
  letter-spacing: .05em;
}
.btn, .button, button[type="submit"], .legal-mini, .footer-link-btn {
  min-height: 48px;
  border-radius: 14px !important;
  font-weight: 900 !important;
}
.btn-primary, .button-primary {
  color: #fff !important;
  border-color: var(--hq-blue) !important;
  background: linear-gradient(135deg, var(--hq-blue), var(--hq-blue-deep)) !important;
  box-shadow: 0 10px 24px rgba(36, 91, 218, .24);
}
.btn-secondary, .button-secondary {
  color: var(--hq-ink) !important;
  border-color: var(--hq-line) !important;
  background: #fff !important;
}
.company-status, .campaign-open, .campaign-strip, .sales-hold-banner {
  border-block: 1px solid rgba(20,32,63,.1);
  background: linear-gradient(90deg, var(--hq-gold), #fff8df);
}
.trust-list, .chips, .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.trust-list li, .chips > *, .badges > * {
  border-radius: 999px;
  background: rgba(255,255,255,.82);
}
.screen-strip img, .hero-shot img, .company-hero__mark img, .persona-visual img,
.manual-section img, .slide img {
  max-width: 100%;
  height: auto;
}
.screen-strip figure, .persona-visual {
  overflow: hidden;
}
.purchase-summary, .contract-protection, .protection-band, .unit-note,
.persona-source-note, .support-sla {
  border-left: 5px solid var(--hq-blue);
  border-radius: 0 var(--hq-radius-small) var(--hq-radius-small) 0;
  background: #eef4ff;
}
.support-sla { color: var(--hq-ink); }
.site-footer, .footer, .company-footer, body > footer {
  color: #eef4ff !important;
  background:
    radial-gradient(circle at 90% 10%, rgba(58, 137, 255, .22), transparent 24rem),
    var(--hq-ink) !important;
  border-top: 0 !important;
}
.site-footer a, .footer a, .company-footer a, body > footer a,
.site-footer button, .footer button, .company-footer button {
  color: #fff !important;
}
.site-footer nav, .footer nav, .company-footer nav {
  line-height: 1.5;
}
.legal-version, .hq-legal-version {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 6px 12px;
  border: 1px solid var(--hq-line);
  border-radius: 999px;
  color: var(--hq-ink-soft);
  background: #fff;
  font-size: .86rem;
  font-weight: 800;
}
@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }
  .site-header > *, .topbar > *, .company-header > *,
  .wrap, .content-width, .section-shell, .footer-inner {
    width: min(100% - 24px, var(--hq-max));
  }
  .series-nav, .family-nav, .product-nav {
    overflow-x: auto;
    justify-content: flex-start !important;
    scroll-snap-type: x proximity;
  }
  .series-nav a, .family-nav a, .product-nav a { scroll-snap-align: start; }
  .company-hero { padding-top: 28px !important; }
  h1 { font-size: clamp(2.15rem, 12vw, 3.5rem) !important; }
  h2 { font-size: clamp(1.55rem, 7.5vw, 2.25rem) !important; }
  .panel, .problem-card, .feature-card, .plan-card, .persona-card, .campaign-card,
  .command-panel, .price-card, .story-card { box-shadow: 0 8px 22px rgba(20,32,63,.08); }
  .action-row, .hero-actions { align-items: stretch !important; }
  .action-row .btn, .hero-actions .btn, .button { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
