/* ============================================
   Autobees — Design System
   Modern, geometric, gradient-accented
   ============================================ */

:root {
  /* Ink + neutrals — pulled from the wordmark navy */
  --ink:        #0E1838;
  --ink-2:      #1B2A5E;
  --soft:       #5C6584;
  --softer:     #8A93AE;
  --rule:       #E5E8F0;
  --rule-2:     #EEF0F6;
  --bg:         #F7F8FB;
  --bg-warm:    #FBFAF7;
  --card:       #FFFFFF;

  /* Gradient stops — pulled from the hex badge */
  --grad-1:     #5B1B98;   /* deep purple, top-left */
  --grad-2:     #2A4FB0;   /* indigo middle */
  --grad-3:     #1A6FB8;   /* blue bottom */
  --grad-4:     #F0A95B;   /* warm orange, top-right */
  --grad-soft:  #EFE7F8;   /* very pale purple tint */

  /* The signature gradient — used surgically on text + borders + buttons */
  --brand-grad: linear-gradient(135deg, #5B1B98 0%, #2A4FB0 45%, #1A6FB8 75%, #F0A95B 100%);
  --brand-grad-soft: linear-gradient(135deg, #F2EBFA 0%, #E5EEFB 60%, #FBEFDE 100%);

  /* Radius + shadow */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-soft: 0 1px 2px rgba(14,24,56,0.04), 0 8px 24px -8px rgba(14,24,56,0.08);
  --shadow-lift: 0 2px 4px rgba(14,24,56,0.05), 0 24px 48px -16px rgba(14,24,56,0.14);
  --shadow-glow: 0 30px 80px -20px rgba(91,27,152,0.32), 0 20px 60px -20px rgba(26,111,184,0.24);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle ambient gradient orbs that live behind the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 8% 0%, rgba(91,27,152,0.10) 0%, transparent 60%),
    radial-gradient(50% 40% at 100% 12%, rgba(240,169,91,0.10) 0%, transparent 60%),
    radial-gradient(60% 60% at 50% 100%, rgba(26,111,184,0.08) 0%, transparent 65%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

::selection { background: rgba(91,27,152,0.18); color: var(--ink); }

/* ── Typography utilities ── */
.display, h1, h2, h3 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-variation-settings: "wght" 500;
}

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--brand-grad);
}

.gradient-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Layout ── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,248,251,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(229,232,240,0.7);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 15px;
  color: var(--ink);
}
.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.brand-name { font-size: 15px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  color: var(--soft);
  font-weight: 500;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(14,24,56,0.4);
  color: #fff !important;
}
.nav-cta-arrow {
  width: 14px; height: 14px;
  transition: transform 0.18s;
}
.nav-cta:hover .nav-cta-arrow { transform: translateX(2px); }

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-inner { padding: 16px 20px; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 0;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(14,24,56,0.5);
}
.btn-grad {
  position: relative;
  background: var(--brand-grad);
  color: #fff;
  background-size: 180% 180%;
  background-position: 0% 0%;
}
.btn-grad:hover {
  transform: translateY(-1px);
  background-position: 100% 100%;
  box-shadow: 0 18px 36px -12px rgba(91,27,152,0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.btn .arrow {
  width: 16px; height: 16px;
  transition: transform 0.18s;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ── Pill ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--rule);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}
.pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-grad);
  box-shadow: 0 0 0 3px rgba(91,27,152,0.15);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(91,27,152,0.15); }
  50% { box-shadow: 0 0 0 6px rgba(91,27,152,0.0); }
}
.pill-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ── Section base ── */
.section {
  padding: 96px 0;
  position: relative;
}
.section-head {
  margin-bottom: 56px;
  max-width: 640px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 600;
  margin-top: 14px;
}
.section-head p {
  font-size: 17px;
  color: var(--soft);
  margin-top: 16px;
  line-height: 1.55;
  max-width: 540px;
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
}

/* ── Hex motif (CSS-only, simple geometry) ── */
.hex-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--brand-grad);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
}
.hex-icon-soft {
  background: var(--brand-grad-soft);
  color: var(--ink);
  position: relative;
}
.hex-icon-soft::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--card);
  z-index: -1;
}

/* ── Footer ── */
footer.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
footer.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 0% 0%, rgba(91,27,152,0.35) 0%, transparent 70%),
    radial-gradient(40% 60% at 100% 0%, rgba(240,169,91,0.25) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 17px;
}
.footer-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.55;
  max-width: 320px;
}
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  transition: color 0.18s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .mono { color: rgba(255,255,255,0.4); font-size: 12px; }

/* ============================================
   Legal pages (privacy / terms / data-deletion)
   ============================================ */

.legal-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.legal-hero .pill { margin-bottom: 24px; }
.legal-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.legal-meta {
  display: flex;
  gap: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--soft);
  letter-spacing: 0.02em;
}
.legal-meta span { display: inline-flex; align-items: center; gap: 8px; }
.legal-meta span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-3);
}

.legal-body {
  padding: 64px 0 96px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) {
  .legal-body { grid-template-columns: 1fr; gap: 32px; }
}

.legal-toc {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 16px;
  border-left: 1px solid var(--rule);
}
.legal-toc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--softer);
  margin-bottom: 10px;
}
.legal-toc a {
  font-size: 13px;
  color: var(--soft);
  padding: 6px 0;
  display: flex;
  gap: 10px;
  align-items: baseline;
  transition: color 0.18s;
}
.legal-toc a span { color: var(--softer); font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.legal-toc a:hover { color: var(--ink); }
@media (max-width: 880px) {
  .legal-toc { position: static; border-left: 0; padding-left: 0;
    border-top: 1px solid var(--rule); padding-top: 20px; }
}

.legal-section {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.legal-section:last-of-type { border-bottom: 0; margin-bottom: 0; }
.legal-section .legal-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: transparent;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 12px;
  display: inline-block;
}
.legal-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.legal-section p {
  color: var(--soft);
  font-size: 16px;
  margin-bottom: 14px;
  line-height: 1.7;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section strong { color: var(--ink); font-weight: 600; }
.legal-section a {
  color: var(--grad-2);
  border-bottom: 1px solid rgba(42,79,176,0.3);
  transition: border-color 0.18s;
}
.legal-section a:hover { border-bottom-color: var(--grad-2); }

/* Data cards (privacy) */
.data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
@media (max-width: 600px) {
  .data-grid { grid-template-columns: 1fr; }
}
.data-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s;
}
.data-card:hover {
  border-color: rgba(91,27,152,0.25);
  transform: translateY(-2px);
}
.data-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--brand-grad);
  opacity: 0.5;
}
.data-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.data-card p { font-size: 13.5px; color: var(--soft); line-height: 1.55; margin: 0; }

/* Use list (bullets w/ gradient ticks) */
.use-list { list-style: none; margin-top: 16px; }
.use-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-2);
  font-size: 15px;
  color: var(--soft);
  line-height: 1.55;
  align-items: flex-start;
}
.use-list li:last-child { border-bottom: 0; }
.use-list li::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--brand-grad);
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/contain no-repeat;
}

/* Contact block */
.contact-block {
  background: linear-gradient(135deg, #fff 0%, #fafbfd 100%);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  overflow: hidden;
}
.contact-block::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  background: var(--brand-grad);
  opacity: 0.08;
  filter: blur(40px);
  border-radius: 50%;
}
.contact-block .hex-icon { flex-shrink: 0; }
.contact-block-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--softer);
  margin-bottom: 4px;
}
.contact-block a {
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 0;
}
.contact-block a:hover {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Steps (data-deletion) */
.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  counter-reset: step;
}
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 22px 24px;
  transition: border-color 0.18s, transform 0.18s;
}
.step:hover {
  border-color: rgba(91,27,152,0.25);
  transform: translateX(4px);
}
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
  width: 32px;
}
.step-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.step-body p { font-size: 14px; color: var(--soft); margin: 0; line-height: 1.55; }

/* Info card (gradient-tinted callout) */
.info-card {
  background: var(--brand-grad-soft);
  border: 1px solid rgba(91,27,152,0.12);
  border-radius: var(--r);
  padding: 22px 26px;
  margin-top: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-card-mark {
  width: 28px; height: 28px;
  flex-shrink: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--brand-grad);
  display: grid; place-items: center;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.info-card p { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin: 0; }
