/* ============================================================
   Saga — sub-brand layer + product visuals
   ------------------------------------------------------------
   Builds on the Corvue Design System:
     assets/design-system/colors_and_type.css  (tokens + base typography)
     assets/design-system/components.css       (buttons, chips, statuses, sections)
     assets/design-system/interactions.css     (.reveal state machine, micro-tx)

   This file only contains:
     1. Saga sub-brand accent override (amber, not DS ember)
     2. Saga-specific visuals:
        - Dark cinematic hero (photo + gradient fallback)
        - Scroll-reactive nav (transparent over hero → dark-blur past)
        - Signature contrast section (generic slogans vs scene-first)
        - Features 3-card grid with icon tiles
        - Pull-quote testimonial
        - How-it-works steps (3-up)
        - Pipeline 5-step horizontal flow + capability checklists
        - Pricing 3-tier (EUR)
        - CTA band, footer

   Nothing here duplicates DS utilities — use `.btn-primary`,
   `.btn-secondary`, `.overline.ember-dash`, `.reveal`, `.container`,
   `.section / .section-alt / .section-head` from the DS.
   ============================================================ */


/* ── 1. Sub-brand accent — Saga amber ──────────────────────
   Overrides the DS ember ramp. Matches Aide so the product line
   feels coherent. Everything token-driven in the DS (btn-primary,
   focus ring, ::selection, arrow-link) recolors for free. */
:root {
  --accent-50:  #FBF1E8;
  --accent-100: #F5DEC6;
  --accent-300: #DDA079;
  --accent-500: #C4773B;
  --accent-600: #A8622E;
  --accent-700: #8C4E22;

  --accent:    var(--accent-500);
  --accent-bg: var(--accent-50);
  --accent-fg: #FFFDFA;

  --ring-focus: 0 0 0 3px rgba(196, 119, 59, 0.18);

  /* Saga-specific tone — warmer dark used in hero + nav.
     Not in the DS because DS surfaces are paper. */
  --dark-0: #080604;
  --dark-1: #14110D;
  --dark-fg: #F5F0EA;
}


/* ── 2. Typography flourishes ──────────────────────────────
   Serif italic is the single editorial flourish — hero cycle,
   section headlines with `<em>`, pull-quote bodies. */
.hero h1 em,
.section-headline em,
.feature-title em,
.cta-band h2 em,
.pricing-price .amount,
.step-num,
.brand-mark,
.pull-quote,
.pipeline-step h4,
.pipeline-checklist h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: var(--fw-regular);
}


/* ── 3. Layout helpers ─────────────────────────────────────
   Local container widths matching the Saga page. Section padding
   uses DS `.section` (140 / 112 / 88 rhythm). */
.container-narrow { max-width: 1100px; margin: 0 auto; padding: 0 48px; }
.container-prose  { max-width:  860px; margin: 0 auto; padding: 0 48px; }

@media (max-width: 1024px) {
  .container-narrow,
  .container-prose { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 680px) {
  .container-narrow,
  .container-prose { padding-left: 20px; padding-right: 20px; }
}


/* ── 4. Nav — scroll-reactive, dark on hero, dark-blur past ──
   Starts transparent over the dark hero photograph, then
   gains a translucent dark-paper pane with backdrop blur
   once the user scrolls. Light text throughout. */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background    var(--dur-3) var(--ease-out),
    border-color  var(--dur-3) var(--ease-out),
    backdrop-filter var(--dur-3) var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(8, 6, 4, 0.82);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  border-bottom-color: rgba(245, 240, 234, 0.08);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.nav-cta { justify-self: end; }

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  border: none;
  text-decoration: none;
  line-height: 1;
}
.brand-mark .brand-name {
  font-size: 24px;
  font-weight: 500;
  color: var(--dark-fg);
  letter-spacing: var(--ls-tight);
  line-height: 1.1;
}
.brand-mark .brand-sub {
  font-family: var(--font-sans);
  font-weight: 400;
  font-style: normal;
  font-size: 10px;
  color: rgba(245, 240, 234, 0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 32px;
}
.nav-link {
  font-size: 14px;
  color: rgba(245, 240, 234, 0.65);
  border: none;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--dur-2) var(--ease-out);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent-500);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav-link:hover { color: rgba(245, 240, 234, 0.95); }
.nav-link:hover::after { transform: scaleX(1); }

@media (max-width: 860px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
}


/* ── 5. Hero — cinematic dark with optional photo ──────────
   Full viewport height. A warm dark gradient provides a clean
   fallback when the photograph isn't yet in place; when it is,
   it sits behind and the gradient becomes the right-side fade. */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: left;
  background: var(--dark-0);
  color: var(--dark-fg);
}
/* The hero photo can be either a background-image div (preferred —
   fails invisibly if the asset isn't commissioned yet) or an <img>.
   Both forms are supported. */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}
.hero-photo img,
img.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
/* Gradient layer — darkens toward the right so text always reads.
   Also stands in fully for the background if the photo is missing. */
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(to right,
      rgba(8,6,4,0.05) 0%,
      rgba(8,6,4,0.12) 28%,
      rgba(8,6,4,0.55) 50%,
      rgba(8,6,4,0.88) 66%,
      rgba(8,6,4,0.97) 80%,
      rgb(8,6,4)       100%
    ),
    linear-gradient(to bottom,
      rgba(8,6,4,0.45) 0%,
      transparent      14%,
      transparent      80%,
      rgba(8,6,4,0.55) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  min-height: 100vh;
}
.hero-spacer { flex: 1; }
.hero-copy   { width: 50%; max-width: 540px; padding: 100px 0; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 119, 59, 0.12);
  border: 1px solid rgba(196, 119, 59, 0.28);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 36px;
  font-size: 12px;
  color: var(--accent-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent-500);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1.08;
  letter-spacing: var(--ls-tight);
  color: var(--dark-fg);
  margin: 0 0 28px;
}
.hero h1 .cycle {
  display: inline-block;
  color: var(--accent-500);
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}
.hero h1 .cycle.is-visible { opacity: 1; }

.hero-sub {
  max-width: 440px;
  margin: 0 0 44px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(245, 240, 234, 0.6);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-link-secondary {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  color: rgba(245, 240, 234, 0.65);
  text-decoration: none;
  border: none;
  border-bottom: 1px solid rgba(245, 240, 234, 0.2);
  padding-bottom: 2px;
  transition:
    color        var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out);
}
.hero-link-secondary:hover {
  color: rgba(245, 240, 234, 0.95);
  border-bottom-color: rgba(245, 240, 234, 0.5);
}

.hero-trust {
  font-size: 13px;
  color: rgba(245, 240, 234, 0.28);
  letter-spacing: 0.04em;
  margin: 0;
}

/* Hero word-by-word entrance — headline only */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: hero-word-reveal 620ms var(--ease-out) forwards;
}
@keyframes hero-word-reveal {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-word       { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero h1 .cycle  { opacity: 1 !important; }
}

/* Scroll indicator at the bottom of the hero */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(196, 119, 59, 0.7), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
.hero-scroll span {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 234, 0.22);
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.8); }
  50%      { opacity: 1;    transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line { animation: none; }
}

@media (max-width: 860px) {
  .hero           { min-height: auto; padding: 120px 0 80px; text-align: center; align-items: flex-start; }
  .hero-inner     { padding: 0 28px; min-height: auto; }
  .hero-spacer    { display: none; }
  .hero-copy      { width: 100%; max-width: 100%; padding: 0; margin: 0 auto; }
  .hero-sub       { margin-left: auto; margin-right: auto; }
  .hero-cta       { justify-content: center; }
  .hero-photo     { background-position: 20% center; }
  .hero-photo img,
  img.hero-photo  { object-position: 20% center; }
  .hero-scroll    { display: none; }
}


/* ── 6. Social proof — quiet pill row ──────────────────────── */
.social-proof {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper-1);
}
.social-proof-label {
  font-family: var(--font-sans);
  font-size: var(--fs-13);
  color: var(--ink-4);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 22px;
}
.company-pill {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper-0);
  white-space: nowrap;
  opacity: 0.75;
  transition: opacity var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease-out);
}
.company-pill:hover { opacity: 1; border-color: var(--border-strong); }

.pills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pills-marquee {
  overflow: hidden;
  width: 100%;
  display: none;
}
.pills-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 24s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0);    }
  to   { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .pills-row     { display: none; }
  .pills-marquee { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .pills-marquee-track { animation: none; }
}


/* ── 7. Section head — shared overline → h2 → rule → lede ── */
.section-head {
  text-align: center;
  margin: 0 auto 72px;
  max-width: 60ch;
}
.section-head .overline { display: inline-block; margin-bottom: 16px; }
.section-head h2 {
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: var(--ls-tight);
  margin: 0 0 14px;
}
.section-head .section-rule {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--accent-500);
  margin: 14px auto 0;
  opacity: 0.55;
}
.section-head p.lede { margin: 18px auto 0; max-width: 56ch; }

/* When a section head is on a dark background */
.section-head.on-dark h2 { color: var(--dark-fg); }
.section-head.on-dark p.lede { color: rgba(245, 240, 234, 0.6); }
.section-head.on-dark .overline { color: rgba(245, 240, 234, 0.55); }


/* ── 8. Contrast section (signature Saga pattern) ───────────
   Two stacked columns showing "what most brands post" (muted)
   vs "what Saga writes" (serif italic, ember underline). */
.contrast-section {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}
.contrast-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196, 119, 59, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(245, 240, 234, 0.4)  0%, transparent 50%);
  pointer-events: none;
}
.contrast-section > * { position: relative; z-index: 1; }

.contrast-cols {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
.contrast-col {
  flex: 1;
  min-width: 0;
  border-radius: var(--r-lg);
  padding: 40px 44px;
}
.contrast-col-left {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(229, 224, 216, 0.7);
}
.contrast-col-right {
  background: var(--paper-1);
  border: 1px solid rgba(196, 119, 59, 0.15);
  box-shadow: 0 8px 40px rgba(196, 119, 59, 0.08);
}

.contrast-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
}
.contrast-label.bad {
  background: rgba(184, 176, 168, 0.12);
  color: #9A9390;
  border: 1px solid rgba(184, 176, 168, 0.25);
}
.contrast-label.good {
  background: rgba(196, 119, 59, 0.08);
  color: var(--accent);
  border: 1px solid rgba(196, 119, 59, 0.2);
}

.contrast-bad-line {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.8;
  color: #C0BAB4;
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid rgba(229, 224, 216, 0.5);
}
.contrast-bad-line:last-child { border-bottom: none; }

.contrast-good-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.75;
  color: var(--ink-1);
  display: block;
  padding: 5px 0;
  border-bottom: 1px solid rgba(229, 224, 216, 0.4);
}
.contrast-good-line:last-child {
  border-bottom: none;
  color: var(--accent);
  font-weight: 500;
}

.contrast-col-caption {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  margin-top: 28px;
  line-height: 1.6;
}
.contrast-col-left  .contrast-col-caption { color: #C0BAB4; }
.contrast-col-right .contrast-col-caption { color: #9A8E86; }

.contrast-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
}
.contrast-divider-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 100%;
}
.contrast-divider-rule {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}
.contrast-divider-arrow {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--accent);
  opacity: 0.5;
}

.contrast-verdict {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  color: var(--ink-3);
  text-align: center;
  max-width: 620px;
  margin: 56px auto 0;
  line-height: 1.6;
}
.contrast-verdict strong {
  color: var(--ink-0);
  font-weight: 500;
  font-style: italic;
}

@media (max-width: 860px) {
  .contrast-cols            { flex-direction: column; }
  .contrast-divider         { width: 100%; height: 40px; }
  .contrast-divider-inner   { flex-direction: row; height: 1px; width: 100%; }
  .contrast-divider-rule    { width: 100%; height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); }
  .contrast-divider-arrow   { transform: rotate(90deg); }
}


/* ── 9. Features — 3-card grid with icon tiles ─────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow var(--dur-2) var(--ease-out),
    transform  var(--dur-2) var(--ease-out),
    background var(--dur-2) var(--ease-out);
}
.feature-card:hover {
  box-shadow: 0 8px 36px rgba(30, 28, 20, 0.06);
  transform: translateY(-2px);
  background: var(--paper-0);
}

.feature-icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(196, 119, 59, 0.1);
  border: 1px solid rgba(196, 119, 59, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-500);
}
.feature-icon-tile svg { width: 20px; height: 20px; }

.feature-card h3 {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-24);
  color: var(--ink-0);
  letter-spacing: var(--ls-snugger);
  margin: 0 0 14px;
}
.feature-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-3);
  margin: 0;
  flex: 1;
}
.feature-card .feature-card-rule {
  width: 32px; height: 1px;
  background: rgba(196, 119, 59, 0.3);
  margin-top: 28px;
}

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


/* ── 10. Pull-quote testimonial ────────────────────────────── */
.pull-quote-card {
  background: var(--paper-2);
  border-radius: var(--r-xl);
  padding: 64px 80px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: center;
}
.pull-quote-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 40px;
  font-family: var(--font-serif);
  font-size: 180px;
  line-height: 1;
  color: rgba(196, 119, 59, 0.08);
  font-weight: 500;
  pointer-events: none;
  user-select: none;
}
.pull-quote-card > * { position: relative; z-index: 1; }

.pull-quote {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-0);
  margin: 0 0 40px;
}

.pull-quote-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.pull-quote-byline .avatar {
  width: 38px; height: 38px;
  background: var(--accent-500);
  color: var(--accent-fg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}
.pull-quote-byline .name { font-size: 14px; font-weight: 500; color: var(--ink-0); margin: 0 0 2px; text-align: left; }
.pull-quote-byline .meta { font-size: 13px; color: var(--ink-4); margin: 0; text-align: left; }

@media (max-width: 680px) {
  .pull-quote-card { padding: 48px 32px; }
}


/* ── 11. Steps (How it works) ──────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.step-card { background: var(--paper-1); padding: 48px 40px 52px; }

.step-num-wrap { position: relative; display: inline-block; }
.step-num {
  font-size: 72px;
  line-height: 1;
  color: var(--border-strong);
  letter-spacing: -0.03em;
}
.step-ping {
  position: absolute;
  top: 50%; left: 0;
  width: 50px; height: 50px;
  margin-top: -25px;
  border-radius: 50%;
  border: 1.5px solid rgba(196, 119, 59, 0.22);
  opacity: 0;
  pointer-events: none;
}
.step-ping.is-active { animation: step-ping 2.2s ease-out infinite; }
@keyframes step-ping {
  0%   { transform: scale(0.7); opacity: 0.6; }
  100% { transform: scale(3);   opacity: 0;   }
}
.step-rule {
  width: 32px; height: 1px;
  background: var(--border);
  margin: 20px 0 24px;
}
.step-heading {
  font-size: var(--fs-20);
  font-weight: var(--fw-semibold);
  color: var(--ink-1);
  letter-spacing: var(--ls-snugger);
  margin: 0 0 14px;
}
.step-body { font-size: 15px; line-height: 1.7; color: var(--ink-3); margin: 0; }

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


/* ── 12. Pipeline — 5-step horizontal flow + checklist ───── */
.pipeline-flow {
  position: relative;
  margin-bottom: 72px;
}
.pipeline-connector {
  position: absolute;
  top: 36px;
  left: calc(10% + 36px);
  right: calc(10% + 36px);
  height: 1px;
  background: linear-gradient(90deg,
    rgba(196, 119, 59, 0.15),
    rgba(196, 119, 59, 0.4),
    rgba(196, 119, 59, 0.15)
  );
  pointer-events: none;
  z-index: 0;
}
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.pipeline-step {
  text-align: center;
  padding: 0 8px;
}
.pipeline-step-icon {
  width: 72px;
  height: 72px;
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent-500);
  transition:
    box-shadow var(--dur-3) var(--ease-out),
    background var(--dur-3) var(--ease-out);
}
.pipeline-step-icon:hover {
  background: var(--paper-3);
  box-shadow: 0 4px 20px rgba(196, 119, 59, 0.12);
}
.pipeline-step-icon svg { width: 26px; height: 26px; }
.pipeline-step h4 {
  font-weight: 500;
  font-size: 17px;
  color: var(--ink-0);
  margin: 0 0 8px;
  letter-spacing: var(--ls-snugger);
}
.pipeline-step p {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0;
}

.pipeline-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pipeline-checklist-card {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 32px 36px;
}
.pipeline-checklist h3 {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-0);
  margin: 0 0 24px;
  letter-spacing: var(--ls-snugger);
}
.pipeline-check-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pipeline-check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-1);
  line-height: 1.5;
}
.pipeline-check-row svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-500);
}
.pipeline-check-row.is-muted svg { color: var(--success); }

.pipeline-closing {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-3);
  text-align: center;
  margin: 56px auto 0;
  line-height: 1.6;
  max-width: 680px;
}
.pipeline-closing em {
  color: var(--accent);
  font-style: italic;
}

@media (max-width: 860px) {
  .pipeline-connector         { display: none; }
  .pipeline-grid              { grid-template-columns: 1fr 1fr; gap: 28px; }
  .pipeline-grid .pipeline-step:last-child { grid-column: 1 / -1; }
  .pipeline-checklist         { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pipeline-grid              { grid-template-columns: 1fr; }
}


/* ── 13. Pricing ─────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.pricing-card {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    box-shadow var(--dur-2) var(--ease-out),
    transform  var(--dur-2) var(--ease-out);
}
.pricing-card:hover {
  box-shadow: 0 8px 36px rgba(30, 28, 20, 0.06);
  transform: translateY(-2px);
}
.pricing-card.featured {
  background: #FDF8F3;
  border: 1.5px solid var(--accent-300);
  box-shadow: 0 0 40px rgba(196, 119, 59, 0.06);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-500);
  color: var(--accent-fg);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-tier {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.pricing-price .amount {
  font-size: 46px;
  font-weight: 500;
  color: var(--ink-0);
  letter-spacing: var(--ls-tight);
  line-height: 1;
}
.pricing-price .period { font-size: 14px; color: var(--ink-4); }
.pricing-sub  { font-size: 14px; color: var(--ink-3); margin: 0 0 28px; }
.pricing-rule { width: 100%; height: 1px; background: var(--border); margin-bottom: 28px; }
.pricing-card.featured .pricing-rule { background: var(--accent-100); }

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  flex: 1;
}
.pricing-features li {
  font-size: 14px;
  color: var(--ink-3);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(229, 224, 216, 0.5);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features svg { width: 12px; height: 10px; flex-shrink: 0; }

.check-path {
  stroke: var(--success);
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 500ms var(--ease-out);
}
.pricing-card.featured .check-path { stroke: var(--accent-500); }
.check-path.is-drawn { stroke-dashoffset: 0; }
.pricing-features li:nth-child(1) .check-path { transition-delay:   0ms; }
.pricing-features li:nth-child(2) .check-path { transition-delay:  80ms; }
.pricing-features li:nth-child(3) .check-path { transition-delay: 160ms; }
.pricing-features li:nth-child(4) .check-path { transition-delay: 240ms; }
.pricing-features li:nth-child(5) .check-path { transition-delay: 320ms; }
.pricing-features li:nth-child(6) .check-path { transition-delay: 400ms; }

.pricing-cta { width: 100%; justify-content: center; }

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


/* ── 14. CTA band (page closer) ─────────────────────────────
   Quiet editorial — no orbs, no watermark. */
.cta-band {
  text-align: center;
  padding: 128px 0;
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(253, 246, 238, 0.7) 0%, transparent 55%),
    var(--paper-2);
  border-top: 1px solid var(--border);
}
.cta-band .cta-inner { max-width: 680px; margin: 0 auto; padding: 0 48px; }
.cta-band h2 {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: var(--ls-tight);
  color: var(--ink-0);
  margin: 0 0 20px;
}
.cta-band p { font-size: var(--fs-18); color: var(--ink-3); margin: 0 0 44px; }
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ── 15. Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--paper-1);
  border-top: 1px solid var(--border);
}
.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 48px 40px;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.site-footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border: none;
  text-decoration: none;
  line-height: 1;
  margin-bottom: 16px;
}
.site-footer-brand .brand-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--ink-0);
  letter-spacing: var(--ls-tight);
  line-height: 1.1;
}
.site-footer-brand .brand-sub {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.site-footer-copy {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 240px;
  margin: 0 0 20px;
}
.site-footer h5 {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-link {
  display: block;
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 10px;
  border: none;
  position: relative;
  transition: color var(--dur-2) var(--ease-out);
}
.footer-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 1px;
  background: var(--accent-500);
  transition: width var(--dur-2) var(--ease-out);
}
.footer-link:hover { color: var(--ink-0); }
.footer-link:hover::after { width: 100%; }

.site-footer-socials { display: flex; gap: 12px; }
.site-footer-social {
  color: var(--ink-4);
  border: none;
  transition: color var(--dur-2) var(--ease-out);
}
.site-footer-social:hover { color: var(--ink-0); }

.site-footer-bar {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer-bar p,
.site-footer-bar a {
  font-size: 13px;
  color: var(--ink-4);
  margin: 0;
  border: none;
}
.site-footer-bar a { transition: color var(--dur-2) var(--ease-out); }
.site-footer-bar a:hover { color: var(--ink-1); }

@media (max-width: 860px) {
  .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .site-footer-grid { grid-template-columns: 1fr; }
}
