/* ==========================================================================
   Bridge Line Advisors — design system
   Minimal white SaaS aesthetic: black primary, one blue accent, 1px hairlines
   ========================================================================== */

:root {
  --ink: #0a0a0a;
  --ink-2: #404040;
  --gray: #6b6b6b;
  --gray-2: #9a9a9a;
  --line: #e8e8e8;
  --line-2: #f0f0f0;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-tint: #f6f7f9;
  --accent: #0b5fff;
  --accent-soft: #eef4ff;
  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1100px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

::selection { background: var(--accent); color: #fff; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 18px;
}
.display {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.032em;
}
.h-lg {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.026em;
}
.lede { font-size: 17px; color: var(--gray); line-height: 1.65; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 550;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cfcfcf; background: var(--bg-soft); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 9px; }
.link-arrow {
  font-size: 14.5px; font-weight: 550; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
}
.link-arrow:hover { color: var(--accent); }
.link-arrow .arr { transition: transform .15s ease; }
.link-arrow:hover .arr { transform: translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.site-header .container {
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; }
.brand-mark { width: 22px; height: 22px; flex: none; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a.nav-link {
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  transition: color .15s ease;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { color: var(--ink); }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line-2);
  background: #fff;
  padding: 10px 28px 22px;
}
.mobile-menu a { display: block; padding: 12px 0; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line-2); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .btn { margin-top: 14px; }
.mobile-menu.open { display: block; }

main { padding-top: 62px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 84px 0 90px; overflow: hidden; }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-title { margin: 0 0 22px; }
.hero-sub { font-size: 17.5px; color: var(--gray); max-width: 480px; margin-bottom: 34px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-steps {
  display: flex; align-items: center; gap: 14px;
  margin-top: 40px; color: var(--gray); font-size: 13.5px; flex-wrap: wrap;
}
.hero-steps .step { display: inline-flex; align-items: center; gap: 8px; }
.hero-steps .num {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid #d4d4d4; color: var(--gray);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 600;
}
.hero-steps .sep { width: 26px; height: 1px; background: var(--line); }

/* ---------- phone / chat mockup ---------- */
.hero-visual { display: flex; justify-content: center; }
.chat-shell {
  width: 360px; max-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 30px 80px -30px rgba(10,10,10,.22), 0 4px 16px rgba(10,10,10,.05);
  overflow: hidden;
}
.chat-head {
  display: flex; align-items: center; gap: 11px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-2);
  background: var(--bg-soft);
}
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.chat-avatar svg { width: 18px; height: 18px; }
.chat-head .who { font-size: 14px; font-weight: 600; line-height: 1.25; }
.chat-head .num { font-size: 12px; color: var(--gray-2); font-weight: 400; }
.chat-body { padding: 20px 16px 8px; min-height: 300px; }
.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(8px);
  animation: bubbleIn .45s ease forwards;
}
.bubble.in { background: #f1f1f2; color: var(--ink); border-bottom-left-radius: 5px; margin-right: auto; }
.bubble.out { background: var(--accent); color: #fff; border-bottom-right-radius: 5px; margin-left: auto; }
.bubble .tag {
  display: block; font-size: 10.5px; margin-top: 6px; opacity: .62; letter-spacing: .02em;
}
@keyframes bubbleIn { to { opacity: 1; transform: translateY(0); } }
.typing {
  display: inline-flex; gap: 4px; background: #f1f1f2;
  padding: 12px 15px; border-radius: 18px; border-bottom-left-radius: 5px;
  margin-bottom: 10px;
}
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #b9b9bb; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
.chat-input {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-top: 1px solid var(--line-2);
}
.chat-input .field {
  flex: 1; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; font-size: 13px; color: var(--gray-2);
}
.chat-input .send {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.chat-input .send svg { width: 14px; height: 14px; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { border-top: 1px solid var(--line-2); padding: 74px 0 84px; }
.stats-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.stat .big {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 600; letter-spacing: -0.045em; line-height: 1;
}
.stat .lbl { margin-top: 12px; font-size: 15px; font-weight: 550; color: var(--ink-2); }

/* ==========================================================================
   Logo / ecosystem row
   ========================================================================== */
.ecosystem { padding: 30px 0 90px; }
.ecosystem .lede { max-width: 620px; margin: 14px auto 46px; }
.logo-row {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.logo-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 9px; padding: 30px 10px;
  border-right: 1px solid var(--line);
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  transition: background .15s ease;
}
.logo-cell:last-child { border-right: 0; }
.logo-cell:hover { background: var(--bg-soft); }
.logo-cell .lg-icon { width: 26px; height: 26px; color: var(--ink); }

/* ==========================================================================
   Sections (generic)
   ========================================================================== */
.section { padding: 96px 0; }
.section.tint { background: var(--bg-tint); }
.section.bordered { border-top: 1px solid var(--line-2); }
.section-head { max-width: 640px; margin-bottom: 58px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .lede { margin-top: 16px; }

/* ==========================================================================
   Feature grid
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.feature-card:hover { border-color: #d8d8d8; box-shadow: 0 14px 40px -18px rgba(10,10,10,.14); }
.feature-card .f-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--bg-tint); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-card .f-icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--gray); line-height: 1.6; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; display: flex; flex-direction: column; background: #fff;
}
.price-card.featured { border: 1.5px solid var(--ink); }
.price-card .tier { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.price-card .amount { margin-top: 16px; font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.price-card .amount span { font-size: 15px; font-weight: 500; color: var(--gray); letter-spacing: 0; }
.price-card .quota { margin-top: 8px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.price-card ul { margin: 22px 0 26px; border-top: 1px solid var(--line-2); padding-top: 20px; flex: 1; }
.price-card li {
  position: relative; padding-left: 16px; font-size: 14px; color: var(--ink-2);
  margin-bottom: 11px; line-height: 1.5;
}
.price-card li::before { content: "·"; position: absolute; left: 2px; color: var(--ink); font-weight: 700; }
.price-note { text-align: center; margin-top: 30px; font-size: 13.5px; color: var(--gray-2); }

.ent-banner {
  margin-top: 54px; padding: 44px 0 8px;
  border-top: 1px solid var(--line-2);
  display: grid; grid-template-columns: 1.2fr .6fr 1fr auto; gap: 36px; align-items: center;
}
.ent-banner .tier { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); margin-bottom: 12px; }
.ent-banner h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.ent-banner p { font-size: 14px; color: var(--gray); margin-top: 10px; max-width: 380px; }
.ent-banner .amount { font-size: 38px; font-weight: 600; letter-spacing: -0.03em; }
.ent-banner .amount span { display: block; font-size: 13.5px; color: var(--gray); font-weight: 450; letter-spacing: 0; margin-top: 6px; }
.ent-banner ul li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.ent-banner ul li::before { content: "·"; position: absolute; left: 2px; font-weight: 700; }

/* comparison table */
.compare { margin-top: 70px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.compare thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--gray); font-weight: 600; }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare td { font-weight: 500; }
.compare .yes { color: var(--accent); font-weight: 600; }

/* ==========================================================================
   How it works
   ========================================================================== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step-card { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.step-card .no {
  font-size: 13px; font-weight: 600; color: var(--gray-2); letter-spacing: .08em;
  margin-bottom: 42px; display: block;
}
.step-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ==========================================================================
   Testimonial
   ========================================================================== */
.testimonial { text-align: center; }
.t-viewport { position: relative; min-height: 250px; max-width: 760px; margin: 40px auto 0; }
.t-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
.t-slide.active { position: relative; opacity: 1; visibility: visible; }
.t-quote-mark { font-size: 44px; line-height: 1; color: #dcdcdc; font-family: Georgia, serif; }
.t-quote { font-size: clamp(19px, 2.3vw, 25px); line-height: 1.55; letter-spacing: -0.012em; font-weight: 500; margin-top: 14px; }
.t-attr { margin-top: 26px; font-size: 14px; color: var(--gray); display: flex; align-items: center; justify-content: center; gap: 9px; }
.t-attr .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.t-dots { display: flex; justify-content: center; gap: 7px; margin-top: 34px; }
.t-dots button { width: 22px; height: 5px; border-radius: 99px; background: #e2e2e2; transition: background .2s; }
.t-dots button.active { background: var(--ink); }
.testimonial .btn { margin-top: 40px; }

/* ==========================================================================
   Compliance strip
   ========================================================================== */
.compliance-band { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 44px; background: #fff;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 44px; align-items: center; }
.compliance-band h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.compliance-band p { font-size: 14.5px; color: var(--gray); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
  font-size: 13.5px; font-weight: 550; color: var(--ink-2); background: var(--bg-soft);
}
.badge svg { width: 15px; height: 15px; color: var(--accent); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { text-align: center; padding: 110px 0; }
.cta .lede { max-width: 520px; margin: 18px auto 38px; }
.cta-actions { display: flex; justify-content: center; gap: 26px; align-items: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line-2); padding: 72px 0 40px; background: #fff; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 56px; }
.footer-brand p { font-size: 13.5px; color: var(--gray); margin-top: 14px; max-width: 240px; line-height: 1.65; }
.footer-brand a.mail { color: var(--ink-2); font-weight: 500; display: inline-block; margin-top: 12px; font-size: 13.5px; }
.footer-brand a.mail:hover { color: var(--accent); }
.footer-col h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--gray); padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line-2); padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { font-size: 12.5px; color: var(--gray-2); line-height: 1.7; max-width: 720px; }
.footer-bottom .legal-links { display: flex; gap: 18px; font-size: 12.5px; }
.footer-bottom .legal-links a { color: var(--gray); }
.footer-bottom .legal-links a:hover { color: var(--ink); }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { padding: 88px 0 64px; border-bottom: 1px solid var(--line-2); }
.page-hero .lede { max-width: 620px; margin-top: 20px; }
.page-hero .hero-actions { margin-top: 34px; }

/* ==========================================================================
   Services detail
   ========================================================================== */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--line-2); }
.service-block:last-child { border-bottom: 0; }
.service-block.flip .s-visual { order: -1; }
.service-block h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -0.022em; margin-bottom: 16px; }
.service-block .s-tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.service-block p { color: var(--gray); font-size: 15.5px; margin-bottom: 20px; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 14.5px; color: var(--ink-2); }
.check-list li svg { position: absolute; left: 0; top: 3px; width: 17px; height: 17px; color: var(--accent); }
.s-visual { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-tint); padding: 34px; }
.mini-metric { display: flex; justify-content: space-between; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mini-metric:last-child { border-bottom: 0; }
.mini-metric .k { color: var(--gray); }
.mini-metric .v { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.mini-metric .v.up { color: #0a8a43; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; text-align: left; font-size: 16.5px; font-weight: 550; letter-spacing: -0.01em;
}
.faq-q .ic { flex: none; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .25s ease, background .2s; }
.faq-q .ic svg { width: 12px; height: 12px; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a .inner { padding: 0 40px 26px 0; font-size: 15px; color: var(--gray); line-height: 1.7; }
.faq-a a { color: var(--accent); font-weight: 500; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; }
.contact-info .ci-block { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.contact-info .ci-block h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--gray); font-weight: 600; margin-bottom: 10px; }
.contact-info .ci-block p, .contact-info .ci-block a { font-size: 16px; font-weight: 500; line-height: 1.6; }
.contact-info .ci-block a { color: var(--accent); }
.contact-info .ci-block a:hover { text-decoration: underline; }
.contact-form { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; font-weight: 550; margin-bottom: 7px; color: var(--ink-2); }
.form-field label .opt { color: var(--gray-2); font-weight: 400; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 14.5px; color: var(--ink); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11,95,255,.12);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.consent-box { display: flex; gap: 11px; align-items: flex-start; background: var(--bg-tint); border: 1px solid var(--line-2); border-radius: 12px; padding: 15px 16px; margin-bottom: 20px; }
.consent-box input[type="checkbox"] { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.consent-box label { font-size: 12.8px; color: var(--gray); line-height: 1.6; }
.consent-box a { color: var(--accent); font-weight: 500; }
.form-note { font-size: 12.5px; color: var(--gray-2); margin-top: 14px; line-height: 1.6; }
.form-status { display: none; margin-top: 14px; font-size: 14px; font-weight: 550; color: #0a8a43; }
.form-status.show { display: block; }

/* ==========================================================================
   Legal / prose pages
   ========================================================================== */
.legal-body { max-width: 780px; padding: 64px 0 96px; }
.legal-body .updated { font-size: 13.5px; color: var(--gray-2); margin-bottom: 40px; }
.legal-body h2 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; margin: 44px 0 14px; }
.legal-body h3 { font-size: 16.5px; font-weight: 600; margin: 26px 0 10px; }
.legal-body p { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; line-height: 1.75; }
.legal-body ul, .legal-body ol { margin: 0 0 16px 0; padding-left: 0; }
.legal-body li { position: relative; font-size: 15px; color: var(--ink-2); padding-left: 20px; margin-bottom: 9px; line-height: 1.7; }
.legal-body ul li::before { content: "·"; position: absolute; left: 4px; font-weight: 700; }
.legal-body ol { counter-reset: item; }
.legal-body ol li::before { counter-increment: item; content: counter(item) "."; position: absolute; left: 0; font-weight: 550; font-size: 13.5px; top: 1px; }
.legal-body a { color: var(--accent); font-weight: 500; }
.legal-body a:hover { text-decoration: underline; }
.legal-body .callout { background: var(--bg-tint); border: 1px solid var(--line-2); border-radius: 12px; padding: 18px 22px; margin: 22px 0; }
.legal-body .callout p { margin-bottom: 8px; }
.legal-body .callout p:last-child { margin-bottom: 0; }
.legal-body strong { font-weight: 600; }

/* ==========================================================================
   Compliance page
   ========================================================================== */
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pillar { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; background: #fff; }
.pillar .p-tag { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 12px; }
.pillar h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 10px; }
.pillar p { font-size: 14.5px; color: var(--gray); margin-bottom: 14px; }
.pillar li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.pillar li::before { content: "·"; position: absolute; left: 2px; font-weight: 700; }

.flow-line { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.flow-cell { padding: 26px 20px; border-right: 1px solid var(--line); background: #fff; }
.flow-cell:last-child { border-right: 0; }
.flow-cell .no { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: .08em; display: block; margin-bottom: 10px; }
.flow-cell h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.flow-cell p { font-size: 13px; color: var(--gray); line-height: 1.55; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: start; }
.about-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; background: #fff; }
.about-card h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--gray); font-weight: 600; margin-bottom: 16px; }
.about-card p { font-size: 15px; line-height: 1.7; }
.about-card .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.about-card .row:last-child { border-bottom: 0; }
.about-card .row .k { color: var(--gray); flex: none; }
.about-card .row .v { font-weight: 550; text-align: right; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; background: #fff; }
.value-card .no { font-size: 13px; font-weight: 600; color: var(--gray-2); letter-spacing: .08em; display: block; margin-bottom: 26px; }
.value-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--gray); }

/* ==========================================================================
   404
   ========================================================================== */
.nf { text-align: center; padding: 140px 0 150px; }
.nf .code { font-size: clamp(80px, 14vw, 160px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.nf p { color: var(--gray); margin: 18px 0 34px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .logo-cell:nth-child(3n) { border-right: 0; }
  .logo-cell:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .ent-banner { grid-template-columns: 1fr 1fr; }
  .flow-line { grid-template-columns: repeat(2, 1fr); }
  .flow-cell { border-bottom: 1px solid var(--line); }
  .compliance-band { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-info { display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; }
  .contact-info .ci-block { flex: none; }
}

@media (max-width: 820px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 56px 0 70px; }
  .hero .container { grid-template-columns: 1fr; gap: 54px; }
  .hero-sub { max-width: none; }
  .stats-grid { grid-template-columns: 1fr; gap: 34px; }
  .service-block { grid-template-columns: 1fr; gap: 34px; }
  .service-block.flip .s-visual { order: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .value-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .pricing-grid, .steps-grid, .feature-grid { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .logo-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .logo-cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .logo-cell:nth-last-child(-n+2) { border-bottom: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ent-banner { grid-template-columns: 1fr; gap: 22px; }
  .flow-line { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 22px; }
  .contact-info { grid-template-columns: 1fr; }
  .compliance-band { padding: 30px 24px; }
  .chat-shell { width: 100%; }
}

/* ---------- form validation & simulated submit ---------- */
.phone-wrap { display: flex; align-items: stretch; }
.phone-wrap .prefix {
  display: flex; align-items: center; padding: 0 13px;
  border: 1px solid var(--line); border-right: 0;
  border-radius: 10px 0 0 10px; background: var(--bg-tint);
  font-size: 14.5px; font-weight: 550; color: var(--ink-2);
  user-select: none; flex: none;
}
.phone-wrap input { border-radius: 0 10px 10px 0 !important; }
.phone-wrap:focus-within .prefix { border-color: var(--accent); }
.form-field input.is-invalid, .form-field textarea.is-invalid {
  border-color: #d64545; box-shadow: 0 0 0 3px rgba(214,69,69,.10);
}
.phone-wrap:has(input.is-invalid) .prefix { border-color: #d64545; }
.field-error { display: none; font-size: 12.5px; color: #c92a2a; margin-top: 6px; font-weight: 500; }
.field-error.show { display: block; }
.btn .spinner {
  width: 15px; height: 15px; flex: none;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn:disabled { opacity: .75; cursor: default; }
.form-success { display: none; text-align: center; padding: 44px 10px; }
.form-success.show { display: block; }
.form-success .ok {
  width: 58px; height: 58px; border-radius: 50%;
  background: #e9f7ef; color: #0a8a43;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.form-success .ok svg { width: 27px; height: 27px; }
.form-success h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 10px; }
.form-success p { font-size: 14.5px; color: var(--gray); max-width: 400px; margin: 0 auto 8px; line-height: 1.65; }
.form-success a { color: var(--accent); font-weight: 500; }
.form-success .again { margin-top: 22px; }

/* global callout */
.callout { background: var(--bg-tint); border: 1px solid var(--line-2); border-radius: 12px; padding: 18px 22px; margin: 22px 0; }
.callout p { font-size: 15px; color: var(--ink-2); line-height: 1.75; margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { font-weight: 600; }
