/* ============================================================
   AgentsHub theme — friendly-modern design system
   Single-file CSS. No framework. Vanilla custom properties.
   Load via: <link href="{{'assets/css/style.css'|theme}}" rel="stylesheet">
   ============================================================ */

/* ------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------ */
:root {
  /* Surfaces */
  --bg-base:        #FAF6F1;
  --bg-card:        #FFFFFF;
  --bg-muted:       #F0EBE2;
  --bg-deep:        #15140F;
  --bg-cyan-soft:   #E1F2F9;
  --bg-peach-soft:  #FBE4D2;

  /* Ink */
  --ink-primary:    #15140F;
  --ink-secondary:  #5C5A52;
  --ink-tertiary:   #8E8B80;
  --ink-inverse:    #FAF6F1;
  --border-soft:    #E9E2D4;
  --border-strong:  #15140F;

  /* Brand accents */
  --brand-cyan:     #3EAFD8;
  --brand-cyan-ink: #1F7DA0;
  --brand-cyan-deep:#1A6886;
  --brand-peach:    #FFC9A0;
  --brand-peach-deep:#E8775E;

  /* State */
  --success:        #4EB76E;
  --danger:         #BF5329;
  --warning:        #D9A441;

  /* Type */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Playfair Display", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Type scale (clamp = mobile→desktop) */
  --fs-display:  clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem);
  --fs-hero:     clamp(2.2rem, 1.4rem + 3.6vw, 4.2rem);
  --fs-h1:       clamp(2rem,   1.4rem + 2.4vw, 3.4rem);
  --fs-h2:       clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem);
  --fs-h3:       clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  --fs-h4:       1.2rem;
  --fs-lead:     clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  --fs-body:     1rem;
  --fs-small:    0.875rem;
  --fs-mono:     0.78rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 0 rgba(20,20,15,.04), 0 2px 6px -2px rgba(20,20,15,.04);
  --shadow-md: 0 1px 0 rgba(20,20,15,.05), 0 12px 24px -16px rgba(20,20,15,.10);
  --shadow-lg: 0 1px 0 rgba(20,20,15,.06), 0 24px 48px -32px rgba(20,20,15,.16);
  --shadow-xl: 0 1px 0 rgba(20,20,15,.06), 0 40px 80px -40px rgba(20,20,15,.24);
  --shadow-cyan: 0 12px 40px -16px rgba(62,175,216,.45);

  /* Container */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);

  /* Motion */
  --ease-out: cubic-bezier(.2, .65, .25, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: 180ms;
  --dur-base: 280ms;
  --dur-slow: 480ms;
}

/* ------------------------------------------------------------
   2. Reset + base
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* Body grows with content. Avoid `height: 100%` — it caps sticky parents
   and causes the pill nav to lose stickiness past the first viewport. */
html { min-height: 100vh; }
body { min-height: 100vh; }
html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-primary);
  background: var(--bg-base);
  font-feature-settings: "ss01", "cv11";
  -webkit-tap-highlight-color: transparent;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--brand-cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-cyan); color: #fff; }

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4 { font-size: var(--fs-h4); line-height: 1.25; letter-spacing: -0.01em; }
p { line-height: 1.65; color: var(--ink-secondary); }
.lead { font-size: var(--fs-lead); color: var(--ink-secondary); line-height: 1.55; }
em, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.04em; text-transform: uppercase; }

/* ------------------------------------------------------------
   3. Layout primitives
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-wide { max-width: 1360px; }
.container-narrow { max-width: 880px; }

.section {
  padding-block: clamp(3.5rem, 6vw + 2rem, 7.5rem);
  position: relative;
}
.section-tight { padding-block: clamp(2.5rem, 4vw + 1rem, 4.5rem); }
.section--muted { background: var(--bg-muted); }
.section--cyan { background: var(--bg-cyan-soft); }
.section--peach { background: var(--bg-peach-soft); }
.section--dark { background: var(--bg-deep); color: var(--ink-inverse); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--ink-inverse); }
.section--dark p { color: rgba(250,246,241,.72); }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-cyan-deep);
  margin-bottom: 1.25rem;
}
.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section-title {
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 22ch;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: var(--fs-lead);
  color: var(--ink-secondary);
  max-width: 60ch;
  line-height: 1.55;
}
.section-header { margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section-header--center { text-align: center; margin-inline: auto; }
.section-header--center .section-eyebrow { justify-content: center; }
.section-header--center .section-title,
.section-header--center .section-subtitle { margin-inline: auto; }

/* ------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
  user-select: none;
  border: 1.5px solid transparent;
}
.btn-icon { width: 1.05em; height: 1.05em; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .btn-icon { transform: translateX(3px); }

.btn--primary {
  background: var(--ink-primary);
  color: var(--ink-inverse);
}
.btn--primary:hover {
  transform: translateY(-2px) rotate(-0.4deg);
  box-shadow: 0 0 0 4px var(--brand-cyan), 0 16px 32px -16px rgba(20,20,15,.32);
}
.btn--primary:active { transform: translateY(0); }

.btn--cyan {
  background: var(--brand-cyan);
  color: #fff;
}
.btn--cyan:hover {
  background: var(--brand-cyan-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
}

.btn--peach {
  background: var(--brand-peach-deep);
  color: #fff;
}
.btn--peach:hover {
  transform: translateY(-2px) rotate(-0.4deg);
  box-shadow: 0 16px 32px -16px rgba(232,119,94,.5);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-primary);
  border-color: var(--border-soft);
}
.btn--ghost:hover {
  background: var(--bg-card);
  border-color: var(--ink-primary);
  transform: translateY(-2px);
}

.btn--lg { padding: 1.1rem 1.85rem; font-size: 1.05rem; }
.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.875rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* Button group */
.btn-group { display: inline-flex; flex-wrap: wrap; gap: 0.75rem; }

/* Plain text link */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-primary);
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
}
.tlink::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.tlink:hover::after { transform: scaleX(1); }
.tlink--cyan { color: var(--brand-cyan-ink); }

/* ------------------------------------------------------------
   5. Cards
   ------------------------------------------------------------ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.card--lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(62,175,216,.4);
}
.card--soft {
  background: var(--bg-card);
  border: 1px solid transparent;
  box-shadow: var(--shadow-md);
}
.card--bare { background: transparent; border: 0; padding: 0; }

/* Icon bubble (for service cards) */
.iconbubble {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-peach-soft);
  color: var(--brand-peach-deep);
  margin-bottom: 1.25rem;
}
.iconbubble--cyan { background: var(--bg-cyan-soft); color: var(--brand-cyan-deep); }
.iconbubble--ink { background: var(--ink-primary); color: var(--ink-inverse); }
.iconbubble svg { width: 28px; height: 28px; }

/* ------------------------------------------------------------
   6. Tags / pills
   ------------------------------------------------------------ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-secondary);
}
.pill--cyan { background: var(--bg-cyan-soft); border-color: transparent; color: var(--brand-cyan-deep); }
.pill--peach { background: var(--bg-peach-soft); border-color: transparent; color: var(--brand-peach-deep); }
.pill--ink { background: var(--ink-primary); border-color: transparent; color: var(--ink-inverse); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Badge w/ avatar */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem 0.3rem 0.3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}
.badge img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

/* ------------------------------------------------------------
   7. Forms
   ------------------------------------------------------------ */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label,
.field .label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-primary);
  letter-spacing: -0.005em;
}
.field .hint { font-size: 0.78rem; color: var(--ink-tertiary); margin-top: 0.15rem; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--ink-primary);
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  font-size: 1rem;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-tertiary); }
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: var(--ink-tertiary); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgba(62,175,216,.16);
}
.field textarea { resize: vertical; min-height: 140px; }

.form-status {
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 500;
}
.form-status--loading { background: var(--bg-muted); color: var(--ink-secondary); }
.form-status--error { background: #FBE6E0; color: var(--danger); }
.form-status--success { background: #DEF1E5; color: #1F7E45; }
.form-status[hidden] { display: none; }

/* Inline newsletter (single-line) */
.form-inline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.4rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-full);
  max-width: 480px;
}
.form-inline input {
  border: 0;
  padding: 0.7rem 1rem;
  background: transparent;
  border-radius: var(--radius-full);
}
.form-inline input:focus { outline: 0; box-shadow: none; }
.form-inline button {
  border-radius: var(--radius-full);
  padding: 0.65rem 1.2rem;
  background: var(--ink-primary);
  color: var(--ink-inverse);
  font-weight: 600;
}
.form-inline button:hover { background: var(--brand-cyan-deep); }

/* Checkbox / radio */
.checkbox, .radio {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.5;
}
.checkbox input, .radio input {
  width: 18px; height: 18px; flex: 0 0 18px;
  margin-top: 2px;
  accent-color: var(--brand-cyan);
}

/* ------------------------------------------------------------
   8. Top thin promo bar
   ------------------------------------------------------------ */
.topbar {
  background: var(--ink-primary);
  color: var(--ink-inverse);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.topbar a { color: inherit; }
.topbar a:hover { color: var(--brand-cyan); }
.topbar .dot { display: inline-block; margin-inline: 0.6rem; opacity: 0.4; }

/* ------------------------------------------------------------
   9. Header / Floating pill nav (Cal.com style)
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 1rem;
  z-index: 50;
  padding: 0 1rem;
  margin-top: 1rem;
  pointer-events: none;
}
.site-header__inner {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
  height: 60px;
  padding: 0 0.5rem 0 1.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 1px 2px rgba(20,20,15,0.04),
    0 12px 32px -16px rgba(20,20,15,0.18);
  transition: box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled .site-header__inner {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 4px 8px rgba(20,20,15,0.05),
    0 20px 48px -20px rgba(20,20,15,0.22);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.site-logo img { height: 26px; width: auto; }
.site-logo .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(62,175,216,.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  justify-self: center;
}
.site-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  color: var(--ink-secondary);
  font-weight: 500;
  transition: color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.site-nav a:hover { color: var(--ink-primary); background: var(--bg-muted); }
.site-nav a.is-active { color: var(--ink-primary); }
.site-nav .nav-cta--mobile-only { display: none; }

.site-header__cta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-signin {
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  color: var(--ink-secondary);
  font-weight: 500;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-signin:hover { color: var(--ink-primary); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.05rem;
  background: var(--ink-primary);
  color: var(--ink-inverse);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.nav-cta svg { width: 14px; height: 14px; flex: 0 0 14px; }
.nav-cta:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-soft);
  align-items: center;
  justify-content: center;
  background: transparent;
  justify-self: end;
}
.nav-toggle:hover { background: var(--bg-muted); }
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  display: block;
  width: 16px;
  height: 1.8px;
  background: var(--ink-primary);
  border-radius: 2px;
  position: relative;
  transition: transform var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle .bars::before { position: absolute; top: -5px; }
.nav-toggle .bars::after  { position: absolute; top: 5px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    height: 58px;
    padding: 0 0.6rem 0 1.25rem;
    gap: 0.5rem;
  }
  .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 0;
    padding: 6rem var(--gutter) 6rem;
    background: var(--bg-base);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--dur-base) var(--ease-out);
    visibility: hidden;
    z-index: 60;
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav a {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    border-bottom: 1px solid var(--border-soft);
  }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav .nav-cta--mobile-only {
    display: inline-flex;
    justify-content: center;
    margin-top: 1.25rem;
    padding: 1rem 1.5rem;
    text-align: center;
    border-radius: var(--radius-full);
  }
}

/* ------------------------------------------------------------
   10. Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--bg-deep);
  color: rgba(250,246,241,.7);
  padding-top: clamp(3.5rem, 5vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(62,175,216,.32), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem 2rem;
  position: relative;
}
@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}
.site-footer h4 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.site-footer a { color: rgba(250,246,241,.7); }
.site-footer a:hover { color: #fff; }
.site-footer__brand img { height: 26px; filter: brightness(0) invert(1); margin-bottom: 1.25rem; }
.site-footer__brand p { color: rgba(250,246,241,.6); font-size: 0.92rem; line-height: 1.7; }
.site-footer__brand strong { color: #fff; font-weight: 600; }

.site-footer__links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__links a { font-size: 0.92rem; }

.social-icons { display: flex; gap: 0.65rem; }
.social-icons a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(250,246,241,.06);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(250,246,241,.1);
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.social-icons a:hover {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
  color: #fff;
  transform: translateY(-2px);
}
.social-icons svg { width: 18px; height: 18px; }

.site-footer__bottom {
  position: relative;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(250,246,241,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(250,246,241,.5);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ------------------------------------------------------------
   11. Hero (homepage)
   ------------------------------------------------------------ */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 4vw + 2rem, 5.5rem) clamp(3rem, 5vw + 2rem, 6rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
}
.hero h1 {
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  color: var(--brand-cyan-ink);
  display: inline-block;
}
.hero .lead {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  max-width: 36ch;
  margin-bottom: 2rem;
  color: var(--ink-secondary);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}
.hero__stat { display: flex; flex-direction: column; gap: 0.15rem; }
.hero__stat .num { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }
.hero__stat .lbl { font-size: 0.78rem; color: var(--ink-tertiary); }

/* Hero visual — abstract illustration card */
.hero__visual {
  position: relative;
  aspect-ratio: 1.05;
  border-radius: var(--radius-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero__visual::before {
  content: "";
  position: absolute;
  width: 60%; height: 60%;
  top: -10%; right: -10%;
  background: radial-gradient(circle, var(--brand-peach), transparent 65%);
  filter: blur(20px);
  opacity: 0.85;
  z-index: 0;
}
.hero__visual::after {
  content: "";
  position: absolute;
  width: 70%; height: 70%;
  bottom: -15%; left: -10%;
  background: radial-gradient(circle, var(--brand-cyan), transparent 65%);
  filter: blur(24px);
  opacity: 0.75;
  z-index: 0;
}
.hero__visual > * { position: relative; z-index: 1; }
.hero__visual svg { width: 100%; height: 100%; }

/* Floating mini-cards inside hero visual */
.hero__chip {
  position: absolute;
  z-index: 2;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 0.7rem 0.95rem;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}
.hero__chip svg { width: 22px; height: 22px; flex: 0 0 22px; }
.hero__chip--top { top: 4%; left: 4%; animation-delay: -2s; }
.hero__chip--mid { top: 42%; right: 4%; animation-delay: -4s; }
.hero__chip--bot { bottom: 4%; right: 4%; }
.hero__chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Decorative ambient blobs (parent: any .section) */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.4;
}
.blob--peach { background: var(--brand-peach); }
.blob--cyan { background: var(--brand-cyan); }
.section > .container { position: relative; z-index: 1; }

/* Home: ambient gradient that bleeds behind page content but stays
   under the floating pill nav (which has its own z-index: 50 stacking
   context, so it always paints on top regardless). */
body.page--home::before,
body.page--home::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  border-radius: 50%;
}
body.page--home::before {
  width: 60vw; height: 70vh;
  top: -25vh; right: -15vw;
  background: radial-gradient(circle, var(--brand-peach), transparent 65%);
  opacity: 0.55;
}
body.page--home::after {
  width: 50vw; height: 60vh;
  top: -20vh; left: -15vw;
  background: radial-gradient(circle, var(--brand-cyan), transparent 65%);
  opacity: 0.35;
}

/* ------------------------------------------------------------
   12. Marquee (clients/tools strip)
   ------------------------------------------------------------ */
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  align-items: center;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item img {
  height: 30px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity var(--dur-base) var(--ease-out),
              filter var(--dur-base) var(--ease-out);
}
/* Per-logo visual cap-height calibration.
   PNGs are tightly cropped (no padding to trim) — different wordmark aspect
   ratios mean a uniform px height reads as wildly different sizes. Tune each
   so capital letters look optically equal in the marquee. */
.marquee__item img[alt="Anthropic"]  { height: 22px; }  /* 8.89:1 — wide wordmark */
.marquee__item img[alt="ElevenLabs"] { height: 22px; }  /* 7.71:1 — wide wordmark */
.marquee__item img[alt="OpenAI"]     { height: 30px; }  /* 4.04:1 */
.marquee__item img[alt="Voiceflow"]  { height: 30px; }  /* 3.86:1 */
.marquee__item img[alt="Python"]     { height: 30px; }  /* 1:1 — square icon */
.marquee__item img[alt="Zoye"]       { height: 28px; }  /* 3.71:1 — wordmark */
.marquee__item img[alt="n8n"]        { height: 36px; }  /* 3.69:1 — compact */
.marquee__item:hover img { opacity: 1; filter: grayscale(0%); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ------------------------------------------------------------
   13. Service / feature grid
   ------------------------------------------------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 1024px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(62,175,216,0.3);
}
.feature h4 { font-size: 1.1rem; line-height: 1.25; }
.feature h4 a { color: inherit; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size var(--dur-base) var(--ease-out); }
.feature:hover h4 a { background-size: 100% 1px; }
.feature p { font-size: 0.92rem; color: var(--ink-secondary); line-height: 1.6; flex: 1; }
.feature__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-cyan-ink);
  margin-top: 0.5rem;
}
.feature__more svg { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease-out); }
.feature:hover .feature__more svg { transform: translateX(3px); }

/* ------------------------------------------------------------
   14. Inline CTA bar
   ------------------------------------------------------------ */
.cta-bar {
  background: var(--bg-muted);
  border-radius: var(--radius-2xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .cta-bar { grid-template-columns: 1fr; text-align: center; } }
.cta-bar h3 { font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); margin-bottom: 0.65rem; max-width: 24ch; }
.cta-bar p { color: var(--ink-secondary); max-width: 60ch; }
.cta-bar .badge-num {
  position: absolute;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(8rem, 14vw, 18rem);
  top: 50%;
  right: -2rem;
  transform: translateY(-50%);
  color: rgba(20,20,15,.05);
  pointer-events: none;
  font-weight: 400;
  z-index: 0;
}
.cta-bar > * { position: relative; z-index: 1; }

/* ------------------------------------------------------------
   15. AI section (capability grid)
   ------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse { grid-template-columns: 1.1fr 1fr; }
@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
}

.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 0.75rem; }
.checklist li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 1.02rem;
  color: var(--ink-primary);
  line-height: 1.55;
}
.checklist li::before {
  content: "";
  flex: 0 0 22px;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--bg-cyan-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231F7DA0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/12px no-repeat;
}

/* ------------------------------------------------------------
   16. FAQ accordion
   ------------------------------------------------------------ */
.faq-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; max-width: 880px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: var(--ink-primary); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 1.65rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
  font-weight: 500;
}
.faq-item .faq-q { flex: 1; }
.faq-item .faq-toggle {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-muted);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}
.faq-item .faq-toggle::before,
.faq-item .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink-primary);
  border-radius: 1px;
}
.faq-item .faq-toggle::before { width: 12px; height: 1.8px; }
.faq-item .faq-toggle::after  { width: 1.8px; height: 12px; transition: transform var(--dur-base) var(--ease-out); }
.faq-item[open] .faq-toggle { background: var(--brand-cyan); }
.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after { background: #fff; }
.faq-item[open] .faq-toggle::after { transform: rotate(90deg); }

.faq-item .faq-body {
  padding: 0 1.65rem 1.65rem;
  color: var(--ink-secondary);
  line-height: 1.7;
  font-size: 0.97rem;
  max-width: 720px;
}
.faq-item .faq-body p + p { margin-top: 0.8rem; }

/* ------------------------------------------------------------
   17. Workflow steps
   ------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 1.85rem 1.65rem 1.65rem;
  position: relative;
}
.step__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3rem;
  line-height: 1;
  color: var(--brand-cyan);
  margin-bottom: 0.85rem;
  display: block;
}
.step h4 { font-size: 1.1rem; line-height: 1.3; margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: var(--ink-secondary); line-height: 1.6; }

/* ------------------------------------------------------------
   18. Numbered accordion (signs to automate)
   ------------------------------------------------------------ */
.naccord { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.naccord-item {
  border-top: 1px solid var(--border-soft);
}
.naccord-item:last-child { border-bottom: 1px solid var(--border-soft); }
.naccord-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}
.naccord-item summary::-webkit-details-marker { display: none; }
.naccord-item .naccord-n {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--brand-cyan-ink);
  font-weight: 500;
}
.naccord-item .naccord-toggle {
  width: 32px; height: 32px;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.naccord-item .naccord-toggle::before,
.naccord-item .naccord-toggle::after {
  content: ""; position: absolute; background: var(--ink-primary); border-radius: 1px;
}
.naccord-item .naccord-toggle::before { width: 12px; height: 1.8px; }
.naccord-item .naccord-toggle::after  { width: 1.8px; height: 12px; transition: transform var(--dur-base) var(--ease-out); }
.naccord-item[open] .naccord-toggle { background: var(--ink-primary); border-color: var(--ink-primary); }
.naccord-item[open] .naccord-toggle::before,
.naccord-item[open] .naccord-toggle::after { background: #fff; }
.naccord-item[open] .naccord-toggle::after { transform: rotate(90deg); }
.naccord-item .naccord-body { padding: 0 0 1.5rem 4rem; color: var(--ink-secondary); line-height: 1.7; }
@media (max-width: 600px) { .naccord-item .naccord-body { padding-left: 0; } }

/* ------------------------------------------------------------
   19. Author / contact block
   ------------------------------------------------------------ */
.author-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-2xl);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  height: 100%;
}
.author-card__avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
  background: var(--bg-cyan-soft);
  border: 4px solid var(--bg-base);
  box-shadow: 0 0 0 2px var(--brand-cyan);
}
.author-card__msg { color: var(--ink-secondary); line-height: 1.6; max-width: 38ch; }
.author-card h4 { font-size: 1.2rem; }
.author-card .role { font-size: 0.92rem; color: var(--brand-cyan-ink); font-weight: 500; }

/* ------------------------------------------------------------
   20. Stats / KPI cards (savings report)
   ------------------------------------------------------------ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 1024px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kpi-grid { grid-template-columns: 1fr; } }
.kpi {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 1.85rem 1.65rem;
}
.kpi .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-tertiary);
  margin-bottom: 0.85rem;
}
.kpi .num {
  font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.kpi .num small { font-size: 0.5em; font-weight: 500; color: var(--ink-tertiary); margin-left: 0.25rem; }
.kpi .delta { font-size: 0.85rem; color: var(--success); margin-top: 0.5rem; font-weight: 500; }

/* ------------------------------------------------------------
   21. Quiz / multi-step
   ------------------------------------------------------------ */
.quiz {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-2xl);
  padding: clamp(1.75rem, 3vw, 3rem);
  max-width: 720px;
  margin-inline: auto;
}
.quiz-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}
.quiz-progress__bar {
  flex: 1;
  margin-inline: 1rem;
  height: 4px;
  background: var(--bg-muted);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.quiz-progress__fill {
  height: 100%;
  background: var(--brand-cyan);
  border-radius: var(--radius-full);
  transition: width var(--dur-slow) var(--ease-out);
}
.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: fadein var(--dur-base) var(--ease-out); }
@keyframes fadein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-step h3 { margin-bottom: 0.5rem; }
.quiz-step p.hint { color: var(--ink-secondary); margin-bottom: 1.5rem; }
.quiz-actions {
  display: flex; justify-content: space-between; gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 600px) { .choice-grid { grid-template-columns: 1fr; } }
.choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-base);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
  font-weight: 500;
}
.choice:hover { border-color: var(--ink-primary); }
.choice input { display: none; }
.choice-mark {
  width: 22px; height: 22px;
  border: 1.5px solid var(--border-soft);
  border-radius: 50%;
  flex: 0 0 22px;
  position: relative;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.choice input:checked ~ .choice-mark {
  border-color: var(--brand-cyan);
}
.choice input:checked ~ .choice-mark::after {
  content: ""; position: absolute; inset: 4px;
  background: var(--brand-cyan);
  border-radius: 50%;
}
.choice:has(input:checked) { background: var(--bg-cyan-soft); border-color: var(--brand-cyan); }

/* Slider / range */
.slider { width: 100%; margin: 1rem 0; accent-color: var(--brand-cyan); }
.slider-out { font-family: var(--font-mono); font-size: 1rem; color: var(--brand-cyan-ink); }

/* ------------------------------------------------------------
   22. Blog
   ------------------------------------------------------------ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  height: 100%;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-muted);
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}
.post-card__meta { display: flex; gap: 0.65rem; align-items: center; flex-wrap: wrap; font-size: 0.8rem; color: var(--ink-tertiary); }
.post-card__title { font-size: 1.18rem; line-height: 1.25; }
.post-card__excerpt { font-size: 0.92rem; color: var(--ink-secondary); line-height: 1.6; flex: 1; }

/* Article (blog post) */
.article {
  max-width: 760px;
  margin-inline: auto;
}
.article__hero {
  text-align: center;
  margin-bottom: 3rem;
}
.article__hero h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.article__hero .meta { font-size: 0.88rem; color: var(--ink-tertiary); display: inline-flex; gap: 0.65rem; align-items: center; }
.article__cover {
  margin: 0 auto 2.5rem;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  max-width: 1000px;
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; }

.prose { font-size: 1.06rem; line-height: 1.75; color: var(--ink-primary); }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: 1.7rem; margin-top: 2.5rem; line-height: 1.15; }
.prose h3 { font-size: 1.3rem; margin-top: 2rem; line-height: 1.2; }
.prose p { color: var(--ink-primary); }
.prose a { color: var(--brand-cyan-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--brand-cyan-deep); }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li { margin-top: 0.5rem; }
.prose blockquote {
  border-left: 4px solid var(--brand-cyan);
  padding-left: 1.25rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-primary);
  line-height: 1.5;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--bg-muted);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}
.prose pre {
  background: var(--bg-deep); color: var(--ink-inverse);
  padding: 1.25rem; border-radius: var(--radius-md);
  overflow-x: auto;
}
.prose pre code { background: transparent; padding: 0; color: inherit; }
.prose img { border-radius: var(--radius-lg); margin-block: 2rem; }
.prose hr { border: 0; border-top: 1px solid var(--border-soft); margin-block: 3rem; }

/* ------------------------------------------------------------
   23. Newsletter strip
   ------------------------------------------------------------ */
.newsletter {
  background: var(--bg-cyan-soft);
  border-radius: var(--radius-2xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .newsletter { grid-template-columns: 1fr; } }
.newsletter h3 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); margin-bottom: 0.5rem; }
.newsletter p { color: var(--ink-secondary); }
.newsletter form { display: flex; flex-direction: column; gap: 0.75rem; }
.newsletter .form-row { gap: 0.5rem; }
.newsletter .legal { font-size: 0.78rem; color: var(--ink-tertiary); }

/* ------------------------------------------------------------
   24. Logo wall (alt — non-marquee grid)
   ------------------------------------------------------------ */
.logowall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  align-items: center;
}
@media (max-width: 900px) { .logowall { grid-template-columns: repeat(3, 1fr); } }
.logowall img { height: 28px; width: auto; opacity: 0.65; filter: grayscale(100%); justify-self: center; }

/* ------------------------------------------------------------
   25. Reveal animation
   ------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children variants */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 80ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 160ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 240ms; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 320ms; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 400ms; }
[data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: 480ms; }
[data-reveal-stagger].is-visible > *:nth-child(8) { transition-delay: 560ms; }

/* ------------------------------------------------------------
   26. Utilities
   ------------------------------------------------------------ */
.txt-center { text-align: center; }
.txt-left { text-align: left; }
.txt-right { text-align: right; }
.muted { color: var(--ink-secondary); }
.subtle { color: var(--ink-tertiary); }
.cyan { color: var(--brand-cyan-ink); }
.peach { color: var(--brand-peach-deep); }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mt-6 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap;
}

@media (max-width: 768px) { .hide-mobile { display: none !important; } }
@media (min-width: 769px) { .hide-desktop { display: none !important; } }

/* Back-to-top */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink-primary);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 40;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out),
              visibility var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); background: var(--brand-cyan-deep); }
.back-to-top svg { width: 20px; height: 20px; }

/* reCAPTCHA v3 badge — hidden per Google ToS (allowed as long as the
   required disclosure text stays visible on every page using reCAPTCHA;
   we render it in the footer). `visibility: hidden` keeps the iframe in
   the DOM and functional, just not painted. */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  bottom: 0 !important;
  right: 0 !important;
}
.recaptcha-legal {
  font-size: 0.78rem;
  color: var(--ink-tertiary);
  line-height: 1.5;
  margin-top: 1rem;
}
.recaptcha-legal a {
  color: var(--ink-secondary);
  border-bottom: 1px solid var(--border-soft);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.recaptcha-legal a:hover { color: var(--brand-cyan-ink); border-bottom-color: currentColor; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* Print */
@media print {
  .site-header, .site-footer, .topbar, .back-to-top, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 1rem; }
}

/* =========================================================
   Phase E additions — page-specific components
   ========================================================= */

/* Hero variants */
.hero--compact { padding-block: clamp(4rem, 7vw, 7rem); }
.hero--landing { padding-block: clamp(3rem, 6vw, 6rem); }
.hero__copy--center { text-align: center; max-width: 720px; margin-inline: auto; }
.hero__copy--center .section-eyebrow { justify-content: center; }
.hero__copy--center .hero__ctas { justify-content: center; }
.hero__copy--center .hero__stats { justify-content: center; }
.hero__copy--center .lead { margin-inline: auto; }

/* Container narrow */
.container--narrow { max-width: 760px; margin-inline: auto; padding-inline: 1.25rem; }

/* Section utilities */
.section--narrow { max-width: 880px; margin-inline: auto; }
.section-footnote {
  margin-top: clamp(2rem, 3vw, 3rem);
  text-align: center;
  color: var(--ink-secondary);
  font-size: 0.95rem;
  max-width: 720px;
  margin-inline: auto;
}

/* Feature grid extra columns */
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) {
  .feature-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .feature-grid--3, .feature-grid--2 { grid-template-columns: 1fr; }
}
/* `.feature--soft` is a value-prop / reassurance card variant.
   The base `.feature` has a hairline border that disappears on cream
   tinted backgrounds — `--soft` adds an unmistakable raised card look:
   white card, gradient edge, layered shadow, content gets real padding. */
.feature--soft {
  background:
    linear-gradient(180deg, #FFFFFF 0%, #FCFAF6 100%);
  border: 1px solid #E9E2D4;
  border-radius: 24px;
  padding: 1.85rem 1.75rem 1.75rem;
  gap: 0.55rem;
  position: relative;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 1px 2px rgba(20,20,15,0.04),
    0 14px 32px -22px rgba(20,20,15,0.18);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}
.feature--soft::before {
  /* Top-edge cyan accent bar, only revealed on hover. Gives feedback
     without changing card metrics. */
  content: "";
  position: absolute;
  inset: 0 24% auto 24%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-cyan) 20%, var(--brand-cyan) 80%, transparent);
  border-radius: 999px;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.feature--soft:hover {
  transform: translateY(-3px);
  border-color: rgba(62,175,216,0.45);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 24px 48px -24px rgba(20,20,15,0.22);
}
.feature--soft:hover::before { opacity: 1; }
.feature--soft .iconbubble {
  margin-bottom: 0.85rem;
}
.feature--soft h4 {
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}
.feature--soft p {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* On muted/tinted sections (cream-darker, peach, cyan), pop the cards
   harder so they don't blend into the section background. */
.section--muted .feature--soft,
.section--cyan .feature--soft,
.section--peach .feature--soft {
  background: #FFFFFF;
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 2px 4px rgba(20,20,15,0.05),
    0 22px 40px -22px rgba(20,20,15,0.22);
}

/* Form card wrapper */
.form-card {
  background: var(--bg-card);
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md, 0 1px 0 rgba(0,0,0,0.04), 0 24px 48px -32px rgba(20,20,15,0.12));
  border: 1px solid var(--border-soft);
}
.form-card .section-title { margin-bottom: 0.5rem; }
.form-card .section-subtitle { margin-bottom: 2rem; }
.form--card { background: var(--bg-card); border-radius: 24px; padding: 1.75rem; box-shadow: 0 24px 48px -32px rgba(20,20,15,0.18); border: 1px solid var(--border-soft); margin-top: 1.5rem; }

/* Form helpers */
.form .legal,
.form-card .legal,
.form--card .legal {
  font-size: 0.78rem;
  color: var(--ink-tertiary);
  margin-top: 0.25rem;
}
.form .check,
.form-card .check,
.form--card .check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  cursor: pointer;
}
.form .check input[type="checkbox"],
.form-card .check input[type="checkbox"],
.form--card .check input[type="checkbox"] { margin-top: 0.2rem; flex: 0 0 auto; accent-color: var(--brand-cyan); width: 18px; height: 18px; }

/* Contact info card */
.contact-info { padding: clamp(1.5rem, 3vw, 2.25rem); }
.contact-list { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .iconbubble { flex: 0 0 auto; }
.contact-list a { color: var(--ink-primary); border-bottom: 1px solid var(--border-soft); }
.contact-list a:hover { color: var(--brand-cyan-ink); border-color: var(--brand-cyan); }

.map-frame {
  margin-top: 1.5rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  aspect-ratio: 16 / 10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Author card wide variant */
.author-card--wide {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  background: var(--bg-card);
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--border-soft);
}
.author-card--wide .author-card__avatar { width: 200px; height: 200px; }
.author-card--wide .author-card__msg { max-width: none; }
@media (max-width: 768px) {
  .author-card--wide { grid-template-columns: 1fr; text-align: center; }
  .author-card--wide .author-card__avatar { margin-inline: auto; width: 160px; height: 160px; }
}

.author-card__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  /* `object-position: center top` aligns the source's top edge with the
     container's top, but the source headshot has the head right at the
     top of the frame — the *circular* mask still clips the crown where
     the circle curves inward. Push the rendered image down and shrink
     it slightly so a sliver of the avatar's tinted bg shows above the
     head, giving the curved mask the internal margin it needs. */
  transform: translateY(7%) scale(0.92);
  transform-origin: center bottom;
  border-radius: inherit;
}
.author-card .role { display: inline-block; font-size: 0.85rem; color: var(--brand-cyan-ink); font-weight: 500; margin-top: 0.5rem; }
.author-card h3, .author-card h4 { margin-bottom: 0.25rem; }
.author-card strong { display: block; margin-top: 0.75rem; font-size: 1.05rem; }

/* Compare table */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 768px) { .compare { grid-template-columns: 1fr; } }
.compare__col {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 1.75rem;
  border: 1px solid var(--border-soft);
}
.compare__col--bad { background: #FBE6E0; border-color: #F2C8B9; }
.compare__col--good { background: #DEF1E5; border-color: #B5DDC3; }
.compare__col h4 { font-size: 1.15rem; margin-bottom: 1rem; }
.compare__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.compare__col li { padding-left: 1.5rem; position: relative; line-height: 1.5; font-size: 0.95rem; }
.compare__col--bad li::before { content: "✕"; position: absolute; left: 0; color: var(--danger); font-weight: 700; }
.compare__col--good li::before { content: "✓"; position: absolute; left: 0; color: #1F7E45; font-weight: 700; }

/* Steps list (ordered) */
.steps-list { padding-left: 1.25rem; margin: 1rem 0; display: flex; flex-direction: column; gap: 0.5rem; line-height: 1.55; }
.steps-list li::marker { color: var(--brand-cyan); font-weight: 700; }

/* Quiz extras */
.quiz {
  background: var(--bg-card);
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--border-soft);
}
.quiz-progress__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}
.quiz-progress__labels .is-active { color: var(--brand-cyan-ink); }
.quiz-step__num {
  display: inline-block;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-cyan-ink);
  margin-bottom: 0.5rem;
}
.quiz-step h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.quiz-step .lead { color: var(--ink-secondary); margin-bottom: 1.25rem; }
.choice.is-checked { background: var(--bg-cyan-soft); border-color: var(--brand-cyan); }
.quiz-error { color: var(--danger); font-size: 0.88rem; margin-top: 0.5rem; }
.quiz-error[hidden] { display: none; }

/* Report progress */
.report-progress {
  background: var(--bg-muted);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
}
.report-progress__bar {
  height: 12px;
  background: var(--bg-card);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.report-progress__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand-cyan) 0%, var(--brand-cyan-deep) 100%);
  border-radius: 999px;
  transition: width 0.3s var(--ease-out);
}

/* Report (savings) table */
.report-table {
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  margin-top: 1.5rem;
}
.report-table__head,
.report-table__row {
  display: grid;
  grid-template-columns: 1fr 2fr 1.2fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  align-items: center;
}
.report-table__head {
  background: var(--bg-muted);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}
.report-table__row + .report-table__row { border-top: 1px solid var(--border-soft); }
.report-table__row:nth-child(odd) { background: rgba(225, 242, 249, 0.18); }
.report-table__savings small { display: block; color: var(--ink-tertiary); font-size: 0.78rem; }
@media (max-width: 768px) {
  .report-table__head { display: none; }
  .report-table__row { grid-template-columns: 1fr; gap: 0.25rem; padding: 1.25rem; }
}

/* KPI variants */
.kpi-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .kpi-grid--3 { grid-template-columns: 1fr; } }
.kpi--cyan { background: var(--bg-cyan-soft); }
.kpi--peach { background: var(--bg-peach-soft, #FFE7D8); }

/* Ebook cover */
.ebook-cover {
  display: flex; align-items: center; justify-content: center;
  perspective: 1200px;
  padding: clamp(1rem, 3vw, 2rem);
}
.ebook-cover img {
  max-width: min(380px, 80%);
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(20,20,15,0.35), 0 12px 24px -12px rgba(20,20,15,0.18);
  transform: rotate(-3deg);
  transition: transform var(--dur-base) var(--ease-out);
}
.ebook-cover img:hover { transform: rotate(0) translateY(-4px); }

/* Thank-you check burst */
.check-burst {
  display: inline-flex;
  width: 96px; height: 96px;
  margin-bottom: 1rem;
  animation: pop 0.6s var(--ease-out);
}
.check-burst svg { width: 100%; height: 100%; }
@keyframes pop {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}
.thank-you .hero__ctas { justify-content: center; }

/* Error pages */
.error-page .error-num {
  display: block;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-weight: 700;
  font-size: clamp(5rem, 14vw, 10rem);
  color: var(--brand-cyan);
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 0.5rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--ink-secondary);
  background: var(--bg-card);
  border: 1px dashed var(--border-soft);
  border-radius: 24px;
}

/* Pager */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pager__num,
.pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  font-weight: 600;
  background: var(--bg-card);
  color: var(--ink-primary);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.pager__num:hover,
.pager__btn:hover { background: var(--bg-muted); border-color: var(--ink-primary); }
.pager__num.is-active {
  background: var(--ink-primary);
  color: var(--bg-base);
  border-color: var(--ink-primary);
}

/* Post grid (blog) */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
}
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -32px rgba(20,20,15,0.22); }
.post-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-muted);
}
.post-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-card__meta {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--ink-tertiary);
}
.post-card__meta time { font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.75rem; letter-spacing: 0.04em; }
.post-card__title { font-size: 1.25rem; line-height: 1.25; margin: 0; }
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--brand-cyan-ink); }
.post-card__excerpt { color: var(--ink-secondary); font-size: 0.95rem; line-height: 1.55; flex: 1; }

/* Pill */
.pill {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-cyan-soft);
  color: var(--brand-cyan-ink);
  text-decoration: none;
}
.pill:hover { background: var(--brand-cyan); color: var(--bg-card); }

/* Tlink */
.tlink {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-weight: 600;
  color: var(--ink-primary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.tlink svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.tlink:hover svg { transform: translateX(3px); }
.tlink--cyan { color: var(--brand-cyan-ink); }

/* Article (blog post) */
.article__hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(1rem, 2vw, 2rem); }
.article__meta {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-tertiary);
  justify-content: center;
  margin-bottom: 1rem;
}
.article__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 22ch;
  margin: 0 auto 1rem;
}
.article__lead {
  text-align: center;
  font-size: 1.15rem;
  color: var(--ink-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.55;
}
.article__cover {
  margin-top: 2.5rem;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; }

/* Prose (long-form content) */
.prose {
  color: var(--ink-primary);
  font-size: 1.05rem;
  line-height: 1.7;
}
.prose > * + * { margin-top: 1rem; }
.prose h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 2.5rem;
}
.prose h3 { font-size: 1.3rem; margin-top: 2rem; }
.prose p { color: var(--ink-secondary); }
.prose ul, .prose ol { padding-left: 1.5rem; color: var(--ink-secondary); display: flex; flex-direction: column; gap: 0.4rem; }
.prose ul li::marker { color: var(--brand-cyan); }
.prose a { color: var(--brand-cyan-ink); border-bottom: 1px solid var(--brand-cyan); }
.prose a:hover { color: var(--brand-cyan-deep); }
.prose strong { color: var(--ink-primary); font-weight: 600; }
.prose img { width: 100%; height: auto; border-radius: 16px; margin-block: 2rem; }
.prose blockquote {
  border-left: 3px solid var(--brand-cyan);
  padding-left: 1.25rem;
  font-style: italic;
  color: var(--ink-secondary);
  margin-block: 1.5rem;
}
.prose code {
  font-family: var(--font-mono, ui-monospace, monospace);
  background: var(--bg-muted);
  padding: 0.15em 0.4em;
  border-radius: 6px;
  font-size: 0.92em;
}
.prose pre {
  background: var(--bg-deep, #15140F);
  color: #FAF6F1;
  padding: 1.25rem;
  border-radius: 16px;
  overflow-x: auto;
}
.prose pre code { background: transparent; color: inherit; padding: 0; }
.article__body img { max-width: 100%; }

/* Serif emphasis helper */
.serif-em {
  font-family: var(--font-serif, "Instrument Serif", serif);
  font-style: italic;
  font-weight: 400;
}

/* Hint text */
.hint {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-tertiary);
  margin-top: 0.35rem;
}

/* Landing layout chrome */
.landing-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.landing-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}
.landing-header img { height: 32px; width: auto; }
.landing-footer {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border-soft);
  text-align: center;
  color: var(--ink-tertiary);
  font-size: 0.88rem;
}
.landing-footer a { color: inherit; border-bottom: 1px solid var(--border-soft); }
.landing-footer a:hover { color: var(--brand-cyan-ink); }

/* Newsletter form status */
[data-newsletter-status][hidden] { display: none; }

/* Service feature_grid 4 cols (home / others) */
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .feature-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .feature-grid--4 { grid-template-columns: 1fr; } }

/* Stagger reveal init */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal-stagger].is-visible > *,
[data-reveal-stagger] > .is-visible {
  opacity: 1; transform: none;
}
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 70ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 140ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 210ms; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 280ms; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 350ms; }
[data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: 420ms; }
[data-reveal-stagger].is-visible > *:nth-child(8) { transition-delay: 490ms; }

/* Field hint inside field */
.field .hint { margin-top: 0.3rem; }

/* ------------------------------------------------------------
   Tools showcase (integrations logo wall)
   ------------------------------------------------------------ */
.tools-showcase {
  margin: 2rem auto 3rem;
  max-width: 880px;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-2xl);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 24px 48px -32px rgba(20,20,15,0.12);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tools-showcase::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%; height: 60%;
  background: radial-gradient(circle, var(--brand-peach), transparent 65%);
  opacity: 0.35;
  filter: blur(40px);
  pointer-events: none;
}
.tools-showcase::after {
  content: "";
  position: absolute;
  inset: auto auto -40% -10%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, var(--brand-cyan), transparent 65%);
  opacity: 0.25;
  filter: blur(40px);
  pointer-events: none;
}
.tools-showcase img {
  position: relative;
  max-width: 540px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.tools-showcase__note {
  position: relative;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--ink-tertiary);
  letter-spacing: 0.02em;
}

/* Author card avatar — refined (less stock-photo cyan ring) */
.author-card__avatar,
.author-card--wide .author-card__avatar {
  position: relative;
  overflow: hidden;
  border: 0;
  box-shadow:
    0 0 0 1px var(--border-soft),
    0 12px 32px -16px rgba(20,20,15,0.18);
}

/* ------------------------------------------------------------
   Demo w 24h — value-prop strip (home, between hero and marquee)
   ------------------------------------------------------------ */
.demo-strip {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 32px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 1px 2px rgba(20,20,15,0.04),
    0 28px 56px -32px rgba(20,20,15,0.22);
  overflow: hidden;
}
.demo-strip::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -10%;
  width: 320px; height: 320px;
  background: radial-gradient(circle at center, rgba(62,175,216,0.16), transparent 65%);
  pointer-events: none;
}
.demo-strip::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 280px; height: 280px;
  background: radial-gradient(circle at center, rgba(255,201,160,0.22), transparent 65%);
  pointer-events: none;
}

.demo-strip__badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 28px;
  background: var(--ink-primary);
  color: var(--ink-inverse);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.demo-strip__badge::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, rgba(62,175,216,0) 0deg, rgba(62,175,216,0.45) 60deg, rgba(255,201,160,0.45) 180deg, rgba(62,175,216,0) 300deg);
  filter: blur(20px);
  z-index: -1;
  animation: demo-glow 12s linear infinite;
}
@keyframes demo-glow { to { transform: rotate(360deg); } }

.demo-strip__pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 0 0 rgba(62,175,216,0.6);
  animation: demo-pulse 1.8s ease-out infinite;
  margin-bottom: 0.5rem;
}
@keyframes demo-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(62,175,216,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(62,175,216,0); }
  100% { box-shadow: 0 0 0 0 rgba(62,175,216,0); }
}

.demo-strip__num {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(3.6rem, 7vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.demo-strip__lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(250,246,241,0.7);
  margin-top: 0.4rem;
  padding: 0 0.5rem;
}

.demo-strip__body { position: relative; }
.demo-strip__title {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin: 0.5rem 0 1rem;
}
.demo-strip__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brand-cyan-deep);
}
.demo-strip__lead {
  color: var(--ink-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
  max-width: 62ch;
}

.demo-strip__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.85rem;
}
.demo-strip__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: flex-start;
}
.demo-strip__num-tag {
  width: 36px; height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--bg-cyan-soft);
  color: var(--brand-cyan-deep);
  flex-shrink: 0;
  line-height: 1;
}
.demo-strip__num-tag--accent {
  background: var(--ink-primary);
  color: var(--ink-inverse);
}
.demo-strip__list strong {
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-primary);
  margin-bottom: 0.15rem;
}
.demo-strip__list li > div > span {
  display: block;
  color: var(--ink-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.demo-strip__ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.demo-strip__note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
}

@media (max-width: 880px) {
  .demo-strip {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .demo-strip__badge {
    aspect-ratio: auto;
    width: auto;
    padding: 1.25rem 1.5rem;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
  }
  .demo-strip__pulse { margin: 0; }
  .demo-strip__num { font-size: 3rem; }
  .demo-strip__lbl { margin: 0; }
}

/* ------------------------------------------------------------
   Consultation form — scoped overrides for the plugin component
   markup (Bootstrap-classed: .row, .col-md-12, .form-group,
   .form-control, .getstarted, .invalid-feedback, .text-center,
   .d-none, .loading, .error-message, .thank-you-box).
   ------------------------------------------------------------ */
#consultationForm .row {
  display: block;
  margin: 0;
}
#consultationForm .col-md-12 {
  width: 100%;
  padding: 0;
}
#consultationForm .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
#consultationForm label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-primary);
  letter-spacing: -0.005em;
}
#consultationForm .form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink-primary);
  background: var(--bg-base);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
}
#consultationForm .form-control::placeholder {
  color: var(--ink-tertiary);
  opacity: 1;
}
#consultationForm .form-control:hover {
  border-color: rgba(62,175,216,0.45);
  background: #FFFFFF;
}
#consultationForm .form-control:focus {
  outline: none;
  border-color: var(--brand-cyan);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(62,175,216,0.16);
}
#consultationForm input[type="number"].form-control {
  -moz-appearance: textfield;
}
#consultationForm input[type="number"].form-control::-webkit-outer-spin-button,
#consultationForm input[type="number"].form-control::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#consultationForm .invalid-feedback {
  font-size: 0.82rem;
  color: var(--danger, #d4574c);
  min-height: 1px;
}
#consultationForm .invalid-feedback:empty { display: none; }
#consultationForm .text-center {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
#consultationForm .getstarted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  min-height: 50px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink-inverse);
  background: var(--ink-primary);
  border: 1px solid var(--ink-primary);
  border-radius: 999px;
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}
#consultationForm .getstarted:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -12px rgba(20,20,15,0.35);
}
#consultationForm .getstarted:active { transform: translateY(0); }
#consultationForm .getstarted:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
#consultationForm .loading {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-secondary);
}
#consultationForm .loading::before {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  margin-right: 0.5rem;
  vertical-align: -2px;
  border: 2px solid var(--border-soft);
  border-top-color: var(--brand-cyan);
  border-radius: 50%;
  animation: consult-spin 0.7s linear infinite;
}
@keyframes consult-spin { to { transform: rotate(360deg); } }
#consultationForm .error-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(212,87,76,0.1);
  border: 1px solid rgba(212,87,76,0.3);
  color: var(--danger, #d4574c);
  font-size: 0.9rem;
  text-align: center;
}
#consultationForm .d-none { display: none !important; }

#consultationForm .zencal-embed { width: 100%; min-height: 540px; }
#consultationForm .col-lg-12 { width: 100%; }
#consultationForm .mt-2 { margin-top: 0.5rem; }
#consultationForm .d-flex { display: flex; }
#consultationForm .justify-content-center { justify-content: center; }

#consultationForm .thank-you-box {
  text-align: center;
  padding: 2rem 1.5rem;
}
#consultationForm .thank-you-box .thank-you-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-cyan-soft);
  color: var(--brand-cyan-ink);
  border-radius: 50%;
  font-size: 2rem;
}
#consultationForm .thank-you-box h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
#consultationForm .thank-you-box p {
  color: var(--ink-secondary);
  max-width: 42ch;
  margin: 0 auto;
}

/* ------------------------------------------------------------
   Price focal — single hero pricing card (uslugi page).
   Replaces the cramped 4-up KPI grid that broke under tight
   widths. One clear monthly entry-point + breakdown.
   ------------------------------------------------------------ */
.price-focal {
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFAF6 100%);
  border: 1px solid #E9E2D4;
  border-radius: 28px;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 1px 2px rgba(20,20,15,0.04),
    0 18px 40px -22px rgba(20,20,15,0.18);
  position: relative;
}
.price-focal__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
  margin-bottom: 0.4rem;
}
.price-focal__amount {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.price-focal__from {
  font-size: 1.05rem;
  color: var(--ink-secondary);
  font-weight: 500;
}
.price-focal__num {
  font-size: clamp(3.2rem, 6.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
}
.price-focal__currency {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: var(--ink-primary);
}
.price-focal__unit {
  font-size: 1.02rem;
  color: var(--ink-secondary);
}
.price-focal__note {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin: 1.25rem 0 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-soft);
}
.price-focal__cta {
  align-self: flex-start;
}
