:root {
    --bg: #070707;
    --bg-2: #0b0b0b;
    --surface: #0d0d0d;
    --surface-2: #131313;
    --line: rgba(255,255,255,0.10);
    --line-strong: rgba(255,255,255,0.24);
    --text: #fafafa;
    --muted: #a1a1a1;
    --muted-2: #6e6e6e;
    --accent: #6ea8ff;
    --accent-soft: #9fc2ff;
    --accent-dim: rgba(110,168,255,.14);
    --warm: #ffffff;
    --signal: #6ea8ff;
    --warn: #8a8a8a;
  }

  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    font-feature-settings: "ss01","cv11";
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    letter-spacing: -0.005em;
  }

  /* Subtle film grain */
  body::before {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0.035;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='1'/></svg>");
    mix-blend-mode: overlay;
  }

  /* Page top hairline */
  .hairline { height: 1px; background: var(--line); }

  /* Serif display */
  .display {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: .98;
  }
  .display em {
    font-style: normal;
    font-weight: 700;
    color: var(--text);
    -webkit-text-stroke: 0;
    opacity: .38;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted-2);
    font-weight: 500;
  }
  .num {
    font-family: 'JetBrains Mono', monospace;
    font-style: normal;
    color: var(--muted-2);
  }

  /* Section padding */
  .section { padding-top: 5.5rem; padding-bottom: 0; }
  .section:last-of-type, #kontakt { padding-bottom: 5.5rem; }
  @media (max-width: 768px) { .section { padding-top: 3.5rem; } .section:last-of-type, #kontakt { padding-bottom: 3.5rem; } }

  /* Containers */
  .container-x { max-width: 1280px; margin-inline: auto; padding-inline: 1.25rem; }
  @media (min-width: 640px) { .container-x { padding-inline: 2rem; } }

  /* Hairline rule */
  .rule { height: 1px; background: var(--line); }

  /* ===== Stat band ===== */
  .stat-band { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  @media (min-width: 900px) { .stat-band { grid-template-columns: repeat(3, 1fr); } }
  .stat { padding: 2.5rem 1.75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  @media (min-width: 900px) { .stat { border-bottom: 0; } .stat:last-child { border-right: 0; } }
  @media (max-width: 899px) { .stat { border-right: 0; } .stat:last-child { border-bottom: 0; } }
  .stat-num { font-family: 'Inter', sans-serif; font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.9rem); letter-spacing: -.04em; line-height: 1; color: var(--text); }
  .stat-suffix { font-size: .3em; white-space: nowrap; font-weight: 500; color: var(--accent); letter-spacing: -.01em; margin-left: .24em; }
  .stat-label { margin-top: .9rem; font-size: 12px; line-height: 1.5; color: var(--muted); max-width: 20ch; }

  /* ===== Quote / reference cards ===== */
  .quote { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 1.5rem; transition: border-color .35s ease, background .35s ease; }
  .quote:hover { border-color: var(--line-strong); background: var(--surface-2); }
  .quote p { font-size: 15px; line-height: 1.65; color: var(--text); text-wrap: pretty; }
  .quote-mark { font-family: 'Instrument Serif', Georgia, serif; font-size: 44px; line-height: .6; color: rgba(110,168,255,.4); }
  .quote-who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
  .quote-av { width: 34px; height: 34px; border-radius: 999px; background: #1c1c1c; border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--muted); flex: none; }

  /* ===== Pricing ===== */
  .price-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
  @media (min-width: 940px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
  .price { background: var(--bg); padding: 2.25rem 1.9rem; display: flex; flex-direction: column; transition: background .35s ease; }
  .price:hover { background: var(--surface); }
  .price.featured { background: #0c1016; box-shadow: inset 0 1px 0 var(--accent); }
  .price.featured:hover { background: #151515; }
  .price-name { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
  .price-tag { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 2rem; letter-spacing: -.035em; color: var(--text); line-height: 1; }
  .price-unit { font-size: 12px; color: var(--muted-2); font-weight: 500; }
  .price-list { display: flex; flex-direction: column; gap: .7rem; margin: 1.75rem 0; }
  .price-list li { display: flex; gap: .65rem; font-size: 13px; line-height: 1.55; color: var(--muted); }
  .price-list i { font-size: 9px; color: var(--accent); margin-top: .35em; flex: none; }

  /* ===== FAQ ===== */
  .faq-item { border-bottom: 1px solid var(--line); }
  .faq-q { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; padding: 1.6rem 0; text-align: left; font-size: 16px; font-weight: 500; color: var(--text); letter-spacing: -.012em; cursor: pointer; transition: color .25s ease; }
  .faq-q:hover { color: var(--muted); }
  .faq-ico { flex: none; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 999px; display: grid; place-items: center; font-size: 9px; color: var(--muted); transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .3s ease; margin-top: .15em; }
  .faq-item.open .faq-ico { transform: rotate(45deg); border-color: var(--accent); color: var(--accent); }
  .faq-a { overflow: hidden; height: 0; transition: height .45s cubic-bezier(.22,1,.36,1); }
  .faq-a > div { padding-bottom: 1.7rem; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 62ch; text-wrap: pretty; }

  /* ===== Device frame ===== */
  .phone-wrap { display: flex; justify-content: center; }
  .phone { position: relative; width: 100%; max-width: 318px; aspect-ratio: 1470 / 3000; filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); }
  .phone-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
  .phone-screen { position: absolute; left: 5.102%; top: 2.2%; width: 89.796%; height: 95.6%; overflow: hidden; border-radius: 34px; background: #f2ece0; }
  .phone-shot { position: absolute; left: 0; top: 0; width: 100%; height: auto; display: block; opacity: 0; transition: opacity .45s ease; }
  .phone-shot.is-active { opacity: 1; }
  .phone-shot { --fill: 0% }
  .phone-shot.is-active { animation: shotScroll 4s ease-in-out .8s forwards; }
  @keyframes shotScroll { from { transform: translateY(0) } to { transform: translateY(calc(var(--fill) * -1)) } }
  @media (prefers-reduced-motion: reduce) { .phone-shot { animation: none !important } }

  /* ===== Reference ===== */
  .ref-quote-long { font-size: clamp(1.15rem, 2.1vw, 1.65rem); }
  .ref-carousel { overflow: hidden; }
  .ref-track { display: grid; overflow: hidden; transition: height .55s cubic-bezier(.2,.7,.2,1); }
  .ref-slide { grid-area: 1 / 1; align-self: start; margin: 0; opacity: 0; pointer-events: none; transform: translateX(-6%); transition: opacity .5s ease, transform .8s cubic-bezier(.22,1,.36,1); }
  .ref-slide.is-active { opacity: 1; pointer-events: auto; transform: none; }
  .ref-slide blockquote { margin: 0; }
  .ref-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
  .ref-logo { flex: 0 0 auto; width: 232px; height: 80px; display: grid; place-items: center; }
  .ref-logo image-slot { width: 100%; height: 100%; aspect-ratio: auto; }
  .ref-logo image-slot::part(frame) { background: transparent; }
  .ref-logo image-slot::part(image) { object-fit: contain; }
  .ref-who { min-width: 0; }
  .ref-name { font-size: 13.5px; color: rgba(255,255,255,.92); font-weight: 500; }
  .ref-org { font-size: 12.5px; color: var(--muted-2); margin-top: .2rem; }
  .ref-link { display: inline-flex; align-items: center; gap: .5rem; font-size: 12.5px; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; margin-left: auto; }
  .ref-link:hover { color: #fff; border-color: rgba(255,255,255,.25); }
  .ref-link i { font-size: 9px; }
  .ref-nav { display: flex; align-items: center; gap: .9rem; }
  .ref-nav[data-count="1"] { display: none; }
  .ref-arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; transition: color .3s, border-color .3s, background .3s; }
  .ref-arrow:hover { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
  .ref-arrow:disabled { opacity: .3; cursor: default; }
  .ref-dots { display: flex; gap: .45rem; }
  .ref-dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.18); border: 0; padding: 0; cursor: pointer; transition: background .3s, width .3s; }
  .ref-dot.is-on { background: var(--warn); width: 18px; }
  @media (max-width: 767px) { .ref-logo { width: 180px; height: 62px; } .ref-meta { gap: 1rem 1.5rem; margin-top: 1.5rem; padding-top: 1.5rem; } .ref-link { margin-left: 0; flex-basis: 100%; } }
  .ref-link { display: inline-flex; align-items: center; gap: .5rem; font-size: 12.5px; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
  .ref-link:hover { color: #fff; border-color: rgba(255,255,255,.25); }
  .ref-link i { font-size: 9px; }

  /* ===== Photo slot frame ===== */
  .photo-frame { position: relative; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--surface); max-width: 400px; margin-inline: auto; }
  @media (min-width: 1024px) { .photo-frame { max-width: none; margin-inline: 0; } }
  .photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .photo-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(7,7,7,.55) 100%); }

  /* Card surfaces */
  .surface {
    background: #0d0d0d;
    border: 1px solid var(--line);
    border-radius: 4px;
  }
  .surface-lift {
    transition: transform .5s cubic-bezier(.22,1,.36,1), border-color .35s ease, background .35s ease;
  }
  .surface-lift:hover {
    border-color: var(--line-strong);
    background: #131313;
  }

  /* Header */
  .header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    background: rgba(8,8,8,.72);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border-bottom: 1px solid rgba(255,255,255,.10);
  }
  .nav-link {
    position: relative;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: .01em;
    transition: color .2s ease;
  }
  .nav-link:hover { color: var(--text); }
  .nav-link::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -22px;
    height: 1px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s cubic-bezier(.22,1,.36,1);
  }
  .nav-link:hover::after { transform: scaleX(1); }

  /* Logo animation */
  .logo-wrap {
    position: relative;
    display: inline-flex;
    overflow: hidden;
  }
  .logo-wrap img { display: block; }
  .logo-wrap::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(110deg,
      transparent 30%,
      rgba(255,255,255,.55) 50%,
      transparent 70%);
    transform: translateX(-120%);
    mix-blend-mode: overlay;
    pointer-events: none;
    animation: shimmer 7s ease-in-out 1.5s infinite;
  }
  @keyframes shimmer {
    0% { transform: translateX(-120%); }
    18%, 100% { transform: translateX(120%); }
  }
  .logo-fade {
    animation: logo-in 1.4s cubic-bezier(.22,1,.36,1) both;
  }
  @keyframes logo-in {
    from { opacity: 0; transform: translateY(6px); filter: blur(2px); }
    to   { opacity: 1; transform: translateY(0); filter: blur(0); }
  }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .8rem 1.25rem;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .01em;
    white-space: nowrap;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  }
  .meta-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
  .meta-row > .meta-k { color: var(--muted); white-space: nowrap; }
  .meta-row > .meta-v { text-align: right; min-width: 0; word-break: break-word; }
  .btn-primary {
    background: var(--accent);
    color: #05080f;
    font-weight: 600;
  }
  .btn-primary:hover { background: var(--accent-soft); transform: translateY(-1px); box-shadow: 0 8px 24px -10px rgba(110,168,255,.5); }
  .btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line-strong);
  }
  .btn-ghost:hover { border-color: rgba(255,255,255,.3); transform: translateY(-1px); }

  /* Hero subtle backdrop */
  .hero-ambient {
    position: absolute; inset: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse 50% 40% at 15% 10%, rgba(110,168,255,.09), transparent 65%),
      radial-gradient(ellipse 60% 50% at 90% 90%, rgba(255,255,255,.04), transparent 65%);
  }
  .hero-grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
      linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 88px 88px;
    background-position: center top;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  }

  /* ===== Malachite animated backdrop (mouse-reactive) ===== */
  .malachite {
    --fx: 50%; --fy: 42%;          /* cursor position in field space */
    --px: 0px;  --py: 0px;          /* parallax offset toward cursor */
    position: absolute; inset: 0;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(ellipse 120% 110% at 50% 30%, #171c24 0%, #0d1015 55%, #060708 100%);
    z-index: 0;
  }
  .malachite__field {
    position: absolute; inset: -30%;
    filter: url(#malachite-warp);
    mix-blend-mode: screen;
    will-change: transform, filter;
    backface-visibility: hidden;
    transform: translate3d(var(--px), var(--py), 0);
    transition: transform .5s cubic-bezier(.22,1,.36,1);
  }
  /* Big eyes — fill everywhere, grow with distance from cursor */
  .malachite__field.f-big {
    background:
      repeating-radial-gradient(circle at var(--fx) var(--fy),
        #0a0a0a 0 9px, #1e1e1e 9px 19px, #383838 19px 27px, #565656 27px 32px, #1e1e1e 32px 46px);
    opacity: .55;
    animation: mal-hue-a 38s linear infinite;
  }
  /* Medium eyes — annulus around cursor, eases big↔small */
  .malachite__field.f-mid {
    background:
      repeating-radial-gradient(circle at var(--fx) var(--fy),
        #080808 0 6px, #181818 6px 11px, #2c2c2c 11px 16px, #444444 16px 19px, #181818 19px 27px);
    -webkit-mask-image: radial-gradient(26vmax 26vmax at var(--fx) var(--fy), rgba(0,0,0,.5) 0 14%, #000 30%, transparent 64%);
    mask-image: radial-gradient(26vmax 26vmax at var(--fx) var(--fy), rgba(0,0,0,.5) 0 14%, #000 30%, transparent 64%);
    opacity: .5;
    animation: mal-hue-b 46s linear infinite;
  }
  /* Tiny dense eyes — clustered tight on the cursor */
  .malachite__field.f-small {
    background:
      repeating-radial-gradient(circle at var(--fx) var(--fy),
        #0a0a0a 0 3px, #1e1e1e 3px 6px, #383838 6px 9px, #626262 9px 11px, #1e1e1e 11px 15px);
    -webkit-mask-image: radial-gradient(16vmax 16vmax at var(--fx) var(--fy), #000 0 12%, transparent 52%);
    mask-image: radial-gradient(16vmax 16vmax at var(--fx) var(--fy), #000 0 12%, transparent 52%);
    opacity: .5;
    animation: mal-hue-a 32s linear infinite reverse;
  }
  .malachite__sheen {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 48% 38% at 30% 18%, rgba(255,255,255,.06), transparent 62%),
      radial-gradient(ellipse 60% 55% at 82% 88%, rgba(0,0,0,.55), transparent 72%);
    mix-blend-mode: soft-light;
    pointer-events: none;
  }
  .malachite__shade {
    position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgba(6,6,6,.88) 0%, rgba(6,6,6,.55) 46%, rgba(6,6,6,.72) 100%),
      linear-gradient(180deg, rgba(6,6,6,.45) 0%, rgba(4,4,4,.78) 100%);
    pointer-events: none;
  }
  @keyframes mal-hue-a {
    0%, 100% { filter: url(#malachite-warp) blur(.6px) saturate(0); }
    50%      { filter: url(#malachite-warp) blur(.6px) saturate(0); }
  }
  @keyframes mal-hue-b {
    0%, 100% { filter: url(#malachite-warp) blur(.8px) saturate(0); }
    50%      { filter: url(#malachite-warp) blur(.8px) saturate(0); }
  }
  @media (prefers-reduced-motion: reduce) {
    .malachite__field { animation: none; }
  }

  /* Polar-style numbered horizontal list */
  .step-row { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
  @media (min-width: 768px) { .step-row { grid-template-columns: repeat(3, 1fr); } }
  .step-row > .step { background: var(--bg); padding: 1.5rem 1.5rem; }

  /* Reveal — keyframe-based, transform only (so content never gets stuck invisible) */
  @keyframes revealUp {
    from { transform: translateY(18px); }
    to   { transform: translateY(0); }
  }
  .reveal { opacity: 1; }
  .reveal.in { animation: revealUp .9s cubic-bezier(.22,1,.36,1) forwards; }
  .reveal-stagger > * { opacity: 1; }
  .reveal-stagger.in > * { animation: revealUp .8s cubic-bezier(.22,1,.36,1) forwards; }
  .reveal-stagger.in > *:nth-child(1) { animation-delay: .04s; }
  .reveal-stagger.in > *:nth-child(2) { animation-delay: .12s; }
  .reveal-stagger.in > *:nth-child(3) { animation-delay: .2s; }
  .reveal-stagger.in > *:nth-child(4) { animation-delay: .28s; }
  .reveal-stagger.in > *:nth-child(5) { animation-delay: .36s; }
  .reveal-stagger.in > *:nth-child(6) { animation-delay: .44s; }

  /* Tag */
  .tag {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: 11px;
    color: var(--muted);
    border: 1px solid var(--line-strong);
    background: rgba(255,255,255,0.02);
    letter-spacing: .01em;
  }
  .tag .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); display: inline-block; }
  .tag.signal .dot { background: var(--signal); }
  .tag.warm .dot { background: var(--warn); }

  /* Mock window chrome */
  .mock {
    background: linear-gradient(180deg, rgba(17,21,28,.95) 0%, rgba(10,12,16,.98) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
      0 30px 60px -30px rgba(0,0,0,.7),
      inset 0 1px 0 0 rgba(255,255,255,.03);
  }
  .mock-bar {
    height: 32px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; gap: 6px;
    padding: 0 14px;
  }
  .mock-dot { width: 10px; height: 10px; border-radius: 999px; }
  .codeline { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); }
  .codeline.accent { background: linear-gradient(90deg, rgba(110,168,255,.7), rgba(110,168,255,.1)); }
  .codeline.signal { background: linear-gradient(90deg, rgba(110,231,183,.6), rgba(110,231,183,.08)); }

  /* Underline link */
  .link-u {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: text-decoration-color .25s ease;
  }
  .link-u:hover { text-decoration-color: var(--accent); color: var(--accent-soft); }

  /* Step number giant */
  .big-num {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    color: var(--muted-2);
    font-weight: 400;
    line-height: 1;
  }

  /* Bento */
  .bento { display: grid; grid-template-columns: 1fr; gap: 1rem; }
  @media (min-width: 768px) { .bento { grid-template-columns: repeat(6, 1fr); } }
  @media (min-width: 1024px) { .bento { grid-template-columns: repeat(12, 1fr); } }
  .bento > .b { border-radius: 16px; }

  /* Focus */
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

  /* Tickers (subtle marquee) */
  .ticker {
    display: flex; align-items: center; gap: 3rem;
    animation: ticker 42s linear infinite;
    width: max-content;
  }
  @keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* Scroll-driven mega text */
  #scrolltext {
    position: relative;
    overflow: hidden;
  }
  .scrolltext-track {
    display: inline-flex;
    align-items: center;
    will-change: transform;
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
    color: rgba(255,255,255,.92);
    font-size: clamp(14px, 3.25vw, 55px);
    animation: scrolltext-marquee 38s linear infinite;
  }
  .scrolltext-track > span.seq { padding-right: 1em; display: inline-block; }
  @keyframes scrolltext-marquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
  }
  @media (prefers-reduced-motion: reduce) {
    .scrolltext-track { animation: none; }
  }
  .scrolltext-track .warm { color: var(--warm); }
  .scrolltext-track .mute { color: rgba(255,255,255,.35); font-style: normal; font-family: 'Inter', sans-serif; font-size: .35em; letter-spacing: .25em; text-transform: uppercase; vertical-align: middle; }
  .scrolltext-track .dot { display: inline-block; width: .2em; height: .2em; border-radius: 999px; background: var(--warm); vertical-align: .35em; margin: 0 .4em; }

  /* Rotating stamp */
  .stamp { position: absolute; pointer-events: none; user-select: none; }
  .stamp .stamp-rot { transform-origin: center; animation: stamp-rotate 28s linear infinite; }
  @keyframes stamp-rotate { to { transform: rotate(360deg); } }

  /* Issue chip */
  .issue {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted-2);
  }
  .issue::before { content: ""; width: 14px; height: 1px; background: var(--line-strong); }
  .issue .live { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 1.6s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: .35; } }

  /* Footer giant type */
  .colossal {
    font-family: 'Instrument Serif', Georgia, serif;
    letter-spacing: -0.03em;
    line-height: .92;
  }

  /* Quiet kbd */
  kbd {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--line-strong);
    color: var(--muted);
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  }

  /* ===== Mobile polish ===== */
  img, svg, video { max-width: 100%; height: auto; }
  @media (max-width: 767px) {
    html, body { overflow-x: hidden; }
    .section { padding-top: 3.5rem; }
    .btn { min-height: 48px; padding: .85rem 1.35rem; justify-content: center; }
    .hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; }
    .hero-actions .btn { width: 100%; }
    #mobileMenu .nav-link { display: block; padding: .7rem 0; font-size: 15px; }
    .stat { padding: 1.9rem 1.25rem; }
    .stat-label { font-size: 11.5px; max-width: none; }
    .faq-q { min-height: 58px; font-size: 15px; padding-block: 1.05rem; }
    .mock { border-radius: 10px; }
    .mock-bar { height: 28px; padding: 0 10px; }
    .surface, .price { padding-left: 1.35rem; padding-right: 1.35rem; }
    .quote-mark { font-size: 2.5rem; }
    .step-row > .step { padding: 1.25rem 1.35rem; }
    .tag { font-size: 10px; }
    .rule { margin-block: 0; }
    .display { letter-spacing: -.03em; }
  }

/* ===== Case study card (link to subpage) ===== */
.case-feature { display: grid; grid-template-columns: 1fr; gap: 1.75rem; align-items: center; }
@media (min-width: 768px) { .case-feature { grid-template-columns: 1fr 200px; } }
.case-feature__cta { transition: gap .3s cubic-bezier(.22,1,.36,1); }
.case-feature:hover .case-feature__cta { gap: .85rem; }
.case-feature__shot { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #f2ece0; aspect-ratio: 9/13; }
.case-feature__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* ===== Case study subpage ===== */
.cs-back { display: inline-flex; align-items: center; gap: .6rem; font-size: 12.5px; color: var(--muted); transition: color .25s, gap .3s cubic-bezier(.22,1,.36,1); }
.cs-back:hover { color: #fff; gap: .95rem; }
.cs-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
@media (min-width: 640px) { .cs-meta { grid-template-columns: repeat(4, 1fr); } }
.cs-meta > div { background: var(--bg); padding: 1.15rem 1.25rem; }
.cs-meta dt { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .5rem; }
.cs-meta dd { font-size: 14px; color: var(--text); }
.cs-body { max-width: 68ch; }
.cs-body h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; color: var(--text); margin-bottom: .9rem; }
.cs-body p { font-size: 15px; line-height: 1.75; color: var(--muted); text-wrap: pretty; }
.cs-body p + p { margin-top: 1rem; }
.cs-body ul { margin-top: 1rem; display: flex; flex-direction: column; gap: .7rem; }
.cs-body li { display: flex; gap: .7rem; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.cs-body li i { font-size: 9px; color: var(--accent); margin-top: .5em; flex: none; }
.cs-block + .cs-block { margin-top: 3.5rem; }

/* Reference: autoplay progress + grouped dots */
.ref-slide { position: relative; }
.ref-meta { position: relative; }
.ref-timer { position: absolute; top: -1px; left: 0; height: 1px; width: 100%; background: linear-gradient(90deg, transparent, var(--accent)); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.ref-slide:not(.is-active) .ref-timer { opacity: 0; }
.ref-dot.is-same-org { margin-left: -3px; }
.ref-dot.is-same-org::before { content: ""; position: absolute; left: -9px; top: 50%; width: 6px; height: 1px; background: rgba(255,255,255,.22); }
.ref-dot { position: relative; }

/* Reference: two quotes from the same company swap vertically */
.ref-stack { position: relative; }
.ref-quote-item { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transform: translateY(-42px); transition: transform .85s cubic-bezier(.22,1,.36,1), opacity .5s ease; pointer-events: none; }
.ref-quote-item.is-shown { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.ref-quote-item.is-out { opacity: 0; transform: translateY(52px); }
.ref-role { margin-top: 1.1rem; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-soft, var(--accent)); }
@media (prefers-reduced-motion: reduce) { .ref-slide, .ref-quote-item { transition: none } }

.ref-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }

/* ===== Mobile polish: tap targets & header ===== */
@media (hover: none), (max-width: 767px) {
  /* every inline link gets a 44px tap area without changing how it looks */
  #mobileMenu .nav-link { display: flex; align-items: center; min-height: 44px; }
  #mobileMenu .nav-link::after { content: none !important; }
  .nav-link, .ref-link, .link-u, footer a { position: relative; }
  .ref-link::after, .link-u::after {
    content: ""; position: absolute; left: 0; right: 0; top: 50%;
    height: 44px; transform: translateY(-50%); pointer-events: auto;
  }
  footer a { display: inline-flex; align-items: center; min-height: 40px; }
  /* carousel dots: 6px dot, 44px target */
  .ref-dots { gap: 0; }
  .ref-dot { width: 26px; height: 44px; background: none; border-radius: 0; display: grid; place-items: center; }
  .ref-dot::after { content: ""; width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.18); transition: background .3s, width .3s; }
  .ref-dot.is-on { width: 34px; }
  .ref-dot.is-on::after { background: var(--warn); width: 18px; }
  .ref-dot.is-same-org { margin-left: 0; }
  .ref-dot.is-same-org::before { left: -1px; }
  /* nav arrows comfortable to hit */
  [data-ref-prev], [data-ref-next] { min-width: 44px; min-height: 44px; }
}
@media (max-width: 480px) {
  /* reference meta stacks cleanly instead of squeezing logo + name + link */
  .ref-meta { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .ref-logo { width: 150px; height: 52px; }
}
