:root {
  --bg: #05060A;
  --surface: #12181F;
  --surface-2: #171F27;
  --text: #EDEAE2;
  --text-muted: #93A0AA;
  --accent: #C89B3C;
  --accent-soft: #E4C67C;
  --teal: #3E7C74;
  --border: rgba(237, 234, 226, 0.09);
  --border-strong: rgba(237, 234, 226, 0.18);
  --radius: 16px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 400;
  background: var(--accent); color: #16110a; font-weight: 600;
  padding: 10px 18px; border-radius: 10px; text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 16px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative; }

a { color: inherit; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; }

p { margin: 0; color: var(--text-muted); }

em { color: var(--accent-soft); font-style: italic; }

/* ---------- Aurora background ---------- */

.aurora {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}

.aurora-blob {
  position: absolute; border-radius: 50%; filter: blur(90px);
  opacity: 0.28; will-change: transform;
}

.aurora-blob-1 {
  width: 620px; height: 620px; top: -220px; left: -160px;
  background: radial-gradient(circle, rgba(200,155,60,0.9), transparent 70%);
  animation: drift-1 34s ease-in-out infinite;
}

.aurora-blob-2 {
  width: 560px; height: 560px; top: 30%; right: -220px;
  background: radial-gradient(circle, rgba(62,124,116,0.85), transparent 70%);
  animation: drift-2 40s ease-in-out infinite;
}

.aurora-blob-3 {
  width: 480px; height: 480px; bottom: -200px; left: 30%;
  background: radial-gradient(circle, rgba(228,198,124,0.7), transparent 70%);
  animation: drift-3 46s ease-in-out infinite;
}

@keyframes drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 90px) scale(1.12); }
}

@keyframes drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 50px) scale(1.08); }
}

@keyframes drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-blob { animation: none; }
}

@media (max-width: 700px) {
  .aurora-blob { opacity: 0.18; }
}

/* ---------- Grain ---------- */

.noise-overlay {
  position: fixed; inset: 0; z-index: 300; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Custom cursor ---------- */

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 250;
  border-radius: 50%; transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.cursor-dot { width: 6px; height: 6px; background: var(--accent-soft); }

.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(200, 155, 60, 0.5);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.cursor-ring.hovering { width: 54px; height: 54px; border-color: var(--accent-soft); }

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Glass ---------- */

.glass {
  background: rgba(23, 31, 39, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(237, 234, 226, 0.12);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; text-decoration: none; color: var(--text); }

.nav { display: flex; align-items: center; gap: 28px; }

.nav a { text-decoration: none; color: var(--text-muted); font-size: 0.94rem; transition: color 0.2s ease; }

.nav a:hover { color: var(--text); }

.nav a[data-nav-link].is-active { color: var(--accent-soft); }

.nav-cta { background: var(--accent); color: #16110a; padding: 9px 18px; border-radius: 999px; font-weight: 600; }

.nav-cta:hover { color: #16110a; background: var(--accent-soft); }

.nav-cta.is-active { color: #16110a; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; background: transparent; border: 1px solid var(--border-strong);
  border-radius: 10px; cursor: pointer; padding: 0;
}

.nav-toggle span {
  width: 16px; height: 1.5px; background: var(--text); margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-size: 0.98rem; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.btn-primary { background: var(--accent); color: #16110a; }
.btn-primary:hover { background: var(--accent-soft); box-shadow: 0 8px 30px -8px rgba(200, 155, 60, 0.55); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-1px); }

/* ---------- Hero ---------- */

.hero {
  position: relative; padding: 96px 0 0; overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(200,155,60,0.10), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(62,124,116,0.10), transparent 60%);
}

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(237, 234, 226, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 234, 226, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 800px 500px at 50% 0%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 800px 500px at 50% 0%, black, transparent 75%);
}

.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.85; }

.hero-glow {
  position: absolute; width: 480px; height: 480px; left: 0; top: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 155, 60, 0.14), transparent 70%);
  pointer-events: none; transform: translate(-50%, -50%); z-index: 1; transition: opacity 0.4s ease;
}

.hero-grid {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 64px; align-items: center; padding-bottom: 70px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.01em; color: var(--accent-soft);
  background: rgba(200, 155, 60, 0.09); border: 1px solid rgba(200, 155, 60, 0.28);
  padding: 7px 14px 7px 11px; border-radius: 999px; margin-bottom: 22px;
}

.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft);
  box-shadow: 0 0 0 0 rgba(228, 198, 124, 0.6);
  animation: badge-pulse 2s ease-out infinite;
}

@keyframes badge-pulse {
  0% { box-shadow: 0 0 0 0 rgba(228, 198, 124, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(228, 198, 124, 0); }
  100% { box-shadow: 0 0 0 0 rgba(228, 198, 124, 0); }
}

.eyebrow { color: var(--teal); font-size: 0.88rem; font-weight: 600; margin-bottom: 18px; }

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem); color: var(--text); margin-bottom: 22px; letter-spacing: -0.01em;
  min-height: 1.1em;
}

.hero-accent {
  background: linear-gradient(100deg, var(--accent-soft) 0%, var(--accent) 55%, var(--teal) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-cycle { display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  .hero-badge-dot { animation: none; }
}

.hero-sub { font-size: 1.08rem; max-width: 46ch; margin-bottom: 30px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats { display: flex; gap: 36px; }

.hero-stats div { display: flex; flex-direction: column; gap: 4px; }

.hero-stats span { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent-soft); }

.hero-stats p { font-size: 0.82rem; }

/* Hero demo card */

.hero-demo { display: flex; justify-content: center; position: relative; z-index: 2; }

.demo-card { width: 100%; max-width: 400px; border-radius: 20px; padding: 22px; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.7); }

.demo-card-head { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.82rem; margin-bottom: 18px; }

.demo-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.16); animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.16); }
  50% { box-shadow: 0 0 0 8px rgba(200, 155, 60, 0.06); }
}

.bubble { border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; opacity: 0; transform: translateY(8px); animation: rise 0.5s ease forwards; }

.bubble p { color: inherit; font-size: 0.92rem; margin-top: 4px; }

.bubble-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }

.bubble-buyer { background: rgba(23, 31, 39, 0.7); color: var(--text); border: 1px solid var(--border); }

.bubble-ai { background: rgba(200, 155, 60, 0.14); color: var(--accent-soft); border: 1px solid rgba(200, 155, 60, 0.28); }

.chip {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px;
  font-size: 0.86rem; margin-top: 8px; opacity: 0; transform: translateY(8px); animation: rise 0.5s ease forwards;
}

.chip-doc { background: rgba(62, 124, 116, 0.16); color: #9fd4cb; border: 1px solid rgba(62, 124, 116, 0.32); }

.chip-booked { background: rgba(62, 124, 116, 0.24); color: #c7ebe4; border: 1px solid rgba(62, 124, 116, 0.42); font-weight: 600; }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.bubble[data-step="1"] { animation-delay: 0.2s; }
.bubble[data-step="2"] { animation-delay: 1.1s; }
.bubble[data-step="3"] { animation-delay: 2.0s; }
.chip[data-step="4"]   { animation-delay: 2.9s; }
.chip[data-step="5"]   { animation-delay: 3.7s; }

.scroll-cue {
  position: relative; margin: 0 auto; bottom: 0; width: 22px; height: 34px;
  border: 1px solid var(--border-strong); border-radius: 12px; z-index: 2;
}

.scroll-cue span {
  position: absolute; top: 6px; left: 50%; width: 3px; height: 6px; background: var(--accent);
  border-radius: 2px; transform: translateX(-50%); animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue { 0% { opacity: 1; top: 6px; } 70% { opacity: 0; top: 18px; } 100% { opacity: 0; top: 6px; } }

@media (prefers-reduced-motion: reduce) {
  .bubble, .chip, .demo-dot, .scroll-cue span { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Marquee ---------- */

.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 16px 0; position: relative;
}

.marquee-track {
  display: flex; gap: 14px; width: max-content; white-space: nowrap;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display); font-size: 0.95rem; color: var(--text-muted); letter-spacing: 0.02em;
}

.marquee-track span:nth-child(odd):not(:first-child) { color: var(--accent); }

@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Section shared ---------- */

.section-kicker { color: var(--teal); font-size: 0.88rem; font-weight: 600; margin-bottom: 14px; }

section h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: var(--text); max-width: 24ch; margin-bottom: 40px; }

/* ---------- Problem ---------- */

.problem { padding: 110px 0; border-bottom: 1px solid var(--border); }

.problem-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.point { border-top: 1px solid var(--border-strong); padding-top: 18px; }

.point p { font-size: 1.03rem; color: var(--text); }

/* ---------- Pull quotes ---------- */

.pullquote-section {
  padding: 120px 0; border-bottom: 1px solid var(--border); text-align: center;
  background: radial-gradient(ellipse 800px 400px at 50% 50%, rgba(200,155,60,0.06), transparent 65%);
}

.pullquote-alt { background: radial-gradient(ellipse 800px 400px at 50% 50%, rgba(62,124,116,0.08), transparent 65%); }

.pullquote {
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.35; color: var(--text);
  max-width: 20ch; margin: 0 auto;
}

.pullquote .word { display: inline-block; opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }

.pullquote.is-visible .word { opacity: 1; transform: translateY(0); }

/* ---------- Concept ---------- */

.concept { padding: 100px 0; border-bottom: 1px solid var(--border); }

.concept-inner { max-width: 720px; }

.concept-copy { font-size: 1.1rem; margin-top: 4px; }

/* ---------- Employees ---------- */

.employees { padding: 110px 0; border-bottom: 1px solid var(--border); }

.employee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.employee-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; transition: border-color 0.2s ease; transform-style: preserve-3d;
  position: relative; overflow: hidden;
}

.employee-card:hover { border-color: var(--border-strong); }

.employee-icon {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200, 155, 60, 0.12); color: var(--accent-soft);
}

.employee-icon svg { width: 22px; height: 22px; }

.employee-card h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 10px; }

.employee-card p { font-size: 0.92rem; }

/* ---------- Industries ---------- */

.industries { padding: 110px 0; border-bottom: 1px solid var(--border); }

.industry-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 20px; }

.industry-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; transform-style: preserve-3d; transition: border-color 0.2s ease;
  position: relative; overflow: hidden;
}

.industry-card:hover { border-color: var(--border-strong); }

.industry-featured {
  background: linear-gradient(155deg, rgba(200,155,60,0.14), rgba(23,31,39,0.9));
  border-color: rgba(200, 155, 60, 0.3);
}

.industry-tag {
  display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: #16110a; background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px;
}

.industry-card h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 10px; }

.industry-card p { font-size: 0.9rem; }

.industry-link {
  display: inline-block; margin-top: 14px; font-size: 0.88rem; color: var(--accent-soft);
  text-decoration: none; font-weight: 600;
}

/* ---------- System ---------- */

.system { padding: 110px 0; border-bottom: 1px solid var(--border); }

.system-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 20px; align-items: start; }

.flow-step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform 0.12s ease, border-color 0.2s ease; transform-style: preserve-3d;
  position: relative; overflow: hidden;
}

.flow-step:hover { border-color: var(--border-strong); }

/* Spotlight — cursor-following highlight, set via --mx/--my in script.js */
.tilt-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(228, 198, 124, 0.12), transparent 70%);
}

.tilt-card:hover::before { opacity: 1; }

.tilt-card > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .tilt-card::before { display: none; }
}

.flow-num { display: inline-block; font-family: var(--font-display); font-size: 1.1rem; color: var(--accent); margin-bottom: 14px; }

.flow-step h3 { font-size: 1.2rem; color: var(--text); margin-bottom: 10px; }

.flow-step p { font-size: 0.95rem; }

.flow-connector { width: 28px; height: 1px; background: var(--border-strong); align-self: center; margin-top: 64px; }

/* ---------- Demo CTA ---------- */

.demo-section {
  padding: 110px 0; border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at top left, rgba(200, 155, 60, 0.08), transparent 55%);
}

.demo-inner { max-width: 620px; }

.demo-copy { font-size: 1.05rem; margin-bottom: 30px; }

/* ---------- Call replay widget ---------- */

.call-replay { border-radius: 20px; padding: 24px; margin-bottom: 30px; text-align: left; }

.call-replay-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }

.call-replay-who { display: flex; align-items: center; gap: 12px; }

.call-avatar {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--accent-soft), var(--accent)); color: #16110a;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; flex-shrink: 0;
}

.call-replay-who div { display: flex; flex-direction: column; gap: 2px; }

.call-name { font-size: 0.94rem; color: var(--text); font-weight: 600; }

.call-meta { font-size: 0.78rem; color: var(--text-muted); }

.call-replay-time { display: flex; align-items: center; gap: 7px; font-size: 0.85rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }

.call-dot { width: 7px; height: 7px; border-radius: 50%; background: #e07a5f; }

.call-replay.is-playing .call-dot { animation: pulse-dot 1.2s ease-in-out infinite; background: var(--accent); }

.call-transcript { display: flex; flex-direction: column; gap: 10px; min-height: 240px; }

.call-line {
  max-width: 84%; border-radius: 12px; padding: 11px 14px;
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease;
}

.call-line.is-shown { opacity: 1; transform: translateY(0); }

.call-line p { font-size: 0.92rem; color: inherit; margin-top: 3px; }

.call-line-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }

.call-line-customer {
  align-self: flex-start; background: rgba(23, 31, 39, 0.7); color: var(--text); border: 1px solid var(--border);
}

.call-line-ai {
  align-self: flex-end; background: rgba(200, 155, 60, 0.14); color: var(--accent-soft);
  border: 1px solid rgba(200, 155, 60, 0.28); text-align: right;
}

.call-line-action {
  align-self: center; display: flex; align-items: center; gap: 8px; margin-top: 4px;
  font-size: 0.86rem; font-weight: 600; color: #c7ebe4;
  background: rgba(62, 124, 116, 0.22); border: 1px solid rgba(62, 124, 116, 0.4);
  padding: 9px 16px; border-radius: 999px;
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease;
}

.call-line-action.is-shown { opacity: 1; transform: translateY(0); }

.call-replay-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  background: transparent; border: 1px solid var(--border-strong); color: var(--text);
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.call-replay-btn:hover { border-color: var(--accent); transform: translateY(-1px); }

.call-replay-btn:disabled { opacity: 0.5; cursor: default; transform: none; }

.replay-icon { display: inline-block; transition: transform 0.4s ease; }

.call-replay-btn.is-spinning .replay-icon { transform: rotate(-360deg); }

@media (prefers-reduced-motion: reduce) {
  .call-line, .call-line-action { transition: none; opacity: 1; transform: none; }
  .call-replay.is-playing .call-dot { animation: none; }
}

/* ---------- Contact / Form ---------- */

.contact { padding: 40px 0 130px; }

.contact-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; }

.contact-copy h2 { margin-bottom: 16px; }

.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; border-radius: 18px; padding: 28px; }

.form-row { display: flex; flex-direction: column; gap: 8px; }

.form-row-full { grid-column: 1 / -1; }

.form-row label { font-size: 0.85rem; color: var(--text-muted); }

.form-row input, .form-row select, .form-row textarea {
  background: rgba(5, 6, 10, 0.5); border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font-family: var(--font-body); font-size: 0.96rem;
  outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.15);
}

.form-row textarea { resize: vertical; }

.btn-submit { width: 100%; margin-top: 4px; }

.form-status { margin-top: 12px; font-size: 0.9rem; color: var(--text-muted); min-height: 1.2em; }

.form-status.success { color: #9fd4cb; }
.form-status.error { color: #e19a8c; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); padding: 32px 0; }

.footer-inner { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); color: var(--text-muted); font-size: 0.95rem; }

.footer-muted { font-family: var(--font-body); font-size: 0.85rem; }

/* ---------- Scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pullquote .word { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .employee-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 50px; }
  .hero-demo { order: -1; }
  .hero-stats { gap: 24px; }
  .problem-points { grid-template-columns: 1fr; }
  .system-flow { grid-template-columns: 1fr; }
  .flow-connector { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed; top: 68px; left: 0; right: 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5, 6, 10, 0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }

  .nav.is-open { max-height: 320px; }

  .nav a { padding: 16px 24px; border-bottom: 1px solid var(--border); }

  .nav-cta { margin: 14px 24px; text-align: center; }
}

@media (max-width: 560px) {
  .hero { padding: 60px 0 0; }
  .problem, .concept, .employees, .industries, .system, .demo-section { padding: 68px 0; }
  .contact { padding: 30px 0 90px; }
  .pullquote-section { padding: 90px 0; }
  .hero-canvas { opacity: 0.5; }
  .employee-grid, .industry-grid { grid-template-columns: 1fr; }
}
