/* =========================================================
   Franke Consulting — Design System v2 (dark hero, gradient, punchy)
   ========================================================= */

:root {
  /* Palette — warm editorial */
  --navy:       #0A1628;
  --navy-2:     #141E33;
  --navy-3:     #1F2A42;
  --ink:        #0A1628;
  --ink-2:      #27324A;
  --body:       #5B6578;
  --muted:      #7A8496;
  --line:       #E5E1D8;
  --bg:         #FAFAF7;
  --bg-alt:     #F3F0E8;
  --bg-cream:   #EDE8DC;

  /* Gradient accent — amber → orange → ember */
  --g1: #F59E0B;
  --g2: #F97316;
  --g3: #E11D48;
  --amber: #F59E0B;
  --amber-2: #F97316;

  /* Type */
  --f-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-mono:    'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Fluid sizes */
  --fs-xs: clamp(0.75rem, 0.72rem + 0.1vw, 0.8rem);
  --fs-sm: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.08rem);
  --fs-lg: clamp(1.15rem, 1.05rem + 0.5vw, 1.3rem);
  --fs-xl: clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  --fs-3xl: clamp(2.5rem, 1.9rem + 3vw, 4rem);
  --fs-hero: clamp(3rem, 2.2rem + 5vw, 5.75rem);

  /* Spacing */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem;
  --sp-9: 6rem; --sp-10: 8rem;

  --container: 1200px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(7,11,26,0.06), 0 2px 6px rgba(7,11,26,0.04);
  --shadow: 0 10px 30px -10px rgba(7,11,26,0.15), 0 4px 8px -4px rgba(7,11,26,0.08);
  --shadow-lg: 0 30px 60px -20px rgba(7,11,26,0.25), 0 12px 24px -12px rgba(7,11,26,0.15);
  --shadow-glow: 0 20px 60px -10px rgba(245,158,11,0.45);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 320ms;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02','cv03','cv04','cv11';
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
p { margin: 0; }
::selection { background: var(--g1); color: #fff; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

/* Eyebrow (mono, premium) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--g2);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--g2);
  box-shadow: 0 0 12px var(--g2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%     { opacity: 0.35; }
}

.muted { color: var(--muted); }

/* Gradient text */
.grad {
  background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 55%, var(--g3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

/* =========================================================
   Header / Navigation  (sticky, dark-on-light, frosted)
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.scrolled {
  border-bottom-color: rgba(226,232,240,0.7);
  background: rgba(255,255,255,0.95);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5);
  padding-block: var(--sp-4);
}
.nav__logo { color: var(--ink); display: flex; align-items: center; height: 52px; }
.nav__logo svg { height: 52px; width: auto; }
.nav__menu {
  display: flex; align-items: center; gap: var(--sp-6);
  list-style: none; margin: 0; padding: 0;
}
.nav__menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  transition: color var(--dur) var(--ease);
}
.nav__menu a:hover { color: var(--g1); }
.nav__menu .nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  transition: all var(--dur) var(--ease);
  font-weight: 600;
}
.nav__menu .nav-cta:hover {
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}
.nav__lang {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px;
  color: var(--muted);
  padding-left: var(--sp-4);
  border-left: 1px solid var(--line);
}
.nav__lang a { padding: 4px 6px; border-radius: 6px; }
.nav__lang a.active { color: var(--ink); font-weight: 700; }
.nav__lang a:hover:not(.active) { color: var(--g1); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 10px;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__burger span::before, .nav__burger span::after {
  content: ''; position: absolute; left: 0;
  width: 22px; height: 2px; background: var(--ink);
  transition: transform var(--dur) var(--ease);
}
.nav__burger span::before { top: -7px; }
.nav__burger span::after  { top:  7px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__burger { display: inline-flex; }
  .nav__menu {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-6);
    gap: var(--sp-5);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform var(--dur) var(--ease);
    box-shadow: var(--shadow);
  }
  .nav__menu.open { transform: translateY(0); }
  .nav__menu a { font-size: 18px; }
  .nav__lang { border-left: 0; padding-left: 0; margin-top: var(--sp-2); }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245,158,11,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #D97706 0%, #C2410C 100%);
  box-shadow: 0 10px 30px rgba(245,158,11,0.5);
  transform: translateY(-2px);
}
.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
}
.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost-dark:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.btn--amber {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-2) 100%);
  color: #0B1120;
  box-shadow: 0 4px 14px rgba(245,158,11,0.35), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn--amber:hover {
  box-shadow: 0 10px 30px rgba(245,158,11,0.5);
  transform: translateY(-2px);
}

/* =========================================================
   HERO — Dark, glow, gradient
   ========================================================= */
.hero {
  position: relative;
  background: var(--navy);
  color: #CBD5E1;
  overflow: hidden;
  padding-block: clamp(var(--sp-9), 12vw, var(--sp-10));
  isolation: isolate;
}

/* Grid pattern bg */
.hero__bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
  z-index: -2;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  z-index: -1;
  pointer-events: none;
}
.hero__glow--1 {
  top: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--g1) 0%, transparent 70%);
  animation: float1 14s ease-in-out infinite;
}
.hero__glow--2 {
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--g2) 0%, transparent 70%);
  opacity: 0.5;
  animation: float2 18s ease-in-out infinite;
}
.hero__glow--3 {
  top: 40%; right: 30%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, #E11D48 0%, transparent 70%);
  opacity: 0.15;
  animation: float1 22s ease-in-out infinite reverse;
}
@keyframes float1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,-30px) scale(1.08); }
}
@keyframes float2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-30px,40px) scale(1.1); }
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-7); }
}

.hero h1 {
  color: #fff;
  font-size: var(--fs-hero);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: var(--sp-5);
  font-weight: 700;
}
.hero__lead {
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.25rem);
  color: #94A3B8;
  max-width: 560px;
  margin-bottom: var(--sp-6);
  line-height: 1.6;
}
.hero__lead strong { color: #CBD5E1; font-weight: 500; }
.hero__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: var(--sp-6);
}
.hero__tag {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #CBD5E1;
}
.hero__tag--accent {
  background: linear-gradient(135deg, rgba(251,191,36,0.14), rgba(249,115,22,0.14));
  border-color: rgba(249,115,22,0.35);
  color: #FED7AA;
  font-weight: 600;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.hero__meta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: #94A3B8;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.hero__meta .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.2), 0 0 16px rgba(34,197,94,0.6);
  animation: pulse 2.4s ease-in-out infinite;
}

/* Portrait card */
.hero__portrait {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 440px;
  justify-self: end;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08);
  transform: perspective(800px) rotateY(-3deg) rotateX(2deg);
  transition: transform 600ms var(--ease);
}
.hero__portrait:hover { transform: perspective(800px) rotateY(0) rotateX(0); }
@media (max-width: 960px) {
  .hero__portrait { justify-self: center; max-width: 340px; transform: none; }
  .hero__portrait:hover { transform: none; }
}
.hero__portrait img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}
.hero__portrait::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7,11,26,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero__portrait::after {
  content: '';
  position: absolute;
  right: -40px; bottom: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--g1);
  opacity: 0.35;
  filter: blur(50px);
  z-index: -1;
}
.hero__badge {
  position: absolute;
  left: 16px; bottom: 16px;
  z-index: 2;
  background: rgba(14, 20, 43, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.12);
}
.hero__badge svg { color: var(--amber); width: 14px; height: 14px; }

/* =========================================================
   Sections
   ========================================================= */
section { padding-block: clamp(var(--sp-8), 8vw, var(--sp-10)); position: relative; }
.section-head {
  max-width: 720px;
  margin-bottom: var(--sp-7);
}
.section-head h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-4);
  color: var(--ink);
}
.section-head p {
  font-size: var(--fs-lg);
  color: var(--muted);
  line-height: 1.65;
}

/* =========================================================
   Services
   ========================================================= */
.services {
  background:
    radial-gradient(ellipse 80% 40% at 10% 0%, rgba(245,158,11,0.05), transparent 60%),
    radial-gradient(ellipse 80% 40% at 90% 100%, rgba(249,115,22,0.04), transparent 60%),
    var(--bg);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-4);
}
.service {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-6);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  overflow: hidden;
  z-index: 0;
}
.service::before {
  content: '';
  position: absolute; inset: 0;
  padding: 1px;
  background: linear-gradient(135deg, var(--g1), var(--g2), var(--g3));
  border-radius: var(--radius);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  z-index: 1;
  pointer-events: none;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service:hover::before { opacity: 1; }
.service__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245,158,11,0.1) 0%, rgba(249,115,22,0.1) 100%);
  color: var(--g1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
  border: 1px solid rgba(245,158,11,0.15);
}
.service__icon svg { width: 22px; height: 22px; }
.service h3 {
  font-size: 20px;
  margin-bottom: var(--sp-3);
  color: var(--ink);
  font-weight: 600;
}
.service > p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: var(--sp-4);
  line-height: 1.6;
}
.service ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.service li {
  position: relative;
  padding-left: 20px;
}
.service li::before {
  content: '';
  position: absolute; left: 0; top: 10px;
  width: 12px; height: 1px;
  background: linear-gradient(90deg, var(--g1), var(--g2));
}

/* Bridge between Services and AI Tools */
.services__bridge {
  margin-top: var(--sp-7);
  padding: var(--sp-5) var(--sp-6);
  background: linear-gradient(135deg, rgba(251,191,36,0.06), rgba(249,115,22,0.05), rgba(225,29,72,0.05));
  border: 1px dashed rgba(249,115,22,0.35);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.services__bridge-label {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.25);
  margin-bottom: var(--sp-3);
}
.services__bridge p {
  font-size: var(--fs-lg);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0 auto;
}
.services__bridge p a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(249,115,22,0.4);
  transition: border-color var(--dur) var(--ease);
}
.services__bridge p a:hover { border-bottom-color: var(--orange); }

/* =========================================================
   Process — dark with glow
   ========================================================= */
.process {
  background: var(--navy);
  color: #CBD5E1;
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 40%, transparent 100%);
  z-index: 0;
}
.process::after {
  content: '';
  position: absolute;
  top: 20%; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--g1) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}
.process .container { position: relative; z-index: 1; }
.process h2, .process h3 { color: #fff; }
.process .section-head p { color: #94A3B8; }
.process .eyebrow { color: var(--g2); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5);
}
.step {
  position: relative;
  padding: var(--sp-6);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--dur) var(--ease);
  backdrop-filter: blur(10px);
}
.step:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(249,115,22,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(249,115,22,0.15);
}
.step__num {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: var(--sp-3);
  display: block;
  text-transform: uppercase;
}
.step h3 {
  font-size: 20px;
  margin-bottom: var(--sp-3);
  color: #fff;
}
.step p {
  color: #94A3B8;
  font-size: 14.5px;
  margin-bottom: var(--sp-4);
  line-height: 1.6;
}
.step ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13.5px;
  color: #CBD5E1;
}
.step li { padding-left: 18px; position: relative; }
.step li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--g2);
  font-weight: 700;
}

/* =========================================================
   Tools
   ========================================================= */
.tools { background: var(--bg-alt); }
.tools__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--sp-5);
}
.tool {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-7);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tool:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.tool::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* --- Flagship tool (DataPilot) --- */
.tool--flagship {
  background: linear-gradient(135deg, #0A1628 0%, #141E33 100%);
  color: #CBD5E1;
  border-color: transparent;
  padding: var(--sp-8) var(--sp-7);
  margin-bottom: var(--sp-6);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tool--flagship::after {
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(249,115,22,0.28) 0%, transparent 65%);
  filter: blur(20px);
  opacity: 0.85;
}
.tool--flagship::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--g1), var(--g2), var(--g3));
}
.tool--flagship:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(249,115,22,0.25);
}
.tool__flag-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
  position: relative; z-index: 1;
}
.tool__label--flag {
  background: linear-gradient(135deg, rgba(251,191,36,0.18), rgba(249,115,22,0.18));
  border-color: rgba(249,115,22,0.35);
  color: #FED7AA;
}
.tool__flag-mark {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.tool__flag-mark svg { width: 28px; height: 28px; }
.tool__flag-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-7);
  align-items: start;
  position: relative; z-index: 1;
}
@media (max-width: 820px) { .tool__flag-grid { grid-template-columns: 1fr; } }
.tool--flagship h3.tool__flag-title {
  font-size: clamp(2rem, 1.5rem + 1.8vw, 2.8rem);
  color: #fff;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.04em;
  line-height: 1;
}
.tool__flag-by {
  font-family: var(--f-mono);
  font-size: 0.38em;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.1em;
  vertical-align: middle;
  margin-left: 4px;
}
.tool__flag-tagline {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.3rem);
  color: #fff;
  margin-bottom: var(--sp-4);
  line-height: 1.35;
}
.tool__flag-body {
  color: #94A3B8;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: var(--sp-5);
  max-width: 46ch;
}
.tool__flag-cta {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  align-items: center;
}
.tool__flag-cta .btn--link {
  color: #CBD5E1;
}
.tool__flag-cta .btn--link::after {
  background: linear-gradient(90deg, var(--g1), var(--g2));
}
.tool__flag-features {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3) var(--sp-4);
}
@media (max-width: 520px) { .tool__flag-features { grid-template-columns: 1fr; } }
.tool__flag-features li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  transition: all var(--dur) var(--ease);
}
.tool__flag-features li:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(249,115,22,0.25);
}
.tool__flag-features li::before { content: none; }
.tool__flag-features strong {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}
.tool__flag-features span {
  font-size: 12.5px;
  color: #94A3B8;
  line-height: 1.4;
}
.tool__label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(249,115,22,0.1));
  border: 1px solid rgba(245,158,11,0.2);
  color: var(--g1);
  margin-bottom: var(--sp-4);
}
.tool h3 { font-size: 22px; margin-bottom: var(--sp-3); color: var(--ink); }
.tool > p { color: var(--muted); margin-bottom: var(--sp-5); font-size: 15px; line-height: 1.6; }
.tool ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  font-size: 14px;
}
@media (max-width: 520px) { .tool ul { grid-template-columns: 1fr; } }
.tool li {
  padding-left: 22px; position: relative; color: var(--ink-2);
}
.tool li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--g3);
  font-weight: 700;
}

/* =========================================================
   References
   ========================================================= */
.refs { background: var(--bg); }
.refs__list { display: flex; flex-direction: column; gap: var(--sp-5); }
.ref {
  background: linear-gradient(135deg, var(--bg-alt) 0%, #fff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-7);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-6);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ref:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ref::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--g1), var(--g2), var(--g3));
}
@media (max-width: 760px) { .ref { grid-template-columns: 1fr; } }
.ref h3 { font-size: 22px; margin-bottom: var(--sp-3); color: var(--ink); }
.ref__tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(245,158,11,0.08);
  color: var(--g1);
  margin-bottom: var(--sp-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.ref__body dl {
  margin: 0;
  display: grid; grid-template-columns: auto 1fr;
  gap: var(--sp-3) var(--sp-5);
  font-size: 14.5px;
}
.ref__body dt {
  font-family: var(--f-mono);
  font-weight: 600;
  color: var(--g1);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 4px;
}
.ref__body dd {
  margin: 0; color: var(--ink-2);
  line-height: 1.6;
}

/* =========================================================
   About
   ========================================================= */
.about { background: var(--bg-alt); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (max-width: 960px) { .about__grid { grid-template-columns: 1fr; } }
.about__card {
  background: #fff;
  padding: var(--sp-6);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all var(--dur) var(--ease);
  margin-bottom: var(--sp-4);
}
.about__card:last-child { margin-bottom: 0; }
.about__card:hover {
  border-color: rgba(245,158,11,0.3);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.about__card h3 { margin-bottom: var(--sp-3); color: var(--ink); font-size: 18px; }
.about__card p { color: var(--muted); font-size: 14.5px; }

.btn--link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0;
  color: var(--ink);
  font-weight: 600;
  position: relative;
}
.btn--link::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--g1), var(--g2));
  transform: scaleX(0.5);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.btn--link:hover::after { transform: scaleX(1); }

/* =========================================================
   FAQ
   ========================================================= */
.faq__list { max-width: 820px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-3);
  background: #fff;
  transition: all var(--dur) var(--ease);
}
.faq details[open] {
  border-color: rgba(245,158,11,0.3);
  box-shadow: var(--shadow);
}
.faq details summary {
  font-size: 16.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after {
  content: '+';
  font-size: 1.5em;
  font-weight: 300;
  color: var(--g1);
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: var(--sp-3);
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.65;
}

/* =========================================================
   Contact
   ========================================================= */
.contact {
  background:
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(245,158,11,0.06), transparent 60%),
    var(--bg);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-8);
}
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__info h2 { color: var(--ink); }
.contact__info dl { display: grid; gap: var(--sp-4); margin-top: var(--sp-5); }
.contact__info dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.contact__info dd { margin: 0; color: var(--ink-2); font-weight: 500; }
.contact__info dd a:hover { color: var(--g1); }
.contact__socials {
  display: flex; gap: 12px; margin-top: var(--sp-5);
}
.contact__socials a {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: all var(--dur) var(--ease);
}
.contact__socials a:hover {
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.contact__socials svg { width: 20px; height: 20px; }

/* Form */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-6);
  display: grid; gap: var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 13.5px; font-weight: 600;
  color: var(--ink-2);
}
.field label .req { color: var(--g1); }
.field input, .field textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--ink);
  transition: all var(--dur) var(--ease);
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--g1);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245,158,11,0.12);
}
.field textarea { resize: vertical; min-height: 140px; font-family: inherit; }
.field--check {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13.5px; color: var(--muted);
  line-height: 1.5;
}
.field--check input {
  width: 18px; height: 18px; margin-top: 2px;
  flex-shrink: 0; accent-color: var(--g1);
}
.field--check a { color: var(--g1); text-decoration: underline; }
.form__submit { margin-top: 6px; justify-self: start; }
.form__status {
  font-size: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: none;
}
.form__status--ok { display: block; background: #DCFCE7; color: #166534; border: 1px solid #86EFAC; }
.form__status--err { display: block; background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   CTA Banner — dark gradient
   ========================================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #CBD5E1;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--g1) 0%, transparent 60%);
  filter: blur(80px);
  opacity: 0.4;
}
.cta-banner::after {
  content: '';
  position: absolute;
  left: -80px; bottom: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--amber) 0%, transparent 60%);
  filter: blur(80px);
  opacity: 0.2;
}
.cta-banner__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--sp-6);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 760px) { .cta-banner__inner { grid-template-columns: 1fr; } }
.cta-banner h2 {
  color: #fff;
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-3);
}
.cta-banner p { color: #94A3B8; }
.cta-banner .btn {
  justify-self: end;
}
@media (max-width: 760px) { .cta-banner .btn { justify-self: start; } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy);
  color: #94A3B8;
  padding-block: var(--sp-8) var(--sp-5);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 500px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--g2), transparent);
  opacity: 0.5;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(148,163,184,0.1);
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer__brand { color: #fff; }
.footer__brand svg { height: 40px; margin-bottom: var(--sp-3); }
.footer__brand p { color: #94A3B8; max-width: 32ch; margin-top: var(--sp-3); }
.footer__col h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--sp-4);
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: var(--g2); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #64748B;
  font-family: var(--f-mono);
}

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Legal pages
   ========================================================= */
.legal {
  padding-block: var(--sp-8);
  max-width: 780px;
  margin-inline: auto;
}
.legal h1 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-6);
  color: var(--ink);
}
.legal h2 {
  font-size: 20px;
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-4);
  color: var(--ink);
}
.legal p, .legal li {
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: var(--sp-3);
}
.legal ul { padding-left: var(--sp-5); }
.legal a { color: var(--g1); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   Cookie banner
   ========================================================= */
.cookie {
  position: fixed;
  bottom: var(--sp-4);
  left: var(--sp-4);
  right: var(--sp-4);
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-5);
  z-index: 200;
  transform: translateY(140%);
  transition: transform 500ms var(--ease);
}
.cookie.show { transform: translateY(0); }
.cookie h4 { font-size: 15px; margin-bottom: var(--sp-2); color: var(--ink); }
.cookie p { font-size: 13.5px; color: var(--muted); margin-bottom: var(--sp-4); line-height: 1.55; }
.cookie p a { color: var(--g1); text-decoration: underline; }
.cookie__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.cookie__actions .btn { flex: 1 1 auto; justify-content: center; }
