/* ==========================================================================
   Upgrade Your Business — consolidated stylesheet
   (replaces styles.css + hero-enhancements.css + typography.css +
    growth-sections.css + growth-polish.css)
   ========================================================================== */

/* Self-hosted variable fonts (assets/fonts) — no third-party requests */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --ink: #060f1c;
  --ink-2: #0b1a2e;
  --ink-3: #102440;
  --paper: #f6f8f9;
  --white: #fff;
  --text: #2a3b4c;
  --text-soft: #55697b;
  --text-dark-soft: #a9bccd;
  --line: rgba(16, 39, 61, .13);
  --line-dark: rgba(170, 210, 245, .16);
  --blue: #4aa8ff;
  --teal: #3ddbbd;
  --teal-deep: #0f8f84;
  --radius: 16px;
  --shell: min(1160px, calc(100% - 48px));
  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); margin-top: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.03em; color: var(--ink); margin-bottom: 0; }
.section-dark h2 { color: #fff; }
p { margin-top: 0; }

.skip-link { position: fixed; left: 12px; top: -60px; background: #fff; color: #000; padding: 12px 16px; z-index: 40; border-radius: 6px; transition: top .15s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(6, 15, 28, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; gap: 10px; align-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; font-size: 1.05rem; white-space: nowrap; }
.brand em { color: var(--teal); font-style: normal; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--ink); font-weight: 700; background: linear-gradient(135deg, var(--teal), #58b5ff); font-size: .85rem; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .88rem; font-weight: 500; color: #d6e1ed; }
.nav-links > a:not(.button) { padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav-links > a:not(.button):hover, .nav-links > a:not(.button).active { border-color: var(--teal); color: #fff; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: #fff; margin: 5px; transition: .2s; border-radius: 2px; }

/* ---------- Buttons & links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--teal), #43c6ea);
  color: #04211d;
  padding: 15px 26px; border-radius: 10px;
  font-size: .92rem; font-weight: 700; letter-spacing: -.01em;
  box-shadow: 0 8px 24px rgba(61, 219, 189, .25);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 14px 32px rgba(61, 219, 189, .32); }
.button:active { transform: translateY(0); }
.button-small { padding: 10px 18px; font-size: .82rem; }
.button-light { background: linear-gradient(135deg, var(--teal), #43c6ea); color: var(--ink); }
.button-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-deep); font-size: .92rem; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: gap .2s; width: max-content; }
.text-link:hover { gap: 13px; }
.text-link-light, .section-dark .text-link { color: #9ff5e4; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-dark { background: var(--ink); color: #e6eef7; }
.section-grid {
  background-color: var(--ink);
  background-image: linear-gradient(rgba(151,188,223,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(151,188,223,.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--teal-deep); font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; margin: 0 0 20px; }
.section-dark .eyebrow, .hero .eyebrow, .contact .eyebrow { color: var(--teal); }
.eyebrow span { display: inline-block; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-intro { font-size: 1.02rem; line-height: 1.7; margin: 0; color: var(--text-soft); }
.section-dark .section-intro { color: var(--text-dark-soft); }
.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(115% 120% at 80% -10%, #12365c 0%, var(--ink-2) 42%, var(--ink) 100%); color: #eaf3fc; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(151,188,223,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(151,188,223,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 80% at 50% 30%, #000 30%, transparent 100%);
}
.hero-glow { position: absolute; width: 640px; height: 640px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(61,219,189,.16), rgba(74,168,255,.10) 45%, transparent 70%); filter: blur(20px); pointer-events: none; }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; padding: 92px 0 96px; }
.hero h1 { font-size: clamp(2.5rem, 4.9vw, 4.05rem); line-height: 1.04; letter-spacing: -.035em; color: #f8fbff; margin-bottom: 22px; font-weight: 700; }
.hero h1 span { display: block; background: linear-gradient(90deg, var(--teal), #6fc2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: #b9c9da; font-size: clamp(1.02rem, 1.6vw, 1.16rem); max-width: 560px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin: 32px 0 40px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 34px; margin: 0; padding: 26px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.hero-proof li { display: grid; gap: 2px; }
.hero-proof strong { font-family: var(--font-display); color: var(--teal); font-size: 1.06rem; letter-spacing: -.02em; }
.hero-proof span { color: #93a8bc; font-size: .78rem; max-width: 170px; line-height: 1.45; }

/* Hero visual: live ops panel */
.hero-visual { position: relative; }
.ops-panel {
  position: relative; z-index: 1;
  background: linear-gradient(150deg, rgba(19,49,80,.9), rgba(8,22,40,.92));
  border: 1px solid rgba(140, 205, 250, .28);
  border-radius: 18px;
  padding: 18px 18px 14px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
}
.ops-head { display: flex; align-items: center; gap: 9px; padding: 2px 4px 14px; border-bottom: 1px solid var(--line-dark); color: #9db7cb; font: 650 .62rem/1 var(--font-mono); letter-spacing: .12em; }
.ops-head b { margin-left: auto; color: var(--teal); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.dot-live { box-shadow: 0 0 0 0 rgba(61,219,189,.5); animation: ping 2.2s infinite; }
.ops-event { display: grid; grid-template-columns: 40px 1fr auto; gap: 13px; align-items: start; padding: 15px 4px; border-bottom: 1px solid rgba(170, 210, 245, .09); }
.ops-event:last-of-type { border-bottom: 0; }
.ops-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; font-size: 1.1rem; color: var(--ink); background: linear-gradient(135deg, var(--teal), #43c6ea); }
.ops-icon-mail { background: linear-gradient(135deg, #6fb6ff, #4a86e8); color: #061426; }
.ops-icon-ask { background: linear-gradient(135deg, #b79bff, #7f6bff); color: #120a2e; font-weight: 800; }
.ops-title { color: #eef7ff; font-weight: 650; font-size: .85rem; letter-spacing: -.01em; }
.ops-title em { font-style: normal; color: #7f97ad; font: 600 .62rem/1 var(--font-mono); margin-left: 7px; }
.ops-body p { margin: 5px 0 0; color: #a7bccd; font-size: .76rem; line-height: 1.55; }
.ops-status { font: 700 .58rem/1 var(--font-mono); letter-spacing: .1em; color: var(--teal); background: rgba(61,219,189,.1); border: 1px solid rgba(61,219,189,.28); padding: 5px 7px; border-radius: 5px; margin-top: 2px; }
.ops-wave { display: flex; align-items: center; gap: 3px; height: 14px; margin-top: 9px; }
.ops-wave i { width: 3.5px; border-radius: 3px; background: var(--teal); height: 30%; animation: wave 1s ease-in-out infinite; }
.ops-wave i:nth-child(2) { height: 85%; animation-delay: -.15s; }
.ops-wave i:nth-child(3) { height: 55%; animation-delay: -.3s; }
.ops-wave i:nth-child(4) { height: 95%; animation-delay: -.45s; }
.ops-wave i:nth-child(5) { height: 45%; animation-delay: -.6s; }
.ops-wave i:nth-child(6) { height: 75%; animation-delay: -.75s; }
.ops-wave i:nth-child(7) { height: 35%; animation-delay: -.9s; }
.ops-meter { height: 5px; border-radius: 4px; background: rgba(110, 160, 210, .18); margin-top: 11px; overflow: hidden; }
.ops-meter i { display: block; height: 100%; width: 78%; border-radius: inherit; background: linear-gradient(90deg, #6fb6ff, var(--teal)); animation: meterfill 2.6s ease-in-out infinite alternate; }
.ops-foot { padding: 12px 4px 2px; border-top: 1px solid var(--line-dark); color: #7d95ab; font-size: .68rem; letter-spacing: .04em; }
.float-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 7px;
  background: rgba(10, 28, 48, .92); border: 1px solid rgba(61,219,189,.35);
  color: #cfe7f6; font-size: .7rem; font-weight: 600;
  padding: 9px 13px; border-radius: 30px;
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  animation: float 5.5s ease-in-out infinite;
}
.float-chip b { color: var(--teal); font-family: var(--font-display); font-size: .85rem; }
.chip-one { top: -18px; right: 8%; }
.chip-two { bottom: -34px; left: 4%; animation-delay: -2.6s; }

/* ---------- Problems ---------- */
.problems { padding-bottom: 100px; }
.problem-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 7%; align-items: center; }
.problem-layout h2 { max-width: 640px; margin-bottom: 20px; }
.problem-note { padding: 14px 18px; border-left: 3px solid var(--teal); background: #eaf6f3; border-radius: 0 10px 10px 0; color: #21504a; font-size: .92rem; line-height: 1.6; max-width: 560px; }
.problem-answer { padding: 30px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 20px 45px rgba(16,39,61,.07); }
.problem-answer > p:first-child { margin-bottom: 14px; color: var(--ink); font-size: .94rem; font-weight: 700; }
.problem-answer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: #4d6274; font-size: .92rem; }
.problem-answer li { display: flex; gap: 11px; align-items: center; }
.problem-answer li::before { display: grid; width: 19px; height: 19px; flex: none; place-items: center; border-radius: 50%; background: rgba(61,219,189,.16); color: var(--teal-deep); content: "✕"; font-size: .6rem; font-weight: 800; }
.problem-close { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink); font-size: .93rem; font-weight: 650; line-height: 1.6; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.service-card {
  padding: 30px 28px; border: 1px solid rgba(163,197,230,.16); border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(31,62,94,.5), rgba(11,26,43,.4));
  min-height: 270px; display: flex; flex-direction: column;
  transition: transform .22s, border-color .22s, background .22s, box-shadow .22s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(61,219,189,.55); background: linear-gradient(150deg, rgba(29,79,102,.62), rgba(11,26,43,.5)); box-shadow: 0 22px 44px rgba(0,0,0,.3); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.service-icon { display: grid; place-items: center; width: 42px; height: 42px; background: rgba(61,219,189,.12); border: 1px solid rgba(61,219,189,.25); border-radius: 11px; color: var(--teal); font-size: 1.25rem; }
.card-number { font-family: var(--font-mono); font-size: .7rem; color: #6f879e; }
.service-card h3 { font-size: 1.22rem; letter-spacing: -.02em; margin-bottom: 10px; color: #fff; }
.service-card p { font-size: .88rem; color: #aebfd0; line-height: 1.62; margin-bottom: 20px; }
.service-card strong { margin-top: auto; font-size: .8rem; color: var(--teal); letter-spacing: .01em; }

/* ---------- In action (future) ---------- */
.future { background: #edf3f4; }
.future-heading { max-width: 760px; }
.future-heading h2 { margin-bottom: 16px; }
.future-grid { display: grid; gap: 18px; margin-top: 58px; }
.future-card {
  display: grid; grid-template-columns: .92fr 1.08fr; gap: 52px; align-items: center;
  min-height: 270px; padding: 36px 40px; overflow: hidden;
  border: 1px solid rgba(18,58,80,.1); border-radius: 20px; background: #fff;
  box-shadow: 0 14px 36px rgba(16,39,61,.05);
}
.future-card:nth-child(even) { grid-template-columns: 1.08fr .92fr; background: #e6eef4; }
.future-card:nth-child(even) .future-copy { order: 2; }
.future-number { display: block; margin-bottom: 15px; color: var(--teal-deep); font: 700 .68rem/1 var(--font-mono); letter-spacing: .15em; }
.future-card h3 { max-width: 400px; margin-bottom: 12px; color: var(--ink); font-size: clamp(1.3rem, 1.9vw, 1.65rem); letter-spacing: -.02em; line-height: 1.18; }
.future-card p { max-width: 470px; margin: 0; color: #566c7c; font-size: .93rem; line-height: 1.68; }

.system-demo {
  position: relative; max-width: 500px; min-height: 200px; padding: 18px; overflow: hidden;
  border: 1px solid rgba(126,202,255,.28); border-radius: 14px;
  background: linear-gradient(rgba(151,188,223,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(151,188,223,.05) 1px, transparent 1px), #0a1d32;
  background-size: 26px 26px;
  box-shadow: 0 22px 36px rgba(9,30,48,.18); color: #d7e9f6;
}
.system-demo::after { position: absolute; right: -54px; bottom: -54px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(61,219,189,.2), transparent 68%); content: ""; pointer-events: none; }
.demo-bar { display: flex; align-items: center; gap: 8px; padding-bottom: 13px; border-bottom: 1px solid rgba(161,210,246,.16); color: #9db7cb; font: 650 .58rem/1 var(--font-mono); letter-spacing: .1em; }
.demo-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 11px var(--teal); }
.demo-bar b { margin-left: auto; color: var(--teal); font-weight: 700; }
.chat-question { width: 74%; margin: 18px 0 11px auto; padding: 10px 12px; border-radius: 9px 9px 3px 9px; background: #234561; color: #e8f6ff; font-size: .74rem; }
.chat-answer { display: flex; width: 90%; gap: 9px; padding: 11px; border: 1px solid rgba(61,219,189,.22); border-radius: 9px 9px 9px 3px; background: rgba(61,219,189,.08); }
.chat-answer > span { display: grid; width: 25px; height: 25px; flex: none; place-items: center; border-radius: 7px; background: var(--teal); color: #0a2a31; font-size: .56rem; font-weight: 800; }
.chat-answer p { color: #c3d8e7; font-size: .71rem; line-height: 1.5; margin: 0; }
.chat-answer b { display: block; margin-top: 4px; color: var(--teal); font-size: .64rem; }

.call-demo { display: grid; gap: 10px; align-content: start; }
.call-row { font-size: .74rem; line-height: 1.5; }
.call-row.caller { width: 78%; margin: 8px 0 0 auto; padding: 10px 12px; border-radius: 9px 9px 3px 9px; background: #234561; color: #e8f6ff; }
.call-row.agent { display: flex; gap: 9px; width: 90%; padding: 11px; border: 1px solid rgba(61,219,189,.22); border-radius: 9px 9px 9px 3px; background: rgba(61,219,189,.08); color: #c3d8e7; }
.call-row.agent span { display: grid; width: 25px; height: 25px; flex: none; place-items: center; border-radius: 7px; background: var(--teal); color: #0a2a31; font-size: .56rem; font-weight: 800; }
.call-row.agent p { margin: 0; font-size: .72rem; line-height: 1.5; }
.call-result { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 9px 11px; border-radius: 8px; background: rgba(61,219,189,.1); border: 1px dashed rgba(61,219,189,.4); color: #9ff5e4; font-size: .68rem; font-weight: 600; }
.call-result i { display: grid; width: 16px; height: 16px; flex: none; place-items: center; border-radius: 50%; background: var(--teal); color: #073031; font-size: .55rem; font-style: normal; font-weight: 900; }

.workflow-demo { display: grid; grid-template-columns: 1fr 20px 1fr 20px 1fr; align-items: center; padding: 34px 20px; gap: 2px; }
.flow-step { position: relative; padding: 15px 10px; border: 1px solid rgba(140,202,245,.24); border-radius: 9px; background: rgba(16,55,87,.72); text-align: center; }
.flow-step.active { border-color: rgba(61,219,189,.55); box-shadow: 0 0 20px rgba(61,219,189,.13); }
.flow-step span { display: block; margin-bottom: 8px; color: #7fa3bd; font: 650 .55rem/1 var(--font-mono); }
.flow-step b { color: #eff8ff; font-size: .67rem; line-height: 1.25; }
.flow-step i { position: absolute; top: -7px; right: -7px; display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: var(--teal); color: #073031; font-size: .56rem; font-style: normal; font-weight: 900; }
.flow-arrow { color: var(--teal); text-align: center; transform: rotate(-90deg); }

/* ---------- Process ---------- */
.process-heading { max-width: 720px; }
.process-grid { padding: 0; margin: 62px 0 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-grid > li { color: #e5eef7; position: relative; padding-top: 28px; border-top: 1px solid rgba(181,211,239,.28); }
.process-grid > li::before { content: ""; width: 9px; height: 9px; border: 2px solid var(--teal); background: var(--ink); border-radius: 50%; position: absolute; left: 0; top: -7px; }
.process-grid > li > span { font-family: var(--font-mono); font-size: .72rem; color: var(--teal); }
.process-grid h3 { font-size: 1.2rem; margin: 15px 0 9px; letter-spacing: -.02em; color: #fff; }
.process-grid p { font-size: .87rem; color: #a9bed0; line-height: 1.65; }

/* ---------- About ---------- */
.about-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 9%; align-items: center; }
.about-stat { border-right: 1px solid var(--line); padding: 30px 55px 30px 0; }
.stat-number { font-family: var(--font-display); font-size: clamp(5rem, 9vw, 8rem); line-height: .9; letter-spacing: -.06em; color: var(--teal-deep); font-weight: 700; }
.stat-suffix { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); font-weight: 700; margin-left: 6px; }
.about-stat p { font-size: .92rem; color: var(--text-soft); max-width: 250px; margin: 20px 0 0; line-height: 1.6; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy > p:not(.eyebrow) { font-size: 1rem; color: var(--text-soft); line-height: 1.75; max-width: 600px; }
.about-points { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 14px; max-width: 600px; }
.about-points li { position: relative; padding: 0 0 0 30px; font-size: .93rem; color: var(--text-soft); line-height: 1.6; }
.about-points li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: rgba(61,219,189,.18); color: var(--teal-deep); font-size: .62rem; font-weight: 800; }
.about-points strong { color: var(--ink); }

/* ---------- Engagement ---------- */
.engagement-heading { text-align: center; max-width: 700px; margin: 0 auto; }
.engagement-heading .eyebrow { justify-content: center; }
.engagement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 62px; }
.engagement-grid article { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 36px 32px; min-height: 300px; display: flex; flex-direction: column; background: rgba(20, 45, 72, .3); }
.plan-label { text-transform: uppercase; color: var(--teal); letter-spacing: .14em; font-size: .66rem; font-weight: 800; margin-bottom: 14px; }
.engagement-grid h3 { font-size: 1.35rem; line-height: 1.12; letter-spacing: -.025em; margin-bottom: 14px; color: #fff; }
.engagement-grid article > p:not(.plan-label) { font-size: .9rem; color: var(--text-dark-soft); line-height: 1.66; }
.engagement-grid .text-link, .engagement-grid .button { margin-top: auto; width: max-content; }
.featured-plan { background: linear-gradient(160deg, rgba(61,219,189,.14), rgba(20,45,72,.4)) !important; border-color: rgba(61,219,189,.4) !important; box-shadow: 0 18px 44px rgba(0,0,0,.28); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; align-items: start; }
.faq-layout h2 { margin-bottom: 16px; }
.faq-layout .section-intro a { color: var(--teal-deep); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; transition: box-shadow .2s; }
.faq-list details[open] { box-shadow: 0 14px 32px rgba(16,39,61,.08); border-color: rgba(61,219,189,.5); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; padding: 18px 20px; font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: var(--ink); letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(61,219,189,.15); color: var(--teal-deep); font-size: 1rem; font-weight: 600; transition: transform .2s; }
.faq-list details[open] summary::after { content: "–"; transform: rotate(180deg); }
.faq-list details p { margin: 0; padding: 0 20px 19px; color: var(--text-soft); font-size: .9rem; line-height: 1.7; max-width: 640px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8%; align-items: start; }
.contact h2 { color: #fff; margin-bottom: 18px; }
.contact-copy > p:not(.eyebrow) { color: #b3c4d3; font-size: 1.02rem; line-height: 1.7; max-width: 470px; }
.contact-points { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 12px; }
.contact-points li { position: relative; padding-left: 30px; color: #c8d7e4; font-size: .9rem; line-height: 1.55; }
.contact-points li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: rgba(61,219,189,.18); color: var(--teal); font-size: .62rem; font-weight: 800; }
.email-link { display: inline-flex; gap: 10px; border-bottom: 1px solid var(--teal); color: var(--teal); font-size: 1.05rem; font-weight: 700; }
.contact-form { background: #fff; color: var(--text); border-radius: 18px; padding: 34px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.contact-form > div, .contact-form > fieldset { margin-bottom: 17px; }
.contact-form label, .contact-form legend { display: block; font-size: .77rem; font-weight: 700; margin-bottom: 7px; color: #1c3246; }
.contact-form label small { font-weight: 500; color: #65798a; }
.contact-form label b, .contact-form legend b { color: var(--teal-deep); }
.contact-form input:not([type=radio]):not([type=checkbox]), .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #c8d4de; border-radius: 8px; background: #fff; padding: 11px 12px; color: #10263a; outline: none; transition: border .2s, box-shadow .2s; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9aacba; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--teal-deep); box-shadow: 0 0 0 3px rgba(61,219,189,.22); }
.contact-form :focus-visible { outline: 0; }
.contact-form [aria-invalid="true"] { border-color: #b6332a !important; box-shadow: 0 0 0 3px rgba(182,51,42,.14) !important; }
.contact-form fieldset { border: 0; padding: 0; }
.radio-row { display: flex; gap: 17px; }
.radio-row label, .consent { display: flex !important; gap: 8px; align-items: center; font-weight: 500 !important; margin: 0 !important; }
.contact-form input[type=radio], .contact-form input[type=checkbox] { accent-color: var(--teal-deep); width: 16px; height: 16px; }
.consent { align-items: flex-start !important; font-size: .78rem !important; line-height: 1.5; }
.consent input { margin-top: 2px; flex: none; }
.form-note { font-size: .74rem !important; line-height: 1.5; color: #5c7080; }
.form-note a { text-decoration: underline; }
.form-reassure { margin: 12px 0 0; text-align: center; font-size: .74rem; color: #6b8093; }
.form-status:empty { display: none; }
.form-status { padding: 11px 13px; margin-bottom: 16px; border-radius: 8px; font-size: .84rem; background: #e6f7ef; border-left: 3px solid #27875c; color: #124d30; }
.form-status.error { background: #fff0ef; border-left-color: #b6332a; color: #7d201b; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* ---------- Footer ---------- */
.site-footer { background: #040d17; color: #a9bdcc; padding-top: 54px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-top p { font-size: .82rem; line-height: 1.65; margin: 14px 0 0; max-width: 320px; color: #7e93a6; }
.footer-heading { display: block; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .84rem; margin-bottom: 13px; }
.footer-top > div a:not(.brand) { display: block; font-size: .84rem; margin-bottom: 9px; color: #b9cbda; transition: color .15s; }
.footer-bottom { border-top: 1px solid rgba(181,211,239,.12); padding: 20px 0; display: flex; justify-content: space-between; gap: 14px; font-size: .74rem; flex-wrap: wrap; }
.footer-bottom div { display: flex; gap: 22px; }
.footer-bottom a:hover, .footer-top a:hover { color: var(--teal); }

.back-to-top { position: fixed; right: 19px; bottom: 20px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); background: var(--ink); color: #fff; border-radius: 50%; font-size: 1.15rem; cursor: pointer; opacity: 0; transform: translateY(15px); pointer-events: none; transition: .2s; z-index: 25; }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ---------- Legal pages & form result (privacy.html / terms.html / contact.php) ---------- */
.legal { padding: 100px 0; max-width: 820px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; letter-spacing: -.04em; color: var(--ink); margin: 0 0 10px; }
.legal h2 { font-size: 1.3rem; letter-spacing: -.02em; margin: 38px 0 8px; }
.legal p { color: #4d6274; line-height: 1.75; }
.legal-date { font-size: .82rem; color: #6b7f8f !important; margin-bottom: 44px; }
.legal a:not(.text-link) { color: var(--teal-deep); text-decoration: underline; }
.form-page { min-height: 100vh; background: var(--ink); display: grid; place-items: center; padding: 30px; }
.form-result { max-width: 620px; background: #fff; padding: 42px; border-radius: 16px; }
.form-result h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.04em; line-height: 1.05; color: var(--ink); }
.form-result p:not(.eyebrow) { line-height: 1.7; color: #526879; margin-bottom: 28px; }

/* ---------- Animations & reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes float { 50% { transform: translateY(-9px); } }
@keyframes wave { 50% { transform: scaleY(.3); transform-origin: center; } }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(61,219,189,0); } 100% { box-shadow: 0 0 0 0 rgba(61,219,189,0); } }
@keyframes meterfill { from { width: 35%; } to { width: 78%; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { gap: 18px; }
  .hero-layout { grid-template-columns: 1fr; padding: 70px 0 80px; gap: 56px; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .split-heading, .contact-layout, .about-layout, .faq-layout, .problem-layout { grid-template-columns: 1fr; gap: 36px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about-stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 30px; }
  .engagement-grid { grid-template-columns: 1fr; }
  .engagement-grid article { min-height: 0; }
  .future-card, .future-card:nth-child(even) { grid-template-columns: 1fr; gap: 30px; }
  .future-card:nth-child(even) .future-copy { order: 0; }
  .system-demo { max-width: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 32px, 1160px); }
  .nav { height: 66px; }
  .menu-toggle { display: block; z-index: 2; }
  .menu-toggle[aria-expanded=true] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:nth-child(3) { opacity: 0; }
  .menu-toggle[aria-expanded=true] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { position: fixed; top: 66px; left: 0; right: 0; height: calc(100vh - 66px); height: calc(100dvh - 66px); overflow-y: auto; background: #081625; display: flex; flex-direction: column; align-items: flex-start; padding: 35px 32px; gap: 18px; transform: translateX(100%); transition: transform .25s; }
  .nav-links.open { transform: translateX(0); }
  .nav-links > a:not(.button) { font-size: 1.15rem; }
  .nav-links .button { margin-top: 9px; }
  .section { padding: 74px 0; }
  .hero-layout { padding: 56px 0 64px; gap: 44px; }
  .hero h1 { font-size: clamp(2.15rem, 9.5vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; margin: 28px 0 32px; }
  .hero-proof { gap: 20px; }
  .float-chip { display: none; }
  .ops-event { grid-template-columns: 34px 1fr; }
  .ops-status { display: none; }
  .ops-icon { width: 34px; height: 34px; font-size: .95rem; }
  .service-grid { grid-template-columns: 1fr; margin-top: 44px; }
  .service-card { min-height: 0; }
  .future-grid { margin-top: 38px; }
  .future-card { min-height: 0; padding: 26px 20px; }
  .system-demo { min-height: 178px; }
  .workflow-demo { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .flow-step { display: grid; grid-template-columns: 28px 1fr 18px; align-items: center; text-align: left; }
  .flow-step span { margin: 0; }
  .flow-arrow { height: 12px; transform: none; }
  .process-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 42px; }
  .contact-form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row > div { margin-bottom: 17px; }
  .radio-row { gap: 13px; flex-wrap: wrap; }
  .faq-list summary { padding: 15px 16px; font-size: .92rem; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-bottom div { gap: 14px; flex-wrap: wrap; }
  .back-to-top { right: 13px; bottom: 13px; }
}

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