/* ── DESIGN TOKENS ─────────────────────────────────────────────────────────
     Editorial / Swiss system borrowed from grynn.io & konsolid.at:
     warm paper + near-black ink, heavy Archivo Expanded display, Space Mono
     labels, hairline ruled grid. Brand accent = the konsolid.at logo teal.
  ──────────────────────────────────────────────────────────────────────── */
  /* Fonts loaded via <link rel="stylesheet"> in <head> for non-blocking render */

  :root {
    --paper:      #EFEBE0;
    --paper-2:    #E6E1D3;
    --card:       #FAF8F2;
    --ink:        #15140F;
    --ink-soft:   #3a382f;
    --ink-faint:  #6b6862;
    --teal:       #00BFA5;   /* konsolid.at logo teal */
    --teal-deep:  #009e88;
    --teal-bright:#64FFDA;   /* on dark */
    --teal-glow:  rgba(0,191,165,0.12);
    --indigo:     #2422DA;
    --red:        #E8431F;
    --line:       rgba(21,20,15,0.18);
    --line-strong:rgba(21,20,15,0.35);
    --line-light: rgba(255,255,255,0.10);
    --exp:  'Archivo Expanded', sans-serif;
    --sans: 'Archivo', system-ui, sans-serif;
    --mono: 'Space Mono', monospace;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
  }

  /* ── UTILITIES ──────────────────────────────────────────────────────────── */
  .container { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
  .mono { font-family: var(--mono); }
  .teal { color: var(--teal); }
  section { position: relative; z-index: 1; }

  /* Logo glyph (konsolid.at consolidate-arrows mark) — inherits currentColor */
  .logo-glyph {
    display: inline-block; width: 1.15em; height: 1.15em; flex-shrink: 0;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 9h2V4h2v5a2 2 0 0 1-2 2h-2v2l-3-3 3-3m-4 3a2 2 0 1 0-2 2 2 2 0 0 0 2-2M2 11v5h2v-5h2v2l3-3-3-3v2H4a2 2 0 0 0-2 2m13 5-3-3-3 3h2v2a2 2 0 0 0 2 2h5v-2h-5v-2'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 9h2V4h2v5a2 2 0 0 1-2 2h-2v2l-3-3 3-3m-4 3a2 2 0 1 0-2 2 2 2 0 0 0 2-2M2 11v5h2v-5h2v2l3-3-3-3v2H4a2 2 0 0 0-2 2m13 5-3-3-3 3h2v2a2 2 0 0 0 2 2h5v-2h-5v-2'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  /* ── NAV ────────────────────────────────────────────────────────────────── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(239,235,224,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1.5px solid var(--ink);
  }
  .nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between;
    height: 66px;
  }
  .nav-logo {
    font-family: var(--exp); font-weight: 800;
    font-size: 1.15rem; letter-spacing: 0.04em;
    color: var(--ink); text-decoration: none;
    display: flex; align-items: center; gap: 10px;
  }
  .nav-logo .logo-glyph { color: var(--teal); font-size: 1.3rem; }
  .nav-logo-tag { font-family: var(--mono); font-size: 0.62rem; color: var(--ink-faint); letter-spacing: 0.1em; }
  .nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
  .nav-links a {
    color: var(--ink-soft); text-decoration: none;
    font-size: 0.86rem; font-weight: 600;
    font-family: var(--mono);
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--teal-deep); }
  .nav-cta {
    background: var(--ink); color: var(--paper) !important;
    padding: 9px 18px; font-weight: 700 !important;
    font-family: var(--sans) !important;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--teal-deep); }
  /* Compare dropdown */
  .nav-dropdown { position: relative; }
  .nav-drop-toggle { font-family: var(--mono); font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; user-select: none; transition: color 0.2s; }
  .nav-dropdown:hover .nav-drop-toggle, .nav-dropdown:focus-within .nav-drop-toggle { color: var(--teal-deep); }
  .nav-dropdown-menu {
    position: absolute; top: calc(100% + 10px); right: 0; min-width: 260px;
    background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
    padding: 8px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.16s, transform 0.16s, visibility 0.16s; z-index: 200;
  }
  .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-dropdown-menu li { display: block; }
  .nav-dropdown-menu a { display: block; padding: 9px 12px; font-family: var(--mono); font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
  .nav-dropdown-menu a:hover { color: var(--teal-deep); background: var(--paper-2); }
  .nav-dropdown-menu .menu-head { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); padding: 4px 12px 8px; }
  .nav-dropdown-menu .menu-sep { height: 1.5px; background: var(--line); margin: 7px 6px; }
  .nav-dropdown-menu a.full { color: var(--teal-deep); font-weight: 700; }
  /* contextual inline link to the deep comparison (on dark sections) */
  .compare-cta { margin-top: 22px; font-family: var(--mono); font-size: 0.9rem; }
  .compare-cta a { color: var(--teal-bright); text-decoration: none; border-bottom: 1px solid rgba(100,255,218,0.4); padding-bottom: 2px; }
  .compare-cta a:hover { border-bottom-color: var(--teal-bright); }

  /* ── STAR DIFFERENTIATOR: ownership & openness matrix (on ink) ──────────── */
  .own-wrap { margin-top: 44px; overflow-x: auto; border: 1.5px solid rgba(255,255,255,0.2); }
  table.own { width: 100%; border-collapse: collapse; font-size: 0.84rem; min-width: 740px; }
  table.own th { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 13px 12px; text-align: center; color: rgba(255,255,255,0.5); border-bottom: 1.5px solid rgba(255,255,255,0.18); white-space: nowrap; }
  table.own th.feat { text-align: left; }
  table.own th.kcol { color: var(--teal-bright); background: rgba(0,191,165,0.09); }
  table.own td { padding: 12px; text-align: center; border-top: 1px solid rgba(255,255,255,0.07); }
  table.own td.feat { text-align: left; color: #fff; font-weight: 600; font-size: 0.88rem; }
  table.own td.kcol { background: rgba(0,191,165,0.06); }
  table.own tbody tr:hover td { background: rgba(255,255,255,0.03); }
  table.own tbody tr:hover td.kcol { background: rgba(0,191,165,0.1); }
  .own-y { color: var(--teal-bright); font-weight: 700; font-size: 1.05rem; }
  .own-n { color: rgba(255,255,255,0.22); font-size: 1.05rem; }
  .own-p { color: #E0A33A; font-size: 1.05rem; }
  .own-foot { font-family: var(--mono); font-size: 0.84rem; color: var(--teal-bright); margin-top: 22px; font-weight: 700; }
  .own-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
  .own-strip span { font-family: var(--mono); font-size: 0.84rem; color: rgba(255,255,255,0.82); border: 1.5px solid rgba(100,255,218,0.3); padding: 9px 15px; }
  .own-strip span::before { content: '\2713 '; color: var(--teal-bright); font-weight: 700; }

  /* ── BUTTONS ────────────────────────────────────────────────────────────── */
  .btn-primary {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--teal); color: var(--ink);
    font-weight: 700; font-size: 0.95rem;
    padding: 14px 26px; border: 1.5px solid var(--ink);
    text-decoration: none; cursor: pointer;
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform 0.12s, box-shadow 0.12s;
  }
  .btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
  .btn-ghost {
    display: inline-flex; align-items: center; gap: 9px;
    color: var(--ink); font-weight: 600; font-size: 0.95rem;
    padding: 14px 24px; border: 1.5px solid var(--ink);
    text-decoration: none; cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }
  .btn-ghost:hover { background: var(--ink); color: var(--paper); }
  .on-ink .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,0.4); }
  .on-ink .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

  /* ── HERO ───────────────────────────────────────────────────────────────── */
  .hero {
    background: var(--ink); color: var(--paper);
    padding: 132px 32px 88px; position: relative; overflow: hidden;
  }
  /* light grid inside the dark hero — also fades left & right */
  .hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
      linear-gradient(var(--line-light) 1px, transparent 1px),
      linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
    background-size: 100% 4.5rem, 4.5rem 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  }
  .hero::after {
    content: ''; position: absolute; top: -10%; right: -5%; width: 55%; height: 90%;
    background: radial-gradient(ellipse at center, var(--teal-glow) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
  .hero-mark {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--exp); font-weight: 900; letter-spacing: 0.18em;
    font-size: 0.8rem; text-transform: uppercase; color: var(--teal-bright);
    border: 1.5px solid rgba(100,255,218,0.35); padding: 7px 14px;
    margin-bottom: 28px;
  }
  .hero-mark .logo-glyph { font-size: 1.1rem; }
  .formula-bar {
    font-family: var(--mono); font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 14px; display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 8px; background: rgba(255,255,255,0.04); max-width: 100%; overflow-x: auto;
  }
  .formula-bar-cell { color: rgba(255,255,255,0.5); border-right: 1px solid rgba(255,255,255,0.18); padding-right: 10px; }
  .formula-bar-formula { color: rgba(200,230,255,0.85); white-space: nowrap; }
  .formula-bar-formula .fn { color: var(--teal-bright); }
  .formula-bar-formula .arg { color: #F0B429; }
  .formula-bar-cursor { color: var(--teal-bright); font-weight: 700; }
  /* legend mapping each argument to what it means */
  .formula-legend {
    display: flex; flex-wrap: wrap; gap: 5px 16px; margin-bottom: 28px;
    font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.05em;
    text-transform: uppercase; color: rgba(255,255,255,0.42);
  }
  .formula-legend span { display: inline-flex; align-items: center; gap: 6px; }
  .formula-legend span::before { content: ''; width: 7px; height: 7px; background: var(--teal-bright); flex-shrink: 0; }

  /* main hero headline — "Open Source EPM for [rotating ERP]" */
  .erp-rotator { display: inline-block; height: 1.2em; line-height: 1.2em; overflow: hidden; vertical-align: bottom; }
  .erp-rotator ul { list-style: none; padding: 0; margin: 0; animation: erp-cycle 11s cubic-bezier(0.4,0,0.2,1) infinite; }
  .erp-rotator li { height: 1.2em; line-height: 1.2em; color: var(--teal-bright); white-space: nowrap; }
  @keyframes erp-cycle {
    0%, 17%   { transform: translateY(0); }
    21%, 38%  { transform: translateY(-1.2em); }
    42%, 59%  { transform: translateY(-2.4em); }
    63%, 80%  { transform: translateY(-3.6em); }
    84%, 100% { transform: translateY(-4.8em); }
  }
  .hero h1 {
    font-family: var(--exp); font-weight: 900;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.08; letter-spacing: -0.03em;
    margin-bottom: 24px; max-width: 24ch;
  }
  .hero h1 em { font-style: normal; color: var(--teal-bright); }
  .hero-sub {
    font-size: 1.15rem; color: rgba(255,255,255,0.62);
    max-width: 660px; line-height: 1.65; margin-bottom: 32px;
  }
  .hero-sub strong { color: var(--teal-bright); font-weight: 700; }
  .hero-points { list-style: none; margin: 0 0 36px; max-width: 660px; }
  .hero-points li {
    display: flex; gap: 13px; align-items: flex-start; padding: 11px 0;
    font-size: 1.06rem; color: rgba(255,255,255,0.66); line-height: 1.5;
    border-bottom: 1px solid rgba(255,255,255,0.09);
  }
  .hero-points li:last-child { border-bottom: none; }
  .hero-points li::before { content: '→'; font-family: var(--mono); color: var(--teal-bright); font-weight: 700; flex-shrink: 0; }
  .hero-points strong { color: #fff; font-weight: 700; }
  /* hero keyword tag cloud */
  .hero-tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; max-width: 700px; margin: 4px 0 36px; }
  .hero-tag {
    font-family: var(--mono); font-weight: 700; font-size: 0.9rem; line-height: 1;
    color: rgba(255,255,255,0.68); border: 1.5px solid rgba(255,255,255,0.2);
    padding: 8px 14px; white-space: nowrap; cursor: default;
    transition: border-color 0.2s, color 0.2s, transform 0.12s;
  }
  .hero-tag:hover { border-color: var(--teal-bright); color: #fff; transform: translateY(-2px); }
  .hero-tag.lg { font-size: 1.12rem; padding: 11px 18px; }
  .hero-tag.sm { font-size: 0.76rem; padding: 6px 11px; color: rgba(255,255,255,0.5); }
  .hero-tag.accent { border-color: var(--teal-bright); color: var(--teal-bright); background: rgba(0,191,165,0.08); }
  .hero-tag.solid { background: var(--teal); color: var(--ink); border-color: var(--teal); }
  .hero-tag.solid:hover { color: var(--ink); }
  .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

  .hero-stats {
    display: flex; gap: 0; margin-top: 56px;
    border: 1.5px solid rgba(255,255,255,0.18); flex-wrap: wrap;
  }
  .hero-stat { flex: 1; min-width: 150px; padding: 22px 26px; border-right: 1.5px solid rgba(255,255,255,0.18); }
  .hero-stat:last-child { border-right: none; }
  .hero-stat-num { font-family: var(--exp); font-weight: 800; font-size: 1.7rem; color: #fff; display: block; line-height: 1; }
  .hero-stat-label { font-family: var(--mono); font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 9px; line-height: 1.5; }

  /* ── SECTION CHROME ─────────────────────────────────────────────────────── */
  .section { padding: 96px 32px; }
  .section.alt { background: var(--paper-2); }
  .section.ink { background: var(--ink); color: var(--paper); }
  .band-top { border-top: 1.5px solid var(--ink); }
  .section-eyebrow {
    font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
    color: var(--teal-deep); text-transform: uppercase; margin-bottom: 14px;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .section.ink .section-eyebrow { color: var(--teal-bright); }
  .section-title {
    font-family: var(--exp); font-weight: 800;
    font-size: clamp(2.1rem, 4.6vw, 3.2rem);
    line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 18px;
  }
  .section-sub { font-size: 1.06rem; color: var(--ink-soft); max-width: 620px; line-height: 1.65; }
  .section.ink .section-sub { color: rgba(255,255,255,0.55); }

  /* ── CONNECTORS / TRUST BAR ─────────────────────────────────────────────── */
  .trust-bar { background: var(--paper-2); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 26px 32px; }
  .trust-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
  .trust-label { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-faint); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
  .trust-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .trust-badge {
    font-family: var(--mono); font-size: 0.78rem; color: var(--ink);
    background: var(--card); border: 1.5px solid var(--ink);
    padding: 7px 14px; display: inline-flex; align-items: center; gap: 8px;
  }
  .trust-badge .tag { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.05em; padding: 2px 6px; text-transform: uppercase; }
  .tag.live { background: var(--teal); color: var(--ink); }
  .tag.new  { background: var(--indigo); color: #fff; }
  .tag.soon { background: transparent; color: var(--ink-faint); border: 1px solid var(--line-strong); }
  .trust-badge.oss { border-color: var(--teal-deep); color: var(--teal-deep); background: var(--teal-glow); font-weight: 700; }

  /* ── PROBLEM ────────────────────────────────────────────────────────────── */
  .problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 48px; }
  .problem-block-label { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
  .problem-block-label.bad { color: var(--red); }
  .problem-block-label.worse { color: #C77A1A; }
  .problem-item { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
  .problem-item:first-of-type { border-top: 1px solid var(--line); }
  .problem-icon { font-size: 0.95rem; margin-top: 1px; }
  .problem-text { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }
  .problem-text strong { font-weight: 700; color: var(--ink); display: block; margin-bottom: 2px; }

  /* ── APPROACH ───────────────────────────────────────────────────────────── */
  .approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: -1px; margin-top: 48px; border: 1.5px solid var(--ink); }
  .approach-card { padding: 32px 28px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); background: var(--card); transition: background 0.2s; }
  .approach-card:nth-child(3n) { border-right: none; }
  .approach-card:nth-last-child(-n+3) { border-bottom: none; }
  .approach-card:hover { background: var(--paper-2); }
  .approach-card-icon { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; color: var(--teal-deep); border: 1.5px solid var(--teal-deep); display: inline-block; padding: 4px 10px; margin-bottom: 18px; }
  .approach-card h3 { font-family: var(--exp); font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; line-height: 1.2; }
  .approach-card p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }

  /* ── COMPLEXITY ENGINE ──────────────────────────────────────────────────── */
  .complexity-header { margin-bottom: 44px; }
  .complexity-tabs { display: flex; border: 1.5px solid var(--ink); margin-bottom: -1.5px; }
  .complexity-tab {
    flex: 1; padding: 16px 20px; font-size: 0.88rem; font-weight: 700; cursor: pointer;
    background: var(--card); color: var(--ink-soft); border: none;
    border-right: 1.5px solid var(--ink); text-align: left; transition: all 0.15s;
    font-family: var(--sans);
  }
  .complexity-tab:last-child { border-right: none; }
  .complexity-tab.active { background: var(--ink); color: var(--paper); }
  .complexity-tab span { display: block; font-family: var(--mono); font-size: 0.66rem; font-weight: 400; margin-bottom: 4px; opacity: 0.6; }
  .complexity-panel { display: none; background: var(--card); border: 1.5px solid var(--ink); padding: 38px; }
  .complexity-panel.active { display: block; }
  .panel-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
  .panel-feature { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .panel-feature:last-child { border-bottom: none; }
  .panel-feature-dot { width: 9px; height: 9px; background: var(--teal); min-width: 9px; margin-top: 7px; }
  .panel-feature h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
  .panel-feature p { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.55; }
  .panel-code-block { background: var(--ink); color: var(--paper); padding: 24px; font-family: var(--mono); font-size: 0.76rem; line-height: 1.75; overflow-x: auto; }
  .code-comment { color: rgba(255,255,255,0.32); }
  .code-keyword { color: #7EC8E3; }
  .code-fn { color: var(--teal-bright); }
  .code-str { color: #F0B429; }
  .code-val { color: #F4A261; }
  .code-dim { color: rgba(255,255,255,0.55); }

  /* ── CAPABILITIES ───────────────────────────────────────────────────────── */
  .cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
  .cap-card { padding: 28px; background: var(--card); border: 1.5px solid var(--ink); transition: transform 0.12s, box-shadow 0.12s; }
  .cap-card:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--teal); }
  .cap-icon { font-size: 1.4rem; margin-bottom: 14px; }
  .cap-card h3 { font-family: var(--exp); font-size: 0.96rem; font-weight: 700; margin-bottom: 8px; }
  .cap-card p { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.6; }

  /* ── WHO IT'S FOR ───────────────────────────────────────────────────────── */
  .audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
  .audience-card { background: var(--card); border: 1.5px solid var(--ink); padding: 30px 28px; position: relative; }
  .audience-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--teal); }
  .audience-role { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 14px; }
  .audience-card h3 { font-family: var(--exp); font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; line-height: 1.2; }
  .audience-card p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 18px; }
  .audience-pains { list-style: none; }
  .audience-pain { font-size: 0.82rem; color: var(--ink); padding: 6px 0; display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; }
  .audience-pain::before { content: '→'; color: var(--teal-deep); font-weight: 700; flex-shrink: 0; }

  /* ── ROI ────────────────────────────────────────────────────────────────── */
  .roi-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
  .roi-tier { border: 1.5px solid rgba(255,255,255,0.25); padding: 38px 34px; display: flex; flex-direction: column; }
  .roi-tier.featured { border-color: var(--teal-bright); background: rgba(0,191,165,0.06); }
  .roi-tier-name { font-family: var(--mono); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
  .roi-tier.featured .roi-tier-name { color: var(--teal-bright); }
  .roi-price { font-family: var(--exp); font-weight: 900; font-size: 3.4rem; line-height: 1; color: #fff; letter-spacing: -0.03em; margin-bottom: 8px; }
  .roi-price small { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.5); display: block; margin-top: 8px; letter-spacing: 0; }
  .roi-tier > p { font-size: 0.92rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin: 16px 0 22px; }
  .roi-list { list-style: none; margin-bottom: 28px; flex: 1; }
  .roi-list li { font-size: 0.86rem; color: rgba(255,255,255,0.78); padding: 8px 0; display: flex; gap: 10px; align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .roi-list li::before { content: '✓'; color: var(--teal-bright); font-weight: 700; flex-shrink: 0; }
  .roi-tier .btn-primary { justify-content: center; width: 100%; box-shadow: none; }
  .roi-tier .btn-primary:hover { box-shadow: none; transform: none; background: var(--teal-deep); }
  .roi-tier .btn-ghost { justify-content: center; width: 100%; }

  /* supporting comparison table */
  .roi-compare-label { font-family: var(--mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin: 56px 0 18px; }
  .tco-table-wrap { overflow-x: auto; border: 1.5px solid rgba(255,255,255,0.2); }
  table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
  thead tr { background: rgba(255,255,255,0.05); border-bottom: 1.5px solid rgba(255,255,255,0.18); }
  thead th { padding: 14px 18px; text-align: left; font-family: var(--mono); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.5); text-transform: uppercase; }
  thead th.highlight { color: var(--teal-bright); background: rgba(0,191,165,0.08); }
  tbody tr { border-bottom: 1px solid rgba(255,255,255,0.07); }
  tbody tr:last-child { border-bottom: none; }
  td { padding: 13px 18px; color: rgba(255,255,255,0.62); }
  td.row-label { color: rgba(255,255,255,0.85); font-weight: 600; }
  td.konsolidat-col { color: var(--teal-bright); font-weight: 700; background: rgba(0,191,165,0.06); font-family: var(--mono); font-size: 0.78rem; }

  /* ── HOW IT WORKS ───────────────────────────────────────────────────────── */
  .hiw-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border: 1.5px solid var(--ink); }
  .hiw-step { padding: 30px 24px; border-right: 1.5px solid var(--ink); background: var(--card); }
  .hiw-step:last-child { border-right: none; }
  .hiw-step-num { font-family: var(--exp); font-weight: 900; font-size: 1.4rem; color: var(--teal-deep); margin-bottom: 16px; }
  .hiw-step h3 { font-family: var(--exp); font-size: 0.96rem; font-weight: 700; margin-bottom: 8px; }
  .hiw-step p { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.55; }
  .hiw-step-tag { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--ink-faint); border: 1px solid var(--line-strong); padding: 3px 8px; }

  /* ── IMPLEMENTATION STEPS ───────────────────────────────────────────────── */
  .impl-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border: 1.5px solid var(--ink); }
  .impl-step { padding: 30px 28px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); background: var(--card); transition: background 0.2s; }
  .impl-step:nth-child(3n) { border-right: none; }
  .impl-step:nth-last-child(-n+3) { border-bottom: none; }
  .impl-step:hover { background: var(--paper-2); }
  .impl-step-num { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 16px; }
  .impl-step-num b { font-family: var(--exp); font-weight: 900; font-size: 1.5rem; color: var(--ink); line-height: 1; }
  .impl-step h3 { font-family: var(--exp); font-size: 1.02rem; font-weight: 700; margin-bottom: 9px; line-height: 1.2; }
  .impl-step p { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.6; }

  /* ── TECH STACK ─────────────────────────────────────────────────────────── */
  .stack-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 48px; border: 1.5px solid rgba(255,255,255,0.2); }
  .stack-card { padding: 30px 24px; border-right: 1.5px solid rgba(255,255,255,0.2); }
  .stack-card:last-child { border-right: none; }
  .stack-mark { font-family: var(--mono); font-weight: 700; font-size: 1.4rem; line-height: 1; margin-bottom: 16px; }
  .stack-card strong { display: block; font-family: var(--exp); font-weight: 700; font-size: 0.96rem; color: #fff; margin-bottom: 5px; }
  .stack-card span { font-family: var(--mono); font-size: 0.72rem; color: rgba(255,255,255,0.45); line-height: 1.4; display: block; }
  .stack-flow { font-family: var(--mono); font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 18px; letter-spacing: 0.04em; }
  .stack-flow b { color: var(--teal-bright); font-weight: 400; }

  /* ── CONFIGURABLE IN APP ────────────────────────────────────────────────── */
  .config-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
  .config-card { background: var(--card); border: 1.5px solid var(--ink); padding: 24px 22px; }
  .config-card h3 { font-family: var(--exp); font-size: 0.92rem; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
  .config-card h3 .ck { color: var(--teal-deep); font-size: 0.9rem; }
  .config-card ul { list-style: none; }
  .config-card li { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-soft); padding: 4px 0; line-height: 1.4; }
  .config-note { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-faint); margin-top: 28px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .config-note b { color: var(--teal-deep); font-weight: 700; }

  /* ── THE NUMBERS — cost-to-run callout (on ink) ─────────────────────────── */
  .roi-runcost { margin-top: 28px; border: 1.5px solid var(--teal-bright); background: rgba(0,191,165,0.06); padding: 24px 26px; }
  .roi-runcost-head { font-family: var(--mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 10px; }
  .roi-runcost p { font-size: 0.96rem; color: rgba(255,255,255,0.75); line-height: 1.65; }
  .roi-runcost b { color: #fff; }

  /* ── WHAT'S TESTED ──────────────────────────────────────────────────────── */
  .tested-head { display: flex; align-items: baseline; gap: 18px; margin: 48px 0 28px; flex-wrap: wrap; }
  .tested-bignum { font-family: var(--exp); font-weight: 900; font-size: 3.2rem; line-height: 1; color: var(--teal-deep); }
  .tested-head p { font-size: 0.96rem; color: var(--ink-soft); max-width: 540px; line-height: 1.6; }
  .tested-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .tested-card { background: var(--card); border: 1.5px solid var(--ink); padding: 18px 20px; }
  .tested-card .n { font-family: var(--exp); font-weight: 900; font-size: 1.3rem; color: var(--teal-deep); line-height: 1; }
  .tested-card h4 { font-family: var(--exp); font-size: 0.9rem; font-weight: 700; margin-top: 8px; line-height: 1.2; }
  .tested-card p { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.45; margin-top: 8px; }
  .tested-foot { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-faint); margin-top: 22px; }
  .tested-foot b { color: var(--teal-deep); }

  /* ── HONEST GAPS (Who It's For) ─────────────────────────────────────────── */
  .honest-gaps { margin-top: 40px; border: 1.5px solid var(--line-strong); border-left: 4px solid var(--teal); background: var(--card); padding: 24px 28px; }
  .honest-gaps strong { font-family: var(--exp); font-size: 1rem; }
  .honest-gaps ul { list-style: none; margin: 14px 0 12px; }
  .honest-gaps li { font-size: 0.88rem; color: var(--ink-soft); padding: 5px 0; display: flex; gap: 10px; align-items: flex-start; }
  .honest-gaps li::before { content: '→'; color: var(--teal-deep); font-weight: 700; flex-shrink: 0; }
  .honest-gaps p { font-size: 0.86rem; color: var(--ink-faint); }

  /* ── FAQ ────────────────────────────────────────────────────────────────── */
  .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 44px; margin-top: 48px; }
  .faq-item { border-top: 1.5px solid var(--ink); padding-top: 18px; }
  .faq-item h3 { font-family: var(--exp); font-size: 1.04rem; font-weight: 700; margin-bottom: 9px; line-height: 1.25; }
  .faq-item p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }
  .faq-item p a { color: var(--teal-deep); text-decoration: none; }
  .faq-item p a:hover { text-decoration: underline; }

  /* ── FINAL CTA ──────────────────────────────────────────────────────────── */
  .cta-section { padding: 100px 32px; text-align: center; position: relative; overflow: hidden; }
  .cta-section::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 700px; height: 420px; background: radial-gradient(ellipse, var(--teal-glow) 0%, transparent 70%); pointer-events: none; }
  .cta-formula { font-family: var(--mono); font-size: 0.82rem; color: rgba(255,255,255,0.25); margin-bottom: 26px; letter-spacing: 0.04em; position: relative; z-index: 1; }
  .cta-formula span { color: var(--teal-bright); opacity: 0.7; }
  .cta-section h2 { font-family: var(--exp); font-weight: 900; font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 18px; position: relative; z-index: 1; }
  .cta-section p { font-size: 1.08rem; color: rgba(255,255,255,0.55); max-width: 520px; margin: 0 auto 36px; line-height: 1.65; position: relative; z-index: 1; }
  .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

  /* ── FOOTER ─────────────────────────────────────────────────────────────── */
  footer { background: #0B0A07; color: var(--paper); padding: 44px 32px; border-top: 1.5px solid rgba(255,255,255,0.1); }
  .footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; }
  .footer-logo { font-family: var(--exp); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.04em; color: var(--paper); display: flex; align-items: center; gap: 9px; }
  .footer-logo .logo-glyph { color: var(--teal); font-size: 1.2rem; }
  .footer-links { display: flex; gap: 26px; }
  .footer-links a { font-family: var(--mono); font-size: 0.78rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--teal-bright); }
  .footer-oss { font-family: var(--mono); font-size: 0.74rem; color: var(--teal); }
  /* rich multi-column footer */
  .footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
  .footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.42); margin-top: 14px; max-width: 34ch; line-height: 1.6; }
  .footer-col h4 { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
  .footer-col a { display: block; font-size: 0.86rem; color: rgba(255,255,255,0.62); text-decoration: none; padding: 5px 0; transition: color 0.2s; }
  .footer-col a:hover { color: var(--teal-bright); }
  .footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-family: var(--mono); font-size: 0.75rem; color: rgba(255,255,255,0.4); }
  .footer-bottom a { color: inherit; text-decoration: none; }
  .footer-bottom a:hover { color: var(--teal-bright); }

  /* ── ALTERNATIVE-TO LANDING PAGES ───────────────────────────────────────── */
  .alt-eyebrow { font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 18px; }
  .alt-hero h1 { font-family: var(--exp); font-weight: 900; font-size: clamp(2.2rem, 5.2vw, 3.8rem); line-height: 1.04; letter-spacing: -0.03em; color: #fff; max-width: 18ch; }
  .alt-hero h1 em { font-style: normal; color: var(--teal-bright); }
  .switch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
  .switch-card { background: var(--card); border: 1.5px solid var(--ink); padding: 26px 24px; }
  .switch-card .num { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; color: var(--teal-deep); margin-bottom: 12px; }
  .switch-card h3 { font-family: var(--exp); font-size: 1.02rem; font-weight: 700; margin-bottom: 9px; line-height: 1.25; }
  .switch-card p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }

  /* ── FEATURE MATRIX ─────────────────────────────────────────────────────── */
  .feature-legend { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--mono); font-size: 0.78rem; color: var(--ink-soft); margin-top: 26px; }
  .mk-y { color: var(--teal-deep); font-weight: 700; }
  .mk-p { color: #C77A1A; font-weight: 700; }
  .mk-n { color: #B23A2E; font-weight: 700; }
  .fmatrix-wrap { margin-top: 32px; overflow-x: auto; border: 1.5px solid var(--ink); }
  table.fmatrix { width: 100%; border-collapse: collapse; font-size: 0.86rem; min-width: 700px; }
  table.fmatrix thead th { background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 13px 16px; text-align: left; }
  table.fmatrix thead th.kc { color: var(--teal-bright); }
  table.fmatrix tbody td { padding: 11px 16px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.4; color: var(--ink-soft); }
  table.fmatrix td.feat { color: var(--ink); font-weight: 600; width: 38%; }
  table.fmatrix td.kcol { background: rgba(0,191,165,0.05); color: var(--ink); }
  table.fmatrix tr.grp td { background: var(--ink); color: var(--teal-bright); font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 11px 16px; }
  .wins-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
  .wins-card { border: 1.5px solid var(--ink); padding: 30px 28px; background: var(--card); }
  .wins-card.k { border-color: var(--teal-deep); box-shadow: 5px 5px 0 var(--teal); }
  .wins-card h3 { font-family: var(--exp); font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; }
  .wins-card ul { list-style: none; }
  .wins-card li { font-size: 0.88rem; color: var(--ink-soft); padding: 7px 0; display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; border-bottom: 1px solid var(--line); }
  .wins-card li:last-child { border-bottom: none; }
  .wins-card li::before { content: '→'; color: var(--teal-deep); font-weight: 700; flex-shrink: 0; }
  @media (max-width: 760px) { .wins-grid { grid-template-columns: 1fr; } }
  @media (max-width: 920px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .switch-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
  }

  /* ── MODAL ──────────────────────────────────────────────────────────────── */
  .modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(11,10,7,0.75); z-index: 1000; align-items: center; justify-content: center; padding: 24px; }
  .modal-backdrop.open { display: flex; }
  .modal { background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); padding: 40px; max-width: 480px; width: 100%; position: relative; }
  .modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; font-size: 1.2rem; color: var(--ink-soft); }
  .modal h2 { font-family: var(--exp); font-weight: 800; font-size: 1.4rem; margin-bottom: 6px; }
  .modal p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 24px; }
  .form-group { margin-bottom: 16px; }
  .form-group label { display: block; font-family: var(--mono); font-size: 0.74rem; font-weight: 700; margin-bottom: 6px; }
  .form-group input, .form-group select { width: 100%; padding: 11px 14px; border: 1.5px solid var(--ink); font-family: var(--sans); font-size: 0.88rem; color: var(--ink); background: var(--card); }
  .form-group input:focus, .form-group select:focus { outline: none; border-color: var(--teal-deep); box-shadow: 2px 2px 0 var(--teal); }
  .form-submit { width: 100%; padding: 14px; background: var(--teal); color: var(--ink); border: 1.5px solid var(--ink); font-weight: 700; font-size: 0.95rem; cursor: pointer; margin-top: 8px; font-family: var(--sans); box-shadow: 4px 4px 0 var(--ink); transition: transform 0.12s, box-shadow 0.12s; }
  .form-submit:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }

  /* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
  @media (max-width: 920px) {
    .problem-grid, .approach-grid, .panel-grid, .roi-tiers { grid-template-columns: 1fr; }
    .approach-card { border-right: none; }
    .cap-grid, .audience-grid { grid-template-columns: 1fr 1fr; }
    .hiw-steps { grid-template-columns: 1fr 1fr; }
    .hiw-step:nth-child(2) { border-right: none; }
    .impl-grid { grid-template-columns: 1fr; }
    .impl-step { border-right: none; }
    .impl-step:nth-last-child(-n+3) { border-bottom: 1.5px solid var(--ink); }
    .impl-step:last-child { border-bottom: none; }
    .stack-grid { grid-template-columns: 1fr; }
    .stack-card { border-right: none; border-bottom: 1.5px solid rgba(255,255,255,0.2); }
    .stack-card:last-child { border-bottom: none; }
    .config-grid { grid-template-columns: 1fr 1fr; }
    .tested-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    .config-grid { grid-template-columns: 1fr; }
    .tested-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .cap-grid, .audience-grid, .hiw-steps { grid-template-columns: 1fr; }
    .hiw-step { border-right: none; border-bottom: 1.5px solid var(--ink); }
    .hiw-step:last-child { border-bottom: none; }
    .complexity-tabs { flex-direction: column; }
    .complexity-tab { border-right: none; border-bottom: 1.5px solid var(--ink); }
    .container { padding: 0 22px; }
  }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
