/* =========================================================
   AutoBlur — marketing site
   Visual language modelled on n8n.io:
   coral accent (#EA4B71) on ink navy (#101330), warm paper
   surfaces, hairline-bordered cards, mono eyebrows and a
   node-graph motif borrowed from the workflow canvas.
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  --ink:        #101330;
  --ink-soft:   #2a2d4a;
  --muted:      #6c7086;
  --muted-2:    #9296a8;

  --paper:      #ffffff;
  --paper-2:    #faf8f5;
  --paper-3:    #f3f0eb;
  --line:       #e6e2da;
  --line-strong:#d6d1c7;

  --coral:      #ea4b71;
  --coral-ink:  #c93357;
  --coral-wash: #fdeef2;
  --violet:     #7c5cff;
  --mint:       #16b98a;
  --amber:      #f0a23c;

  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  22px;

  --shadow-sm:  0 1px 2px rgba(16,19,48,.05);
  --shadow:     0 12px 32px -18px rgba(16,19,48,.35);
  --shadow-lg:  0 40px 80px -40px rgba(16,19,48,.45);

  --wrap:       1180px;
  --gutter:     24px;

  --sans: "Inter Tight", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas,
          "Liberation Mono", monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 640; letter-spacing: -.022em; line-height: 1.1; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

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

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section       { padding-block: 104px; }
.section--tight{ padding-block: 72px; }
.section--paper{ background: var(--paper-2); }
.section--line { border-top: 1px solid var(--line); }

.stack   { display: grid; gap: 18px; }
.center  { text-align: center; }
.center .section-head { margin-inline: auto; }

.section-head { max-width: 720px; display: grid; gap: 16px; margin-bottom: 52px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* ---------- type scale ---------- */
.display   { font-size: clamp(40px, 6vw, 68px); letter-spacing: -.035em; line-height: 1.02; }
.h1        { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -.03em; }
.h2        { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.028em; }
.h3        { font-size: 21px; letter-spacing: -.018em; }
.lead      { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); line-height: 1.55; }
.small     { font-size: 14px; }
.muted     { color: var(--muted); }

.hl        { color: var(--coral); }
.hl-mark   {
  background-image: linear-gradient(transparent 62%, rgba(234,75,113,.28) 62%);
  padding-inline: 2px;
}

/* mono eyebrow — n8n's little label above every section */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--coral);
  flex: none;
}
.on-dark .eyebrow { color: #ff8ba6; }
.on-dark .eyebrow::before { background: #ff8ba6; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--coral);
  --btn-fg: #fff;
  --btn-bd: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover     { background: var(--coral-ink); border-color: var(--coral-ink); transform: translateY(-1px); }
.btn:active    { transform: translateY(0); }
.btn svg       { width: 17px; height: 17px; }

.btn--ghost    { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.btn--light    { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.3); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }

.btn--lg       { padding: 16px 28px; font-size: 16px; }
.btn--sm       { padding: 9px 15px; font-size: 14px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 540; font-size: 15px; color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: gap .15s ease, color .15s ease;
}
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover { color: var(--coral); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- pills / chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px; font-weight: 520; color: var(--ink-soft);
}
.on-dark .pill {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.82);
  backdrop-filter: blur(6px);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); flex: none; }
.pill .dot--coral { background: var(--coral); }

.tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 5px;
  padding: 3px 7px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 640; letter-spacing: -.03em; font-size: 20px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--coral);
  display: grid; place-items: center;
  box-shadow: 0 4px 12px -4px rgba(234,75,113,.7);
}
.brand-mark svg { width: 17px; height: 17px; }
/* wordmark lockup: light "auto" + heavy "blur", works on light and dark */
.brand > span { font-weight: 480; letter-spacing: -.028em; }
.brand > span b { font-weight: 680; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nav-links > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 12px; border-radius: 7px;
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  transition: background .14s ease, color .14s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { background: var(--paper-3); color: var(--ink); }
.nav-link .caret { width: 9px; height: 9px; opacity: .5; }

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

/* dropdown */
.has-menu > .menu {
  position: absolute; top: calc(100% + 10px); left: -8px;
  min-width: 316px; padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-menu:hover > .menu,
.has-menu:focus-within > .menu { opacity: 1; visibility: visible; transform: translateY(0); }
/* specificity must beat `.has-menu > .menu` above */
.has-menu > .menu--wide { grid-template-columns: 1fr 1fr; min-width: 680px; left: -180px; }
.has-menu > .menu--wide .menu-full { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.menu a { display: flex; gap: 11px; padding: 10px; border-radius: 9px; transition: background .14s ease; }
.menu a:hover { background: var(--paper-2); }
.menu .mi-ic {
  width: 32px; height: 32px; flex: none; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--coral-wash); color: var(--coral);
}
.menu .mi-ic svg { width: 16px; height: 16px; }
.menu strong { display: block; font-size: 14.5px; font-weight: 570; }
.menu small  { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }

.nav-toggle {
  display: none; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--paper); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 16px; height: 1.5px; background: var(--ink);
  margin-inline: auto; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { content: ""; position: absolute; top: -5px; }
.nav-toggle span::after  { content: ""; position: absolute; top: 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-5px) rotate(-45deg); }

/* ---------- dark surfaces ---------- */
.on-dark {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.on-dark .lead, .on-dark .muted { color: rgba(255,255,255,.62); }
.on-dark .section-head p { color: rgba(255,255,255,.62); }

/* dotted canvas grid — the n8n workflow board */
.dots::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 78%);
  pointer-events: none;
}
.dots--light::before { background-image: radial-gradient(rgba(16,19,48,.10) 1px, transparent 1px); }

.glow::after {
  content: "";
  position: absolute; z-index: 0;
  width: 900px; height: 620px;
  left: 50%; top: -220px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(234,75,113,.42), rgba(124,92,255,.16) 42%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.on-dark > .wrap { position: relative; z-index: 1; }

/* ---------- hero ---------- */
.hero { padding-block: 96px 0; }
.hero-grid {
  display: grid; gap: 56px;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
}
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy .display { max-width: 13ch; }
.hero-copy .lead { max-width: 52ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; font-size: 14px; color: rgba(255,255,255,.6); }
.hero-meta .ok { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .ok svg { width: 15px; height: 15px; color: var(--mint); }

.hero-strip {
  margin-top: 84px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 26px 34px;
  display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center;
  font-size: 13.5px; color: rgba(255,255,255,.52);
}
.hero-strip .label { font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; }
.hero-strip ul { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-strip li { display: inline-flex; align-items: center; gap: 8px; }
.hero-strip li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.35); }

/* ---------- workflow / node graph motif ---------- */
.canvas {
  position: relative;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.canvas--light {
  border-color: var(--line);
  background:
    radial-gradient(rgba(16,19,48,.09) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--paper);
}
.canvas-bar {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 16px; margin-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}
.canvas--light .canvas-bar { border-color: var(--line); color: var(--muted); }
.canvas-bar .lights { display: flex; gap: 5px; margin-right: 6px; }
.canvas-bar .lights i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22); }
.canvas--light .canvas-bar .lights i { background: var(--line-strong); }
.canvas-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--mint); }
.canvas-bar .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.flow { display: grid; gap: 0; padding: 6px 2px 2px; }
.flow-node {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(16,19,48,.72);
  backdrop-filter: blur(4px);
}
.canvas--light .flow-node { border-color: var(--line); background: var(--paper); box-shadow: var(--shadow-sm); }
.flow-node .n-ic {
  width: 34px; height: 34px; flex: none; border-radius: 9px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--coral), #ff7d9b);
}
.flow-node .n-ic svg { width: 17px; height: 17px; }
.flow-node .n-ic--violet { background: linear-gradient(140deg, var(--violet), #a48bff); }
.flow-node .n-ic--mint   { background: linear-gradient(140deg, var(--mint), #4ddcb2); }
.flow-node .n-ic--amber  { background: linear-gradient(140deg, var(--amber), #ffc978); }
.flow-node .n-body { min-width: 0; }
.flow-node strong { display: block; font-size: 14.5px; font-weight: 570; letter-spacing: -.012em; }
.flow-node small  { display: block; font-size: 12.5px; color: rgba(255,255,255,.5); }
.canvas--light .flow-node small { color: var(--muted); }
.flow-node .n-state {
  margin-left: auto; flex: none;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--mint);
  border: 1px solid rgba(22,185,138,.4);
  border-radius: 5px; padding: 2px 6px;
}
.flow-wire {
  width: 2px; height: 26px; margin-left: 32px;
  background-image: linear-gradient(rgba(234,75,113,.85) 55%, transparent 0);
  background-size: 2px 9px;
  animation: wire 1.1s linear infinite;
}
.canvas--light .flow-wire { background-image: linear-gradient(rgba(234,75,113,.75) 55%, transparent 0); }
@keyframes wire { to { background-position-y: 9px; } }

@media (prefers-reduced-motion: reduce) {
  .flow-wire, .canvas-bar .live i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- before / after ---------- */
.ba {
  position: relative; overflow: hidden;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.14);
  aspect-ratio: 16 / 10;
  background: #1a1d3a;
}
.canvas--light .ba { border-color: var(--line); }
.ba-half { position: absolute; inset: 0; display: grid; place-items: center; }
.ba-half svg { width: 100%; height: 100%; }
.ba-clip { clip-path: inset(0 0 0 52%); }
.ba-line {
  position: absolute; top: 0; bottom: 0; left: 52%;
  width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(16,19,48,.25);
}
.ba-line::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 6px 18px -6px rgba(16,19,48,.6);
}
.ba-tag {
  position: absolute; bottom: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(16,19,48,.72); color: #fff;
  border-radius: 5px; padding: 4px 8px; backdrop-filter: blur(4px);
}
.ba-tag--l { left: 10px; }
.ba-tag--r { right: 10px; background: var(--coral); }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  display: grid; gap: 13px; align-content: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow); }
a.card:hover { border-color: var(--coral); }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.card .h3 { font-size: 19px; }

.card-ic {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--coral-wash); color: var(--coral);
  border: 1px solid rgba(234,75,113,.16);
}
.card-ic svg { width: 20px; height: 20px; }
.card-ic--violet { background: #f1edff; color: var(--violet); border-color: rgba(124,92,255,.16); }
.card-ic--mint   { background: #e6f8f2; color: var(--mint);   border-color: rgba(22,185,138,.18); }
.card-ic--amber  { background: #fdf2e2; color: #c8791d;       border-color: rgba(240,162,60,.22); }

.card--dark {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.13);
}
.card--dark:hover { border-color: rgba(255,255,255,.28); }
.card--dark p { color: rgba(255,255,255,.6); }

.card-foot { margin-top: 4px; }

/* tool card with mini preview */
.tool-card { padding: 0; overflow: hidden; }
.tool-card .tc-art {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  display: grid; place-items: center;
}
.tool-card .tc-art svg { width: 100%; height: 100%; }
.tool-card .tc-body { display: grid; gap: 11px; padding: 22px 24px 26px; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.step {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  display: grid; gap: 11px; align-content: start;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  color: var(--coral);
}
.step p { color: var(--muted); font-size: 15.5px; }
.steps--connected .step:not(:last-child)::after {
  content: "";
  position: absolute; top: 50%; right: -20px; width: 20px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 4px, transparent 4px 8px);
}

/* ---------- feature split ---------- */
.split {
  display: grid; gap: 60px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}
.split--flip .split-media { order: -1; }
.split-copy { display: grid; gap: 20px; justify-items: start; }
.split-copy ul.checks { display: grid; gap: 12px; }

/* NB: not a flex row — inline <b> inside a bullet must stay in text flow. */
ul.checks li { position: relative; padding-left: 31px; font-size: 15.5px; color: var(--muted); line-height: 1.55; }
ul.checks li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--coral-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea4b71' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
ul.checks li b { color: var(--ink); font-weight: 560; }
.on-dark ul.checks li { color: rgba(255,255,255,.66); }
.on-dark ul.checks li b { color: #fff; }
.on-dark ul.checks li::before { background-color: rgba(234,75,113,.18); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--paper); padding: 30px 26px; display: grid; gap: 6px; }
.stat b { font-size: 34px; font-weight: 640; letter-spacing: -.03em; }
.stat span { font-size: 14.5px; color: var(--muted); }
.on-dark .stats { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); }
.on-dark .stat { background: var(--ink); }
.on-dark .stat span { color: rgba(255,255,255,.55); }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15.5px; }
table.cmp th, table.cmp td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { font-size: 13px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; background: var(--paper-2); }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td:first-child { font-weight: 550; }
table.cmp .yes { color: var(--mint); font-weight: 600; }
table.cmp .no  { color: var(--muted-2); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; align-items: start; }
.plan { display: grid; gap: 20px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.plan--featured { border-color: var(--coral); box-shadow: 0 24px 60px -34px rgba(234,75,113,.55); }
.plan-head { display: grid; gap: 8px; }
.plan-head .h3 { display: flex; align-items: center; gap: 10px; }
.plan-badge { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--coral); border-radius: 5px; padding: 3px 7px; }
.price { display: flex; align-items: baseline; gap: 7px; }
.price b { font-size: 42px; font-weight: 650; letter-spacing: -.035em; }
.price span { color: var(--muted); font-size: 14.5px; }
.plan ul.checks li { font-size: 15px; }

/* ---------- testimonials ---------- */
.quote { display: grid; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.quote p { font-size: 16.5px; line-height: 1.6; }
.quote p::before { content: "“"; color: var(--coral); font-size: 26px; line-height: 0; vertical-align: -4px; margin-right: 2px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 600; color: #fff;
  background: linear-gradient(140deg, var(--coral), var(--violet));
}
.quote figcaption b { display: block; font-size: 14.5px; font-weight: 570; }
.quote figcaption small { display: block; font-size: 13px; color: var(--muted); }
.stars { display: flex; gap: 2px; color: var(--amber); }
.stars svg { width: 15px; height: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-size: 16.5px; font-weight: 550; letter-spacing: -.012em;
  transition: background .14s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--paper-2); }
.faq summary::after {
  content: ""; margin-left: auto; flex: none;
  width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101330' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--coral); }
.faq .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; max-width: 78ch; }
.faq .faq-body p + p { margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 66px 40px; text-align: center; background: var(--ink); color: #fff; }
.cta-band .inner { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: center; max-width: 660px; margin-inline: auto; }
.cta-band .lead { color: rgba(255,255,255,.65); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); padding-block: 70px 34px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.footer-brand { display: grid; gap: 16px; align-content: start; max-width: 300px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: 14.5px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.42); font-weight: 500; margin-bottom: 14px; }
.footer-col li + li { margin-top: 9px; }
.footer-col a { font-size: 14.5px; transition: color .14s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 52px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center;
  font-size: 13.5px;
}
.footer-bottom .sep { margin-left: auto; display: flex; gap: 18px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; transition: background .14s ease, border-color .14s ease; }
.socials a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.socials svg { width: 16px; height: 16px; }

/* ---------- breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: rgba(255,255,255,.5); }
.crumbs a:hover { color: #fff; }
.crumbs .sepr { opacity: .45; }

/* ---------- reveal ---------- */
/* Only hide when scripting is available to bring it back. */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* anchor targets clear the sticky header */
[id] { scroll-margin-top: 88px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy .display { max-width: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding-block: 72px; }
  .nav { gap: 12px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .has-menu > .menu,
  .has-menu > .menu--wide {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; left: auto;
    grid-template-columns: 1fr;
    display: none;
  }
  .has-menu.open > .menu--wide { display: grid; }
  .has-menu > .menu--wide .menu-full { border-top: 0; margin-top: 0; padding-top: 0; }
  .has-menu.open > .menu { display: grid; }
  .nav-actions .btn--ghost { display: none; }
  .grid-3, .grid-2, .grid-4, .steps, .plans { grid-template-columns: 1fr; }
  .steps--connected .step:not(:last-child)::after { display: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--flip .split-media { order: 0; }
  .cta-band { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom .sep { margin-left: 0; flex-wrap: wrap; }
}

@media (max-width: 520px) {
  :root { --gutter: 18px; }
  .stats { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .hero { padding-block: 64px 0; }

  /* keep the header on one line at phone widths */
  .brand { font-size: 18px; }
  .nav-actions .btn--sm { padding: 9px 12px; }
  .nav-links { top: 68px; }
}
