/* ============================================================
   ZorbasAI — landing page styles
   Warm, editorial enterprise-AI aesthetic
   ============================================================ */

:root {
  --bg: #f6f3ec;          /* warm cream */
  --bg-soft: #efe9dd;
  --surface: #fffdf8;
  --ink: #14110d;         /* near-black warm */
  --ink-soft: #4a443a;
  --muted: #837b6c;
  --line: #e2dac9;
  --accent: #ff6b4a;      /* coral */
  --accent-2: #ff9166;
  --accent-deep: #e04e2c;
  --dark: #14110d;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }

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

.accent-text { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  padding: 11px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #2b251c; }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f2ede2; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(0,0,0,.03); }

.link-quiet { font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.link-quiet:hover { color: var(--ink); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--accent-2); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 236, .82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 70px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { border-radius: 9px; object-fit: cover; display: block; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -.02em; }

.main-nav { margin-left: 6px; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--ink); background: rgba(0,0,0,.04); }
.chev { transition: transform .25s var(--ease); }
.has-menu:hover .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 24px 60px -24px rgba(20,17,13,.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.has-menu:hover .dropdown,
.has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown a {
  display: block;
  padding: 11px 13px;
  border-radius: 10px;
  transition: background .18s;
}
.dropdown a:hover { background: var(--bg-soft); }
.dropdown strong { display: block; font-size: 15px; font-weight: 600; }
.dropdown span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform .3s var(--ease), opacity .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-menu a { padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a.btn { border-bottom: none; margin-top: 10px; }
.mobile-menu.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 90px 0 80px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
}
.hero-title {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: clamp(56px, 9vw, 116px);
  line-height: .94;
  letter-spacing: -.02em;
  margin-bottom: 26px;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--ink-soft);
  max-width: 30ch;
  margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero visual — API code window */
.hero-visual { display: flex; justify-content: center; width: 100%; }
.code-card {
  position: relative;
  width: 100%;
  max-width: 470px;
  background: linear-gradient(165deg, #1d1812, #14110d);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(20,17,13,.6);
  animation: cardrise 6s ease-in-out infinite;
}
@keyframes cardrise {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.code-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.cdot { width: 11px; height: 11px; border-radius: 50%; }
.cdot-r { background: #ff5f57; }
.cdot-y { background: #febc2e; }
.cdot-g { background: #28c840; }
.code-file { margin-left: 8px; font-size: 13px; color: #8a8174; font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace; }
.code-body {
  margin: 0;
  padding: 22px 22px 18px;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.7;
  color: #d8d0c2;
  white-space: pre;
  overflow-x: auto;
}
.code-body .c-k { color: #ff9166; }      /* keyword */
.code-body .c-s { color: #7ee787; }      /* string */
.code-body .c-fn { color: #79c0ff; }     /* function */
.code-body .c-c { color: #6e6557; font-style: italic; } /* comment */
.code-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: 13px; font-weight: 500; color: #cfc8ba;
  background: rgba(255,255,255,.02);
}
.code-foot .dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee787; box-shadow: 0 0 8px #7ee787; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* ============================================================
   TRUST / LOGOS
   ============================================================ */
.trust { padding: 30px 0 56px; }
.trust-label { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.logo-track {
  display: flex;
  gap: 64px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-row {
  display: flex;
  gap: 64px;
  align-items: center;
  flex-shrink: 0;
  animation: marquee 32s linear infinite;
}
.logo-word {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #a89e8c;
  white-space: nowrap;
  transition: color .3s;
}
.logo-track:hover .logo-row { animation-play-state: paused; }
.logo-word:hover { color: var(--ink); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% - 64px)); }
}

/* ============================================================
   SECTION HEADS
   ============================================================ */
.section-head { max-width: 620px; margin: 0 auto 52px; text-align: center; }
.section-title {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin-bottom: 16px;
}
.section-lead { font-size: 18px; color: var(--ink-soft); }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars { padding: 70px 0; }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(20,17,13,.28); }
.pillar-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--accent), var(--accent-deep));
  color: #fff;
  margin-bottom: 20px;
}
.pillar-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.pillar-card p { color: var(--ink-soft); font-size: 15.5px; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { padding: 70px 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 30px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  opacity: .14;
  transition: opacity .3s, transform .4s var(--ease);
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 34px 64px -34px rgba(20,17,13,.3); }
.product-card:hover::after { opacity: .26; transform: scale(1.15); }
.pc-head { margin-bottom: 16px; }
.pc-tag {
  font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(255,107,74,.1);
  padding: 5px 10px; border-radius: 999px;
}
.product-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.product-card p { color: var(--ink-soft); font-size: 15px; flex: 1; }
.pc-link { margin-top: 18px; font-weight: 600; font-size: 15px; color: var(--ink); }
.pc-link .arr { display: inline-block; transition: transform .25s var(--ease); }
.product-card:hover .pc-link .arr { transform: translateX(5px); }

/* ============================================================
   PLATFORM
   ============================================================ */
.platform { padding: 90px 0; }
.platform .container {
  background: var(--dark);
  color: #f4efe6;
  border-radius: 34px;
  padding: 60px;
  max-width: var(--maxw);
}
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}
.platform-title {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin-bottom: 18px;
}
.platform-copy > p { color: #c7bfb0; font-size: 17px; margin-bottom: 24px; max-width: 46ch; }
.check-list { display: grid; gap: 12px; margin-bottom: 30px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  color: #ded7c8;
  font-size: 15.5px;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* chat card */
.platform-visual { display: flex; justify-content: center; }
.chat-card {
  width: 100%; max-width: 400px;
  background: #211c15;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
}
.chat-bar { display: flex; gap: 6px; margin-bottom: 4px; }
.chat-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.chat-bar span:first-child { background: var(--accent); }
.bubble {
  font-size: 14.5px; line-height: 1.45;
  padding: 12px 15px; border-radius: 14px;
  max-width: 88%;
}
.bubble-user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.bubble-ai { align-self: flex-start; background: rgba(255,255,255,.07); color: #e8e1d3; border-bottom-left-radius: 4px; }
.bubble-soft { background: rgba(255,255,255,.04); color: #b8b0a0; }
.typing { display: inline-flex; gap: 3px; margin-right: 6px; vertical-align: middle; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); 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: .25; } 30% { opacity: 1; } }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries { padding: 70px 0; }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.industry-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 22px;
  font-weight: 600;
  font-size: 16px;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.industry-card .arr { color: var(--accent); transition: transform .25s var(--ease); }
.industry-card:hover { background: var(--dark); color: #fff; border-color: var(--dark); transform: translateY(-3px); }
.industry-card:hover .arr { color: var(--accent-2); transform: translateX(5px); }

/* ============================================================
   STATS
   ============================================================ */
.stats { padding: 50px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 48px; padding-bottom: 48px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--accent-deep);
  line-height: 1;
}
.stat-label { display: block; margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; max-width: 22ch; margin-inline: auto; }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: 90px 0 100px; }
.cta-inner {
  text-align: center;
  background: linear-gradient(150deg, var(--accent), var(--accent-deep));
  color: #fff;
  border-radius: 34px;
  padding: 70px 30px;
  max-width: var(--maxw);
}
.cta-inner h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -.015em;
  margin-bottom: 14px;
}
.cta-inner > p { font-size: 18px; opacity: .92; margin-bottom: 30px; }
.cta-form {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center;
  max-width: 520px; margin: 0 auto;
}
.cta-form input {
  flex: 1; min-width: 240px;
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
  font-family: inherit;
  background: rgba(255,255,255,.95);
  color: var(--ink);
}
.cta-form input:focus { outline: 3px solid rgba(255,255,255,.5); }
.cta-form .btn-dark { background: var(--dark); }
.cta-form .btn-dark:hover { background: #000; }
.cta-note { margin-top: 18px; font-weight: 600; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 40px 0 90px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact-list { display: grid; gap: 22px; margin-top: 30px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255,107,74,.1);
  color: var(--accent-deep);
}
.contact-list strong { display: block; font-size: 16px; margin-bottom: 4px; }
.contact-list span { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.contact-list a { color: var(--accent-deep); font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 30px 70px -42px rgba(20,17,13,.28);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label { font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,107,74,.16);
}
.form-note { margin-top: 14px; font-weight: 600; color: var(--accent-deep); }
.form-fine { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.form-fine a { color: var(--ink-soft); text-decoration: underline; }
.form-fine a:hover { color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); color: #cfc8ba; padding: 64px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand-name { color: #fff; }
.footer-tag { margin: 16px 0 14px; color: #9a917f; max-width: 24ch; }
.footer-contact { font-style: normal; color: #9a917f; font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-contact a { color: #cfc8ba; transition: color .2s; }
.footer-contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  color: #cfc8ba;
  transition: background .25s, color .25s, border-color .25s;
}
.socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: #b6ad9c; font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; gap: 16px; flex-wrap: wrap;
  color: #8d8472; font-size: 14px;
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: #fff; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-hero { padding: 60px 0 24px; }
.legal-hero .eyebrow { margin-bottom: 12px; }
.legal-hero h1 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: clamp(38px, 6vw, 60px);
  letter-spacing: -.02em;
  line-height: 1.04;
}
.legal-hero .updated { margin-top: 14px; color: var(--muted); font-size: 15px; }
.legal-body { padding: 20px 0 80px; }
.legal-body .container { max-width: 820px; }
.legal-body h2 {
  font-size: 24px; font-weight: 700; letter-spacing: -.01em;
  margin: 40px 0 12px;
}
.legal-body h3 { font-size: 18px; font-weight: 600; margin: 26px 0 8px; }
.legal-body p,
.legal-body li { color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--accent-deep); text-decoration: underline; }
.legal-body strong { color: var(--ink); }
.legal-toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 36px;
}
.legal-toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.legal-toc ol { padding-left: 20px; }
.legal-toc li { margin-bottom: 6px; }
.legal-toc a { color: var(--ink); text-decoration: none; font-weight: 500; }
.legal-toc a:hover { color: var(--accent-deep); }
.legal-contact {
  margin-top: 36px;
  padding: 22px 26px;
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
  border-radius: 0 12px 12px 0;
}
.legal-contact p { margin: 0; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 200;
  max-width: 560px;
  margin: 0 auto;
  background: var(--dark);
  color: #e7e0d2;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 30px 70px -28px rgba(0,0,0,.6);
  display: none;
  transform: translateY(16px);
  opacity: 0;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cookie-banner.show { display: block; transform: translateY(0); opacity: 1; }
.cookie-banner p { font-size: 14.5px; line-height: 1.55; margin-bottom: 16px; }
.cookie-banner a { color: var(--accent-2); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 9px 18px; font-size: 14px; }
.cookie-actions .btn-reject { background: transparent; color: #e7e0d2; border-color: rgba(255,255,255,.2); }
.cookie-actions .btn-reject:hover { border-color: #fff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-actions .link-quiet,
  .header-actions .btn-dark { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .orb-card { max-width: 360px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: 1fr; gap: 36px; }
  .platform .container { padding: 44px 30px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .hero { padding: 56px 0 60px; }
  .product-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { padding: 50px 22px; }
  .platform .container { padding: 32px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
