/* =========================================================
   Urbancore Collaborative — shared stylesheet
   Theme modelled on the ViewPro (viewprogis.com) B2B SaaS look.
   Change brand colours in :root only.
   ========================================================= */

:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --primary: #1463ff;
  --primary-dark: #0d4fd6;
  --accent: #12b5a6;
  --accent-soft: #e3f7f5;
  --primary-soft: #e8f0ff;
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.14);
  --max: 1200px;
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-alt { background: var(--bg-alt); }
.bg-navy { background: var(--navy); color: #c7d2e3; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: #fff; padding: 8px 14px; z-index: 999; border-radius: 8px; }

/* ---------- Eyebrow label ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.teal { color: #0b8a7e; background: var(--accent-soft); }
.bg-navy .eyebrow { background: rgba(255,255,255,0.08); color: #8fd9d1; }
.lead { font-size: 1.15rem; color: var(--body); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem;
  padding: 14px 26px; border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer; transition: all .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(20,99,255,.28); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--primary-soft); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }
.text-link { font-family: var(--font-head); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11,31,58,.05); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; line-height: 1; letter-spacing: -0.02em; }
.logo-text small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu a, .nav-menu button.dd-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.97rem;
  color: var(--ink); padding: 10px 14px; border-radius: 8px;
  background: none; border: 0; cursor: pointer;
}
.nav-menu a:hover, .nav-menu button.dd-toggle:hover, .nav-menu a.active { color: var(--primary); background: var(--primary-soft); }
.dd-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 320px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.has-dd:hover .dropdown, .has-dd.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dd:hover .dd-toggle svg, .has-dd.open .dd-toggle svg { transform: rotate(180deg); }
.dropdown a { display: flex; align-items: flex-start; gap: 12px; padding: 12px; width: 100%; }
.dropdown .dd-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.dropdown .dd-icon svg { width: 20px; height: 20px; }
.dropdown strong { display: block; font-size: 0.98rem; color: var(--ink); }
.dropdown span.desc { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 20px; font-size: 0.92rem; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(20,99,255,.12), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(18,181,166,.10), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin-bottom: 32px; }
.hero-note { margin-top: 26px; font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; color: var(--accent); }

.page-hero {
  padding: 80px 0 72px;
  background:
    radial-gradient(900px 420px at 90% -20%, rgba(20,99,255,.14), transparent 60%),
    linear-gradient(180deg, var(--bg-alt), #fff);
  border-bottom: 1px solid var(--line);
}
.page-hero.dark {
  background:
    radial-gradient(900px 420px at 90% -20%, rgba(18,181,166,.25), transparent 60%),
    radial-gradient(700px 400px at 0% 120%, rgba(20,99,255,.35), transparent 60%),
    var(--navy);
  border: 0; color: #c7d2e3;
}
.page-hero.dark h1 { color: #fff; }
.page-hero.dark .lead { color: #c7d2e3; }
.page-hero.dark .eyebrow { background: rgba(255,255,255,.08); color: #8fd9d1; }
.breadcrumb { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.page-hero.dark .breadcrumb, .page-hero.dark .breadcrumb a { color: #8ea3c0; }

/* ---------- Product mockups (pure HTML/CSS/SVG) ---------- */
.mockup {
  position: relative;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  overflow: hidden;
}
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.mockup-bar i:nth-child(1) { background: #ff6b6b; }
.mockup-bar i:nth-child(2) { background: #ffc94d; }
.mockup-bar i:nth-child(3) { background: #3ccf7e; }
.mockup-bar span { margin-left: 12px; font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.mockup-body { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.mockup-side { background: var(--navy); padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; }
.mockup-side b { color: #fff; font-family: var(--font-head); font-size: .8rem; margin-bottom: 8px; padding: 0 8px; }
.mockup-side em { font-style: normal; font-size: .74rem; color: #9fb0c9; padding: 7px 8px; border-radius: 6px; display: flex; align-items: center; gap: 8px; }
.mockup-side em::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; opacity: .7; }
.mockup-side em.on { background: rgba(255,255,255,.1); color: #fff; }
.mockup-map { position: relative; background: #eef3f9; }
.mockup-map svg { width: 100%; height: 100%; }
.map-card {
  position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  padding: 12px 14px; font-size: .74rem; color: var(--body); min-width: 150px;
}
.map-card b { display: block; color: var(--ink); font-family: var(--font-head); font-size: .82rem; margin-bottom: 4px; }
.map-card .pill { display: inline-block; font-size: .66rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--accent-soft); color: #0b8a7e; margin-top: 4px; }
.map-card.c1 { top: 18px; right: 18px; }
.map-card.c2 { bottom: 18px; left: 18px; }
.float-badge {
  position: absolute; z-index: 2; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 600; color: var(--ink);
}
.float-badge .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.float-badge .ic svg { width: 18px; height: 18px; }
.hero-visual { position: relative; }
.hero-visual .float-badge.b1 { left: -28px; bottom: 40px; }
.hero-visual .float-badge.b2 { right: -18px; top: -20px; }

/* chat mockup for MuniSync.ai */
.chat { padding: 22px; display: flex; flex-direction: column; gap: 14px; background: #f8fafd; min-height: 360px; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 16px; font-size: .9rem; line-height: 1.5; }
.msg.user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.bot .mini-map { margin-top: 10px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.msg .tag { display: inline-block; margin: 6px 6px 0 0; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--accent-soft); color: #0b8a7e; }
.chat-input { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); background: #fff; }
.chat-input span { flex: 1; font-size: .85rem; color: var(--muted); }
.chat-input .mic, .chat-input .send { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.chat-input .mic { background: var(--accent-soft); color: var(--accent); }
.chat-input .send { background: var(--primary); color: #fff; }
.chat-input svg { width: 18px; height: 18px; }

/* ---------- Trust strip ---------- */
.trust { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.trust p { margin: 0; font-weight: 600; color: var(--muted); font-size: .92rem; }
.trust-items { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.trust-items span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--navy-2); font-size: .98rem; }
.trust-items svg { width: 22px; height: 22px; color: var(--primary); }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.section-head { margin-bottom: 56px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { margin: 0; }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--primary-soft); color: var(--primary);
}
.icon-box.teal { background: var(--accent-soft); color: var(--accent); }
.icon-box svg { width: 26px; height: 26px; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card ul li { position: relative; padding-left: 22px; margin-bottom: 6px; font-size: .94rem; }
.card ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); opacity: .8; }

/* product cards on home */
.product-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: 44px;
  display: flex; flex-direction: column; min-height: 100%;
  border: 1px solid var(--line); background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card.dark { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); border: 0; color: #c7d2e3; }
.product-card.dark h3 { color: #fff; }
.product-card .p-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.product-card .p-logo .icon-box { margin: 0; }
.product-card .p-logo b { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.product-card.dark .p-logo b { color: #fff; }
.product-card h3 { font-size: 1.5rem; }
.product-card ul { list-style: none; padding: 0; margin: 10px 0 30px; flex: 1; }
.product-card ul li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.product-card ul svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.product-card.dark .icon-box { background: rgba(255,255,255,.1); color: #8fd9d1; }

/* split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.reverse .split-media { order: -1; }
.check-list { list-style: none; padding: 0; margin: 22px 0 28px; }
.check-list li { display: flex; gap: 12px; margin-bottom: 14px; }
.check-list li svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.check-list li b { color: var(--ink); }

.visual-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--primary-soft), var(--accent-soft));
  padding: 36px; position: relative; overflow: hidden;
}
.stat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-tile { background: #fff; border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.stat-tile b { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.stat-tile span { font-size: .86rem; color: var(--muted); }
.stat-tile .icon-box { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px; }
.stat-tile .icon-box svg { width: 20px; height: 20px; }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem;
  color: transparent; -webkit-text-stroke: 1.5px var(--primary); display: block; margin-bottom: 10px; line-height: 1;
}
.bg-navy .step::before { -webkit-text-stroke-color: #8fd9d1; }

/* values / about */
.value { display: flex; gap: 18px; }
.value .icon-box { flex: none; margin: 0; }
.value h3 { margin-bottom: 6px; }
.value p { margin: 0; }

.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.info-table th { width: 38%; font-family: var(--font-head); color: var(--ink); background: var(--bg-alt); font-weight: 700; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: 64px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(18,181,166,.35), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(20,99,255,.45), transparent 60%),
    var(--navy);
  color: #c7d2e3;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 14px; padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--primary); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact-info .item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .item .icon-box { margin: 0; flex: none; }
.contact-info .item b { display: block; color: var(--ink); font-family: var(--font-head); }
.contact-info .item p { margin: 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: #e11d48; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .96rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(20,99,255,.12); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; margin-bottom: 22px; }
.checkbox input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--primary); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: .92rem; display: none; }
.form-status.ok { display: block; background: var(--accent-soft); color: #0b6b62; }
.form-status.err { display: block; background: #fff1f2; color: #be123c; }

/* ---------- Legal pages ---------- */
.legal-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--bg-alt); }
.toc b { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 18px; font-size: .9rem; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--body); }
.toc a:hover { color: var(--primary); }
.legal h2 { font-size: 1.45rem; margin-top: 44px; padding-top: 8px; scroll-margin-top: 100px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.08rem; margin-top: 24px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .meta { font-size: .9rem; color: var(--muted); }
.notice { background: var(--primary-soft); border-left: 4px solid var(--primary); padding: 16px 20px; border-radius: 10px; font-size: .94rem; margin: 20px 0; color: var(--navy-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9fb0c9; padding: 80px 0 32px; font-size: .94rem; }
.site-footer a { color: #c7d2e3; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.site-footer .logo-text small { color: #8ea3c0; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-contact p { margin: 0 0 8px; display: flex; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #8fd9d1; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.socials a:hover { background: var(--primary); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom .links { display: flex; gap: 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .split, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .legal-wrap { grid-template-columns: 1fr; }
  .toc { position: static; }
  .hero-visual .float-badge.b1 { left: 10px; }
  .hero-visual .float-badge.b2 { right: 10px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-menu, .nav-cta .btn-outline { display: none; }
  .nav-menu.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; padding: 16px 24px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); gap: 2px;
  }
  .nav-menu.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 8px; min-width: 0; display: none; }
  .nav-menu.open .has-dd.open .dropdown { display: block; }
  .nav-menu.open a, .nav-menu.open button.dd-toggle { width: 100%; justify-content: space-between; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .grid-2, .grid-3, .grid-4, .form-row, .stat-tiles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-card, .cta-band, .form-card { padding: 28px; }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-side { display: none; }
  .nav-cta .btn-primary { display: none; }
}

/* ---------- Fixes ---------- */
.eyebrow svg { width: 16px; height: 16px; flex: none; }
.info-table td { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 6px; }
  .info-table td { padding-top: 0; }
}
.hero-visual .float-badge.b1 { bottom: -20px; }
