/* ==========================================================================
   Lawendo marketing site — design system
   Palette mirrors the product design tokens in
   lib/src/design_system/tokens/color_tokens.dart so the site and the app
   read as one brand: violet 600 -> fuchsia 500 on slate.
   ========================================================================== */

:root {
  /* Brand */
  --violet-50:  #f5f3ff;
  --violet-100: #ede9fe;
  --violet-200: #ddd6fe;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --violet-700: #6d28d9;
  --violet-900: #4c1d95;

  --fuchsia-400: #e879f9;
  --fuchsia-500: #d946ef;
  --fuchsia-600: #c026d3;

  /* Neutrals */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --success: #10b981;
  --warning: #f59e0b;
  --info:    #3b82f6;

  /* Semantic */
  --bg:            var(--slate-950);
  --bg-elevated:   #070d1f;
  --ink:           var(--slate-50);
  --ink-muted:     var(--slate-400);
  --ink-subtle:    var(--slate-500);
  --line:          rgba(255, 255, 255, 0.09);
  --line-strong:   rgba(255, 255, 255, 0.16);
  --surface:       rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);

  --grad: linear-gradient(120deg, var(--violet-600) 0%, var(--fuchsia-500) 100%);
  --grad-soft: linear-gradient(120deg, var(--violet-400) 0%, var(--fuchsia-400) 100%);

  /* Rhythm */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --pad: clamp(20px, 5vw, 40px);
  --maxw: 1200px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --font: "Inter", "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;
  --font-ar: "Noto Sans Arabic", "Noto Sans", var(--font);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection {
  background: var(--violet-600);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--fuchsia-400);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip link — keyboard users land here first */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--violet-600);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -0.032em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.3; }

p { margin: 0; }

.lead {
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-muted);
  letter-spacing: -0.014em;
}

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

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section { position: relative; }

.band {
  padding-block: clamp(72px, 11vw, 132px);
}

.band-tight { padding-block: clamp(52px, 7vw, 84px); }

.head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 68px);
}
.head.center {
  margin-inline: auto;
  text-align: center;
}
.head h2 { margin-bottom: 20px; }

/* --------------------------------------------------------------------------
   Eyebrow / pill
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--slate-300);
  margin-bottom: 26px;
  backdrop-filter: blur(12px);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(217, 70, 239, 0.16);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 27px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.008em;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background-color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 34px -10px rgba(124, 58, 237, 0.75);
}
.btn-primary:hover { box-shadow: 0 18px 46px -12px rgba(217, 70, 239, 0.7); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--violet-500); }

.btn-lg { padding: 17px 34px; font-size: 1.02rem; }

.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

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

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

.aurora::after {
  /* subtle grain so the gradients don't band on wide screens */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

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

.blob-1 {
  width: 620px; height: 620px;
  top: -230px; left: -140px;
  background: radial-gradient(circle, rgba(124,58,237,.85), transparent 68%);
  animation: drift1 24s var(--ease-in-out) infinite;
}
.blob-2 {
  width: 540px; height: 540px;
  top: -80px; right: -160px;
  background: radial-gradient(circle, rgba(217,70,239,.7), transparent 68%);
  animation: drift2 29s var(--ease-in-out) infinite;
}
.blob-3 {
  width: 480px; height: 480px;
  bottom: -220px; left: 34%;
  background: radial-gradient(circle, rgba(139,92,246,.55), transparent 70%);
  animation: drift3 34s var(--ease-in-out) infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(70px, 50px) scale(1.14); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-60px, 70px) scale(0.9); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(50px, -50px) scale(1.1); }
}

/* Grid overlay */
.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 78% 58% at 50% 42%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 78% 58% at 50% 42%, #000 35%, transparent 100%);
}

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color .4s var(--ease), border-color .4s var(--ease),
              backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-head.stuck {
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px -6px rgba(124,58,237,.85);
  flex-shrink: 0;
}
.brand-mark svg { width: 19px; height: 19px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.nav-links a {
  padding: 9px 12px;
  white-space: nowrap;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate-300);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--surface); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language switcher */
.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--surface);
}
.lang a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--slate-400);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.lang a[aria-current="true"] {
  background: var(--grad);
  color: #fff;
}
.lang a:not([aria-current="true"]):hover { color: var(--ink); }

/* Scroll progress */
.progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--grad);
  transition: width .1s linear;
}

.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  place-items: center;
}
.burger span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease);
}
.burger span::before { top: -5.5px; }
.burger span::after  { top: 5.5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-5.5px) rotate(-45deg); }

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

.hero {
  position: relative;
  padding-block: clamp(64px, 10vw, 116px) clamp(60px, 9vw, 100px);
  overflow: hidden;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.hero h1 { margin-bottom: 26px; }
.hero .lead { margin-bottom: 34px; max-width: 33ch; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-proof li {
  list-style: none;
  font-size: 0.87rem;
  color: var(--ink-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-proof svg { width: 15px; height: 15px; color: var(--violet-400); flex-shrink: 0; }
.hero-proof ul { display: contents; }

/* --------------------------------------------------------------------------
   Cards / surfaces
   -------------------------------------------------------------------------- */

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  backdrop-filter: blur(14px);
  padding: clamp(24px, 3vw, 32px);
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease),
              background-color .4s var(--ease);
}

.card:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
  transform: translateY(-3px);
}

/* gradient hairline that lights up on hover */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.card:hover::before { opacity: 0.6; }

.card h3 { margin-bottom: 11px; }
.card p { color: var(--ink-muted); font-size: 0.96rem; }

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(124,58,237,.24), rgba(217,70,239,.16));
  border: 1px solid var(--line-strong);
  margin-bottom: 20px;
}
.icon-badge svg { width: 22px; height: 22px; color: var(--violet-400); }

/* --------------------------------------------------------------------------
   Bento grid
   -------------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }

/* --------------------------------------------------------------------------
   Audience switch
   -------------------------------------------------------------------------- */

.switch {
  display: inline-flex;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  margin-bottom: 44px;
  backdrop-filter: blur(12px);
}

.switch button {
  padding: 11px 26px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--slate-400);
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.switch button[aria-selected="true"] {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(124,58,237,.8);
}

.panel[hidden] { display: none; }
.panel {
  animation: panelIn .5s var(--ease) both;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -1px;
  left: 0;
  padding-top: 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--grad-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step::after {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--grad);
  transition: width 1s var(--ease);
}
.step.in::after { width: 46px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-muted); font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   Language morph demo — the signature section
   -------------------------------------------------------------------------- */

.morph-shell {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.morph-stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(124,58,237,.13), rgba(2,6,23,.5));
  padding: clamp(22px, 3vw, 34px);
  backdrop-filter: blur(16px);
  box-shadow: 0 34px 80px -40px rgba(124,58,237,.6);
}

.case-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: rgba(2, 6, 23, 0.72);
  padding: 24px;
  min-height: 268px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.case-card[dir="rtl"] { text-align: right; font-family: var(--font-ar); }

.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.case-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.34);
  color: #6ee7b7;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}
.case-status .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(1.35); }
}

.case-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--ink-subtle);
  font-weight: 600;
}
.case-title { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.02em; }

.case-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--slate-300);
}
.case-row .k { color: var(--ink-subtle); min-width: 92px; font-size: 0.83rem; }

.case-next {
  margin-top: auto;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: linear-gradient(120deg, rgba(124,58,237,.2), rgba(217,70,239,.12));
  border: 1px solid rgba(167, 139, 250, 0.28);
  font-size: 0.9rem;
}

.fade-swap { animation: fadeSwap .55s var(--ease) both; }
@keyframes fadeSwap {
  from { opacity: 0; transform: translateY(9px); filter: blur(3px); }
  to   { opacity: 1; transform: none; filter: none; }
}

.lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.lang-chip {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--slate-400);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.lang-chip:hover { color: var(--ink); border-color: var(--line-strong); }
.lang-chip[aria-pressed="true"] {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

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

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  padding-block: 6px;
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: slide 44s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 21px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate-300);
  white-space: nowrap;
}
.tag svg { width: 16px; height: 16px; color: var(--violet-400); }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  padding: 26px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
}
.stat .n {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 9px;
}
.stat .l { font-size: 0.89rem; color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   Privacy band
   -------------------------------------------------------------------------- */

.privacy {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 130% at 12% 0%, rgba(124,58,237,.22), transparent 62%),
    rgba(255,255,255,.025);
  padding: clamp(32px, 5vw, 58px);
  overflow: hidden;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  position: relative;
  z-index: 1;
}

.principle {
  display: flex;
  gap: 15px;
  padding-block: 15px;
  border-top: 1px solid var(--line);
}
.principle:first-child { border-top: 0; padding-top: 0; }
.principle svg {
  width: 19px; height: 19px;
  color: var(--violet-400);
  flex-shrink: 0;
  margin-top: 3px;
}
.principle h4 { font-size: 0.99rem; margin-bottom: 4px; font-weight: 650; }
.principle p { font-size: 0.9rem; color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { max-width: 820px; margin-inline: auto; }

.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: -0.015em;
  list-style: none;
  transition: color .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--violet-400); }

.faq summary .chev {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--ink-subtle);
  transition: transform .35s var(--ease), color .25s var(--ease);
}
.faq details[open] summary .chev { transform: rotate(180deg); color: var(--violet-400); }

.faq .answer {
  padding-bottom: 26px;
  color: var(--ink-muted);
  font-size: 0.98rem;
  max-width: 68ch;
  animation: panelIn .4s var(--ease) both;
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.cta-box {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 76px);
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse 90% 140% at 50% 0%, rgba(124,58,237,.4), transparent 66%),
    rgba(255,255,255,.03);
}
.cta-box h2 { margin-bottom: 18px; }
.cta-box .lead { margin-inline: auto; margin-bottom: 34px; max-width: 55ch; }
.cta-box .btn-row { justify-content: center; }

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

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 72px) 34px;
  margin-top: clamp(50px, 7vw, 90px);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px 26px;
  margin-bottom: 46px;
}

.foot-col h4 {
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-subtle);
  margin-bottom: 17px;
  font-weight: 650;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-col a {
  font-size: 0.93rem;
  color: var(--slate-400);
  transition: color .25s var(--ease);
}
.foot-col a:hover { color: var(--ink); }

.foot-about p {
  font-size: 0.93rem;
  color: var(--ink-muted);
  max-width: 34ch;
  margin-top: 16px;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-subtle);
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */

.crumbs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  font-size: 0.86rem;
  color: var(--ink-subtle);
}
.crumbs a { color: var(--slate-400); transition: color .25s var(--ease); }
.crumbs a:hover { color: var(--violet-400); }
.crumbs span[aria-hidden] { opacity: .45; }

/* Inline "this is information, not advice" note */
.disclaimer {
  margin-top: 22px;
  padding: 13px 16px;
  border-inline-start: 2px solid var(--violet-500);
  background: rgba(124, 58, 237, 0.09);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Area index cards
   -------------------------------------------------------------------------- */

.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.area-card { display: block; }
.area-card .go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--violet-400);
}
.area-card:hover .go { color: var(--fuchsia-400); }
.area-card .go svg { transition: transform .3s var(--ease); }
.area-card:hover .go svg { transform: translateX(4px); }

@media (max-width: 760px) {
  .area-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */

.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); }

.compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.compare th, .compare td {
  padding: 16px 20px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.compare thead th {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-subtle);
  font-weight: 650;
  background: rgba(255, 255, 255, .03);
}
.compare tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.compare td { color: var(--ink-muted); }
.compare td.yes { color: var(--slate-200); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .col-us {
  background: linear-gradient(180deg, rgba(124, 58, 237, .13), rgba(217, 70, 239, .06));
  color: var(--slate-100);
}

/* --------------------------------------------------------------------------
   Prose — legal and long-form pages
   -------------------------------------------------------------------------- */

.prose {
  max-width: 72ch;
  margin-inline: auto;
}
.prose h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 14px; }
.prose h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-top: 46px;
  margin-bottom: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.prose h3 { font-size: 1.06rem; margin-top: 28px; margin-bottom: 8px; }
.prose p,
.prose li { color: var(--ink-muted); font-size: 1rem; }
.prose p { margin-bottom: 15px; }
.prose ul, .prose ol { padding-inline-start: 22px; margin-bottom: 15px; }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--violet-400); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--fuchsia-400); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose address { font-style: normal; color: var(--ink-muted); }

/* Placeholder callout — everything the operator still has to fill in */
.todo {
  border: 1px dashed var(--warning);
  background: rgba(245, 158, 11, 0.09);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  margin-block: 18px;
  font-size: 0.94rem;
  color: #fcd34d;
}
.todo strong { color: #fde68a; }

.legal-note {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 20px 22px;
  margin-bottom: 34px;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

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

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: .07s; }
.reveal-d2 { transition-delay: .14s; }
.reveal-d3 { transition-delay: .21s; }
.reveal-d4 { transition-delay: .28s; }
.reveal-d5 { transition-delay: .35s; }

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

@media (max-width: 1120px) {
  .hero-grid,
  .morph-shell,
  .privacy-grid { grid-template-columns: 1fr; }

  .hero .lead { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bento > *,
  .bento .span-3,
  .bento .span-4 { grid-column: span 6; }
  .foot-grid { grid-template-columns: 1fr 1fr; }

  .burger { display: grid; }

  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--pad) 24px;
    background: rgba(2,6,23,.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 1rem; }

  .nav-actions .btn-desktop { display: none; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Motion & contrast preferences
   -------------------------------------------------------------------------- */

@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; }
  .blob { animation: none; }
  .marquee-track { animation: none; }
}

@media print {
  .aurora, .grid-lines, .site-head, .marquee { display: none; }
  body { background: #fff; color: #000; }
}
