/* ==========================================================================
   edon.ai — site stylesheet
   Tokens taken from the edON design system (colors_and_type.css).
   Responsive layer added here: the design system ships desktop-only.
   ========================================================================== */

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/lexend-variable.woff2") format("woff2-variations"),
       url("/assets/fonts/lexend-variable.woff2") format("woff2");
}

:root {
  /* Brand chord */
  --brand-purple: #7441F7;
  --brand-pink:   #FC488F;
  --brand-mint:   #48FCB2;
  --brand-yellow: #FCD348;

  --purple-50:  #F2EDFE;
  --purple-100: #E2D6FD;
  --purple-200: #C7AEFA;
  --purple-500: #7441F7;
  --purple-700: #5C3FB6;
  --purple-900: #241D3E;

  --pink-50:  #FFE6F0;
  --pink-500: #FC488F;
  --pink-700: #C7286A;

  --mint-500:   #48FCB2;
  --yellow-500: #FCD348;

  /* Surfaces. The page ground is a cool off-white so white cards lift off it;
     the design system's flat-white page gave shadows nothing to sit against. */
  --bg:            #FBFAFE;
  --surface:       #FFFFFF;
  --bg-tint:       #F4F1FC;
  --bg-accent:     #EFE9FD;
  --bg-deep:       #1B1C1C;
  --bg-brand:      var(--brand-purple);
  --bg-brand-deep: var(--purple-900);

  /* Foreground */
  --fg:          #1B1C1C;
  --fg-muted:    #4A4750;
  --fg-soft:     #6E6976;
  --fg-faint:    #ABA6B4;
  --fg-on-brand: #FFFFFF;
  --fg-on-deep:  #FFFFFF;

  /* Roles */
  --primary:         var(--brand-purple);
  --primary-hover:   #8A5BFF;
  --primary-pressed: #5C2FE0;
  --primary-on:      #FFFFFF;
  --accent:          var(--brand-pink);
  --accent-hover:    #FF5C9C;
  --accent-pressed:  var(--pink-700);
  --accent-on:       #FFFFFF;

  /* Lines & focus */
  --border:        #E6E0F0;
  --border-soft:   #EFEAF8;
  --border-strong: var(--purple-900);
  --focus-ring:    0 0 0 3px rgba(116, 65, 247, 0.32);

  /* Type scale */
  /* Display is sized for a long, multi-word headline. The design system's
     104px ceiling is calibrated for a three-word line and overflows here. */
  --t-display: clamp(34px, 4.6vw, 62px);
  --t-h1:      clamp(32px, 4.4vw, 60px);
  --t-h2:      clamp(27px, 3.2vw, 44px);
  --t-h3:      clamp(21px, 1.8vw, 28px);
  --t-h4:      20px;
  --t-lede:    clamp(18px, 1.5vw, 22px);
  --t-body:    17px;
  --t-small:   14px;
  --t-eyebrow: 12px;

  --lh-tight:   1.02;
  --lh-snug:    1.15;
  --lh-normal:  1.35;
  --lh-reading: 1.55;

  --tr-tight:   -0.03em;
  --tr-snug:    -0.014em;
  --tr-eyebrow: 0.08em;

  /* Spacing */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Radii */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 32px; --r-pill: 999px;

  /* Elevation. A tight contact shadow plus a wide diffuse lift, in brand ink.
     This departs from the design system's hairline-only rule, at Domas's
     request: see docs/DESIGN-DECISIONS.md. */
  --shadow-card: 0 1px 2px rgba(36, 29, 62, 0.05), 0 14px 36px -20px rgba(36, 29, 62, 0.22);
  --shadow-lift: 0 2px 6px rgba(36, 29, 62, 0.07), 0 24px 50px -22px rgba(36, 29, 62, 0.32);
  --shadow-pop:  0 16px 40px -18px rgba(36, 29, 62, 0.32), 0 0 0 1px rgba(36, 29, 62, 0.06);
  --shadow-btn:      0 10px 24px -10px rgba(116, 65, 247, 0.55);
  --shadow-btn-pink: 0 10px 24px -10px rgba(252, 72, 143, 0.55);

  /* Weights. Lexend is wide and heavily inked, so Light is the default
     reading weight; text steps up to Regular only where it is small (<=15px)
     or body-size on a dark/saturated surface. See DESIGN-DECISIONS.md. */
  --w-read:     300;
  --w-read-alt: 400;
  --w-medium:   500;
  --w-semi:     600;
  --w-bold:     700;
  --w-display:  800;

  /* Layout */
  --container: 1240px;
  --narrow: 880px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/* The mobile drawer parks off-screen with translateX(100%), which would otherwise
   double the scrollable width. clip (not hidden) keeps the sticky nav working. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Lexend", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--t-body);
  font-weight: var(--w-read);
  line-height: var(--lh-reading);
  font-feature-settings: "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 var(--s-4); }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25em; }
a { color: var(--primary); text-underline-offset: 4px; }
a:hover { color: var(--accent); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-sm); }
table { border-collapse: collapse; width: 100%; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--primary); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--r-md) 0; font-weight: 600;
}
.skip:focus { left: 0; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- type -------------------------------------------------------------- */
.t-display { font-size: var(--t-display); font-weight: 800; line-height: var(--lh-tight); letter-spacing: -0.035em; }
h1 { font-size: var(--t-h1); font-weight: 800; line-height: 1.06; letter-spacing: -0.034em; }
h2 { font-size: var(--t-h2); font-weight: 800; line-height: 1.08; letter-spacing: -0.032em; }
h3 { font-size: var(--t-h3); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h4 { font-size: var(--t-h4); font-weight: 600; line-height: var(--lh-normal); }
.lede { font-size: var(--t-lede); line-height: 1.45; color: var(--fg-muted); font-weight: var(--w-read); }
.small { font-size: var(--t-small); font-weight: var(--w-read-alt); }
.muted { color: var(--fg-muted); }
.soft  { color: var(--fg-soft); }
.tnum { font-variant-numeric: tabular-nums; }
.measure { max-width: 82ch; }
.nowrap { white-space: nowrap; }
/* Keeps the accented tail of the display headline on one line, and balances
   the lines above it so a preposition is never stranded on its own line. */
.hero .t-display { text-wrap: balance; }
.hero .t-display em { white-space: nowrap; }
/* Below this, the text column is narrower than the accent phrase. */
@media (max-width: 1180px) {
  .hero .t-display em { white-space: normal; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-eyebrow); font-weight: 600; text-transform: uppercase;
  letter-spacing: var(--tr-eyebrow); color: var(--primary); margin-bottom: var(--s-4);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.on-dark .eyebrow, .hero .eyebrow { color: rgba(255,255,255,0.85); }
em { font-style: normal; color: var(--accent); }
strong, b { font-weight: var(--w-semi); }

/* --- layout ------------------------------------------------------------ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6); }
.narrow { max-width: var(--narrow); margin: 0 auto; }
.section { padding: var(--s-9) 0; }
.section.tight { padding: var(--s-8) 0; }
.section.tint { background: var(--bg-tint); }
.section.accent { background: var(--bg-accent); }
.section.plain { background: var(--surface); }
.section.ink { background: var(--bg-brand-deep); color: var(--fg-on-deep); }
.section.ink h2, .section.ink h3, .section.ink h4 { color: #fff; }
.section.ink p, .section.ink li { color: rgba(255,255,255,0.78); font-weight: var(--w-read-alt); }
.section.ink .eyebrow { color: rgba(255,255,255,0.85); }

.section-head { margin-bottom: var(--s-7); }
.section-head p { margin-bottom: 0; }
.section-head .lede { margin-top: var(--s-4); }

.grid { display: grid; gap: var(--s-4); }
/* Grid items default to min-width:auto, so a wide child (the comparison table
   sets min-width:560px) drags the whole page wider than the viewport. */
.grid > *, .split > *, .hero-grid > *, .footer-cols > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-8); align-items: center; }
.split.wide-left { grid-template-columns: 1.3fr 1fr; }
.split.reverse > :first-child { order: 2; }

/* --- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1;
  padding: 15px 22px; border-radius: var(--r-md); border: 1.5px solid transparent;
  background: var(--primary); color: var(--primary-on); text-decoration: none;
  box-shadow: var(--shadow-btn); cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease),
              border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.btn:hover { background: var(--primary-hover); color: var(--primary-on); transform: translateY(-1px); }
.btn:active { background: var(--primary-pressed); transform: none; }
.btn-sm { padding: 11px 16px; font-size: 14px; border-radius: 10px; }
.btn-secondary { background: var(--surface); color: var(--fg); border-color: var(--border); box-shadow: var(--shadow-card); }
.btn-secondary:hover { background: var(--fg); color: #fff; border-color: var(--fg); }
.btn-on-dark { background: var(--accent); color: var(--accent-on); box-shadow: var(--shadow-btn-pink); }
.btn-on-dark:hover { background: var(--accent-hover); color: var(--accent-on); }
.btn-on-dark:active { background: var(--accent-pressed); }
.btn-ghost-dark { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.45); box-shadow: none; }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "\2192"; transition: transform 200ms var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* --- nav --------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(251,250,254,0.86); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; gap: var(--s-6); height: var(--nav-h); }
.nav-logo { display: flex; align-items: center; flex: 0 0 auto; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: var(--s-2); list-style: none; margin: 0; padding: 0; flex: 1 1 auto; }
.nav-links > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 9px 12px;
  font-size: 15px; font-weight: 500; color: var(--fg); text-decoration: none;
  border-radius: 8px; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav-link:hover { background: var(--purple-50); color: var(--primary); }
.nav-link[aria-current="page"] { color: var(--primary); font-weight: 600; }
.nav-link .chev { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.75; transition: transform 200ms var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 330px;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
  padding: var(--s-3); display: none; z-index: 60;
}
.nav-panel[data-open="true"] { display: block; }
.nav-panel a { display: block; padding: 11px 12px; border-radius: 10px; text-decoration: none; color: var(--fg); }
.nav-panel a:hover { background: var(--purple-50); }
.nav-panel b { display: block; font-weight: 600; font-size: 15px; color: var(--fg); }
.nav-panel span { display: block; font-size: 13px; font-weight: var(--w-read-alt); color: var(--fg-soft); margin-top: 2px; line-height: 1.4; }
.nav-cta { display: flex; align-items: center; gap: var(--s-4); flex: 0 0 auto; }
.nav-cta > a.small { font-weight: 600; text-decoration: none; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--fg); }
.burger svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; }
.drawer { display: none; }

/* --- hero -------------------------------------------------------------- */
.hero-wrap { padding: var(--s-5) var(--s-6) 0; }
.hero {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  max-width: var(--container); margin: 0 auto; color: #fff;
  background-color: var(--purple-900);
  background-image: linear-gradient(180deg, rgba(106,65,232,0.30) 0%, rgba(36,29,62,0.30) 100%), var(--hero-bg, url("/assets/brand/bg-vadyba.jpg"));
  background-size: cover; background-position: center;
  box-shadow: 0 30px 70px -44px rgba(36, 29, 62, 0.6);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: var(--s-8); align-items: center; padding: var(--s-8) var(--s-8); }
.hero.simple .hero-grid { grid-template-columns: 1fr; padding: var(--s-8) var(--s-8) var(--s-8); }
.hero.simple .hero-body { max-width: 60ch; }
.hero h1, .hero .t-display { color: #fff; margin-bottom: var(--s-5); }
.hero .lede { color: rgba(255,255,255,0.86); }
.hero .btn-row { margin-top: var(--s-6); }
.hero-proof { margin-top: var(--s-6); font-size: var(--t-small); font-weight: var(--w-read-alt); color: rgba(255,255,255,0.72); }
.hero-checks { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: var(--s-3); }
.hero-checks li { position: relative; padding-left: 28px; color: rgba(255,255,255,0.9); font-size: 15px; font-weight: var(--w-read-alt); line-height: 1.45; }
.hero-checks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 8px;
  border-left: 2px solid var(--brand-mint); border-bottom: 2px solid var(--brand-mint);
  transform: rotate(-45deg);
}
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.hero-art::before {
  content: ""; position: absolute; z-index: 0; width: 320px; height: 320px; border-radius: 50%;
  background: var(--accent); opacity: 0.9; top: -40px; right: -70px;
}
/* The shot bleeds toward the hero edge: the design system's corner-crop idea,
   applied to a product screenshot instead of a spot illustration. */
.hero-shot {
  position: relative; z-index: 1; margin: 0 -72px 0 0; width: calc(100% + 72px);
  border-radius: var(--r-lg) 0 0 var(--r-lg); overflow: hidden;
  box-shadow: 0 34px 70px -22px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.2); border-right: 0;
}
.hero-shot img { width: 100%; display: block; }

.edon-spot { object-fit: contain; width: auto; height: auto; max-width: 100%; max-height: 100%; flex: 0 0 auto; }
.spot-hero { position: relative; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.45)); }

/* --- cards ------------------------------------------------------------- */
.card {
  background: var(--surface); border-radius: 16px; padding: var(--s-5);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card); transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.card h3, .card h4 { margin-bottom: var(--s-2); }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); color: inherit; }
.card-num {
  font-size: 13px; font-weight: 600; letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: var(--primary); margin-bottom: var(--s-3); display: block;
}

/* Step cards themed by the brand chord, in fixed order */
.step-card { position: relative; }
.step-card .card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px; margin-bottom: var(--s-4);
  background: var(--step-color, var(--primary)); color: var(--step-fg, #fff);
  font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none;
  font-variant-numeric: tabular-nums;
}
.step-1 { --step-color: var(--brand-purple); }
.step-2 { --step-color: var(--brand-pink); }
.step-3 { --step-color: var(--brand-mint); --step-fg: #0F5138; }
.step-4 { --step-color: var(--brand-yellow); --step-fg: #5A4503; }

/* Feature rows with real product shots */
.feature-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s-8); align-items: center; padding: var(--s-8) 0; }
.feature-list > .feature-row:nth-child(even) > .feature-media { order: -1; }
.feature-row + .feature-row { border-top: 1px solid var(--border-soft); }
.feature-media {
  border-radius: var(--r-lg); overflow: hidden; background: var(--surface);
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-lift);
}
.feature-media img { width: 100%; display: block; }

/* --- tables ------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-soft); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.table-wrap table { font-variant-numeric: tabular-nums; min-width: 460px; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; vertical-align: top; font-size: 15px; font-weight: var(--w-read-alt); }
.table-wrap thead th { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tr-eyebrow); color: var(--fg-soft); background: var(--surface); }
.table-wrap tbody tr:nth-child(odd) { background: var(--purple-50); }
.table-wrap tbody th { font-weight: 600; color: var(--fg); }
.table-wrap .col-edon { color: var(--fg); font-weight: 600; }
.tbl-caption { font-size: var(--t-small); font-weight: var(--w-read-alt); color: var(--fg-soft); margin-bottom: var(--s-3); }

/* --- trust strip ------------------------------------------------------- */
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-6); }
.trust-list li { position: relative; padding-left: 30px; line-height: 1.5; }
.trust-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 9px;
  border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg);
}
.section.ink .trust-list li::before { border-color: var(--brand-mint); }
/* Light-surfaced components keep their own panel on an ink section, so they have
   to opt out of the section's white body colour or they render white-on-white.
   Applies to every light component, not just the callout. */
.section.ink .callout h3, .section.ink .callout h4,
.section.ink .card h3, .section.ink .card h4,
.section.ink .form-card h3 { color: var(--fg); }
.section.ink .callout p, .section.ink .callout li,
.section.ink .card p, .section.ink .card li,
.section.ink .form-card p { color: var(--fg-muted); font-weight: var(--w-read); }
.section.ink .callout strong, .section.ink .card strong { color: var(--fg); }

/* --- logo bar ---------------------------------------------------------- */
.logo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-7); }
.logo-tile {
  font-weight: 600; font-size: 15px; color: var(--fg-muted);
  padding: 12px 20px; border: 1px solid var(--border-soft); border-radius: var(--r-md);
  background: var(--surface); box-shadow: var(--shadow-card);
}

/* --- callout / quote --------------------------------------------------- */
.callout {
  background: var(--purple-50); border-radius: var(--r-lg); padding: var(--s-6);
  border-left: 4px solid var(--primary);
}
.callout p:last-child { margin-bottom: 0; }
.callout h3 { margin-bottom: var(--s-3); }
.pull-quote {
  position: relative; overflow: hidden; background: var(--primary); color: #fff;
  border-radius: 18px; padding: var(--s-6) var(--s-7);
}
.pull-quote p { font-size: clamp(19px, 2vw, 24px); font-weight: 700; letter-spacing: var(--tr-snug); line-height: 1.35; }
.pull-quote cite {
  font-style: normal; font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: var(--tr-eyebrow); color: rgba(255,255,255,0.82);
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.pull-quote cite::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* --- tags -------------------------------------------------------------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px; border-radius: var(--r-pill);
  padding: 5px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  background: var(--purple-50); color: var(--primary);
}
.tag-mint { background: rgba(72,252,178,0.22); color: #145c3e; }
.tag-yellow { background: rgba(252,211,72,0.28); color: #6b5304; }

/* --- FAQ --------------------------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 14px; box-shadow: var(--shadow-card);
  transition: box-shadow 200ms var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-lift); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 60px 18px var(--s-5);
  font-weight: 600; font-size: 17px; position: relative; line-height: 1.4;
  letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker { display: none; }
/* Plus / minus chip, the way the reference site marks an expandable row. */
.faq summary::before {
  content: ""; position: absolute; right: var(--s-5); top: 50%;
  width: 26px; height: 26px; margin-top: -13px; border-radius: 8px;
  background: var(--purple-50);
}
.faq summary::after {
  content: "+"; position: absolute; right: var(--s-5); top: 50%;
  width: 26px; height: 26px; margin-top: -13px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-weight: 600; font-size: 17px; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-a { padding: 0 var(--s-7) var(--s-5) var(--s-5); color: var(--fg-muted); }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* --- forms ------------------------------------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-lift); }
.field { display: block; margin-bottom: var(--s-4); }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: #fff;
  border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 12px 14px;
  transition: border-color 200ms var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--purple-200); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--focus-ring); }
.field textarea { resize: vertical; min-height: 96px; }
.field-hint { font-size: 13px; font-weight: var(--w-read-alt); color: var(--fg-soft); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: var(--w-read-alt); line-height: 1.45; margin-bottom: var(--s-4); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--primary); }
.form-note { font-size: 13px; font-weight: var(--w-read-alt); color: var(--fg-soft); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --- CTA band ---------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl); color: #fff;
  background-color: var(--purple-900);
  background-image: linear-gradient(180deg, rgba(106,65,232,0.42) 0%, rgba(36,29,62,0.72) 100%), url("/assets/brand/bg-marketingas.jpg");
  background-size: cover; background-position: center;
  padding: var(--s-9) var(--s-8);
  box-shadow: 0 30px 70px -44px rgba(36, 29, 62, 0.6);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .cta-inner { max-width: 62ch; position: relative; z-index: 1; }
.cta-band .spot-corner { position: absolute; right: -30px; bottom: -40px; height: 320px; opacity: 0.95; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.35)); }

/* --- article ----------------------------------------------------------- */
.article { max-width: 74ch; }
.article h2 { font-size: clamp(24px, 2.4vw, 32px); margin-top: var(--s-8); letter-spacing: -0.02em; }
.article h3 { margin-top: var(--s-6); }
.article ul, .article ol { line-height: var(--lh-reading); }
.article li { margin-bottom: var(--s-2); }
.toc { background: var(--bg-tint); border-radius: var(--r-lg); padding: var(--s-5) var(--s-6); margin: var(--s-6) 0; }
.toc strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: var(--tr-eyebrow); color: var(--primary); margin-bottom: var(--s-3); }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: 6px; }
.post-meta { font-size: 14px; font-weight: var(--w-read-alt); color: var(--fg-soft); margin-bottom: var(--s-6); }

/* --- breadcrumbs ------------------------------------------------------- */
.crumbs { font-size: 13px; font-weight: var(--w-read-alt); color: var(--fg-soft); padding: var(--s-5) 0 0; }
.crumbs a { color: var(--fg-soft); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }
.crumbs span { margin: 0 6px; color: var(--fg-faint); }

/* --- footer ------------------------------------------------------------ */
.footer { background: var(--bg-brand-deep); color: rgba(255,255,255,0.82); padding: var(--s-9) 0 var(--s-7); margin-top: var(--s-10); }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--s-7); }
.footer h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tr-eyebrow); color: var(--brand-pink); margin-bottom: var(--s-4); }
.footer a { display: block; color: rgba(255,255,255,0.82); text-decoration: none; font-size: 14px; font-weight: var(--w-read-alt); margin-bottom: 10px; }
.footer a:hover { color: var(--brand-pink); }
.footer-brand img { height: 26px; width: auto; margin-bottom: var(--s-4); }
.footer-brand p { font-size: 14px; font-weight: var(--w-read-alt); color: rgba(255,255,255,0.66); max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: var(--s-8); padding-top: var(--s-6); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s-5); margin-bottom: var(--s-4); }
.footer-legal a { margin: 0; font-size: 13px; }
.footer-lines { font-size: 13px; font-weight: var(--w-read-alt); color: rgba(255,255,255,0.55); line-height: 1.6; }

/* --- responsive -------------------------------------------------------- */
@media (max-width: 1180px) {
  /* Collapse the text-plus-table split early: a scrolling comparison table in a
     narrow track hides the column the reader came for. */
  .split.wide-left { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .footer-cols { grid-template-columns: 1fr 1fr 1fr; gap: var(--s-6); }
  .footer-brand { grid-column: 1 / -1; }
  .hero-grid { gap: var(--s-6); padding: var(--s-8) var(--s-7); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-cta > a.small { display: none; }
  .nav-inner { justify-content: space-between; gap: var(--s-4); }
  .burger { display: inline-flex; }
  /* Closed drawer is display:none rather than parked off-screen: a fixed,
     translated panel still reports its width and widened the page. */
  .drawer { display: none; position: fixed; inset: var(--nav-h) 0 0; z-index: 45;
    background: var(--surface); overflow-y: auto; padding: var(--s-5) var(--s-6) var(--s-9);
  }
  .drawer[data-open="true"] { display: block; animation: drawer-in 200ms var(--ease); }
  @keyframes drawer-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .drawer a { display: block; padding: 13px 0; text-decoration: none; color: var(--fg); font-weight: 600; border-bottom: 1px solid var(--border-soft); }
  .drawer details > a { font-weight: 400; padding-left: var(--s-4); color: var(--fg-muted); }
  .drawer summary { padding: 13px 0; font-weight: 600; cursor: pointer; border-bottom: 1px solid var(--border-soft); list-style: none; position: relative; }
  .drawer summary::-webkit-details-marker { display: none; }
  .drawer summary::after {
    content: ""; position: absolute; right: 4px; top: 20px; width: 9px; height: 9px;
    border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg);
  }
  .drawer details[open] summary::after { transform: rotate(-135deg); }
  .drawer .btn-row { margin-top: var(--s-6); flex-direction: column; align-items: stretch; }
  body.nav-open { overflow: hidden; }

  .split, .split.wide-left, .hero-grid, .feature-row, .g2, .g3 { grid-template-columns: 1fr; }
  .split.reverse > :first-child, .feature-list > .feature-row:nth-child(even) > .feature-media { order: 0; }
  .hero-art { order: 2; min-height: 0; }
  .section { padding: var(--s-8) 0; }
  .cta-band .spot-corner { height: 200px; right: -40px; bottom: -30px; opacity: 0.35; }
}

@media (max-width: 620px) {
  .container { padding: 0 var(--s-5); }
  .hero-wrap { padding: var(--s-4) var(--s-4) 0; }
  .hero { border-radius: var(--r-lg); }
  .hero-grid, .hero.simple .hero-grid { padding: var(--s-7) var(--s-5); }
  .cta-band { padding: var(--s-7) var(--s-5); border-radius: var(--r-lg); }
  .g4, .trust-list { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .feature-row { padding: var(--s-6) 0; }
  .card { padding: var(--s-5) var(--s-4); }
}

@media (max-width: 900px) {
  .hero-shot { margin-right: 0; width: 100%; border-radius: var(--r-lg); border-right: 1px solid rgba(255,255,255,0.2); }
  .hero-art::before { width: 200px; height: 200px; top: -30px; right: -50px; }
}

/* --- pricing plans ------------------------------------------------------ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); align-items: start; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 18px; padding: var(--s-6); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.plan-featured {
  border-color: var(--purple-200); box-shadow: var(--shadow-lift);
  background: linear-gradient(180deg, var(--purple-50) 0%, var(--surface) 240px);
}
.plan-badge {
  position: absolute; top: -12px; left: var(--s-6);
  background: var(--primary); color: #fff; border-radius: var(--r-pill);
  padding: 5px 13px; font-size: 11px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; box-shadow: var(--shadow-btn);
}
.plan-name { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--s-2); }
.plan-pitch { color: var(--fg-muted); font-size: 15px; font-weight: var(--w-read-alt); margin-bottom: var(--s-5); min-height: 3em; }
.plan-price {
  font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.032em;
  line-height: 1.1; margin-bottom: var(--s-2);
}
.plan-price-note { font-size: 14px; font-weight: var(--w-read-alt); color: var(--fg-soft); margin-bottom: var(--s-5); min-height: 3em; }
.plan-cta { width: 100%; margin-bottom: var(--s-6); }
.plan-list-title {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tr-eyebrow);
  color: var(--fg-soft); margin-bottom: var(--s-4);
}
.plan-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.plan-features li { position: relative; padding-left: 28px; font-size: 15px; font-weight: var(--w-read-alt); line-height: 1.45; }
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 8px;
  border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}
.plans-note { margin-top: var(--s-5); text-align: center; }

/* comparison table marks */
.cmp-yes, .cmp-no { display: inline-block; width: 16px; height: 16px; position: relative; }
.cmp-yes::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 8px;
  border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}
.cmp-no::before {
  content: ""; position: absolute; left: 1px; top: 8px; width: 13px; height: 2px;
  background: var(--fg-faint); border-radius: 2px;
}
table.cmp th[scope="row"] { width: 38%; }

@media (max-width: 1080px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan-pitch, .plan-price-note { min-height: 0; }
  .plan-badge { left: var(--s-5); }
}

/* --- process diagram ---------------------------------------------------- */
/* Five stages left to right on desktop, stacked on a phone. The arrows are
   real elements inside each stage, parked in the grid gutter, so they follow
   the track when it stacks instead of needing a second set of rules. */
.flow { margin: 0 0 var(--s-6); }
.flow-track {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-5);
}
.flow-stage {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 16px; padding: var(--s-5) var(--s-4);
  box-shadow: var(--shadow-card);
}
.flow-num { align-self: flex-start; }
.flow-stage h3 {
  font-size: 17px; font-weight: 700; letter-spacing: -0.018em;
  line-height: 1.25; margin-bottom: var(--s-2);
}
.flow-stage p {
  font-size: 13.5px; font-weight: var(--w-read-alt); line-height: 1.45; color: var(--fg-muted); margin-bottom: 0;
}
.flow-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 9px; margin-bottom: var(--s-4);
  background: var(--step-color, var(--primary)); color: var(--step-fg, #fff);
  font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.flow-1 { --step-color: var(--brand-purple); }
.flow-2 { --step-color: var(--brand-mint); --step-fg: #0F5138; }
.flow-3 { --step-color: var(--brand-yellow); --step-fg: #5A4503; }
.flow-4 { --step-color: var(--brand-pink); }
.flow-5 { --step-color: var(--purple-700); }

/* The review stage is the one the page is arguing for, so it is marked. */
.flow-4 { border-color: var(--pink-500); box-shadow: var(--shadow-lift); }

.flow-chips {
  list-style: none; margin: 0; padding: var(--s-4) 0 0;
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-top: auto; /* chips sit on the card floor whatever the text length */
}
.flow-chips li {
  font-size: 11px; font-weight: 600; line-height: 1; letter-spacing: 0.01em;
  padding: 5px 8px; border-radius: var(--r-pill);
  background: var(--bg-tint); color: var(--fg-soft);
}
.flow-4 .flow-chips li { background: var(--pink-50); color: var(--pink-700); }

.flow-arrow {
  position: absolute; right: -21px; top: 32px; width: 18px; height: 18px;
  stroke: var(--fg-faint); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* The return leg: from the generated result back to the review stage. */
.flow-loop {
  position: relative; margin: var(--s-5) 0 0 auto; width: 42%; min-width: 300px;
  font-size: 13.5px; font-weight: var(--w-read-alt); line-height: 1.45; color: var(--fg-muted);
  border: 1px dashed var(--purple-200); border-radius: var(--r-md);
  padding: 12px 16px 12px 40px; background: var(--purple-50);
}
.flow-loop::before {
  content: ""; position: absolute; left: 16px; top: 50%; margin-top: -5px;
  width: 9px; height: 9px;
  border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
}

@media (max-width: 1080px) {
  .flow-track { grid-template-columns: repeat(3, 1fr); gap: var(--s-5) var(--s-5); }
  /* Stage 3 ends a row, so its arrow would point at nothing. */
  .flow-3 .flow-arrow { display: none; }
  .flow-loop { width: auto; margin-left: 0; }
}

@media (max-width: 760px) {
  .flow-track { grid-template-columns: 1fr; gap: var(--s-6); }
  .flow-stage { padding: var(--s-5); }
  .flow-arrow { display: block; right: 50%; top: auto; bottom: -30px; margin-right: -9px; transform: rotate(90deg); }
  .flow-3 .flow-arrow { display: block; }
  .flow-loop { min-width: 0; }
}

/* --- tile rows ---------------------------------------------------------- */
/* The tiles follow a card grid in the model section, so they need the gap the
   grid does not carry itself. */
.grid + .tile-rows { margin-top: var(--s-6); }
.tile-rows {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: var(--s-3) var(--s-6);
}
.tile-row { display: grid; grid-template-columns: 215px 1fr; gap: var(--s-6); align-items: center; padding: var(--s-5) 0; }
.tile-row + .tile-row { border-top: 1px solid var(--border-soft); }
.tile-label b { display: block; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--fg); }
.tile-label span { display: block; font-size: 13px; font-weight: var(--w-read-alt); line-height: 1.4; color: var(--fg-soft); margin-top: 3px; }
.tile-set { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tile {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--fg-muted);
  padding: 10px 15px; border: 1px solid var(--border); border-radius: 11px;
  background: var(--surface); white-space: nowrap;
}
a.tile-more {
  border-style: dashed; border-color: var(--purple-200); color: var(--primary);
  text-decoration: none; transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
a.tile-more:hover { background: var(--purple-50); border-color: var(--primary); color: var(--primary); }
.tile-note { margin: var(--s-5) 0 0; font-size: var(--t-small); font-weight: var(--w-read-alt); color: var(--fg-soft); }

@media (max-width: 760px) {
  .tile-rows { padding: var(--s-2) var(--s-5); }
  .tile-row { grid-template-columns: 1fr; gap: var(--s-4); }
  .tile { font-size: 13px; padding: 9px 13px; }
}

/* ==========================================================================
   Polish layer (Lovable refresh) — refines spacing, type and surfaces
   without changing the established look.
   ========================================================================== */
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-padding-top: 88px; }
body { font-feature-settings: "ss01", "cv11"; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.02em; }
p, li { text-wrap: pretty; }

/* sticky, softly blurred navigation */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface, #fff) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.nav-link { transition: color .18s ease; }
.nav-panel { box-shadow: 0 24px 48px -16px rgba(36, 29, 62, .22); }

/* buttons: crisper motion and focus */
.btn { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(116, 65, 247, .55); }
.btn:active { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--brand-purple); outline-offset: 3px; border-radius: 6px; }

/* comparison caption / table sits full width of its column */
.tbl-caption { display: block; width: 100%; max-width: none; }
.table-wrap { box-shadow: 0 1px 2px rgba(36,29,62,.04), 0 18px 40px -24px rgba(36,29,62,.25); }

/* cards and images get a gentle lift */
img { max-width: 100%; height: auto; }
.card, [class*="-card"] { transition: transform .22s ease, box-shadow .22s ease; }
.card:hover, [class*="-card"]:hover { transform: translateY(-2px); }

/* form fields */
.field input, .field select, .field textarea { transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-purple); box-shadow: 0 0 0 4px var(--purple-50); outline: none; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
