/* ==========================================================================
   Fidesq site styles
   One stylesheet for every page. Fonts are self-hosted (see privacy notice).
   Sections: 1 Fonts · 2 Tokens · 3 Base · 4 Layout · 5 Nav · 6 Buttons
   7 Hero panels · 8 AEO demo · 9 Sections & type · 10 Cards · 11 Lists
   12 Steps · 13 Toggle · 14 FAQ · 15 Pricing · 16 CTA panel · 17 Footer
   18 Forms · 19 Prose · 20 Projects & profiles · 21 Motion · 22 Utilities
   ========================================================================== */

/* 1 · Fonts ---------------------------------------------------------------- */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/InstrumentSans-Variable.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/InstrumentSerif-Italic.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/InstrumentSerif-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/Geist-Variable.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('../fonts/GeistMono-Variable.woff2') format('woff2'); }

/* 2 · Tokens --------------------------------------------------------------- */
:root {
  --ink: #0B1220;
  --ink-2: #121C30;
  --ink-3: #1A2540;
  --paper: #F4F6F9;
  --white: #FFFFFF;
  --line: #DFE4EC;
  --line-2: #D3D9E3;
  --text: #0B1220;
  --text-2: #3E4859;
  --text-3: #5A6478;
  --on-dark: #EEF1F6;
  --on-dark-2: #C9D0DC;
  --on-dark-3: #A3ADBF;

  --accent: #4F46E5;          /* Fidesq purple (from the original site) */
  --accent-ink: #4338CA;      /* purple text on light backgrounds */
  --accent-soft: #A5B4FC;     /* lavender: accents on dark backgrounds */
  --accent-wash: rgba(99,102,241,0.12);

  --mint: #4FD9A8;
  --mint-ink: #0D6B4C;
  --mint-bg: #E3F7EF;
  --mint-wash: #E9F8F1;
  --mint-line: #A8E3CB;
  --blue-ink: #2A4A9E;
  --blue-bg: #E6EDFF;

  --f-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-disp: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
  --f-serif: 'Instrument Serif', ui-serif, Georgia, 'Times New Roman', serif;
  --f-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 22px;
  --radius-lg: 32px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 9vw, 130px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* 3 · Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
html:has(.tool-bar) { scroll-padding-top: calc(var(--nav-h) + 72px); }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--f-sans); font-size: 17px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-disp); font-weight: 600; letter-spacing: -0.032em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 4 · Layout --------------------------------------------------------------- */
.container { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-tight-top { padding-top: clamp(54px, 6vw, 87px); }
.section-flush-top { padding-top: 0; }
.section-white { background: var(--white); border-block: 1px solid var(--line); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 16px; }
.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); }
.split > :first-child { flex: 1 1 360px; min-width: 0; }
.split > :last-child { flex: 1.4 1 520px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }

/* 5 · Nav ------------------------------------------------------------------ */
:root { --nav-h: 93px; }
@media (max-width: 860px) { :root { --nav-h: 89px; } }
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(244,246,249,.86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(11,18,32,.45); }
.nav-inner { max-width: 1288px; margin: 0 auto; padding: 22px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.brand-mark span { font-family: var(--f-serif); font-style: italic; font-size: 34px; line-height: 1; color: #fff; transform: translate(-1px, -2px); }
.brand-word { font-family: var(--f-serif); font-style: italic; font-size: 32px; line-height: 1; letter-spacing: -0.01em; }
.brand-word i { font-style: normal; color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav-link, .nav-drop-btn { color: var(--text-2); text-decoration: none; transition: color .2s; font: inherit; background: none; border: 0; padding: 10px 0; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.nav-link:hover, .nav-drop-btn:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-dropdown { position: relative; }
.nav-drop-btn svg { transition: transform .2s; }
.nav-dropdown.open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-panel { position: absolute; top: calc(100% + 8px); left: -16px; min-width: 280px; padding: 8px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgba(11,18,32,.35); display: none; }
.nav-dropdown.open .nav-drop-panel { display: block; }
.nav-drop-panel a { display: block; padding: 11px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; }
.nav-drop-panel a small { display: block; font-weight: 400; color: var(--text-3); font-size: 13px; }
.nav-drop-panel a:hover { background: var(--paper); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-menu .nav-cta-mobile { display: none; }
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-inner > .nav-cta { display: none; }
  .nav-menu { display: none; position: absolute; left: 12px; right: 12px; top: 76px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 80px -30px rgba(11,18,32,.4); }
  .nav-menu.open { display: flex; }
  .nav-link, .nav-drop-btn { padding: 14px 12px; width: 100%; justify-content: space-between; font-size: 17px; }
  .nav-drop-panel { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 8px 8px; min-width: 0; }
  .nav-menu .nav-cta-mobile { display: flex; margin-top: 8px; justify-content: center; }
  body.menu-open { overflow: hidden; }
}

/* 6 · Buttons -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--f-sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .2s, border-color .2s; white-space: nowrap; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-xl { min-height: 64px; padding: 0 34px; font-size: 18px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px var(--accent); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -14px rgba(11,18,32,.6); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.18); color: var(--on-dark); font-weight: 500; }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .7; cursor: progress; }
.arr { display: inline-block; transition: transform .25s var(--ease); }
a:hover > .arr, .btn:hover .arr, .card-link:hover .arr { transform: translateX(5px); }
.text-link { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.text-link-dark { font-weight: 600; color: var(--accent-soft); text-decoration: none; }

/* 7 · Hero panels ------------------------------------------------------------ */
.hero-wrap { padding: 0 clamp(10px, 1.6vw, 24px); }
.hero-panel { position: relative; overflow: hidden; max-width: 1392px; margin: 0 auto; border-radius: clamp(20px, 2.4vw, 36px); color: var(--on-dark); background: radial-gradient(1000px 520px at 85% -10%, rgba(99,102,241,.26), transparent 60%), var(--ink); }
.hero-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero-glow { position: absolute; right: -120px; top: 80px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(79,217,168,.14), transparent 65%); pointer-events: none; animation: glow 14s ease-in-out infinite; }
.hero-grid { position: relative; max-width: 1240px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gutter) 0; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 72px); }
.hero-copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero-side { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; font: 400 13px/1.3 var(--f-mono); letter-spacing: .04em; color: var(--on-dark-2); padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(79,217,168,.35); background: rgba(79,217,168,.08); }
.hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: pulse 1.8s ease-in-out infinite; }
.hero-title { font-size: clamp(48px, 6.4vw, 96px); line-height: .98; }
.page-hero .hero-title { font-size: clamp(40px, 5.2vw, 76px); line-height: 1; }
.accent-serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent-soft); }
.hero-sub { max-width: 600px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--on-dark-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-stats { position: relative; max-width: 1240px; margin: clamp(48px, 5vw, 72px) auto 0; padding: 0 var(--gutter) clamp(48px, 5vw, 72px); }
.hero-stats-grid { border-top: 1px solid rgba(255,255,255,.10); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.stat { padding: 32px 28px 0 0; display: flex; flex-direction: column; gap: 8px; }
.stat-num { font-family: var(--f-disp); font-weight: 600; letter-spacing: -0.032em; font-size: clamp(44px, 4.6vw, 64px); line-height: 1; }
.stat-num.is-accent { color: var(--accent-soft); }
.stat-label { font-size: 15px; color: var(--on-dark-2); max-width: 260px; }
.price-card { width: 100%; max-width: 440px; padding: 30px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 100px -40px rgba(0,0,0,.8); display: flex; flex-direction: column; gap: 14px; }
.price-card .price-big { font-family: var(--f-disp); font-weight: 600; font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -0.035em; }
.price-card .price-big s { font-size: .45em; color: var(--on-dark-3); margin-left: 10px; font-weight: 500; }
.price-card p { color: var(--on-dark-2); font-size: 15px; }
.price-card .eyebrow { color: var(--accent-soft); }

/* 8 · AEO demo (homepage hero graphic) -------------------------------------- */
.aeo { width: 100%; max-width: 500px; display: flex; flex-direction: column; gap: 20px; }
.aeo-q { align-self: flex-end; max-width: 400px; padding: 14px 18px; border-radius: 18px 18px 4px 18px; background: var(--ink-3); border: 1px solid rgba(255,255,255,.08); font-size: 17px; line-height: 1.45; }
.aeo-card { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); box-shadow: 0 40px 100px -40px rgba(0,0,0,.8); }
.aeo-label { display: flex; align-items: center; gap: 10px; font: 400 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); }
.aeo-label svg { color: var(--accent-soft); }
.aeo-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft); animation: blink 1.4s ease-in-out infinite; }
.aeo-rows { position: relative; height: 212px; }
.aeo-row { position: absolute; left: 0; right: 0; top: 0; height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-radius: 14px; background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); }
.aeo-row .av { flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.10); }
.aeo-row .nm { flex: 1; font-size: 16px; color: var(--on-dark-2); }
.aeo-row .pill { font: 400 11px/1 var(--f-mono); padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--on-dark-3); }
.aeo-row.is-you { background: rgba(99,102,241,.20); border-color: rgba(165,180,252,.6); box-shadow: 0 16px 40px -18px rgba(99,102,241,.7); }
.aeo-row.is-you .av { background: var(--accent-soft); }
.aeo-row.is-you .nm { font-family: var(--f-disp); font-weight: 600; font-size: 18px; color: var(--on-dark); letter-spacing: -0.02em; }
.aeo-row.is-you .pill { background: var(--accent); color: #fff; }
.aeo-row.r-a { animation: rA 7s cubic-bezier(.6,0,.2,1) infinite; }
.aeo-row.r-b { transform: translateY(74px); animation: rB 7s cubic-bezier(.6,0,.2,1) infinite; }
.aeo-row.is-you { transform: translateY(148px); animation: rYou 7s cubic-bezier(.6,0,.2,1) infinite; }
.aeo-score { display: flex; flex-direction: column; gap: 10px; }
.aeo-score-top { display: flex; align-items: baseline; justify-content: space-between; }
.aeo-score-top .aeo-label { gap: 0; }
.aeo-nums { position: relative; width: 80px; height: 40px; }
.aeo-nums span { position: absolute; right: 0; bottom: 0; font: 600 40px/1 var(--f-disp); letter-spacing: -0.03em; }
.aeo-nums .lo { color: var(--on-dark-2); animation: lo 7s infinite; }
.aeo-nums .hi { color: var(--accent-soft); opacity: 0; animation: hi 7s infinite; }
.aeo-bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); }
.aeo-bar span { display: block; height: 10px; width: 38%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-soft)); animation: bar 7s cubic-bezier(.6,0,.2,1) infinite; }

/* 9 · Sections & type -------------------------------------------------------- */
.eyebrow { font: 400 13px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--accent-soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.section-head > div { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.section-head > p { max-width: 440px; font-size: 17px; color: var(--text-2); }
.h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; }
.h2-sm { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; }
.h3 { font-size: 26px; line-height: 1.12; }
.lede { font-size: 18px; color: var(--text-2); }
.body-2 { color: var(--text-2); }
.prose-block p + p, .prose-block p + ul, .prose-block ul + p, .prose-block ul + ul { margin-top: 16px; }
.prose-block p { color: var(--text-2); font-size: 17px; }
.marquee-band { padding: 26px 0; margin-top: clamp(24px, 3vw, 40px); overflow: hidden; border-block: 1px solid var(--line); white-space: nowrap; }
.marquee { display: inline-flex; gap: 48px; padding-left: 48px; font: 600 clamp(22px, 2.4vw, 32px)/1.2 var(--f-disp); letter-spacing: -0.03em; animation: marquee 36s linear infinite; }
.marquee .star { color: var(--accent); }
.note { padding: 22px 24px; border-radius: 18px; background: var(--accent-wash); border: 1px solid rgba(99,102,241,.25); color: var(--text); font-size: 16px; }
.note strong { font-weight: 600; }
.on-dark .note { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--on-dark-2); }

/* 10 · Cards ----------------------------------------------------------------- */
.card { display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.section-white .card { background: var(--paper); }
.card p { font-size: 16px; color: var(--text-2); }
.card-dark { background: var(--ink) !important; border-color: var(--ink); color: var(--on-dark); }
.card-dark p { color: var(--on-dark-2); }
.card-accent { background: radial-gradient(360px 220px at 100% 0%, rgba(165,180,252,.35), transparent 60%), var(--accent) !important; border-color: var(--accent); color: #fff; box-shadow: 0 30px 70px -36px rgba(79,70,229,.8); }
.card-accent p { color: #E0E7FF; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-num { font: 400 13px/1 var(--f-mono); color: var(--text-3); }
.card-dark .card-num { color: var(--accent-soft); }
.card-accent .card-num { color: rgba(255,255,255,.75); }
.card-title { font-size: 30px; line-height: 1.08; }
.card-link { text-decoration: none; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.card-link:hover { transform: translateY(-6px); border-color: var(--ink); box-shadow: 0 24px 50px -28px rgba(11,18,32,.35); }
.card-link.card-dark:hover { border-color: var(--accent-soft); }
.card-cta { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--ink); }
.card-dark .card-cta { color: var(--accent-soft); }
.svc-card { min-height: 400px; }
.svc-card p { flex: 1; }
.svc-card.card-dark { background: radial-gradient(420px 260px at 100% 0%, rgba(99,102,241,.38), transparent 60%), var(--ink) !important; }
.tag { display: inline-block; font: 400 12px/1.2 var(--f-mono); padding: 5px 11px; border-radius: 999px; background: #EEF1F5; color: var(--text-2); white-space: nowrap; }
.tag-accent { background: var(--accent); color: #fff; }
.tag-mint { background: var(--mint-bg); color: var(--mint-ink); }
.tag-blue { background: var(--blue-bg); color: var(--blue-ink); }
.tag-white { background: #fff; color: var(--accent); }
.tag-onDark { background: rgba(255,255,255,.08); color: var(--on-dark-2); }
@media (max-width: 600px) { .tag { white-space: normal; max-width: 100%; } }
.feature { display: flex; gap: 24px; padding: 32px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.feature .card-num { padding-top: 6px; flex: none; }
.feature > div { display: flex; flex-direction: column; gap: 10px; }
.feature p { font-size: 16px; color: var(--text-2); }
.feature.card-dark .card-num { color: var(--accent-soft); }

/* 11 · Lists ------------------------------------------------------------------ */
.list-plain { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.list-check, .list-cross { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.list-check li, .list-cross li { position: relative; padding-left: 34px; color: var(--text-2); font-size: 16px; }
.list-check li strong, .list-cross li strong { color: var(--ink); font-weight: 600; }
.list-check li::before, .list-cross li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 13px; }
.list-check li::before { background-color: var(--mint-bg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D6B4C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.list-cross li::before { background-color: #F1F3F7; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6478' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.card-dark .list-check li { color: var(--on-dark-2); }
.card-dark .list-check li strong { color: #fff; }
.card-accent .list-check li { color: #E0E7FF; }
.card-accent .list-check li strong { color: #fff; }
.compare-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 16px; }
.compare-list li { display: flex; gap: 20px; padding: 28px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); font-size: 18px; color: #1E2636; }
.compare-list li .card-num { padding-top: 5px; }
.compare-list.is-after li { background: var(--mint-wash); border-color: var(--mint-line); }
.compare-list.is-after li svg { flex: none; color: #0D8A5F; margin-top: 3px; }

/* 12 · Steps ------------------------------------------------------------------- */
.track { position: relative; height: 2px; background: var(--line); margin-bottom: 40px; border-radius: 2px; overflow: hidden; }
.track span { position: absolute; inset: 0; background: var(--accent); transform-origin: left center; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.track.is-visible span, html:not(.js) .track span { transform: scaleX(1); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.section:not(.section-white) .step { background: var(--white); }
.step p { font-size: 16px; color: var(--text-2); }
.step-big { font: 600 64px/1 var(--f-disp); letter-spacing: -0.035em; }
.step.card-accent p { color: #E0E7FF; }

/* 13 · Toggle (before / after) -------------------------------------------------- */
.toggle { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 20px; border-radius: 999px; background: #E6EAF0; border: 1px solid var(--line); }
.toggle button { min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; font: 600 15px/1 var(--f-sans); cursor: pointer; background: transparent; color: var(--text-2); transition: background .25s, color .25s; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.toggle button[data-show="after"][aria-pressed="true"] { background: var(--mint); color: var(--ink); }
.swap-in { animation: swap .5s var(--ease) both; }

/* 14 · FAQ ------------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; font: 600 20px/1.3 var(--f-sans); cursor: pointer; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-ink); }
.faq summary svg { flex: none; transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > div { padding: 0 48px 28px 0; font-size: 17px; color: var(--text-2); animation: swap .4s var(--ease) both; }

/* 15 · Pricing --------------------------------------------------------------------- */
.offer { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.section-white .offer { background: var(--paper); }
.offer-name { font-size: 26px; }
.offer-price { font: 600 44px/1 var(--f-disp); letter-spacing: -0.035em; }
.offer-price s { font-size: .5em; color: var(--text-3); font-weight: 500; margin-left: 8px; }
.offer-note { font-size: 14px; color: var(--text-3); }
.offer p { color: var(--text-2); font-size: 16px; }
.offer.card-dark .offer-note, .offer.card-dark p { color: var(--on-dark-2); }
.offer.card-dark .offer-price s { color: var(--on-dark-3); }

/* 16 · CTA panel -------------------------------------------------------------------- */
.cta-wrap { padding: 0 var(--gutter) clamp(80px, 9vw, 120px); }
.cta-panel { position: relative; overflow: hidden; max-width: 1240px; margin: 0 auto; border-radius: var(--radius-lg); padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 88px); background: radial-gradient(700px 400px at 100% 0%, rgba(165,180,252,.35), transparent 60%), var(--accent); color: #fff; }
.cta-panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; border: 56px solid rgba(255,255,255,.08); pointer-events: none; }
.cta-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; }
.cta-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cta-copy .eyebrow { color: rgba(255,255,255,.78); }
.cta-title { font-size: clamp(40px, 5.6vw, 80px); line-height: .98; }
.cta-copy p { font-size: 19px; max-width: 540px; color: #E0E7FF; }
.cta-copy p a { color: #fff; }
.calendly-slot { position: relative; z-index: 1; }
.calendly-slot.loaded { margin-top: 32px; height: 1080px; background: #fff; border-radius: 20px; overflow: hidden; }
.calendly-slot.loaded > .calendly-inline-widget, .calendly-slot.loaded iframe { width: 100%; height: 100%; }
@media (min-width: 1300px) { .calendly-slot.loaded { height: 780px; } }
.calendly-slot p { margin-top: 16px; color: #E0E7FF; }
.calendly-slot p a { color: #fff; }

/* 17 · Footer ------------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 56px var(--gutter) 40px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.footer-brand .brand-mark { width: 34px; height: 34px; border-radius: 9px; }
.footer-brand .brand-mark span { font-size: 30px; }
.footer-brand .brand-word { font-size: 28px; }
.footer-brand p { font-size: 15px; color: var(--text-2); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 64px; font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .eyebrow { font-size: 12px; color: var(--text-3); }
.footer-col a { color: var(--text-2); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-legal { padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }

/* 18 · Forms ------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea { font: 400 16px/1.4 var(--f-sans); color: var(--ink); background: var(--white); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; width: 100%; }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); }
.hp { position: absolute !important; left: -9999px !important; }
.contact-detail { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-detail .eyebrow { font-size: 12px; color: var(--text-3); }

/* 19 · Prose (privacy etc.) ----------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 48px 0 14px; }
.prose p { color: var(--text-2); margin-bottom: 16px; }
.prose p strong { color: var(--ink); }
.prose a { color: var(--accent-ink); }

/* 20 · Projects & profiles ------------------------------------------------------------ */
.project-card { padding: 0; overflow: hidden; gap: 0; }
.project-card .shot { aspect-ratio: 16 / 10; background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.project-card .shot > a { display: block; height: 100%; }
.project-card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.project-card:hover .shot img { transform: scale(1.03); }
.project-card .shot-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font: 600 48px/1 var(--f-disp); color: var(--accent); background: radial-gradient(circle at 70% 20%, rgba(165,180,252,.35), transparent 60%), var(--accent-wash); }
.project-card .body { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px 28px; flex: 1; }
.project-card .meta { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.status { font: 400 12px/1 var(--f-mono); color: var(--mint-ink); display: inline-flex; align-items: center; gap: 6px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.status.is-dev { color: var(--text-3); }
.status.is-dev::before { background: #C7CEDA; }
.profile { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.profile + .profile { margin-top: 20px; }
.profile-photo { position: relative; flex: 0 0 220px; width: 220px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--line); align-self: flex-start; }
.profile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.profile-photo.vignette img { transform: scale(1.12); }
.profile-photo.vignette::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: linear-gradient(90deg, rgba(11,18,32,.5), rgba(11,18,32,0) 30%, rgba(11,18,32,0) 70%, rgba(11,18,32,.5)), radial-gradient(circle at 50% 45%, rgba(11,18,32,0) 58%, rgba(11,18,32,.35) 100%); }
.profile-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.profile-role { font: 400 13px/1.5 var(--f-mono); color: var(--text-3); }
.profile-body p { color: var(--text-2); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* Project card holding more than one link (e.g. a project plus its free tool) */
.project-card .card-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: auto; padding-top: 6px; }
.project-card .card-links a { font-weight: 600; text-decoration: none; color: var(--ink); }
.project-card .card-links a:hover { color: var(--accent); }
.project-card .card-links a.secondary { font-weight: 500; color: var(--accent-ink); }

/* 21 · Motion ---------------------------------------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@keyframes blink { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes glow { 0%,100% { opacity: .55; transform: translate(0,0) scale(1); } 50% { opacity: .9; transform: translate(-30px,20px) scale(1.08); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rYou { 0%,28% { transform: translateY(148px); } 42%,86% { transform: translateY(0); } 100% { transform: translateY(148px); } }
@keyframes rA { 0%,28% { transform: translateY(0); } 42%,86% { transform: translateY(74px); } 100% { transform: translateY(0); } }
@keyframes rB { 0%,28% { transform: translateY(74px); } 42%,86% { transform: translateY(148px); } 100% { transform: translateY(74px); } }
@keyframes lo { 0%,30% { opacity: 1; } 40%,88% { opacity: 0; } 100% { opacity: 1; } }
@keyframes hi { 0%,30% { opacity: 0; } 40%,88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes bar { 0%,28% { width: 38%; } 42%,86% { width: 86%; } 100% { width: 38%; } }
.hero-in { animation: fadeUp .9s var(--ease) both; }
.hero-in.d1 { animation-delay: .15s; }
/* Scroll reveal: content is visible without JS; site.js adds .js-reveal to <html>. */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .aeo-row.is-you { transform: translateY(0); }
  .aeo-row.r-a { transform: translateY(74px); }
  .aeo-row.r-b { transform: translateY(148px); }
  .aeo-nums .lo { opacity: 0; } .aeo-nums .hi { opacity: 1; }
  .aeo-bar span { width: 86%; }
  .track span { transform: scaleX(1); }
}

/* 22 · Utilities ---------------------------------------------------------------------------- */
.mono { font-family: var(--f-mono); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.disp { font-family: var(--f-disp); font-weight: 600; letter-spacing: -0.032em; }
.on-dark { color: var(--on-dark); }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.center { text-align: center; }
.max-640 { max-width: 640px; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* 23 · Tool pages (ported interactive tools, e.g. /tools/linkedin-network-report/) ------------
   A tool page = site header + .tool-bar (breadcrumb + in-page links) + <main class="tool-scope">
   + .tool-note (the tool's own small print) + site footer. The tool's own CSS is scoped under
   .tool-scope in /assets/css/tools/<slug>.css by scripts/port-live-page.mjs. */
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.tool-bar { border-block: 1px solid var(--line); background: var(--white); position: sticky; top: var(--nav-h); z-index: 40; }
.tool-bar-inner { max-width: 1288px; margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.crumbs { display: flex; align-items: center; gap: 10px; font: 400 13px/1.2 var(--f-mono); color: var(--text-3); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); }
.tool-links { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; font-size: 14px; }
.tool-links a:not(.btn) { color: var(--text-2); text-decoration: none; }
.tool-links a:not(.btn):hover { color: var(--ink); }
.tool-scope { display: block; }
.tool-note { border-top: 1px solid var(--line); background: var(--paper); }
.tool-note .container { padding-block: 28px; display: grid; gap: 8px; font-size: 13px; line-height: 1.6; color: var(--text-3); }
.tool-note p { margin: 0; max-width: 90ch; }
.tool-note a { color: var(--text-2); }
/* Ported tool's own "Next step" section restyled as the site booking panel (port --site-cta).
   Selectors include .tool-scope so they beat the tool's scoped h2/p/.btn rules. */
.tool-scope .tool-cta { background: none; color: inherit; padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(80px, 9vw, 120px); }
.tool-scope .tool-cta .cta-panel > div:not(.calendly-slot) { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.tool-scope .tool-cta .cta-panel > div[style*="display:none"], .tool-scope .tool-cta .cta-panel > div[style*="display: none"] { display: none; }
.tool-scope .tool-cta .k { font: 400 13px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.tool-scope .tool-cta h2 { font: 600 clamp(40px, 5.6vw, 80px)/.98 var(--f-disp); letter-spacing: -0.035em; color: #fff; margin: 0; }
.tool-scope .tool-cta p, .tool-scope .tool-cta .sub { font: 400 19px/1.55 var(--f-sans); color: #E0E7FF; max-width: 600px; margin: 0; }
.tool-scope .tool-cta p a { color: #fff; }
.tool-scope .tool-cta .btn { min-height: 56px; padding: 0 28px; font: 600 17px/1 var(--f-sans); border-radius: 999px; border: 0; background: var(--ink); color: #fff; }
.tool-scope .tool-cta .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -14px rgba(11,18,32,.6); color: #fff; }
.tool-scope .tool-cta .calendly-slot { position: relative; z-index: 1; }

@media (max-width: 700px) {
  .tool-bar { position: static; }
  .tool-links a:not(.btn) { display: none; }
}
@media print {
  .site-nav, .site-footer, .tool-bar, .cta-wrap { display: none !important; }
}
