  :root {
    /* Brand colors — exact from logo SVG */
    --brand-red: #FE0F09;
    --brand-red-deep: #D60B05;
    --brand-red-bright: #FF3D38;
    --brand-red-soft: rgba(254, 15, 9, 0.08);
    --brand-red-tint: rgba(254, 15, 9, 0.04);

    --charcoal: #1C1F23;
    --charcoal-deep: #0F1115;
    --charcoal-mid: #3A3D42;

    /* Accent supporting colors — kept restrained */
    --green: #2C7A4F;
    --amber: #C77F00;

    /* Subtle warm greys (the "very subtle grey" requested) */
    --bg: #FAF9F7;
    --bg-card: #FFFFFF;
    --bg-tint: #F2F0EC;
    --bg-warm: #EDEAE3;
    --line: #E2DED7;
    --line-strong: #C7C2B8;

    --text: #1C1F23;
    --text-muted: #6B6863;
    --text-faint: #9C988F;
    --grid-line: rgba(28, 31, 35, 0.04);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    /* overflow-x: clip prevents horizontal scrollbars from rogue wide elements
       WITHOUT turning <body> into a scroll container — that's what
       overflow: hidden does, and it breaks position: sticky on the nav. */
    overflow-x: clip;
    /* Reserve space below content so the fixed contact widget doesn't cover the footer. */
    padding-bottom: 100px;
  }

  .serif { font-family: 'Fraunces', serif; font-weight: 400; }
  .serif-i { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; }
  .mono { font-family: 'JetBrains Mono', monospace; font-size: 0.9em; }

  /* ============ ANNOTATION TOGGLE ============ */
  .annotation-toggle {
    position: fixed; top: 16px; right: 16px; z-index: 10000;
    background: var(--charcoal); color: white;
    padding: 10px 14px; border-radius: 8px;
    font-size: 12px; font-weight: 500;
    display: flex; align-items: center; gap: 8px;
    box-shadow: 0 8px 24px rgba(45, 45, 45, 0.25);
    cursor: pointer; user-select: none;
  }
  .annotation-toggle .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--brand-red-bright);
    box-shadow: 0 0 0 3px rgba(201, 71, 64, 0.25);
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }
  body.annotations-off .section-note { display: none; }

  .section-note {
    position: absolute;
    background: rgba(45, 45, 45, 0.95);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    z-index: 100;
    backdrop-filter: blur(8px);
    border-left: 3px solid var(--brand-red-bright);
    max-width: 260px;
    line-height: 1.4;
    top: 16px; left: 16px;
  }

  /* ============ LOGO (actual SVG from brand) ============ */
  .gocad-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
  }
  .gocad-logo svg,
  .gocad-logo img {
    height: 28px;
    width: auto;
    display: block;
  }
  .gocad-logo.size-md svg, .gocad-logo.size-md img { height: 26px; }
  .gocad-logo.size-sm svg, .gocad-logo.size-sm img { height: 22px; }
  .gocad-logo.size-lg svg, .gocad-logo.size-lg img { height: 36px; }
  /* Legacy inline-SVG color flip (kept for backwards compatibility) */
  .gocad-logo.on-dark .logo-dark { fill: white; }

  /* ============ NAV ============ */
  nav {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(250, 249, 247, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 16px 32px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-links {
    display: flex; gap: 32px;
    list-style: none;
  }
  .nav-links a {
    color: var(--text); text-decoration: none;
    font-size: 14px; font-weight: 500;
    transition: color 0.15s;
  }
  .nav-links a:hover { color: var(--brand-red); }

  .nav-actions { display: flex; align-items: center; gap: 14px; }
  .nav-lang {
    font-size: 12px; color: var(--text-muted);
    font-weight: 600; letter-spacing: 0.05em;
  }
  .btn-ghost {
    padding: 9px 16px; font-size: 14px; font-weight: 500;
    background: transparent; color: var(--text);
    border: 1px solid var(--line-strong); border-radius: 7px;
    cursor: pointer; text-decoration: none;
    transition: all 0.15s;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .btn-ghost:hover { border-color: var(--charcoal); }
  .btn-primary {
    padding: 10px 18px; font-size: 14px; font-weight: 600;
    background: var(--brand-red); color: white;
    border: none; border-radius: 7px;
    cursor: pointer; text-decoration: none;
    transition: all 0.15s;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .btn-primary:hover { background: var(--brand-red-deep); }
  .btn-primary.dark { background: var(--charcoal); }
  .btn-primary.dark:hover { background: var(--brand-red); }
  .btn-large { padding: 13px 22px; font-size: 15px; }

  /* ============ HERO ============ */
  .hero {
    position: relative;
    padding: 64px 32px 48px;
    overflow: hidden;
  }
  /* Sub-page heroes (Kalkulator, Webshop) sit directly under a breadcrumb —
     trim their top padding so they match .page-hero density on Preise/Unternehmen.
     The breadcrumb already has 16px padding-bottom, so 8px here yields a 24px gap. */
  .breadcrumb + .hero { padding-top: 8px; }
  /* Disable the homepage-style decorative grid background on sub-page heroes,
     so Kalkulator/Webshop look as clean as Preise/Unternehmen. */
  .breadcrumb + .hero::before { display: none; }
  .hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
      linear-gradient(var(--grid-line) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 80%);
    pointer-events: none;
  }
  .hero-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1.05fr 1fr;
    gap: 56px; align-items: center;
    position: relative;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 5px 12px 5px 6px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 12px; font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 28px;
  }
  .hero-eyebrow .partner-badge {
    padding: 2px 8px;
    background: var(--charcoal);
    color: white;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
  }
  h1.hero-title {
    font-size: clamp(36px, 4.8vw, 60px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 24px;
  }
  h1.hero-title .accent {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--brand-red);
  }
  .hero-sub {
    font-size: 18px; line-height: 1.55;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 540px;
  }
  .hero-sub strong {
    color: var(--text); font-weight: 600;
  }
  .hero-cta {
    display: flex; gap: 12px; align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }
  .hero-cta-note {
    font-size: 13px; color: var(--text-faint);
    display: flex; align-items: center; gap: 16px;
    flex-wrap: wrap;
  }
  .hero-cta-note span { display: flex; align-items: center; gap: 6px; }
  .hero-cta-note .check { color: var(--green); font-weight: 700; }

  .hero-trust {
    margin-top: 52px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }
  .hero-partner-row {
    display: flex; gap: 32px; align-items: center;
    flex-wrap: wrap;
  }
  .hero-partner-row img {
    height: 28px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    opacity: 0.75;
    filter: grayscale(1);
    transition: opacity 0.2s ease, filter 0.2s ease;
  }
  .hero-partner-row img:hover {
    opacity: 1;
    filter: grayscale(0);
  }
  /* Legacy pill styles — kept for any old usage but no longer rendered in hero */
  .hero-trust-label {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-faint); margin-bottom: 14px;
  }
  .hero-logos {
    display: flex; gap: 24px; align-items: center;
    flex-wrap: wrap;
  }
  .logo-pill {
    height: 30px; padding: 0 14px;
    background: white; border: 1px solid var(--line);
    border-radius: 6px;
    display: flex; align-items: center;
    font-size: 12px; font-weight: 600; color: var(--text-muted);
    letter-spacing: 0.04em;
  }
  .logo-pill.partner {
    background: var(--charcoal); color: white; border-color: var(--charcoal);
  }
  .logo-pill.partner .star { color: var(--brand-red-bright); margin-right: 6px; }

  /* ============ PRODUCT MOCKUP ============ */
  .product-mockup {
    position: relative;
    background: var(--charcoal);
    border-radius: 12px;
    padding: 10px;
    box-shadow:
      0 32px 80px -24px rgba(45, 45, 45, 0.45),
      0 8px 20px -4px rgba(45, 45, 45, 0.18);
  }
  .mockup-chrome {
    height: 22px; display: flex; align-items: center; gap: 5px;
    padding: 0 6px 8px;
  }
  .mockup-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
  }
  .mockup-screen {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    display: grid;
    grid-template-columns: 168px 1fr;
  }
  .mockup-side {
    background: var(--bg);
    border-right: 1px solid var(--line);
    padding: 14px 10px;
  }
  .mockup-side-brand {
    font-size: 11px; font-weight: 700;
    color: var(--charcoal);
    padding: 0 8px 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
    letter-spacing: -0.01em;
    display: flex; align-items: center; gap: 4px;
  }
  .mockup-side-brand .brand-dot {
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--brand-red);
    border-radius: 50%;
    margin-left: 1px;
  }
  .mockup-side-section {
    font-size: 9px; font-weight: 600;
    color: var(--text-faint); text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 10px 4px;
  }
  .mockup-side-item {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 10px;
    border-radius: 5px;
    margin-bottom: 2px;
    font-size: 11px; color: var(--text-muted);
    font-weight: 500;
  }
  .mockup-side-item.active {
    background: white;
    color: var(--charcoal);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  }
  .mockup-side-icon {
    width: 12px; height: 12px;
    border: 1.5px solid currentColor;
    border-radius: 3px;
    opacity: 0.6;
    flex-shrink: 0;
  }
  .mockup-side-item.active .mockup-side-icon {
    background: var(--brand-red); border-color: var(--brand-red);
    opacity: 1;
  }
  .mockup-main {
    padding: 14px;
    display: flex; flex-direction: column;
    overflow: hidden;
  }
  .mockup-tabs {
    display: flex; gap: 14px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .mockup-tab {
    font-size: 10px; font-weight: 600;
    color: var(--text-muted);
    padding-bottom: 6px;
  }
  .mockup-tab.active {
    color: var(--charcoal);
    border-bottom: 2px solid var(--brand-red);
    margin-bottom: -1px;
  }
  .mockup-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 12px;
  }
  .mockup-h {
    font-size: 13px; font-weight: 700; color: var(--charcoal);
  }
  .mockup-h-sub {
    font-size: 10px; color: var(--text-faint); margin-top: 2px;
    font-family: 'JetBrains Mono', monospace;
  }
  .mockup-pill {
    font-size: 9px; font-weight: 600;
    padding: 3px 8px; border-radius: 100px;
    background: rgba(44, 122, 79, 0.12);
    color: var(--green);
    display: inline-flex; align-items: center; gap: 4px;
  }
  .mockup-pill::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: var(--green);
  }
  .mockup-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
    margin-bottom: 12px;
  }
  .mockup-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 8px 10px;
  }
  .mockup-card-label {
    font-size: 8px; color: var(--text-faint);
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 3px;
    font-weight: 600;
  }
  .mockup-card-value {
    font-size: 14px; font-weight: 700; color: var(--charcoal);
    font-family: 'JetBrains Mono', monospace;
  }
  .mockup-card-value .unit {
    font-size: 9px; color: var(--text-muted); font-weight: 500;
    margin-left: 2px;
  }
  .mockup-table {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 5px;
    overflow: hidden;
  }
  .mockup-row {
    display: grid; grid-template-columns: 2fr 0.8fr 0.7fr 0.9fr;
    padding: 6px 10px;
    font-size: 9.5px;
    border-bottom: 1px solid var(--line);
    align-items: center;
  }
  .mockup-row.head {
    background: white;
    font-weight: 600; color: var(--text-faint);
    text-transform: uppercase; letter-spacing: 0.05em;
    font-size: 8.5px;
  }
  .mockup-row:last-child { border-bottom: none; }
  .mockup-row span:nth-child(2),
  .mockup-row span:nth-child(3),
  .mockup-row span:nth-child(4) {
    text-align: right; font-family: 'JetBrains Mono', monospace;
    color: var(--charcoal);
  }
  .mockup-row.head span { color: var(--text-faint); font-family: inherit; }
  .mockup-row .material-tag {
    display: inline-block;
    padding: 1px 5px;
    background: var(--brand-red-soft);
    color: var(--brand-red);
    font-size: 8px;
    border-radius: 3px;
    margin-right: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
  }

  .mockup-annot {
    position: absolute;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--charcoal);
    box-shadow: 0 8px 24px -4px rgba(45, 45, 45, 0.15);
    border: 1px solid var(--line);
    display: flex; align-items: center; gap: 8px;
    z-index: 10;
  }
  .mockup-annot .ic {
    width: 18px; height: 18px;
    background: var(--brand-red);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 11px; font-weight: 700;
    flex-shrink: 0;
  }
  .annot-1 { top: -14px; left: -14px; }
  .annot-2 { bottom: -14px; right: 30px; }
  .annot-3 {
    top: 40%; right: -50px;
  }
  .annot-3 .ic { background: var(--charcoal); }

  /* ============ METRICS BAR ============ */
  .metrics {
    background: var(--charcoal);
    color: white;
    padding: 28px;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  .metrics-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
  .metric { display: flex; flex-direction: column; gap: 4px; }
  .metric-value {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 38px;
    line-height: 1;
    color: white;
    letter-spacing: -0.02em;
  }
  .metric-value .num {
    font-style: normal; font-family: 'Inter', sans-serif; font-weight: 600;
    color: var(--brand-red-bright);
  }
  .metric-label {
    font-size: 12px; color: rgba(255,255,255,0.6);
    margin-top: 6px;
    letter-spacing: 0.02em;
  }

  /* ============ SECTION BASE ============ */
  section { position: relative; }
  .container {
    max-width: 1280px; margin: 0 auto;
    padding: 96px 32px;
  }
  .section-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 16px;
  }
  .section-eyebrow::before {
    content: ''; width: 24px; height: 1px; background: var(--brand-red);
  }
  h2.section-title {
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 18px;
    max-width: 760px;
  }
  h2.section-title .accent {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--brand-red);
  }
  .section-lede {
    font-size: 17px; color: var(--text-muted);
    max-width: 640px; line-height: 1.6;
  }

  /* ============ PAIN POINTS ============ */
  .pains {
    background: white;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .pains-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
  }
  .pain-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 32px;
    position: relative;
  }
  .pain-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--brand-red);
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
  }
  .pain-card h3 {
    font-size: 20px; font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
    color: var(--charcoal);
    line-height: 1.25;
  }
  .pain-card p {
    font-size: 14.5px; color: var(--text-muted); line-height: 1.6;
  }
  .pain-stat {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed var(--line-strong);
    font-size: 12px;
    color: var(--text-faint);
    display: flex; align-items: baseline; gap: 8px;
  }
  .pain-stat .figure {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 22px;
    color: var(--brand-red);
    font-weight: 400;
    line-height: 1;
  }
  .pain-stat .desc { font-size: 12px; line-height: 1.4; }

  /* ============ HOW IT WORKS ============ */
  .how {
    background: var(--bg);
    overflow: hidden;
  }
  .how-steps {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    position: relative;
  }
  .step {
    position: relative;
    display: flex; flex-direction: column;
  }
  .step-num {
    width: 48px; height: 48px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 22px;
    color: var(--charcoal);
    margin-bottom: 20px;
  }
  .step:nth-child(2) .step-num {
    background: var(--brand-red); color: white; border-color: var(--brand-red);
  }
  .step h3 {
    font-size: 20px; font-weight: 600;
    letter-spacing: -0.015em; margin-bottom: 8px;
    color: var(--charcoal);
  }
  .step p {
    font-size: 14.5px; color: var(--text-muted);
    line-height: 1.6; margin-bottom: 24px;
  }
  .step-screen {
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 16px -4px rgba(45, 45, 45, 0.06);
    display: flex; flex-direction: column;
    flex: 1;
  }
  .upload-zone {
    flex: 1;
    border: 1.5px dashed var(--line-strong);
    border-radius: 6px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 6px; color: var(--text-muted);
    background: var(--bg);
  }
  .upload-zone svg { width: 24px; height: 24px; opacity: 0.45; }
  .upload-zone .label { font-size: 12px; }
  .upload-zone .ftypes {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--text-faint);
    margin-top: 4px;
  }
  .upload-progress {
    margin-top: 10px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 7px 9px;
    display: flex; align-items: center; gap: 10px;
    font-size: 11px;
  }
  .upload-progress .file {
    color: var(--charcoal); font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    flex: 1;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .upload-progress .check { color: var(--green); }

  .calc-machines {
    flex: 1;
    display: flex; flex-direction: column; gap: 5px;
  }
  .calc-row {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 7px 9px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px; align-items: center;
    font-size: 11px;
  }
  .calc-machine { font-weight: 600; color: var(--charcoal); }
  .calc-machine .sub { font-weight: 400; color: var(--text-muted); font-size: 10px; }
  .calc-time {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
  }
  .calc-bar {
    width: 50px; height: 4px;
    background: var(--line);
    border-radius: 100px;
    position: relative; overflow: hidden;
  }
  .calc-bar::after {
    content: ''; position: absolute; inset: 0;
    background: var(--brand-red);
    width: var(--w, 60%);
    border-radius: inherit;
  }

  .quote-preview {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 12px;
    display: flex; flex-direction: column; gap: 5px;
  }
  .quote-h {
    font-size: 10px; font-weight: 700; color: var(--charcoal);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
  }
  .quote-line {
    height: 5px; background: var(--line);
    border-radius: 100px;
  }
  .quote-line.short { width: 35%; }
  .quote-line.med { width: 60%; }
  .quote-total {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between;
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700; color: var(--charcoal);
  }
  .quote-actions {
    margin-top: 10px; display: flex; gap: 5px;
  }
  .quote-action {
    padding: 6px 8px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 10px; font-weight: 600;
    color: var(--charcoal);
    flex: 1; text-align: center;
  }
  .quote-action.primary {
    background: var(--brand-red); color: white; border-color: var(--brand-red);
  }

  /* ============ DIFFERENTIATION ============ */
  .diff {
    background: white;
    border-top: 1px solid var(--line);
  }
  .diff-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 56px;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
  }
  .diff-item {
    padding: 32px 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: white;
  }
  .diff-item:nth-child(3n) { border-right: none; }
  .diff-item:nth-last-child(-n+3) { border-bottom: none; }
  .diff-num {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--brand-red);
    margin-bottom: 12px;
  }
  .diff-item h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
    color: var(--charcoal);
    line-height: 1.3;
  }
  .diff-item p {
    font-size: 14px; color: var(--text-muted);
    line-height: 1.6;
  }

  /* ============ COMPETITOR COMPARISON ============ */
  .compare {
    background: var(--bg-tint);
  }
  .compare-table {
    margin-top: 48px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
  }
  .compare-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--line);
  }
  .compare-row:last-child { border-bottom: none; }
  .compare-cell {
    padding: 16px 20px;
    font-size: 13.5px;
    color: var(--text);
    display: flex; align-items: center;
    border-right: 1px solid var(--line);
  }
  .compare-cell:last-child { border-right: none; }
  .compare-row.head .compare-cell {
    background: var(--charcoal);
    color: white;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 14px 20px;
  }
  .compare-row.head .compare-cell.gocad-col {
    background: var(--charcoal-deep);
    color: white;
    position: relative;
  }
  .compare-row.head .compare-cell.gocad-col::after {
    content: ''; position: absolute;
    bottom: 6px; left: 50%;
    transform: translateX(-50%);
    width: 6px; height: 6px;
    background: var(--brand-red);
    border-radius: 50%;
  }
  .compare-cell.gocad-col {
    background: var(--brand-red-tint);
    font-weight: 600;
    color: var(--charcoal);
  }
  .compare-feature {
    font-weight: 600; color: var(--charcoal);
    /* Stack feature title and sub-description vertically; the parent
       .compare-cell uses flex so we override flex-direction + alignment here. */
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 4px;
  }
  .compare-feature .sub {
    display: block; font-weight: 400; font-size: 12px;
    color: var(--text-muted); margin-top: 2px;
    line-height: 1.4;
  }
  .check-mark {
    width: 22px; height: 22px;
    background: var(--green);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: white; font-size: 13px; font-weight: 700;
  }
  .x-mark {
    width: 22px; height: 22px;
    background: var(--bg-warm);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--text-faint); font-size: 13px; font-weight: 700;
  }
  .partial-mark {
    color: var(--text-muted); font-size: 18px;
    font-family: 'Fraunces', serif;
  }

  /* ============ TWO PRODUCTS ============ */
  .products {
    background: white;
    border-top: 1px solid var(--line);
  }
  .products-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; margin-top: 56px;
  }
  .product-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 36px;
    position: relative;
    transition: all 0.2s;
    display: flex; flex-direction: column;
  }
  .product-card:hover {
    border-color: var(--brand-red);
    box-shadow: 0 12px 32px -12px rgba(179, 49, 44, 0.18);
  }
  .product-tag {
    display: inline-block;
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--brand-red);
    background: var(--brand-red-soft);
    padding: 4px 10px; border-radius: 100px;
    margin-bottom: 18px;
    align-self: flex-start;
  }
  .product-card h3 {
    font-size: 26px; font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    margin-bottom: 8px;
  }
  .product-card h3 .small {
    font-size: 16px; color: var(--text-muted); font-weight: 400;
  }
  .product-card .product-sub {
    font-size: 15px; color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.55;
  }
  .product-list {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
  }
  .product-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--text);
    display: flex; align-items: center; gap: 10px;
  }
  .product-list li:last-child { border-bottom: none; }
  .product-list li::before {
    content: '';
    width: 14px; height: 14px;
    background: var(--green);
    border-radius: 3px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M13.5 4.5L6 12l-3.5-3.5L4 7l2 2 6-6 1.5 1.5z'/%3E%3C/svg%3E");
    background-size: contain;
  }
  .product-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--brand-red); font-weight: 600;
    text-decoration: none; font-size: 14px;
    transition: gap 0.15s;
  }
  .product-link:hover { gap: 10px; }

  /* ============ TESTIMONIAL ============ */
  .testimonial-section {
    background: var(--charcoal);
    color: white;
    position: relative;
    overflow: hidden;
  }
  .testimonial-section::before {
    content: ''; position: absolute; inset: 0;
    background-image:
      radial-gradient(circle at 20% 80%, rgba(179, 49, 44, 0.18), transparent 50%);
  }
  .testimonial-section .container { position: relative; }
  .testimonial-grid {
    display: grid; grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    margin-top: 48px;
    align-items: center;
  }
  .testimonial-main { position: relative; }
  .testimonial-quote-mark {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 100px;
    line-height: 0.7;
    color: var(--brand-red);
    opacity: 0.6;
    position: absolute;
    top: -10px; left: -10px;
  }
  .testimonial-quote {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.3;
    color: white;
    margin-bottom: 28px;
    padding-left: 32px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
  }
  .testimonial-author {
    padding-left: 32px;
    display: flex; align-items: center; gap: 14px;
  }
  .author-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-bright));
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 600; font-size: 17px;
  }
  .author-info { display: flex; flex-direction: column; }
  .author-name { font-weight: 600; font-size: 15px; }
  .author-title {
    font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 2px;
  }
  .testimonial-stats {
    display: flex; flex-direction: column; gap: 14px;
  }
  .tstat {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px 22px;
  }
  .tstat-value {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 36px;
    color: var(--brand-red-bright);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
  }
  .tstat-label {
    font-size: 13px; color: rgba(255,255,255,0.7);
    line-height: 1.4;
  }

  /* ============ PRICING TEASER ============ */
  .price-teaser {
    background: white;
    border-top: 1px solid var(--line);
  }
  .price-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 56px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  .price-card-content { position: relative; z-index: 1; }
  .price-card .section-eyebrow { color: var(--brand-red); margin-bottom: 14px; }
  .price-card h2 {
    font-size: 36px; font-weight: 600;
    letter-spacing: -0.02em; line-height: 1.1;
    margin-bottom: 14px;
    color: var(--charcoal);
  }
  .price-card h2 .accent {
    font-family: 'Fraunces', serif; font-style: italic;
    font-weight: 400; color: var(--brand-red);
  }
  .price-card p {
    font-size: 15.5px; color: var(--text-muted);
    line-height: 1.55; margin-bottom: 22px;
    max-width: 460px;
  }
  .price-features {
    list-style: none; display: flex; flex-direction: column; gap: 8px;
  }
  .price-features li {
    font-size: 14px;
    color: var(--text);
    display: flex; align-items: center; gap: 10px;
  }
  .price-features li::before {
    content: '✓'; color: var(--green); font-weight: 700;
  }
  .price-display {
    background: var(--charcoal);
    color: white;
    padding: 36px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
  }
  .price-display::before {
    content: ''; position: absolute;
    right: -60px; bottom: -60px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, var(--brand-red), transparent 70%);
    opacity: 0.4;
  }
  .price-from {
    font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 6px;
    position: relative;
  }
  .price-amount {
    font-size: 64px; font-weight: 600;
    color: white; line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    position: relative;
  }
  .price-amount .currency { font-size: 32px; vertical-align: top; line-height: 1.4; color: var(--brand-red-bright); }
  .price-period {
    font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 22px;
    position: relative;
  }
  .price-included {
    list-style: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 18px;
    margin-bottom: 22px;
    position: relative;
  }
  .price-included li {
    font-size: 12.5px;
    color: rgba(255,255,255,0.85);
    padding: 5px 0;
    display: flex; align-items: center; gap: 8px;
  }
  .price-included li::before {
    content: '✓'; color: var(--brand-red-bright); font-size: 13px; font-weight: 700;
  }

  /* ============ FOUNDER ============ */
  .founder {
    background: var(--bg-tint);
  }
  .founder-grid {
    display: grid; grid-template-columns: 0.85fr 1.3fr;
    gap: 56px; align-items: center;
  }
  .founder-photo {
    aspect-ratio: 4/5;
    background:
      linear-gradient(160deg, rgba(45, 45, 45, 0.7), rgba(179, 49, 44, 0.45)),
      var(--charcoal);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    display: flex; align-items: flex-end;
    padding: 24px;
    color: white;
  }
  .founder-photo::before {
    content: 'PS';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -55%);
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 130px;
    color: rgba(255,255,255,0.18);
    line-height: 1;
  }
  .founder-photo-caption {
    position: relative; z-index: 1;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    font-family: 'JetBrains Mono', monospace;
  }
  .founder-content .section-eyebrow { color: var(--brand-red); }
  .founder-content h2 {
    font-size: 34px; font-weight: 600;
    letter-spacing: -0.02em; line-height: 1.15;
    color: var(--charcoal); margin-bottom: 24px;
  }
  .founder-content h2 .accent {
    font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; color: var(--brand-red);
  }
  .founder-content p {
    font-size: 15.5px; color: var(--text-muted);
    line-height: 1.65; margin-bottom: 14px;
  }
  .founder-creds {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 24px; margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--line-strong);
  }
  .founder-cred { display: flex; flex-direction: column; }
  .cred-label {
    font-size: 10.5px; color: var(--text-faint);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 6px;
    font-weight: 600;
  }
  .cred-value { font-size: 14px; color: var(--charcoal); font-weight: 600; }

  /* ============ PARTNERS / FUNDING ============ */
  .partners {
    background: white;
    padding: 56px 32px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .partners-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 2fr;
    gap: 48px; align-items: center;
  }
  .partners-label {
    font-size: 12px; font-weight: 600;
    color: var(--text-faint);
    letter-spacing: 0.1em; text-transform: uppercase;
  }
  .partners-row {
    display: flex; gap: 16px; align-items: center;
    flex-wrap: wrap;
  }
  .partner-card {
    padding: 12px 18px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13px; font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
    display: flex; align-items: center; gap: 10px;
  }
  .partner-card .ic {
    width: 8px; height: 8px;
    background: var(--brand-red);
    border-radius: 50%;
  }

  /* ============ FINAL CTA ============ */
  .final-cta {
    background: var(--charcoal);
    color: white;
    padding: 96px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .final-cta::before {
    content: ''; position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  }
  .final-cta-inner {
    max-width: 720px; margin: 0 auto;
    position: relative;
  }
  .final-cta h2 {
    font-size: 48px; font-weight: 600;
    letter-spacing: -0.025em; line-height: 1.1;
    margin-bottom: 20px;
  }
  .final-cta h2 .accent {
    font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; color: var(--brand-red-bright);
  }
  .final-cta p {
    font-size: 17px; color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    line-height: 1.55;
  }
  .final-cta .hero-cta { justify-content: center; }
  .final-cta .btn-primary { background: var(--brand-red); }
  .final-cta .btn-primary:hover { background: var(--brand-red-bright); }
  .final-cta .btn-ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.25); }
  .final-cta .btn-ghost:hover { border-color: white; }

  /* ============ FOOTER ============ */
  footer {
    background: var(--charcoal-deep);
    color: rgba(255,255,255,0.7);
    padding: 56px 32px 28px;
  }
  .footer-inner { max-width: 1280px; margin: 0 auto; }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-brand .gocad-logo { margin-bottom: 16px; }
  .footer-brand p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; max-width: 280px; }
  .footer-social {
    margin-top: 16px;
    display: flex;
    gap: 10px;
  }
  .footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }
  .footer-social a:hover {
    background: var(--brand-red);
    color: white;
    transform: translateY(-1px);
  }
  .footer-social svg {
    width: 18px;
    height: 18px;
    display: block;
  }
  .footer-col h4 {
    font-size: 11.5px; font-weight: 600;
    color: white; text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s;
  }
  .footer-col a:hover { color: var(--brand-red-bright); }
  .footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 28px;
    font-size: 12px; color: rgba(255,255,255,0.5);
    flex-wrap: wrap; gap: 16px;
  }
  .footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
  .badge {
    padding: 4px 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 5px;
    font-size: 11px;
    color: rgba(255,255,255,0.7);
  }

  @media (max-width: 1024px) {
    .hero-inner, .testimonial-grid, .price-card, .founder-grid, .partners-inner { grid-template-columns: 1fr; gap: 40px; }
    .pains-grid, .diff-grid, .products-grid, .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .how-steps { grid-template-columns: 1fr; }
    .metrics-inner { grid-template-columns: 1fr 1fr; }
    /* Hide desktop nav-links AND desktop nav-actions; show hamburger */
    .nav-links,
    .nav-actions { display: none; }
    .nav-burger { display: inline-flex; }
    .compare-row { grid-template-columns: 1.5fr repeat(4, 1fr); }
    .compare-cell { padding: 12px; font-size: 12px; }
  }
  @media (max-width: 640px) {
    .pains-grid, .diff-grid, .products-grid, .footer-grid { grid-template-columns: 1fr; }
    .metrics-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
    .container, .final-cta { padding: 56px 20px; }
    .nav-inner { padding: 12px 20px; }
    .hero { padding: 24px 20px 40px; }
    .compare-table { font-size: 11px; overflow-x: auto; }
    .price-card { padding: 32px; }
    .testimonial-quote { font-size: 22px; padding-left: 16px; }
    .founder-creds { grid-template-columns: 1fr; gap: 16px; }
    /* Hero typography downsize for narrow screens */
    h1.hero-title,
    .hero-title { font-size: clamp(28px, 8vw, 40px); line-height: 1.1; }
    .hero-sub    { font-size: 16px; }
    /* Hero CTA buttons stack and fill width on small screens */
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn-primary, .hero-cta .btn-ghost { width: 100%; justify-content: center; }
    /* Annotation pills are noise on small screens */
    .mockup-annot { display: none; }
    /* Contact widget is taller on mobile (2-row stack), reserve more space */
    body { padding-bottom: 200px; }
  }

/* ============================================================
   ADDITIONS FOR PRODUCTION PAGES (Website 04/2026)
   ============================================================ */

/* Hero image replacement for the v3 CSS mockup */
.hero-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px -24px rgba(28,31,35,0.25),
              0 8px 24px -8px rgba(28,31,35,0.10);
  background: var(--bg-card);
  border: 1px solid var(--line);
}
.hero-image-wrap img { display: block; width: 100%; height: auto; }

/* Generic product screenshot frame, used on subpages */
.screenshot {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(28,31,35,0.22),
              0 4px 12px -2px rgba(28,31,35,0.08);
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.screenshot img { display: block; width: 100%; height: auto; }
.screenshot.bordered { padding: 8px; background: var(--bg-tint); }

/* Testimonial cards (multi-testimonial grid) */
.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.tcard {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -20px rgba(28,31,35,0.12);
}
.tcard-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text);
}
.tcard-quote::before {
  content: '"';
  font-size: 48px;
  line-height: 0.5;
  color: var(--brand-red);
  display: block;
  margin-bottom: 16px;
  font-style: normal;
}
.tcard-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.tcard-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.tcard-avatar.placeholder {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 18px;
}
.tcard-info { font-size: 14px; line-height: 1.4; }
.tcard-name { font-weight: 600; color: var(--text); }
.tcard-title { color: var(--text-muted); margin-top: 2px; }

/* Real partner logo strip */
.partner-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  align-items: center;
  justify-items: center;
  padding: 24px 0;
}
.partner-logos .plogo {
  filter: grayscale(0.3) opacity(0.85);
  transition: filter 0.2s ease;
  max-height: 64px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-logos .plogo:hover { filter: grayscale(0) opacity(1); }
.plogo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-card);
}

/* Pricing tiers grid */
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.tier {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tier:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -20px rgba(28,31,35,0.12);
  border-color: var(--brand-red-soft);
}
.tier.featured {
  border-color: var(--brand-red);
  background: linear-gradient(180deg, var(--brand-red-tint) 0%, var(--bg-card) 30%);
}
.tier-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--brand-red);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}
.tier-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tier-price {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  line-height: 1;
  color: var(--text);
  font-weight: 500;
}
.tier-price .currency { font-size: 28px; vertical-align: top; margin-right: 4px; color: var(--brand-red); }
.tier-price .period { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--text-muted); font-weight: 400; }
.tier-features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tier-features li { font-size: 14px; line-height: 1.45; color: var(--text); padding-left: 26px; position: relative; }
.tier-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  background: var(--brand-red-soft);
  border-radius: 4px;
}
.tier-features li::after {
  content: '✓';
  position: absolute;
  left: 3px; top: 3px;
  font-size: 11px;
  color: var(--brand-red);
  font-weight: 700;
}
.tier-cta {
  margin-top: auto;
  padding-top: 12px;
}
.tier-cta a,
.tier-cta button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: var(--bg-card);
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.tier.featured .tier-cta a,
.tier.featured .tier-cta button {
  background: var(--brand-red);
  color: white;
  border-color: var(--brand-red);
}
.tier-cta a:hover,
.tier-cta button:hover { transform: translateY(-1px); }

/* Legal page typography */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 24px 120px;
  font-size: 16px;
  line-height: 1.7;
}
.legal-content h1 {
  font-family: 'Fraunces', serif;
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--text);
}
.legal-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  margin: 48px 0 16px;
  color: var(--text);
}
.legal-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text);
}
.legal-content p { margin: 0 0 16px; }
.legal-content a { color: var(--brand-red); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }
.legal-content ul, .legal-content ol { margin: 0 0 16px 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content .meta {
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding: 6px 12px;
  background: var(--bg-tint);
  border-radius: 6px;
}

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 0;
  font-size: 22px;
  color: var(--brand-red);
  font-weight: 400;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .a {
  margin-top: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
}

/* Production-only — hide any leftover prototype annotation widgets */
.annotation-toggle, .section-note { display: none !important; }

@media (max-width: 980px) {
  .testimonial-cards { grid-template-columns: 1fr; }
  .partner-logos { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .pricing-tiers { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .partner-logos { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   MODERN DESIGN REFRESH LAYER (May 26 update)
   Polish on top of the existing system — same brand palette,
   tighter rhythm, smoother shadows, better motion.
   ============================================================ */

/* --- Body baseline polish --- */
body {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  letter-spacing: -0.005em;
}

/* --- Mobile hamburger nav --- */
.nav-burger {
  display: none; /* shown via @media (max-width: 1024px) above */
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  gap: 4px;
  flex-direction: column;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.nav-burger:hover { background: var(--bg-tint); border-color: var(--line-strong); }
.nav-burger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}
nav.nav-open .nav-burger-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
nav.nav-open .nav-burger-bar:nth-child(2) { opacity: 0; }
nav.nav-open .nav-burger-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* IMPORTANT: this media query MUST appear AFTER the base .nav-burger rule
   above. CSS cascade picks the last matching same-specificity rule, so if
   this lived earlier in the file the base "display: none" would win and the
   hamburger would never appear on mobile. */
@media (max-width: 1024px) {
  .nav-burger { display: inline-flex; }
  .nav-links,
  .nav-actions { display: none; }
}

.mobile-nav {
  display: none; /* shown when [hidden] is removed via JS + media query */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 40px -16px rgba(28,31,35,0.14);
  padding: 12px 20px 20px;
  flex-direction: column;
  gap: 8px;
  animation: mobile-nav-rise 0.22s cubic-bezier(0.2, 0.9, 0.2, 1);
}
@keyframes mobile-nav-rise {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav-links li { display: block; }
.mobile-nav-links a {
  display: block;
  padding: 14px 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-links a.current { color: var(--brand-red); }
.mobile-nav-links a:hover { color: var(--brand-red); }
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.mobile-nav-lang {
  display: inline-block;
  align-self: flex-start;
  padding: 8px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.mobile-nav-btn {
  display: inline-flex;
  justify-content: center;
  padding: 13px 22px;
  font-size: 15px;
}

/* --- Smoother nav (sticky w/ subtle blur) --- */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(28, 31, 35, 0.06);
}

/* --- Section eyebrow upgrade --- */
.section-eyebrow,
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-red);
  padding: 6px 12px;
  background: var(--brand-red-soft);
  border-radius: 999px;
  border: 1px solid rgba(254, 15, 9, 0.14);
  margin-bottom: 24px;
}
.section-eyebrow::before,
.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
}

/* --- Hero title — tighter modern type --- */
.hero-title {
  letter-spacing: -0.03em;
  font-weight: 500;
}
.section-title {
  letter-spacing: -0.025em;
  font-weight: 500;
}

/* --- Modern buttons --- */
.btn-primary {
  background: var(--charcoal);
  color: white;
  border: 1px solid var(--charcoal);
  box-shadow: 0 1px 2px rgba(28,31,35,0.06), 0 4px 12px -2px rgba(28,31,35,0.18);
  transition: transform 0.18s cubic-bezier(.2,.8,.2,1), box-shadow 0.18s ease, background 0.18s ease;
  font-weight: 500;
}
.btn-primary:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(254,15,9,0.10), 0 12px 24px -8px rgba(254,15,9,0.32);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: transform 0.18s cubic-bezier(.2,.8,.2,1), border-color 0.18s, background 0.18s;
}
.btn-ghost:hover {
  border-color: var(--charcoal);
  background: rgba(28,31,35,0.04);
  transform: translateY(-1px);
}

/* --- Diff cards (USP grid) — modern card --- */
.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(.2,.8,.2,1), box-shadow 0.22s ease, border-color 0.22s;
  isolation: isolate;
}
.diff-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-red-tint) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: -1;
}
.diff-card:hover {
  transform: translateY(-3px);
  border-color: rgba(254, 15, 9, 0.18);
  box-shadow: 0 24px 48px -20px rgba(28,31,35,0.12), 0 8px 16px -8px rgba(28,31,35,0.08);
}
.diff-card:hover::before { opacity: 1; }
.diff-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  background: var(--charcoal);
  color: white;
  border-radius: 12px;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 20px;
  transition: background 0.22s ease;
}
.diff-card:hover .diff-num { background: var(--brand-red); }

/* --- Pain cards (homepage) --- */
.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.22s cubic-bezier(.2,.8,.2,1), box-shadow 0.22s ease;
}
.pain-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -16px rgba(28,31,35,0.10);
}

/* --- Step cards (How it works) --- */
.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 32px;
  transition: transform 0.22s cubic-bezier(.2,.8,.2,1), box-shadow 0.22s ease;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -20px rgba(28,31,35,0.12);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-deep) 100%);
  color: white;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 8px 16px -6px rgba(254,15,9,0.32);
}

/* --- Hero pills row — modern logo strip in hero --- */
.hero-trust-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.hero-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-pill {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--text-muted);
  background: transparent;
  border: none;
  padding: 0;
  transition: color 0.2s ease;
}
.logo-pill:hover { color: var(--text); }
.logo-pill.partner {
  color: var(--brand-red);
  font-weight: 700;
}
.logo-pill .star { color: var(--brand-red); margin-right: 4px; }

/* --- Partner logos grid — modern desaturated → color on hover --- */
.partner-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 36px 24px;
  align-items: center;
  justify-items: center;
  padding: 28px 0;
}
.partner-logos .plogo {
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.28s ease, transform 0.28s cubic-bezier(.2,.8,.2,1);
  max-height: 56px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
}
.partner-logos .plogo:hover {
  filter: grayscale(0) opacity(1);
  transform: translateY(-2px);
}
.plogo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: transparent;
  transition: color 0.2s, border-color 0.2s;
}
.plogo-text:hover {
  color: var(--text);
  border-color: var(--charcoal);
}

/* --- Metrics row — modernize --- */
.metrics {
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
  position: relative;
}
.metrics::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(254,15,9,0.08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(254,15,9,0.05), transparent 50%);
  pointer-events: none;
}

/* --- Testimonial cards — modern (dark variant matches hero) --- */
.tcard {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  position: relative;
  transition: transform 0.22s cubic-bezier(.2,.8,.2,1), box-shadow 0.22s, border-color 0.22s;
}
.tcard:hover {
  transform: translateY(-3px);
  border-color: rgba(254,15,9,0.16);
  box-shadow: 0 24px 48px -20px rgba(28,31,35,0.14);
}
.tcard-dark {
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border-color: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
}
.tcard-dark .tcard-quote { color: rgba(255,255,255,0.92); }
.tcard-dark .tcard-author { border-top-color: rgba(255,255,255,0.10); }
.tcard-dark .tcard-name { color: white; }
.tcard-dark .tcard-title { color: rgba(255,255,255,0.65); }
.tcard-dark .tcard-avatar.placeholder { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.75); }
.tcard-dark:hover { border-color: rgba(254,15,9,0.40); }
.tcard-partner .tcard-quote em { font-style: italic; color: var(--brand-red-bright); }

.tcard-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.tcard-quote::before {
  content: '"';
  font-family: 'Fraunces', serif;
  font-style: normal;
  font-size: 56px;
  line-height: 0.5;
  color: var(--brand-red);
  display: block;
  margin-bottom: 18px;
  font-weight: 500;
}
.tcard-avatar-square {
  border-radius: 10px !important;
  object-fit: contain !important;
  background: white !important;
  padding: 8px;
}

/* --- Pricing tiers — make featured tier pop more --- */
.tier {
  border-radius: 20px;
  padding: 36px 32px;
}
.tier.featured {
  transform: scale(1.02);
  box-shadow: 0 32px 64px -24px rgba(254,15,9,0.20), 0 12px 24px -12px rgba(28,31,35,0.10);
}
.tier-price {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  letter-spacing: -0.02em;
}
.tier-features li::before { border-radius: 6px; }
.tier-cta a {
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* --- Screenshot frames — softer shadows, more depth --- */
.screenshot {
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(28,31,35,0.04),
    0 8px 24px -8px rgba(28,31,35,0.10),
    0 32px 64px -24px rgba(28,31,35,0.18);
  border: 1px solid rgba(28,31,35,0.06);
}
.hero-image-wrap {
  border-radius: 18px;
  box-shadow:
    0 1px 2px rgba(28,31,35,0.04),
    0 12px 32px -8px rgba(28,31,35,0.14),
    0 48px 96px -32px rgba(28,31,35,0.24);
  border: 1px solid rgba(28,31,35,0.06);
}

/* --- Product mockup — refined chrome --- */
.product-mockup {
  border-radius: 18px;
  box-shadow:
    0 1px 2px rgba(28,31,35,0.04),
    0 12px 32px -8px rgba(28,31,35,0.14),
    0 48px 96px -32px rgba(28,31,35,0.24);
}

/* --- Final CTA — bring more presence --- */
.final-cta {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(254,15,9,0.12), transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(254,15,9,0.06), transparent 55%);
  pointer-events: none;
}
.final-cta-inner h2 { letter-spacing: -0.025em; }

/* --- Founder section refinement --- */
.founder-photo {
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(28,31,35,0.04),
    0 16px 32px -12px rgba(28,31,35,0.14);
}

/* --- Testimonial section gradient backdrop --- */
.testimonial-section {
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
  position: relative;
  overflow: hidden;
}
.testimonial-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(254,15,9,0.08), transparent 70%);
  pointer-events: none;
}

/* --- Mockup annotation pills — modern badge --- */
.mockup-annot {
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px -8px rgba(28,31,35,0.18);
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 14px;
}

/* --- Footer modernization --- */
footer {
  background: linear-gradient(180deg, var(--charcoal-deep) 0%, #0a0c10 100%);
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.footer-col a { transition: color 0.2s ease; }
.footer-col a:hover { color: var(--brand-red-bright); }
.footer-badges .badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* --- FAQ accordion modernization --- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  font-weight: 600;
  padding-right: 40px;
  letter-spacing: -0.005em;
}
.faq-item summary::after {
  width: 28px;
  height: 28px;
  background: var(--brand-red-soft);
  color: var(--brand-red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  top: -3px;
  transition: background 0.2s, transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(180deg); }

/* --- PageHero — sub-page hero shared component ---
   Self-contained: provides its own max-width and side padding,
   so it does NOT need to live inside a .container wrapper.
   Inner elements (.hero-tag, .hero-title, .hero-sub) inherit their default
   margins from the global rules so PageHero matches Kalkulator/Webshop
   visually — only the section padding differs by variant. */
.page-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px 56px;
}
.page-hero--compact { padding-bottom: 32px; }
.page-hero--flush   { padding-bottom: 0; }
.page-hero-inner {
  max-width: 820px;
}
.page-hero .hero-sub {
  margin-bottom: 0;
  max-width: 720px;
}
@media (max-width: 720px) {
  .page-hero { padding: 20px 20px 36px; }
  .page-hero--flush { padding-bottom: 0; }
}

/* --- Breadcrumb refinement ---
   Canonical breadcrumb position: 20px from nav, 16px from first content section.
   Inner uses the same max-width (1280px) and side padding (32px) as nav and .container
   so the start label aligns visually with the goCAD logo above it.

   IMPORTANT: <nav class="breadcrumb"> would otherwise inherit the generic
   `nav { position: sticky; top: 0; z-index: 1000 }` rule above and start
   sticking to the top of the viewport on scroll — hiding the goCAD nav.
   Explicitly reset position/z-index here so only the main <nav> is sticky. */
.breadcrumb {
  position: static;
  z-index: auto;
  background: transparent;
  border-bottom: none;
  padding: 20px 0 16px;
}
.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb-inner a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}
.breadcrumb-inner a:hover {
  color: var(--brand-red);
}
.breadcrumb-inner .sep {
  color: var(--text-faint);
  opacity: 0.6;
}
.breadcrumb-inner .current {
  color: var(--charcoal);
  font-weight: 500;
}

/* --- Smooth scroll-into-view fade animation (CSS only) --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.diff-card, .pain-card, .tcard, .step, .tier, .product-card {
  animation: fadeInUp 0.6s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  .diff-card, .pain-card, .tcard, .step, .tier, .product-card { animation: none; }
}

/* --- Mockup container refinement --- */
.mockup-side-brand .brand-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--brand-red);
  border-radius: 50%;
  margin-left: 2px;
  vertical-align: top;
  margin-top: 2px;
}

/* Responsive polish */
@media (max-width: 980px) {
  .tier.featured { transform: scale(1); }
  .partner-logos { grid-template-columns: repeat(2, 1fr); }
  .section-eyebrow, .hero-tag { font-size: 11px; }
}

/* ============================================================
   INLINE WORKFLOW VISUALIZATION — scoped under .wf-stage
   Used on kalkulator.html ("Von CAD zum Angebot in 3 Schritten")
   and webshop.html ("Von CAD zur Bestellung in 3 Schritten")
   ============================================================ */
.wf-stage {
  position: relative;
  padding: 24px 0 40px;
  margin-top: 24px;
  overflow: visible;
}
.wf-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28,31,35,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,31,35,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 0%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 0%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}
.wf-stage > * { position: relative; z-index: 1; }

.wf-head { text-align: center; margin-bottom: 56px; }
.wf-persona-row { display: flex; justify-content: center; margin-bottom: 22px; }
.wf-persona-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 6px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.wf-persona-pill .wf-pp-tag {
  background: var(--charcoal);
  color: white;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wf-persona-pill .wf-pp-arrow { color: var(--brand-red); font-family: 'JetBrains Mono', monospace; }
.wf-persona-pill b { color: var(--charcoal); font-weight: 600; }

.wf-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 18px;
}
.wf-eyebrow::before, .wf-eyebrow::after {
  content: ''; width: 28px; height: 1px; background: var(--brand-red);
}
.wf-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
}
.wf-accent {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--brand-red);
}
.wf-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 16px auto 0;
  line-height: 1.55;
}

.wf-flow {
  display: grid;
  grid-template-columns: 1fr 56px 1fr 56px 1fr;
  align-items: stretch;
  gap: 0;
}
.wf-step { position: relative; display: flex; flex-direction: column; }
.wf-step-head {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 24px;
  min-height: 120px;
}
.wf-num {
  flex: none;
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--charcoal);
}
.wf-step:nth-child(3) .wf-num {
  background: var(--brand-red);
  color: white;
  border-color: var(--brand-red);
}
.wf-step-text { padding-top: 2px; min-width: 0; }
.wf-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.wf-step h3 {
  font-size: clamp(15px, 1.45vw, 19px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--charcoal);
  margin: 0 0 8px;
  line-height: 1.2;
}
.wf-step p {
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.wf-frame-stack { position: relative; flex: 1; }
.wf-frame {
  background: var(--charcoal);
  border-radius: 10px;
  padding: 6px;
  box-shadow:
    0 24px 48px -16px rgba(28,31,35,0.22),
    0 6px 16px -4px rgba(28,31,35,0.08);
}
.wf-frame-bar {
  height: 16px; display: flex; align-items: center; gap: 4px;
  padding: 0 6px 6px;
}
.wf-frame-bar i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #3A3D42; display: block;
}
.wf-frame img {
  width: 100%; display: block;
  border-radius: 4px;
  background: white;
}

.wf-stacked .wf-frame.wf-secondary {
  position: absolute;
  width: 56%;
  bottom: -32px;
  right: -20px;
  transform: rotate(2deg);
  box-shadow:
    0 18px 36px -10px rgba(28,31,35,0.26),
    0 3px 10px -2px rgba(28,31,35,0.12);
  z-index: 2;
}
.wf-stacked.wf-left .wf-frame.wf-secondary {
  right: auto; left: -20px; transform: rotate(-2deg);
}
.wf-stacked .wf-frame.wf-primary { transform: rotate(-0.6deg); }
.wf-stacked.wf-left .wf-frame.wf-primary { transform: rotate(0.6deg); }

.wf-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 16%;
}
.wf-connector svg { width: 100%; height: 24px; overflow: visible; }
.wf-line { stroke: var(--brand-red); stroke-width: 1.5; stroke-dasharray: 4 4; fill: none; }
.wf-arrow { fill: var(--brand-red); }

.wf-tags {
  margin-top: 48px;
  display: flex; flex-wrap: wrap; gap: 5px;
}
.wf-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px 9px;
}
.wf-tag.wf-green { color: var(--green); border-color: rgba(44,122,79,0.25); }
.wf-tag.wf-red {
  color: var(--brand-red);
  border-color: rgba(254,15,9,0.25);
  background: var(--brand-red-soft);
}

/* Price pill — kalkulator step 3 (right, charcoal) */
.wf-price-pill,
.wf-price-callout {
  position: absolute;
  background: var(--charcoal);
  color: white;
  border-radius: 12px;
  padding: 14px 18px 12px;
  box-shadow:
    0 18px 42px -10px rgba(28,31,35,0.55),
    0 5px 14px -2px rgba(28,31,35,0.18);
  z-index: 5;
  min-width: 150px;
}
.wf-price-pill {
  right: -24px; bottom: -28px;
  transform: rotate(-2.5deg);
}
.wf-price-callout {
  left: -24px; bottom: -28px;
  transform: rotate(2.5deg);
}
.wf-price-pill::before,
.wf-price-callout::before {
  content: '';
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border: 2px solid var(--brand-red);
  border-radius: 14px;
  opacity: 0.22;
  pointer-events: none;
}
.wf-pp-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.wf-pp-val {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  color: var(--brand-red);
  line-height: 1;
  display: flex; align-items: baseline; gap: 3px;
}
.wf-pp-euro {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  color: white;
  font-size: 16px;
  font-weight: 500;
}
.wf-pp-sub {
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
}
.wf-pp-sub b { color: white; font-weight: 600; }

/* Order stamp — webshop step 3 (white, red border, rotated) */
.wf-order-stamp {
  position: absolute;
  right: -24px; bottom: -28px;
  background: white;
  border: 2px solid var(--brand-red);
  border-radius: 12px;
  padding: 12px 18px 10px;
  box-shadow:
    0 18px 42px -10px rgba(254,15,9,0.22),
    0 5px 14px -2px rgba(28,31,35,0.10);
  z-index: 5;
  transform: rotate(-3deg);
  min-width: 150px;
}
.wf-os-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 5px;
  display: flex; align-items: center; gap: 6px;
}
.wf-os-lbl .wf-dot-green {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(44,122,79,0.18);
}
.wf-os-val {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--charcoal);
  line-height: 1;
  display: flex; align-items: baseline; gap: 3px;
}
.wf-os-val .wf-os-euro {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  color: var(--brand-red);
  font-size: 16px;
  font-weight: 600;
}
.wf-os-sub {
  margin-top: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
}
.wf-os-sub b { color: var(--charcoal); font-weight: 600; }

.wf-foot {
  margin-top: 72px;
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  text-align: center;
}
.wf-foot .wf-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--line-strong);
}
.wf-foot strong { color: var(--charcoal); font-weight: 600; }

/* Responsive — stack vertically on narrow screens */
@media (max-width: 900px) {
  .wf-flow {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .wf-connector { display: none; }
  .wf-stacked .wf-frame.wf-secondary,
  .wf-stacked.wf-left .wf-frame.wf-secondary {
    position: relative;
    width: 100%;
    bottom: 0; right: 0; left: 0;
    margin-top: 12px;
    transform: none;
  }
  .wf-stacked .wf-frame.wf-primary,
  .wf-stacked.wf-left .wf-frame.wf-primary { transform: none; }
  .wf-price-pill, .wf-price-callout, .wf-order-stamp {
    position: relative;
    right: 0; left: 0; bottom: 0;
    transform: none;
    margin: 16px auto 0;
    display: block;
    width: fit-content;
  }
}

/* ============================================================
   TESTIMONIAL COMPANY LOGO STRIP (small badge inside .tcard)
   ============================================================ */
.tcard-company {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  margin-top: 4px;
  border-top: 1px dashed rgba(255,255,255,0.10);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
}
.tcard-company img {
  height: 22px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.7);
  transition: filter 0.24s ease;
}
.tcard:hover .tcard-company img { filter: brightness(0) invert(1) opacity(1); }
.tcard-company .name-pill {
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  color: rgba(255,255,255,0.75);
  font-weight: 700;
  letter-spacing: 0.10em;
}
/* Light-mode variant for testimonials on white backgrounds */
.tcard:not(.tcard-dark) .tcard-company {
  border-top-color: var(--line);
  color: var(--text-muted);
}
.tcard:not(.tcard-dark) .tcard-company img {
  filter: grayscale(1) opacity(0.7);
}
.tcard:not(.tcard-dark):hover .tcard-company img {
  filter: grayscale(0) opacity(1);
}
.tcard:not(.tcard-dark) .tcard-company .name-pill {
  border-color: var(--line);
  color: var(--text-muted);
}

/* IFF white logo on light background — needs dark backdrop chip */
.partner-logos .plogo-light {
  background: var(--charcoal);
  padding: 12px 18px;
  border-radius: 10px;
  max-height: 80px;
  height: auto;
  filter: none;
  opacity: 0.92;
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.partner-logos .plogo-light:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ============================================================
   TECHNOLOGIES / VERFAHREN SECTION
   ============================================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.tech-card {
  background: var(--bg-card);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1), box-shadow 0.28s ease, border-color 0.24s;
  position: relative;
  isolation: isolate;
}
.tech-card:hover {
  transform: translateY(-4px);
  border-color: rgba(254,15,9,0.20);
  box-shadow: 0 28px 56px -20px rgba(28,31,35,0.16), 0 8px 16px -8px rgba(28,31,35,0.08);
}
.tech-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-tint);
}
.tech-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  display: block;
}
.tech-card:hover .tech-card-image img { transform: scale(1.04); }
.tech-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(28,31,35,0.40) 100%);
  pointer-events: none;
}
.tech-card-tag {
  position: absolute;
  top: 16px; left: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  background: rgba(28,31,35,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 100px;
  z-index: 2;
}
.tech-card-body {
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.tech-card-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0;
}
.tech-card-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}
.tech-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.tech-card-tags .tt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-tint);
  padding: 4px 10px;
  border-radius: 100px;
}
@media (max-width: 980px) {
  .tech-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MASCHINENSTUNDENSATZ CALCULATOR
   ============================================================ */
.mhs-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.mhs-form, .mhs-result {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
}
.mhs-section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mhs-section-title:not(:first-child) { margin-top: 28px; }
.mhs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.mhs-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mhs-field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.mhs-field label .help {
  display: inline-block;
  width: 14px; height: 14px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--text-muted);
  text-align: center;
  font-size: 9px;
  line-height: 14px;
  cursor: help;
  font-weight: 700;
}
.mhs-field .input {
  display: flex;
  align-items: center;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  transition: border-color 0.18s, background 0.18s;
}
.mhs-field .input:focus-within {
  background: white;
  border-color: var(--brand-red);
}
.mhs-field input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  min-width: 0;
  width: 100%;
}
.mhs-field .unit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  padding-left: 8px;
  white-space: nowrap;
}

/* Result panel */
.mhs-result {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
  color: white;
  border-color: var(--charcoal);
  position: sticky;
  top: 96px;
  height: fit-content;
}
.mhs-result .mhs-section-title {
  color: rgba(255,255,255,0.6);
  border-bottom-color: rgba(255,255,255,0.10);
}
.mhs-cost-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.mhs-cost-row {
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.mhs-cost-row .lbl { color: rgba(255,255,255,0.65); }
.mhs-cost-row .val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.mhs-cost-row.total {
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
  margin-top: 8px;
  font-size: 16px;
  color: white;
}
.mhs-cost-row.total .val { color: white; font-weight: 600; }
.mhs-rate {
  background: rgba(254,15,9,0.10);
  border: 1px solid rgba(254,15,9,0.30);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  margin-top: 28px;
  position: relative;
}
.mhs-rate-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red-bright);
  margin-bottom: 10px;
}
.mhs-rate-val {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  color: white;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}
.mhs-rate-val .currency {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 28px;
  color: var(--brand-red-bright);
  font-weight: 500;
}
.mhs-rate-val .per-hour {
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.mhs-cta {
  margin-top: 24px;
  display: block;
  text-align: center;
  padding: 14px 20px;
  background: var(--brand-red);
  color: white;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
  transition: background 0.18s, transform 0.18s;
}
.mhs-cta:hover { background: var(--brand-red-deep); transform: translateY(-1px); }

@media (max-width: 980px) {
  .mhs-wrap { grid-template-columns: 1fr; }
  .mhs-grid { grid-template-columns: 1fr; }
  .mhs-result { position: static; }
}

/* Glossary list */
.mhs-glossary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.mhs-glossary-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.mhs-glossary-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text);
}
.mhs-glossary-item p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.mhs-glossary-item a {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-red);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mhs-glossary-item a:hover { text-decoration: underline; }
@media (max-width: 740px) {
  .mhs-glossary { grid-template-columns: 1fr; }
}

/* ============================================================
   IFRAME HERO EMBED — 1600x1200 design scaled by JS
   (JS reads .clientWidth and applies transform: scale to the inner
   wrapper. The wrap has aspect-ratio 4/3 + overflow hidden so the
   scaled iframe fits perfectly.)
   ============================================================ */
.hero-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
}
.hero-iframe-scaler {
  position: absolute;
  top: 0; left: 0;
  width: 1600px;
  height: 1200px;
  transform-origin: top left;
  transform: scale(1); /* updated by JS */
  will-change: transform;
}
.hero-iframe-scaler iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none; /* purely decorative */
}

/* ============================================================
   IFRAME SCREENSHOT EMBED — for inline product mockups
   Uses data-native-w / data-native-h on the wrap for scaling.
   Same JS scaler as the hero iframe.
   ============================================================ */
.shot-iframe-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
  box-shadow:
    0 1px 2px rgba(28,31,35,0.04),
    0 8px 24px -8px rgba(28,31,35,0.10),
    0 32px 64px -24px rgba(28,31,35,0.18);
  border: 1px solid rgba(28,31,35,0.06);
}
.shot-iframe-scaler {
  position: absolute;
  top: 0; left: 0;
  transform-origin: top left;
  transform: scale(1); /* set by JS */
  will-change: transform;
}
.shot-iframe-scaler iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}
/* Native-size variants — each .shot-iframe-wrap has its aspect ratio
   from the data attributes which the JS picks up too */
.shot-iframe-wrap[data-native-w="1600"][data-native-h="1000"] { aspect-ratio: 16 / 10; }
.shot-iframe-wrap[data-native-w="1600"][data-native-h="1000"] .shot-iframe-scaler { width: 1600px; height: 1000px; }

.shot-iframe-wrap[data-native-w="1400"][data-native-h="1050"] { aspect-ratio: 4 / 3; }
.shot-iframe-wrap[data-native-w="1400"][data-native-h="1050"] .shot-iframe-scaler { width: 1400px; height: 1050px; }

.shot-iframe-wrap[data-native-w="1200"][data-native-h="900"] { aspect-ratio: 4 / 3; }
.shot-iframe-wrap[data-native-w="1200"][data-native-h="900"] .shot-iframe-scaler { width: 1200px; height: 900px; }

/* ============================================================
   PREMIUM POLISH LAYER (June 2026)
   Additive refinements applied via the design-taste plugin.
   Same brand tokens, no IA or copy changes, no inline styles —
   higher craft on top of the existing system.
   ============================================================ */

:root {
  /* Tinted, brand-aware shadow tokens. Use these instead of pure-black drop shadows. */
  --shadow-xs: 0 1px 2px rgba(28, 31, 35, 0.04);
  --shadow-sm: 0 2px 8px -2px rgba(28, 31, 35, 0.06), 0 1px 2px rgba(28, 31, 35, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(28, 31, 35, 0.10), 0 2px 6px -2px rgba(28, 31, 35, 0.05);
  --shadow-lg: 0 24px 48px -20px rgba(28, 31, 35, 0.14), 0 8px 16px -8px rgba(28, 31, 35, 0.06);
  --shadow-xl: 0 40px 80px -32px rgba(28, 31, 35, 0.20), 0 12px 24px -12px rgba(28, 31, 35, 0.08);
  --shadow-brand: 0 16px 32px -12px rgba(254, 15, 9, 0.22), 0 4px 12px -4px rgba(254, 15, 9, 0.10);

  /* Focus ring — visible for keyboard users, invisible for mouse via :focus-visible */
  --ring: 0 0 0 3px rgba(254, 15, 9, 0.22), 0 0 0 1px var(--brand-red);
  --ring-dark: 0 0 0 3px rgba(255, 61, 56, 0.32), 0 0 0 1px var(--brand-red-bright);

  /* Motion easing — single curve everywhere */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --- Typography polish: balance headlines, pretty body, tabular numerals ---
   text-wrap: balance fixes orphans in hero/section titles; pretty applies
   to multi-line body copy. tabular-nums keeps prices and stats aligned. */
.hero-title,
.section-title,
.final-cta h2,
.founder-content h2,
.price-card h2,
.legal-content h1,
.legal-content h2 {
  text-wrap: balance;
}
.hero-sub,
.section-lede,
.pain-card p,
.step p,
.diff-card p,
.diff-item p,
.product-card .product-sub,
.tech-card-body p,
.legal-content p {
  text-wrap: pretty;
}

/* Center-align the section-title and section-lede BLOCKS (not just their text)
   when inside a wrapper that opts into centered text. Without this, the block
   sits at the left edge of its parent — the max-width caps width to 760/640px,
   so the text-align: center inside ends up visually off-center relative to
   the eyebrow / siblings above. Auto margins put the block in the middle. */
[style*="text-align: center"] > h2.section-title,
[style*="text-align: center"] > .section-title,
[style*="text-align: center"] > .section-lede,
[style*="text-align:center"] > h2.section-title,
[style*="text-align:center"] > .section-title,
[style*="text-align:center"] > .section-lede {
  margin-left: auto;
  margin-right: auto;
}

/* All numeric data renders with tabular figures + slashed zero for legibility */
.metric-value, .metric-value .num,
.tstat-value,
.price-amount, .tier-price,
.mockup-card-value, .mockup-row,
.mhs-rate-val, .mhs-cost-row .val,
.wf-pp-val, .wf-os-val,
.compare-cell .mono,
.mono {
  font-variant-numeric: tabular-nums slashed-zero;
}

/* --- Focus rings (a11y) — keyboard-only via :focus-visible --- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.tier-cta a:focus-visible,
.mhs-cta:focus-visible {
  border-radius: 8px;
}
.testimonial-section a:focus-visible,
.final-cta a:focus-visible,
.metrics a:focus-visible,
footer a:focus-visible {
  box-shadow: var(--ring-dark);
}
/* Mouse users should not see the ring */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; box-shadow: none; }

/* Skip-to-content link for keyboard users (visually hidden until focused) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--charcoal);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  z-index: 10001;
  transition: top 0.2s var(--ease-out);
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* --- Press states — physical click feedback on all CTAs --- */
.btn-primary:active,
.btn-ghost:active,
.tier-cta a:active,
.mhs-cta:active,
.product-link:active {
  transform: translateY(0) scale(0.985);
  transition-duration: 0.08s;
}

/* --- Nav refinement — underline-grow on hover, clear current indicator --- */
.nav-links a {
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.current::after { transform: scaleX(1); }
.nav-links a.current { color: var(--charcoal); font-weight: 600; }

/* Lang switcher: subtle separator and weight on active side */
.nav-lang {
  font-family: 'JetBrains Mono', monospace;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.18s ease, color 0.18s ease;
  text-decoration: none;
}
.nav-lang:hover { background: var(--bg-tint); color: var(--charcoal); }

/* --- Subtle grain overlay on hero (single fixed pseudo-element, pointer-events:none).
   Breaks the digital flatness without affecting scroll performance — confined to
   .hero so it doesn't render on every section. */
.hero {
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.30;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.108  0 0 0 0 0.121  0 0 0 0 0.137  0 0 0 0.65 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 0%, transparent 75%);
}
.hero-inner { z-index: 2; }

/* --- Hero title: heavier and more confident, with tighter italic accent --- */
h1.hero-title {
  font-weight: 600;
}
h1.hero-title .accent {
  /* Reserve descender space for italic Fraunces letters (g, y, p) */
  padding-bottom: 0.06em;
  display: inline-block;
  line-height: 1.05;
}

/* --- Section eyebrow restraint: when two eyebrows would sit consecutively
   in the page, the second one becomes a subtle text-only label so the page
   doesn't feel templated. Pages opt in by adding .eyebrow-quiet to the section. */
.eyebrow-quiet .section-eyebrow,
.eyebrow-quiet .hero-tag {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-muted);
}
.eyebrow-quiet .section-eyebrow::before,
.eyebrow-quiet .hero-tag::before {
  background: var(--text-faint);
}

/* --- Refined card hover: subtler lift, tinted shadow, motion harmonized --- */
.pain-card,
.diff-card,
.tcard,
.step,
.tier,
.product-card,
.tech-card,
.mhs-glossary-item {
  transition:
    transform 0.32s var(--ease-out),
    box-shadow 0.32s var(--ease-out),
    border-color 0.24s var(--ease-out);
}
.pain-card:hover,
.diff-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(254, 15, 9, 0.14);
}
.tech-card:hover {
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(254, 15, 9, 0.10);
}

/* --- Product mockup chrome: refined macOS-style window with tinted shadow --- */
.product-mockup {
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(28, 31, 35, 0.04),
    0 12px 32px -8px rgba(28, 31, 35, 0.16),
    0 56px 112px -32px rgba(28, 31, 35, 0.28);
  border: 1px solid rgba(28, 31, 35, 0.08);
}
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FEBC2E; }
.mockup-dot:nth-child(3) { background: #28C840; }
.mockup-chrome .mockup-dot {
  opacity: 0.85;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.18);
}

/* Mockup annotation: refined card with a brand-colored leading bar */
.mockup-annot {
  border-radius: 12px;
  padding: 12px 16px 12px 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(28, 31, 35, 0.06);
  background: var(--bg-card);
  position: absolute;
}
.mockup-annot .ic {
  width: 22px; height: 22px;
  border-radius: 6px;
  font-size: 12px;
  box-shadow: 0 4px 10px -2px rgba(254, 15, 9, 0.32);
}

/* --- Testimonial card refinements --- */
.tcard-quote {
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.tcard:hover { box-shadow: var(--shadow-lg); }

/* --- Final CTA refinement: stronger heading, tighter rhythm --- */
.final-cta h2 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.final-cta p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}

/* --- Metrics: vertical alignment, fluid scaling --- */
.metric-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: clamp(28px, 3vw, 40px);
}
.metric-value .num {
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* --- Hairline-rhythm alternative to card grids ---
   Pages can use <div class="rhythm-list"> to render content as a
   typographic list with hairline separators instead of card boxes.
   Breaks the "every section is a card grid" repetition. */
.rhythm-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 48px;
}
.rhythm-list > * {
  display: grid;
  grid-template-columns: minmax(120px, 220px) 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.rhythm-list h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--charcoal);
  margin: 0;
}
.rhythm-list .rhythm-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 6px;
  font-weight: 500;
}
.rhythm-list p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0;
}
@media (max-width: 720px) {
  .rhythm-list > * { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
}

/* --- Lead bento utility: when the same content might otherwise sit in
   three equal cards, .lead-bento promotes the first card to span 2 cols
   while the remaining two sit beside in a column. Breaks the 3-equal
   rhythm without removing any content. Pages opt in by adding the class
   to .pains-grid / .diff-grid wrappers. */
.lead-bento {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
}
.lead-bento > *:first-child {
  grid-row: 1 / 3;
}
@media (max-width: 980px) {
  .lead-bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .lead-bento > *:first-child { grid-row: auto; }
}

/* --- Scroll-reveal stagger via IntersectionObserver (Section 5.C pattern).
   Pages add .reveal-on-scroll to a wrapper, and children fade-up sequentially
   when they enter the viewport. Only active when JS has set body.js — no-JS
   visitors see the content immediately. Reduced-motion users skip the motion. */
/* Reveal-on-scroll deactivated — the IntersectionObserver-based stagger fade
   was unreliable on some browsers/scroll positions and trapped content
   invisible. Class kept on elements as a no-op so we can re-introduce a
   different reveal mechanism later without re-editing every page. */

/* --- Footer refinement: tighter rhythm, hover lift on logo block --- */
footer {
  padding-top: 72px;
}
.footer-brand p {
  letter-spacing: -0.005em;
}
.footer-col a {
  position: relative;
  display: inline-block;
}
.footer-col a:hover {
  transform: translateX(2px);
  transition: transform 0.18s var(--ease-out), color 0.18s ease;
}

/* --- Smooth scroll-padding so anchor jumps don't hide behind the sticky nav --- */
html { scroll-padding-top: 96px; }

/* --- Higher-contrast lang switcher for mobile drawer --- */
.mobile-nav-lang {
  background: var(--bg-tint);
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
}

/* --- Tier featured badge subtle pulse (motion-reduced safe) --- */
@media (prefers-reduced-motion: no-preference) {
  .tier.featured .tier-badge {
    animation: tier-badge-glow 3.6s ease-in-out infinite;
  }
}
@keyframes tier-badge-glow {
  0%, 100% { box-shadow: 0 4px 12px -2px rgba(254, 15, 9, 0.32); }
  50%      { box-shadow: 0 6px 18px -2px rgba(254, 15, 9, 0.48); }
}

/* --- Reduced-motion safety net: collapse all animated reveals --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   PROCESS CHAIN — "Vom Zuschnitt bis zur Baugruppe" visual
   Used on index.astro to anchor the "Eine Lösung. Alle Verfahren."
   section with a 4-tile flow before the 6-card USP grid.
   ============================================================ */
.process-chain {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  gap: 0;
  align-items: stretch;
  margin: 56px 0 8px;
}
.process-chain figure {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out);
}
.process-chain figure:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
/* Schematic stage — replaces photo cell with a technical-drawing illustration.
   Same family as the hero product mockup: warm-paper panel, faint grid,
   charcoal line work, brand-red dashed accents, JetBrains Mono labels. */
.process-chain .pc-schema {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
}
/* Subtle technical-drawing grid behind the schematic */
.process-chain .pc-schema::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 31, 35, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 31, 35, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 90%);
  pointer-events: none;
}
.process-chain .pc-schema svg {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.process-chain figure:hover .pc-schema svg { transform: scale(1.03); }
.process-chain .pc-step {
  position: absolute;
  top: 12px; left: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 100px;
  z-index: 2;
}
/* Mac-style window dots in the top-right, mirroring the hero mockup chrome */
.process-chain .pc-schema-chrome {
  position: absolute;
  top: 14px; right: 14px;
  display: flex;
  gap: 5px;
  z-index: 2;
}
.process-chain .pc-schema-chrome span {
  width: 7px; height: 7px; border-radius: 50%;
  opacity: 0.85;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.18);
}
.process-chain .pc-schema-chrome span:nth-child(1) { background: #FF5F57; }
.process-chain .pc-schema-chrome span:nth-child(2) { background: #FEBC2E; }
.process-chain .pc-schema-chrome span:nth-child(3) { background: #28C840; }

/* Info-panel variant — same family as the hero product mockup's internal UI:
   header row, 2-col metric cards, tagged data rows. Replaces SVG schematic
   content while keeping the schema container styling (grid bg, chrome, step). */
.process-chain .pc-panel {
  position: relative;
  z-index: 1;
  padding: 36px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.process-chain .pc-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.process-chain .pc-panel-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.process-chain .pc-panel-sub {
  margin-top: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}
.process-chain .pc-panel-status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--charcoal);
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.process-chain .pc-panel-status .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.process-chain .pc-panel-status.is-red {
  color: var(--brand-red);
  border-color: rgba(254, 15, 9, 0.22);
  background: var(--brand-red-soft);
}
.process-chain .pc-panel-status.is-red .dot { background: var(--brand-red); }
.process-chain .pc-panel-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.process-chain .pc-panel-metric {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
}
.process-chain .pc-panel-metric .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  text-transform: uppercase;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  font-weight: 600;
}
.process-chain .pc-panel-metric .val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  font-variant-numeric: tabular-nums;
}
.process-chain .pc-panel-metric .val .unit {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}
.process-chain .pc-panel-rows {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-top: auto;
}
.process-chain .pc-panel-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  padding: 7px 10px;
  font-size: 10.5px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.process-chain .pc-panel-row:last-child { border-bottom: none; }
.process-chain .pc-panel-row .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  background: var(--brand-red-soft);
  color: var(--brand-red);
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.process-chain .pc-panel-row .num {
  font-family: 'JetBrains Mono', monospace;
  color: var(--charcoal);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Final tile — quote breakdown variant. Adds a mini line-item list and
   bold price total, matching the info-rich vibe of the other tiles. */
.process-chain .pc-final .pc-quote {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.process-chain .pc-final .pc-quote-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}
.process-chain .pc-final .pc-quote-row .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.process-chain .pc-final .pc-quote-row .val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: white;
  font-variant-numeric: tabular-nums;
}
.process-chain .pc-final .pc-quote-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2px;
}
.process-chain .pc-final .pc-quote-total .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}
.process-chain .pc-final .pc-quote-total .val {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--brand-red-bright);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.process-chain .pc-final .pc-quote-total .val .currency {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-left: 3px;
  font-weight: 500;
}
.process-chain figcaption {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.process-chain figcaption strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}
.process-chain figcaption span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* The "convergence" final tile — visually distinct, charcoal background */
.process-chain .pc-final {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
  border-color: var(--charcoal);
  color: white;
  position: relative;
  overflow: hidden;
}
.process-chain .pc-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(254, 15, 9, 0.18), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(254, 15, 9, 0.08), transparent 60%);
  pointer-events: none;
}
.process-chain .pc-final .pc-final-inner {
  position: relative;
  flex: 1;
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  z-index: 1;
}
.process-chain .pc-final .pc-step {
  position: relative;
  top: 0; left: 0;
  align-self: flex-start;
  background: var(--brand-red);
  color: white;
}
.process-chain .pc-final h4 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  margin: 0;
}
.process-chain .pc-final h4 .accent {
  color: var(--brand-red-bright);
}
.process-chain .pc-final p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.process-chain .pc-final .pc-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--brand-red-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.process-chain .pc-final .pc-meta::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(254, 15, 9, 0.18);
}

/* Arrow connectors between tiles — drawn with a single SVG-as-background */
.process-chain .pc-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.process-chain .pc-arrow::before {
  content: '';
  width: 100%;
  height: 1.5px;
  background-image: linear-gradient(to right, var(--brand-red) 50%, transparent 50%);
  background-size: 6px 1.5px;
  background-repeat: repeat-x;
  opacity: 0.55;
}
.process-chain .pc-arrow::after {
  content: '';
  position: absolute;
  right: 4px;
  width: 0; height: 0;
  border-left: 7px solid var(--brand-red);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  opacity: 0.85;
}

/* Responsive: stack vertically on narrow screens */
@media (max-width: 900px) {
  .process-chain {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .process-chain .pc-arrow {
    height: 36px;
  }
  .process-chain .pc-arrow::before {
    width: 1.5px;
    height: 100%;
    background-image: linear-gradient(to bottom, var(--brand-red) 50%, transparent 50%);
    background-size: 1.5px 6px;
    background-repeat: repeat-y;
  }
  .process-chain .pc-arrow::after {
    right: auto;
    bottom: 0;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--brand-red);
    border-bottom: none;
  }
}

/* ============================================================
   FEEDBACK ROUND (June 2026) — typography discipline + red restraint
   Per design consultant: serif Fraunces only as a 1–2-word emphasis
   inside headlines; numbers / units / data / labels use Inter Tight.
   JetBrains Mono only for tags/badges/code-style data. Brand red
   tones down in modules (already in headlines + eyebrows).
   ============================================================ */

/* 1. NUMBERS & UNITS — switch Fraunces italic to Inter Tight 600 */
.metric-value,
.tstat-value,
.tier-price,
.mhs-rate-val,
.wf-pp-val,
.wf-os-val,
.pain-stat .figure,
.step-num,
.diff-num,
.pain-num {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif !important;
  font-style: normal !important;
  font-variant-numeric: tabular-nums slashed-zero;
}

.metric-value,
.tstat-value,
.tier-price,
.mhs-rate-val,
.wf-pp-val,
.wf-os-val {
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
}

/* Keep the inline ".accent" italic inside headlines (Fraunces serif) —
   consultant explicitly approves this single emphasis use. No override. */

/* 2. LABELS THAT WERE JETBRAINS MONO — return to Inter Tight */
.diff-num,
.pain-num,
.phase-num,
.wf-eyebrow,
.wf-kicker,
.wf-foot,
.pain-stat .desc,
.pain-stat,
.breadcrumb-inner,
.metric-label {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif !important;
  letter-spacing: 0.04em !important;
}

/* JetBrains Mono stays ONLY on these strictly tag/data slots — explicit allowlist */
.section-eyebrow,
.hero-tag,
.pc-step,
.pc-meta,
.mockup-side-section,
.mockup-card-label,
.mockup-card-value,
.mockup-row,
.mockup-h-sub,
.mockup-pill,
.material-tag,
.pc-panel-row .tag,
.pc-panel-row .num,
.pc-panel-metric .lbl,
.pc-panel-metric .val,
.pc-panel-status,
.pc-panel-sub,
.pc-quote-row .lbl,
.pc-quote-row .val,
.pc-quote-total .lbl,
.wf-tag,
.wf-pp-lbl,
.wf-pp-sub,
.wf-os-lbl,
.wf-os-sub,
.tech-card-tag,
.tech-card-tags .tt,
.mhs-rate-lbl,
.mhs-cost-row .val,
.mhs-field .unit,
.tcard-company,
.legal-content .meta {
  font-family: 'JetBrains Mono', monospace !important;
}

/* 3. RED RESTRAINT — once red is in the headline, modules go neutral */
.diff-num,
.pain-num,
.phase-num {
  color: var(--charcoal) !important;
  background: transparent !important;
}

/* Keep the homepage .diff-card hover-num red flip (it's interactive feedback, not module decoration) — no override */

.wf-eyebrow::before,
.wf-eyebrow::after {
  background: var(--text-faint) !important; /* not brand-red */
}

/* 4. WF-EYEBROW now matches .section-eyebrow pill style across the site */
.wf-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  color: var(--brand-red) !important;
  padding: 6px 12px !important;
  background: var(--brand-red-soft) !important;
  border-radius: 999px !important;
  border: 1px solid rgba(254, 15, 9, 0.14) !important;
  margin-bottom: 24px !important;
}
.wf-eyebrow::before {
  content: '' !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: var(--brand-red) !important;
  flex: none !important;
}
.wf-eyebrow::after {
  display: none !important; /* no trailing dash */
}

/* 5. BREADCRUMB in regular font (Inter Tight), not Mono */
.breadcrumb-inner {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
.breadcrumb-inner .current {
  font-weight: 600 !important;
}


/* Pain-stat figure stays on one line — '%' must not wrap below the value */
.pain-stat .figure { white-space: nowrap; }
/* --- Print: clean output, no decorative grain or motion --- */
@media print {
  .hero::after, .hero::before,
  .metrics::before, .final-cta::before,
  .testimonial-section::before { display: none !important; }
  nav, footer, .contact-widget { display: none !important; }
  body { padding-bottom: 0; }
}
