/* =====================================================
   ONEPAGE COMPLETE CSS
   Basis + Theme C + Components + lokale Overrides
   Verwende diese Datei in Onepage statt nur der lokalen
   Feinschliff-CSS, sonst fehlen Variablen und Layout-Basis.
===================================================== */

/* ========== RESET ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color .4s ease, color .4s ease
}

img,
svg {
    display: block;
    max-width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

ul,
ol {
    list-style: none
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit
}

em {
    font-style: italic
}

/* ========== ONEPAGE WRAPPER FALLBACK ========== */
.jh-op-page,
.jh-op-page * {
    box-sizing: border-box
}

.jh-op-page {
    --font-display: 'Inter', sans-serif;
    --display-weight: 600;
    --c-bg: #0a0a0b;
    --c-bg-panel: #121214;
    --c-bg-deep: #050506;
    --c-fg: #fafafa;
    --c-fg-5: rgba(250, 250, 250, 0.05);
    --c-fg-10: rgba(250, 250, 250, 0.1);
    --c-muted: rgba(250, 250, 250, 0.5);
    --c-line: rgba(250, 250, 250, 0.09);
    --c-line-strong: rgba(250, 250, 250, 0.22);
    --c-pos: #86efac;
    --c-neg: #f87171;
    --c-accent: #8fb3ff;
    --c-accent-soft: rgba(143, 179, 255, 0.12);
    --c-accent-fg: #0a0a0b;
    color: var(--c-fg);
    background: var(--c-bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow: hidden;
    width: 100%;
}

.jh-op-page .section-problem,
.jh-op-page .section-motor,
.jh-op-page .section-forwhom,
.jh-op-page .section-stories,
.jh-op-page .section-process {
    background: var(--c-bg-panel)
}

.jh-op-page .section-cta {
    background: var(--c-bg-deep)
}

.jh-op-page .section-title {
    letter-spacing: -.03em
}

.jh-op-page .section-title em {
    font-style: normal;
    color: var(--c-accent)
}

.jh-op-page .hero-title em {
    font-style: normal;
    color: var(--c-accent);
    font-weight: 400
}

.jh-op-page .hero-title {
    letter-spacing: -.035em
}

/* ========== SHARED VARIABLES ========== */
:root {
    --wrap: 1200px;
    --wrap-wide: 1360px;
    --pad-section: 140px;
    --pad-section-sm: 88px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --ease: cubic-bezier(.2, .6, .2, 1);
}

body[data-density="compact"] {
    --pad-section: 96px;
    --pad-section-sm: 64px;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 32px
}

.wrap-wide {
    max-width: var(--wrap-wide);
    margin: 0 auto;
    padding: 0 32px
}

@media (max-width:768px) {

    .wrap,
    .wrap-wide {
        padding: 0 20px
    }
}

.section {
    padding: var(--pad-section) 0;
    position: relative
}

@media (max-width:900px) {
    .section {
        padding: var(--pad-section-sm) 0
    }
}

.section-head {
    margin-bottom: 72px;
    max-width: 820px
}

.section-head-left {
    margin-left: 0;
    margin-right: auto;
    text-align: left
}

.section-index {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .1em;
    color: var(--c-muted);
    margin-bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.section-index::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: .4
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 5.2vw, 62px);
    line-height: 1.02;
    letter-spacing: -.02em;
    font-weight: var(--display-weight, 400);
    color: var(--c-fg);
    text-wrap: balance;
}

.section-title em {
    font-style: italic;
    color: var(--c-accent)
}

.section-sub {
    margin-top: 24px;
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.65;
    color: var(--c-muted);
    max-width: 640px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .01em;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all .25s var(--ease);
    white-space: nowrap;
    cursor: pointer;
}

.btn-sm {
    padding: 9px 16px;
    font-size: 13px
}

.btn-primary {
    background: var(--c-fg);
    color: var(--c-bg);
    border-color: var(--c-fg);
}

.btn-primary:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: var(--c-accent-fg)
}

.btn-ghost {
    background: transparent;
    color: var(--c-fg);
    border-color: var(--c-line);
}

.btn-ghost:hover {
    border-color: var(--c-fg);
    background: var(--c-fg-5)
}

.btn-arrow {
    font-size: 16px;
    transition: transform .2s ease
}

.btn:hover .btn-arrow {
    transform: translateX(4px)
}

.btn-inline {
    margin-top: 18px
}

.btn-full {
    width: 100%
}

/* ========== NAV ========== */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
}

.nav-inner {
    max-width: var(--wrap-wide);
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600
}

.nav-logo-mark {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    background: var(--c-fg);
    color: var(--c-bg);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
}

.nav-logo-word {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: -.01em
}

.nav-links {
    display: flex;
    gap: 32px
}

.nav-links a {
    font-size: 14px;
    color: var(--c-muted);
    transition: color .2s
}

.nav-links a:hover {
    color: var(--c-fg)
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px
}

.nav-phone {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--c-muted);
}

.nav-phone:hover {
    color: var(--c-fg)
}

@media (max-width:880px) {

    .nav-links,
    .nav-phone {
        display: none
    }
}

/* ========== FOOTER ========== */
.footer {
    border-top: 1px solid var(--c-line);
    padding: 80px 0 40px;
    background: var(--c-bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.f-col .nav-logo {
    margin-bottom: 16px
}

.f-tag {
    font-size: 14px;
    color: var(--c-muted);
    max-width: 280px;
    line-height: 1.6
}

.f-head {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--c-muted);
    margin-bottom: 18px;
    text-transform: uppercase;
}

.f-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.f-col ul a {
    font-size: 14px;
    color: var(--c-fg);
    opacity: .85;
    transition: opacity .2s
}

.f-col ul a:hover {
    opacity: 1;
    color: var(--c-accent)
}

.footer-base {
    padding-top: 28px;
    border-top: 1px solid var(--c-line);
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--c-muted);
}

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

    .f-brand {
        grid-column: 1/-1
    }

    .footer-base {
        flex-direction: column;
        gap: 10px
    }
}

/* ========== THEME C — ENGINEERED ========== */
body[data-theme="c"],
body[data-theme="c-amber"],
body[data-theme="c-blue"] {
    --font-display: 'Inter', sans-serif;
    --display-weight: 600;
    --c-bg: #0a0a0b;
    --c-bg-panel: #121214;
    --c-bg-deep: #050506;
    --c-fg: #fafafa;
    --c-fg-5: rgba(250, 250, 250, 0.05);
    --c-fg-10: rgba(250, 250, 250, 0.1);
    --c-muted: rgba(250, 250, 250, 0.5);
    --c-line: rgba(250, 250, 250, 0.09);
    --c-line-strong: rgba(250, 250, 250, 0.22);
    --c-pos: #86efac;
    --c-neg: #f87171;
    color: var(--c-fg);
    background: var(--c-bg);
}

body[data-theme="c"] {
    --c-accent: #fafafa;
    --c-accent-soft: rgba(250, 250, 250, 0.08);
    --c-accent-fg: #0a0a0b;
}

body[data-theme="c-amber"] {
    --c-accent: #e8a96b;
    --c-accent-soft: rgba(232, 169, 107, 0.12);
    --c-accent-fg: #0a0a0b;
}

body[data-theme="c-blue"] {
    --c-accent: #8fb3ff;
    --c-accent-soft: rgba(143, 179, 255, 0.12);
    --c-accent-fg: #0a0a0b;
}

body[data-theme^="c"] .section-problem,
body[data-theme^="c"] .section-motor,
body[data-theme^="c"] .section-forwhom,
body[data-theme^="c"] .section-stories,
body[data-theme^="c"] .section-process {
    background: var(--c-bg-panel);
}

body[data-theme^="c"] .section-cta {
    background: var(--c-bg-deep)
}

body[data-theme^="c"] .section-title {
    letter-spacing: -.03em
}

body[data-theme^="c"] .section-title em {
    font-style: normal;
    color: var(--c-accent)
}

body[data-theme^="c"] .hero-title em {
    font-style: normal;
    color: var(--c-accent);
    font-weight: 400
}

body[data-theme^="c"] .hero-title {
    letter-spacing: -.035em
}

/* ========== HERO ========== */
.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    border-bottom: 1px solid var(--c-line);
}

.hero-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .4;
    background-image: radial-gradient(circle at 25% 30%, var(--c-fg-5) 0%, transparent 40%),
        radial-gradient(circle at 75% 70%, var(--c-accent-soft) 0%, transparent 50%);
}

.hero-frame {
    max-width: var(--wrap-wide);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
    min-height: 640px;
}

@media (max-width:1000px) {
    .hero-frame {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--c-muted);
    padding: 8px 14px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: var(--c-fg-5);
    width: fit-content;
    margin-bottom: 36px;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-accent);
    box-shadow: 0 0 0 4px var(--c-accent-soft);
    animation: dot-pulse 2.5s infinite;
}

@keyframes dot-pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 7.5vw, 104px);
    line-height: .98;
    letter-spacing: -.035em;
    font-weight: var(--display-weight);
    margin-bottom: 40px;
    text-wrap: balance;
}

.hero-line {
    display: block
}

.hero-line-muted {
    color: var(--c-muted);
    font-style: italic;
    font-weight: 300
}

body[data-theme="c"] .hero-line-muted {
    font-style: normal;
    font-weight: 400
}

.hero-sub {
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.55;
    color: var(--c-muted);
    max-width: 520px;
    margin-bottom: 48px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 72px
}

.hero-meta {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 24px;
    padding: 28px 0 0;
    border-top: 1px solid var(--c-line);
    align-items: center;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0
}

.meta-num {
    font-family: var(--font-display);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 500;
    line-height: 1;
    color: var(--c-fg);
    letter-spacing: -.02em;
}

body[data-theme="c"] .meta-num {
    font-weight: 600
}

.meta-plus,
.meta-unit {
    font-family: 'JetBrains Mono', monospace;
    font-size: .55em;
    color: var(--c-muted);
    font-weight: 400;
    margin-left: 2px
}

.meta-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .05em;
    color: var(--c-muted);
}

.meta-stars {
    color: var(--c-accent);
    font-size: 14px;
    letter-spacing: 2px
}

.meta-rule {
    width: 1px;
    height: 32px;
    background: var(--c-line);
    justify-self: center
}

@media (max-width:720px) {
    .hero-meta {
        grid-template-columns: 1fr 1fr;
        gap: 24px
    }

    .meta-rule {
        display: none
    }
}

/* Hero visual */
.hero-visual {
    position: relative;
    aspect-ratio: 1/1;
    color: var(--c-fg);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    background: var(--c-bg-panel);
    overflow: hidden;
}

.hero-visual-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.hero-nodes {
    width: 100%;
    height: 100%
}

.hv-nodes circle {
    fill: var(--c-fg);
    opacity: .7
}

.hv-nodes circle.hv-core {
    fill: var(--c-accent);
    opacity: 1
}

.hv-lines line {
    stroke-dasharray: 4 4;
    animation: dash-flow 3s linear infinite
}

@keyframes dash-flow {
    to {
        stroke-dashoffset: -16
    }
}

.hv-rings circle {
    animation: ring-breathe 4s ease-in-out infinite
}

.hv-rings circle:nth-child(2) {
    animation-delay: 1s
}

.hv-rings circle:nth-child(3) {
    animation-delay: 2s
}

@keyframes ring-breathe {

    0%,
    100% {
        opacity: .08
    }

    50% {
        opacity: .3
    }
}

.hero-visual-caption {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--c-muted);
    letter-spacing: .04em;
}

.caption-kbd {
    padding: 3px 8px;
    background: var(--c-fg-5);
    border: 1px solid var(--c-line);
    border-radius: 3px;
    color: var(--c-fg);
}

/* Hero logos */
.hero-logos {
    max-width: var(--wrap-wide);
    margin: 100px auto 0;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

.logos-label {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--c-muted);
    margin-bottom: 32px;
    text-transform: uppercase;
}

.label-rule {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: var(--c-line)
}

.logos-track-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: logos-scroll 40s linear infinite;
}

@keyframes logos-scroll {
    to {
        transform: translateX(-50%)
    }
}

.logo-word {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--c-fg);
    opacity: .65;
    letter-spacing: -.01em;
    white-space: nowrap;
    transition: opacity .2s;
}

body[data-theme="c"] .logo-word {
    font-family: 'Inter', sans-serif;
    font-weight: 500
}

.logo-word:hover {
    opacity: 1
}

.logo-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--c-line-strong)
}

/* ========== PROBLEM ========== */
.problem-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

@media (max-width:900px) {
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 48px
    }
}

.problem-body .lead {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.3vw, 28px);
    line-height: 1.35;
    color: var(--c-fg);
    font-weight: var(--display-weight);
    margin-bottom: 32px;
    text-wrap: balance;
}

.problem-body p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--c-muted);
    margin-bottom: 24px;
    max-width: 580px;
}

.callout {
    margin: 36px 0;
    padding: 24px 28px;
    border-left: 2px solid var(--c-accent);
    background: var(--c-accent-soft);
    max-width: 580px;
}

.callout-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--c-accent);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.callout-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--c-fg);
    opacity: .85
}

.pull-quote {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.8vw, 32px);
    line-height: 1.3;
    color: var(--c-fg);
    font-style: italic;
    font-weight: var(--display-weight);
    padding-top: 32px;
    border-top: 1px solid var(--c-line);
    margin-top: 40px;
}

body[data-theme="c"] .pull-quote {
    font-style: normal
}

.founder-card {
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    background: var(--c-fg-5);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.founder-photo {
    aspect-ratio: 3/4;
    position: relative;
    border-bottom: 1px solid var(--c-line)
}

.photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        repeating-linear-gradient(135deg, var(--c-fg-5) 0 10px, transparent 10px 20px),
        var(--c-bg-deep);
    color: var(--c-muted);
}

.photo-placeholder::after {
    content: attr(data-label);
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--c-muted);
    letter-spacing: .05em;
    background: var(--c-bg);
    padding: 4px 8px;
    border: 1px solid var(--c-line);
}

.ph-monogram {
    font-family: var(--font-display);
    font-size: 72px;
    color: var(--c-fg);
    opacity: .15;
    font-weight: 400;
}

.photo-placeholder-tall {
    aspect-ratio: 3/4
}

.founder-meta {
    padding: 22px 24px
}

.founder-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 4px
}

.founder-role {
    font-size: 13px;
    color: var(--c-muted);
    margin-bottom: 16px
}

.founder-sig {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--c-muted);
    border-top: 1px solid var(--c-line);
    padding-top: 14px;
}

/* ========== MOTOR (Layered Architecture) ========== */
.motor-diagram {
    margin: 24px 0 32px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    background: var(--c-bg);
    padding: 32px 36px 40px;
}

.motor-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--c-line);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--c-muted);
}

.motor-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--c-accent);
    box-shadow: 0 0 0 3px var(--c-accent-soft);
    animation: dot-pulse 2.5s infinite
}

.motor-meta-spacer {
    flex: 1
}

.motor-meta-id {
    color: var(--c-fg);
    opacity: .7
}

.motor-layers {
    display: flex;
    flex-direction: column
}

.m-layer {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    align-items: center;
}

@media (max-width:780px) {
    .m-layer {
        grid-template-columns: 1fr;
        gap: 16px
    }
}

.m-layer-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 24px;
    border-right: 1px dashed var(--c-line);
}

@media (max-width:780px) {
    .m-layer-label {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px dashed var(--c-line);
        padding-bottom: 12px
    }
}

.m-layer-idx {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: .12em;
    color: var(--c-accent);
    font-weight: 600;
}

.m-layer-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--c-fg);
    letter-spacing: -.01em;
}

.m-layer-desc {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--c-muted);
    letter-spacing: .04em;
}

.m-nodes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.m-nodes-4 {
    grid-template-columns: repeat(4, 1fr)
}

.m-nodes-3 {
    grid-template-columns: repeat(3, 1fr)
}

@media (max-width:780px) {

    .m-nodes,
    .m-nodes-4,
    .m-nodes-3 {
        grid-template-columns: repeat(2, 1fr)
    }
}

.m-node {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    background: var(--c-bg-panel);
    font-size: 13px;
    color: var(--c-fg);
    transition: border-color .2s, background .2s;
}

.m-node:hover {
    border-color: var(--c-line-strong);
    background: var(--c-fg-5)
}

.m-node-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-accent);
    flex-shrink: 0;
}

.m-node-svc,
.m-node-data {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 18px;
}

.m-node-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid var(--c-line);
    border-radius: 6px;
    background: var(--c-bg);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--c-accent);
    margin-bottom: 4px;
}

.m-node-svc span,
.m-node-data span {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
}

.m-node-svc em,
.m-node-data em {
    font-family: 'JetBrains Mono', monospace;
    font-style: normal;
    font-size: 10px;
    letter-spacing: .06em;
    color: var(--c-muted);
    text-transform: uppercase;
}

/* Flow connectors between layers */
.m-flow {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    align-items: stretch;
    height: 32px;
    position: relative;
}

.m-flow::before {
    content: "";
    grid-column: 1
}

.m-flow .m-flow-line {
    grid-column: 2;
    display: none;
}

.m-flow {
    position: relative;
}

.m-flow::after {
    content: "";
    position: absolute;
    left: 232px;
    right: 0;
    top: 0;
    bottom: 0;
    background-image:
        linear-gradient(to bottom, var(--c-line-strong) 50%, transparent 50%);
    background-size: 1px 6px;
    background-repeat: repeat-y;
    background-position: 10% 0, 30% 0, 50% 0, 70% 0, 90% 0;
    opacity: .5;
}

@media (max-width:780px) {
    .m-flow {
        height: 20px
    }

    .m-flow::after {
        left: 0;
        right: 0
    }
}

/* Core (Orchestration) */
.m-layer-core {
    padding: 4px 0
}

.m-core-box {
    border: 1px solid var(--c-accent);
    border-radius: var(--radius-md);
    background: var(--c-bg-panel);
    overflow: hidden;
    position: relative;
}

.m-core-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--c-accent);
    opacity: .8;
}

.m-core-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    border-bottom: 1px solid var(--c-line);
    background: var(--c-bg);
}

.m-core-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.m-core-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .06em;
    color: var(--c-accent);
}

.m-core-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-accent);
    box-shadow: 0 0 0 3px var(--c-accent-soft);
    animation: dot-pulse 1.8s infinite;
}

.m-core-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--c-line);
}

@media (max-width:780px) {
    .m-core-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

.m-core-cell {
    padding: 16px 22px;
    border-right: 1px solid var(--c-line);
}

.m-core-cell:last-child {
    border-right: none
}

@media (max-width:780px) {
    .m-core-cell:nth-child(2) {
        border-right: none
    }

    .m-core-cell:nth-child(-n+2) {
        border-bottom: 1px solid var(--c-line)
    }
}

.m-core-cell-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: .1em;
    color: var(--c-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.m-core-cell-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--c-fg);
}

.m-core-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 12px 22px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--c-muted);
    background: var(--c-bg);
}

.m-core-foot strong {
    color: var(--c-fg);
    font-weight: 600
}

/* Kill old svg motor styles that might still apply */
.motor-svg {
    display: none
}

/* ========== N8N CANVAS FLOW ========== */
.n8n-canvas {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.n8n-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    align-items: center;
}

.n8n-row-core .n8n-core-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.n8n-col-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: .12em;
    color: var(--c-muted);
    text-transform: uppercase;
    text-align: right;
    padding-right: 16px;
    border-right: 1px solid var(--c-line);
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.n8n-nodes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.n8n-nodes-6 {
    grid-template-columns: repeat(6, 1fr)
}

@media (max-width:900px) {
    .n8n-nodes {
        grid-template-columns: repeat(2, 1fr)
    }

    .n8n-nodes-6 {
        grid-template-columns: repeat(3, 1fr)
    }
}

/* Arrow rows */
.n8n-arrow-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    height: 28px;
    align-items: center;
}

.n8n-arrows {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.n8n-arrows-wide {
    grid-template-columns: repeat(6, 1fr)
}

.n8n-arr {
    text-align: center;
    color: var(--c-accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    opacity: .5;
    animation: arr-pulse 2s ease-in-out infinite;
}

.n8n-arr:nth-child(2) {
    animation-delay: .2s
}

.n8n-arr:nth-child(3) {
    animation-delay: .4s
}

.n8n-arr:nth-child(4) {
    animation-delay: .6s
}

.n8n-arr:nth-child(5) {
    animation-delay: .8s
}

.n8n-arr:nth-child(6) {
    animation-delay: 1s
}

@keyframes arr-pulse {

    0%,
    100% {
        opacity: .3
    }

    50% {
        opacity: .8
    }
}

/* Individual nodes */
.n8n-node {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    background: var(--c-bg-panel);
    transition: border-color .2s, background .2s;
    position: relative;
}

.n8n-node:hover {
    border-color: var(--c-line-strong);
    background: var(--c-fg-5)
}

.n8n-node-trigger {
    border-color: var(--c-accent);
    border-opacity: .4
}

.n8n-node-trigger::before {
    content: "TRIGGER";
    position: absolute;
    top: -9px;
    left: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: .1em;
    color: var(--c-accent);
    background: var(--c-bg-panel);
    padding: 0 6px;
}

.n8n-node-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    color: var(--c-accent);
    letter-spacing: .02em;
}

.n8n-node-body {
    min-width: 0;
    flex: 1
}

.n8n-node-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--c-fg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.n8n-node-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--c-muted);
    letter-spacing: .03em;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.n8n-node-out {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-accent);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px var(--c-accent-soft);
}

/* Core node */
.n8n-node-core {
    border-color: var(--c-accent);
    background: var(--c-bg);
    padding: 18px 20px;
}

.n8n-node-core::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--c-accent);
}

.n8n-icon-core {
    width: 40px;
    height: 40px;
    font-size: 12px;
    font-weight: 700;
    background: var(--c-accent);
    color: var(--c-accent-fg);
    border: none;
}

.n8n-core-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .06em;
    color: var(--c-accent);
    margin-left: auto;
}

.n8n-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-accent);
    box-shadow: 0 0 0 3px var(--c-accent-soft);
    animation: dot-pulse 1.8s infinite;
}

.n8n-core-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

@media (max-width:780px) {
    .n8n-core-metrics {
        grid-template-columns: repeat(2, 1fr)
    }
}

.n8n-metric {
    padding: 14px 18px;
    border-right: 1px solid var(--c-line);
    background: var(--c-bg-panel);
}

.n8n-metric:last-child {
    border-right: none
}

@media (max-width:780px) {
    .n8n-metric:nth-child(2) {
        border-right: none
    }

    .n8n-metric:nth-child(-n+2) {
        border-bottom: 1px solid var(--c-line)
    }
}

.nm-val {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 600;
    color: var(--c-fg);
    letter-spacing: -.02em;
}

.nm-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: .08em;
    color: var(--c-muted);
    text-transform: uppercase;
    margin-top: 4px;
}

/* Service nodes */
.n8n-node-svc {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 14px
}

.n8n-node-svc .n8n-node-name {
    font-size: 12px
}

.n8n-node-svc .n8n-node-sub {
    font-size: 9px
}

/* ========== SPEZIALISIERT AUF ========== */
.spec-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 12px;
}

@media (max-width:900px) {
    .spec-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:560px) {
    .spec-grid {
        grid-template-columns: 1fr
    }
}

.spec-card {
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    background: var(--c-bg);
    overflow: hidden;
    transition: border-color .2s, transform .2s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.spec-card:hover {
    border-color: var(--c-line-strong);
    transform: translateY(-2px)
}

.spec-card-primary {
    grid-row: 1/3;
    border-color: var(--c-accent);
}

.spec-card-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--c-accent);
}

@media (max-width:900px) {
    .spec-card-primary {
        grid-row: auto
    }
}

.spec-logo-slot {
    aspect-ratio: 16/7;
    background:
        repeating-linear-gradient(135deg, var(--c-fg-5) 0 8px, transparent 8px 16px),
        var(--c-bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--c-line);
    position: relative;
}

.spec-card-primary .spec-logo-slot {
    aspect-ratio: 16/9
}

.spec-logo-slot::after {
    content: attr(data-label);
    position: absolute;
    bottom: 8px;
    left: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: .06em;
    color: var(--c-muted);
}

.spec-logo-ph {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-fg);
    opacity: .2;
    letter-spacing: .04em;
}

.spec-card-primary .spec-logo-ph {
    font-size: 32px
}

.spec-body {
    padding: 18px 20px;
    flex: 1
}

.spec-card-primary .spec-body {
    padding: 24px 28px
}

.spec-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.01em;
    margin-bottom: 4px;
}

.spec-card-primary .spec-name {
    font-size: 26px;
    margin-bottom: 8px
}

.spec-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .06em;
    color: var(--c-accent);
    margin-bottom: 10px;
}

.spec-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--c-muted)
}

.spec-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: .1em;
    color: var(--c-accent-fg);
    background: var(--c-accent);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
}

.motor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 24px;
    border-top: 1px solid var(--c-line);
}

.motor-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    font-size: 13px;
    color: var(--c-fg);
    background: var(--c-fg-5);
}

.tag-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-accent)
}

/* ========== COMPARE ========== */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    overflow: hidden;
}

@media (max-width:780px) {
    .compare-grid {
        grid-template-columns: 1fr
    }
}

.compare-col {
    padding: 48px 40px
}

.compare-col-neg {
    background: var(--c-bg-panel);
    border-right: 1px solid var(--c-line)
}

.compare-col-pos {
    background: var(--c-bg);
    position: relative
}

.compare-col-pos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--c-accent);
}

@media (max-width:780px) {
    .compare-col-neg {
        border-right: none;
        border-bottom: 1px solid var(--c-line)
    }
}

.compare-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--c-line);
}

.compare-head-label {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
}

.compare-head-mark {
    font-size: 24px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--c-neg);
    opacity: .6;
}

.compare-col-pos .compare-head-mark {
    color: var(--c-accent);
    opacity: 1
}

.compare-list {
    display: flex;
    flex-direction: column;
    gap: 18px
}

.compare-list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--c-fg);
    opacity: .9;
}

.compare-col-neg .compare-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--c-muted);
    font-family: 'JetBrains Mono', monospace;
}

.compare-col-pos .compare-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--c-accent);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

/* ========== TECH TABLE ========== */
.tech-table {
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
}

.tech-row {
    display: grid;
    grid-template-columns: 60px minmax(0, 1.2fr) minmax(0, 2fr) minmax(0, .8fr);
    gap: 24px;
    padding: 22px 4px;
    border-bottom: 1px solid var(--c-line);
    align-items: baseline;
    transition: background .2s;
}

.tech-row:last-child {
    border-bottom: none
}

.tech-row:hover:not(.tech-row-head) {
    background: var(--c-fg-5)
}

.tech-row-head {
    padding: 14px 4px;
    border-bottom: 1px solid var(--c-line-strong);
}

.tech-row-head .tr-col {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-muted);
    font-weight: 500;
}

.tr-col-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--c-muted)
}

.tr-col-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -.01em
}

body[data-theme="c"] .tr-col-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px
}

.tr-col-role {
    font-size: 15px;
    color: var(--c-muted);
    line-height: 1.5
}

.tr-col-cat {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--c-fg);
    text-align: right;
    text-transform: uppercase;
}

@media (max-width:760px) {
    .tech-row {
        grid-template-columns: 40px 1fr;
        gap: 12px;
        padding: 18px 0
    }

    .tr-col-role,
    .tr-col-cat {
        grid-column: 2
    }

    .tr-col-cat {
        text-align: left;
        margin-top: 4px
    }

    .tech-row-head .tr-col-role,
    .tech-row-head .tr-col-cat {
        display: none
    }
}

/* ========== STACK MARQUEE ========== */
.stack-marquee {
    margin: 16px -32px 48px;
    padding: 24px 0;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.stack-marquee-track {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: max-content;
    animation: stack-scroll 60s linear infinite;
}

.stack-marquee:hover .stack-marquee-track {
    animation-play-state: paused
}

@keyframes stack-scroll {
    to {
        transform: translateX(-50%)
    }
}

.stack-chip {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: var(--c-bg);
    white-space: nowrap;
    transition: border-color .2s, background .2s;
}

.stack-chip:hover {
    border-color: var(--c-line-strong);
    background: var(--c-fg-5)
}

.stack-idx {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--c-muted);
}

.stack-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--c-fg);
    letter-spacing: -.005em;
}

body[data-theme^="c"] .stack-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600
}

.stack-cat {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: .1em;
    color: var(--c-accent);
    padding: 3px 8px;
    background: var(--c-accent-soft);
    border-radius: 3px;
    text-transform: uppercase;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    overflow: hidden;
}

@media (max-width:780px) {
    .stack-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

.stack-stat {
    padding: 32px 28px;
    border-right: 1px solid var(--c-line);
    background: var(--c-bg);
}

.stack-stat:last-child {
    border-right: none
}

@media (max-width:780px) {
    .stack-stat:nth-child(2) {
        border-right: none
    }

    .stack-stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--c-line)
    }
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.2vw, 42px);
    line-height: 1;
    font-weight: var(--display-weight);
    color: var(--c-fg);
    letter-spacing: -.025em;
}

.stat-num span {
    color: var(--c-accent);
    font-size: .7em;
    margin-left: 2px
}

.stat-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--c-muted);
    margin-top: 12px;
    text-transform: uppercase;
}

.tech-statement {
    text-align: center;
    padding: 72px 0 0;
    max-width: 520px;
    margin: 0 auto
}

.ts-rule {
    width: 48px;
    height: 1px;
    background: var(--c-line-strong);
    margin: 0 auto 32px
}

.tech-statement p {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.3;
    color: var(--c-fg);
    font-weight: var(--display-weight);
}

.tech-statement p em {
    color: var(--c-accent)
}

.ts-sub {
    font-size: 16px !important;
    color: var(--c-muted) !important;
    margin-top: 8px;
    font-style: normal !important
}

/* ========== ABOUT ========== */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
    gap: 72px;
    align-items: start;
}

@media (max-width:900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px
    }
}

.about-portrait {
    position: sticky;
    top: 100px
}

.about-portrait .photo-placeholder {
    position: relative;
    aspect-ratio: 3/4;
    border: 1px solid var(--c-line)
}

.about-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--c-muted);
    letter-spacing: .05em;
}

.kbd {
    padding: 3px 8px;
    background: var(--c-fg-5);
    border: 1px solid var(--c-line);
    border-radius: 3px;
    color: var(--c-fg)
}

.about-name-block {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--c-line)
}

.about-name {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1;
    font-weight: var(--display-weight);
    letter-spacing: -.025em;
    margin-bottom: 8px;
}

.about-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--c-muted);
    letter-spacing: .04em;
}

.about-body p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--c-fg);
    opacity: .85;
    margin-bottom: 20px;
}

.about-body strong {
    font-weight: 600;
    color: var(--c-fg);
    opacity: 1
}

.about-unis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0
}

@media (max-width:600px) {
    .about-unis {
        grid-template-columns: 1fr
    }
}

.uni-chip {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    background: var(--c-fg-5);
}

.uni-seal {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--c-fg);
    color: var(--c-bg);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    border-radius: 50%;
}

.uni-label {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3
}

.uni-sub {
    font-size: 12px;
    color: var(--c-muted);
    font-weight: 400;
    margin-top: 3px
}

.advantage-box {
    margin-top: 40px;
    padding: 36px 36px 36px;
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-md);
    background: var(--c-bg);
    position: relative;
}

.advantage-box::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 48px;
    height: 2px;
    background: var(--c-accent);
}

.advantage-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--c-accent);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.advantage-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.3vw, 26px);
    line-height: 1.3;
    font-weight: var(--display-weight);
    margin-bottom: 16px;
    text-wrap: balance;
}

.advantage-body {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: var(--c-muted) !important;
    margin-bottom: 0 !important
}

/* ========== FOR WHOM ========== */
.forwhom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    overflow: hidden;
}

@media (max-width:780px) {
    .forwhom-grid {
        grid-template-columns: 1fr
    }
}

.fw-col {
    padding: 48px 40px;
    background: var(--c-bg)
}

.fw-yes {
    border-right: 1px solid var(--c-line)
}

@media (max-width:780px) {
    .fw-yes {
        border-right: none;
        border-bottom: 1px solid var(--c-line)
    }
}

.fw-no {
    background: var(--c-bg-panel)
}

.fw-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--c-line)
}

.fw-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--c-accent-soft);
    color: var(--c-accent);
    font-weight: 600;
    font-size: 16px;
    font-family: 'JetBrains Mono', monospace;
}

.fw-mark-no {
    background: var(--c-fg-10);
    color: var(--c-muted)
}

.fw-label {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500
}

.fw-list {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.fw-list li {
    font-size: 15px;
    line-height: 1.6;
    color: var(--c-fg);
    opacity: .88;
    padding-left: 20px;
    position: relative
}

.fw-yes .fw-list li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--c-accent);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600
}

.fw-no .fw-list li::before {
    content: "−";
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--c-muted);
    font-family: 'JetBrains Mono', monospace
}

.forwhom-cta {
    text-align: center;
    margin-top: 56px
}

/* ========== CASES ========== */
.cases-list {
    border-top: 1px solid var(--c-line)
}

.case-row {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 220px;
    gap: 48px;
    padding: 48px 0;
    border-bottom: 1px solid var(--c-line);
    align-items: start;
    transition: background .25s;
}

.case-row:hover {
    background: var(--c-fg-5)
}

@media (max-width:900px) {
    .case-row {
        grid-template-columns: 50px 1fr;
        gap: 24px
    }

    .case-result {
        grid-column: 2;
        margin-top: 8px
    }
}

.case-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--c-muted);
    letter-spacing: .05em;
}

.case-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--c-accent);
    padding: 4px 10px;
    background: var(--c-accent-soft);
    border-radius: 3px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.case-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.2;
    font-weight: var(--display-weight);
    margin-bottom: 22px;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.case-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 580px
}

.case-points li {
    font-size: 15px;
    line-height: 1.55;
    color: var(--c-muted);
    padding-left: 20px;
    position: relative;
}

.case-points li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--c-accent);
    font-family: 'JetBrains Mono', monospace
}

/* Workflow screenshot slot */
.case-workflow {
    margin-top: 28px;
    max-width: 720px;
    aspect-ratio: 16/9;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    background:
        repeating-linear-gradient(135deg, var(--c-fg-5) 0 8px, transparent 8px 16px),
        var(--c-bg-deep);
    position: relative;
    overflow: hidden;
}

.case-workflow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: var(--c-bg-panel);
    border-bottom: 1px solid var(--c-line);
}

.case-workflow::after {
    content: attr(data-label);
    position: absolute;
    bottom: 14px;
    left: 16px;
    right: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--c-muted);
    line-height: 1.5;
}

.cw-tab {
    position: absolute;
    top: 8px;
    left: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--c-fg);
    padding: 2px 10px;
    border: 1px solid var(--c-line);
    border-radius: 4px;
    background: var(--c-bg);
    z-index: 1;
}

.cw-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--c-fg);
    opacity: .5;
    padding: 8px 14px;
    border: 1px dashed var(--c-line-strong);
    border-radius: 4px;
    background: var(--c-bg);
    text-transform: uppercase;
}

.case-result {
    padding: 24px 28px;
    border: 1px solid var(--c-line);
    background: var(--c-bg);
    border-radius: var(--radius-sm);
}

.cr-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: .12em;
    color: var(--c-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cr-num {
    font-family: var(--font-display);
    font-size: clamp(36px, 3.5vw, 44px);
    line-height: 1;
    font-weight: var(--display-weight);
    color: var(--c-accent);
    letter-spacing: -.02em;
}

.cr-num span {
    font-size: .5em;
    margin-left: 2px
}

.cr-sub {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--c-muted)
}

.cases-cta {
    text-align: center;
    margin-top: 72px;
    padding-top: 48px
}

.cases-cta-line {
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 24px);
    font-style: italic;
    color: var(--c-muted);
    margin-bottom: 24px;
}

body[data-theme="c"] .cases-cta-line {
    font-style: normal
}

/* ========== STORIES ========== */
.story {
    margin-bottom: 32px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    background: var(--c-bg);
    overflow: hidden;
}

.story-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 36px;
    border-bottom: 1px solid var(--c-line);
    background: var(--c-fg-5);
    flex-wrap: wrap;
}

.story-person {
    display: flex;
    align-items: center;
    gap: 16px
}

.story-portrait {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--c-line);
    background:
        repeating-linear-gradient(135deg, var(--c-fg-5) 0 6px, transparent 6px 12px),
        var(--c-bg-deep);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.story-portrait span {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--c-fg);
    opacity: .35;
    letter-spacing: .02em;
}

.story-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.story-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--c-fg);
    color: var(--c-bg);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
}

.story-person-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500
}

.story-person-role {
    font-size: 13px;
    color: var(--c-muted);
    margin-top: 2px
}

.story-metrics {
    display: flex;
    gap: 28px
}

.sm-item {
    text-align: right
}

.sm-num {
    font-family: var(--font-display);
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1;
    font-weight: var(--display-weight);
    color: var(--c-accent);
    letter-spacing: -.02em;
}

.sm-num span {
    font-size: .5em;
    color: var(--c-muted);
    margin-left: 2px
}

.sm-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: .06em;
    color: var(--c-muted);
    margin-top: 6px;
    text-transform: uppercase;
}

@media (max-width:700px) {
    .story-head {
        padding: 24px
    }

    .story-metrics {
        gap: 16px;
        width: 100%;
        justify-content: space-between
    }

    .sm-item {
        text-align: left
    }
}

.story-ba {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    padding: 36px;
}

@media (max-width:780px) {
    .story-ba {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px
    }
}

.ba-col {
    padding: 0 28px
}

.ba-col:first-child {
    padding-left: 0
}

.ba-col:last-child {
    padding-right: 0
}

.ba-arrow {
    font-family: 'JetBrains Mono', monospace;
    color: var(--c-accent);
    font-size: 24px;
    align-self: center;
    padding: 0 12px;
}

@media (max-width:780px) {
    .ba-col {
        padding: 0
    }

    .ba-arrow {
        transform: rotate(90deg);
        justify-self: start
    }
}

.ba-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--c-muted);
    margin-bottom: 18px;
    text-transform: uppercase;
    font-weight: 600;
}

.ba-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%
}

.ba-dot-red {
    background: var(--c-neg)
}

.ba-dot-green {
    background: var(--c-pos)
}

.ba-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.ba-col li {
    font-size: 14px;
    line-height: 1.55;
    color: var(--c-fg);
    opacity: .85;
    padding-left: 18px;
    position: relative
}

.ba-before li::before {
    content: "×";
    position: absolute;
    left: 0;
    color: var(--c-neg);
    font-family: 'JetBrains Mono', monospace
}

.ba-after li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--c-pos);
    font-family: 'JetBrains Mono', monospace
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width:900px) {
    .testimonials-grid {
        grid-template-columns: 1fr
    }
}

.t-card {
    padding: 36px 32px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    background: var(--c-bg);
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    transition: border-color .2s, transform .2s;
}

.t-card:hover {
    border-color: var(--c-line-strong);
    transform: translateY(-2px)
}

.t-quote-mark {
    font-family: var(--font-display);
    font-size: 72px;
    line-height: .7;
    color: var(--c-accent);
    opacity: .4;
    font-weight: var(--display-weight);
}

.t-card blockquote {
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.55;
    color: var(--c-fg);
    font-style: italic;
    flex: 1;
    text-wrap: pretty;
}

body[data-theme="c"] .t-card blockquote {
    font-family: 'Inter';
    font-style: normal;
    font-size: 16px
}

.t-card figcaption {
    padding-top: 20px;
    border-top: 1px solid var(--c-line);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.t-stars {
    color: var(--c-accent);
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 6px
}

.t-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500
}

.t-role {
    font-size: 13px;
    color: var(--c-muted)
}

/* ========== PROCESS ========== */
.process-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    overflow: hidden;
}

@media (max-width:780px) {
    .process-list {
        grid-template-columns: 1fr
    }
}

.process-step {
    padding: 40px 40px;
    display: flex;
    gap: 28px;
    border-right: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    background: var(--c-bg);
}

.process-step:nth-child(even) {
    border-right: none
}

.process-step:nth-child(n+3) {
    border-bottom: none
}

@media (max-width:780px) {
    .process-step {
        border-right: none
    }

    .process-step:nth-child(n+3) {
        border-bottom: 1px solid var(--c-line)
    }

    .process-step:last-child {
        border-bottom: none
    }
}

.ps-num {
    flex-shrink: 0
}

.ps-num span {
    font-family: var(--font-display);
    font-size: 42px;
    line-height: 1;
    color: var(--c-accent);
    font-weight: var(--display-weight);
    letter-spacing: -.02em;
}

.ps-body h3 {
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.2;
    font-weight: var(--display-weight);
    margin-bottom: 12px;
}

.ps-body p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--c-muted);
    margin-bottom: 16px
}

.ps-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--c-fg);
    opacity: .6;
    padding-top: 12px;
    border-top: 1px dashed var(--c-line);
    text-transform: uppercase;
}

/* ========== BENEFITS ========== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--c-line);
    border-left: 1px solid var(--c-line);
}

@media (max-width:900px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:540px) {
    .benefits-grid {
        grid-template-columns: 1fr
    }
}

.b-card {
    padding: 32px 28px;
    border-right: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    background: var(--c-bg);
    transition: background .2s;
}

.b-card:hover {
    background: var(--c-fg-5)
}

.b-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--c-accent);
    margin-bottom: 20px;
}

.b-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.25;
    font-weight: var(--display-weight);
    margin-bottom: 12px;
    text-wrap: balance;
}

.b-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--c-muted)
}

/* ========== CTA ========== */
.cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}

@media (max-width:900px) {
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 48px
    }
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 6.5vw, 82px);
    line-height: .98;
    letter-spacing: -.03em;
    font-weight: var(--display-weight);
    margin-top: 24px;
    margin-bottom: 32px;
    text-wrap: balance;
}

.cta-title em {
    color: var(--c-accent);
    font-style: italic
}

body[data-theme="c"] .cta-title em {
    font-style: normal
}

.cta-lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--c-muted);
    max-width: 520px;
    margin-bottom: 40px
}

.cta-attrs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--c-line);
    max-width: 520px;
}

.cta-attr {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--c-line);
    border-right: 1px solid var(--c-line);
    padding-right: 24px;
}

.cta-attr:nth-child(even) {
    border-right: none;
    padding-right: 0;
    padding-left: 24px
}

.ca-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--c-muted);
    text-transform: uppercase;
    align-self: center;
}

.ca-val {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500
}

.cta-box {
    padding: 44px 40px;
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-md);
    background: var(--c-bg);
    position: relative;
}

.cta-box::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 64px;
    height: 2px;
    background: var(--c-accent);
}

.cta-box-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--c-accent);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-box-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--c-muted);
    margin-bottom: 28px
}

.cta-box-or {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--c-muted);
    text-align: center;
    margin: 20px 0 10px;
    text-transform: uppercase;
}

.cta-box-mail {
    display: block;
    text-align: center;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    color: var(--c-fg);
    padding: 10px;
    border-top: 1px solid var(--c-line);
}

.cta-box-mail:hover {
    color: var(--c-accent)
}

/* ===== N8N CANVAS (inline for reliability) ===== */
.n8n-canvas {
    display: flex;
    flex-direction: column;
    gap: 0
}

.n8n-row {
    display: grid !important;
    grid-template-columns: 100px 1fr !important;
    gap: 24px;
    align-items: center;
    margin-bottom: 0
}

.n8n-row-core .n8n-core-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.n8n-col-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: .12em;
    color: var(--c-muted);
    text-transform: uppercase;
    text-align: right;
    padding-right: 16px;
    border-right: 1px solid var(--c-line);
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end
}

.n8n-nodes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px
}

.n8n-nodes-6 {
    grid-template-columns: repeat(6, 1fr)
}

@media(max-width:900px) {
    .n8n-nodes {
        grid-template-columns: repeat(2, 1fr)
    }

    .n8n-nodes-6 {
        grid-template-columns: repeat(3, 1fr)
    }
}

.n8n-arrow-row {
    display: grid !important;
    grid-template-columns: 100px 1fr !important;
    gap: 24px;
    height: 28px;
    align-items: center
}

.n8n-arrows {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px
}

.n8n-arrows-wide {
    grid-template-columns: repeat(6, 1fr)
}

.n8n-arr {
    text-align: center;
    color: var(--c-accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    opacity: .5;
    animation: arr-pulse 2s ease-in-out infinite
}

.n8n-arr:nth-child(2) {
    animation-delay: .2s
}

.n8n-arr:nth-child(3) {
    animation-delay: .4s
}

.n8n-arr:nth-child(4) {
    animation-delay: .6s
}

.n8n-arr:nth-child(5) {
    animation-delay: .8s
}

.n8n-arr:nth-child(6) {
    animation-delay: 1s
}

@keyframes arr-pulse {

    0%,
    100% {
        opacity: .3
    }

    50% {
        opacity: .8
    }
}

.n8n-node {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--c-line);
    border-radius: 4px;
    background: var(--c-bg-panel);
    transition: border-color .2s, background .2s;
    position: relative
}

.n8n-node:hover {
    border-color: var(--c-line-strong);
    background: var(--c-fg-5)
}

.n8n-node-trigger {
    border-color: var(--c-accent)
}

.n8n-node-trigger::before {
    content: "TRIGGER";
    position: absolute;
    top: -9px;
    left: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: .1em;
    color: var(--c-accent);
    background: var(--c-bg-panel);
    padding: 0 6px
}

.n8n-node-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    color: var(--c-accent)
}

.n8n-node-body {
    min-width: 0;
    flex: 1
}

.n8n-node-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--c-fg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.n8n-node-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--c-muted);
    letter-spacing: .03em;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.n8n-node-out {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-accent);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px var(--c-accent-soft)
}

.n8n-node-core {
    border-color: var(--c-accent);
    background: var(--c-bg);
    padding: 18px 20px
}

.n8n-node-core::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--c-accent)
}

.n8n-icon-core {
    width: 40px !important;
    height: 40px !important;
    font-size: 12px !important;
    font-weight: 700;
    background: var(--c-accent) !important;
    color: var(--c-accent-fg) !important;
    border: none !important
}

.n8n-core-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .06em;
    color: var(--c-accent);
    margin-left: auto
}

.n8n-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-accent);
    box-shadow: 0 0 0 3px var(--c-accent-soft);
    animation: dot-pulse 1.8s infinite
}

.n8n-core-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--c-line);
    border-radius: 4px;
    overflow: hidden
}

@media(max-width:780px) {
    .n8n-core-metrics {
        grid-template-columns: repeat(2, 1fr)
    }
}

.n8n-metric {
    padding: 14px 18px;
    border-right: 1px solid var(--c-line);
    background: var(--c-bg-panel)
}

.n8n-metric:last-child {
    border-right: none
}

.nm-val {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 600;
    color: var(--c-fg);
    letter-spacing: -.02em
}

.nm-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: .08em;
    color: var(--c-muted);
    text-transform: uppercase;
    margin-top: 4px
}

.n8n-node-svc {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px;
    padding: 16px 14px
}

.n8n-node-svc .n8n-node-name {
    font-size: 12px
}

.n8n-node-svc .n8n-node-sub {
    font-size: 9px
}

/* ===== CUSTOM FIXES BY CHATGPT ===== */
.hero-visual-inner-motor {
    padding: 22px
}

.hero-motor-svg,
.motor-svg-restored {
    width: 100%;
    height: 100%
}

.motor-svg-wrap {
    max-width: 760px;
    margin: 0 auto
}

.motor-base-line {
    stroke: var(--c-accent);
    stroke-width: 1;
    stroke-opacity: .14
}

.motor-dash {
    fill: none;
    stroke: var(--c-accent);
    stroke-width: 1.5;
    stroke-opacity: .55;
    stroke-dasharray: 8 6;
    animation: motor-dash 2s linear infinite
}

.motor-dash-1 {
    animation-delay: 0s
}

.motor-dash-2 {
    animation-delay: .33s
}

.motor-dash-3 {
    animation-delay: .66s
}

.motor-dash-4 {
    animation-delay: 1s
}

.motor-dash-5 {
    animation-delay: 1.33s
}

.motor-dash-6 {
    animation-delay: 1.66s
}

@keyframes motor-dash {
    to {
        stroke-dashoffset: -28
    }
}

.motor-pulse {
    fill: none;
    stroke: var(--c-accent);
    transform-origin: 350px 260px;
    animation: motor-pulse 2.5s ease-in-out infinite
}

.motor-pulse-1 {
    stroke-width: 1.5
}

.motor-pulse-2 {
    stroke-width: 1;
    animation-delay: .8s
}

@keyframes motor-pulse {

    0%,
    100% {
        opacity: .15;
        transform: scale(1)
    }

    50% {
        opacity: .45;
        transform: scale(1.2)
    }
}

.motor-core-ring {
    fill: var(--c-bg-panel);
    stroke: var(--c-accent);
    stroke-width: 1.5
}

.motor-core-copy {
    fill: var(--c-fg);
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase
}

.motor-node-ring {
    fill: var(--c-bg-panel);
    stroke: rgba(143, 179, 255, .35);
    stroke-width: 1
}

.motor-label {
    fill: var(--c-muted);
    font-size: 10px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    letter-spacing: .08em
}

.motor-img-invert {
    filter: brightness(0) invert(1)
}

.hero {
    padding: 104px 0 8px
}

.hero-frame {
    gap: 18px;
    min-height: auto
}

.hero-title {
    font-size: clamp(40px, 6.2vw, 88px);
    line-height: .98;
    margin-bottom: 28px
}

.hero-sub {
    margin-bottom: 24px;
    max-width: 700px
}

.hero-cta {
    margin-bottom: 16px
}

.hero-meta {
    padding: 18px 0 0
}

.hero-logos {
    margin: 18px 0 0;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    overflow: hidden
}

.hero-visual {
    min-height: 520px
}

.hero-logos .logos-track-images {
    gap: 56px
}

.logo-img-real {
    height: 30px;
    width: auto;
    opacity: .52;
    filter: grayscale(1) brightness(1.8);
    transition: all .2s ease;
    flex-shrink: 0
}

.logo-img-real:hover {
    opacity: .85;
    filter: grayscale(0) brightness(1)
}

.founder-photo-real {
    aspect-ratio: 3/4;
    background: var(--c-bg-deep);
    overflow: hidden
}

.founder-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 56% 8%;
    display: block;
    image-rendering: auto;
    backface-visibility: hidden;
    transform: translateZ(0) scale(1.16);
    transform-origin: 56% 8%;
    filter: contrast(1.03) saturate(1.02)
}

.about-photo-real-wrap {
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--c-bg-panel)
}

.about-photo-real {
    width: 100%;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center
}

.spec-logo-real {
    max-width: 124px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: .92
}

.spec-logo-invert {
    filter: brightness(0) invert(1)
}

.hero-no-visual .hero-frame {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto
}

.hero-no-visual .hero-sub {
    max-width: 640px
}

.compare-brand-logo {
    display: block;
    height: 28px;
    width: auto;
    opacity: .98
}

.tech-cards-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 52px
}

.tech-feature-card {
    padding: 28px 20px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
    min-height: 202px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center
}

.tech-feature-card img {
    height: 44px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px
}

.tech-feature-card .tech-card-title {
    font-size: 15px;
    line-height: 1.45;
    color: var(--c-muted);
    max-width: 180px
}

.tech-feature-card .tech-card-title strong {
    display: block;
    color: var(--c-fg);
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 10px
}

.stack-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 20px
}

.stack-logo-card {
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(143, 179, 255, .05), transparent), repeating-linear-gradient(135deg, var(--c-fg-5) 0 12px, transparent 12px 24px), var(--c-bg-panel)
}

.stack-logo-card img {
    max-width: 136px;
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: .92
}

.stack-logo-note {
    margin-top: 0;
    margin-bottom: 28px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--c-muted);
    text-transform: uppercase
}

.case-workflow-img {
    position: absolute;
    inset: 33px 0 0;
    width: 100%;
    height: calc(100% - 33px);
    object-fit: cover;
    object-position: top center
}

.story-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.brand-logo-img {
    display: block;
    height: 24px;
    width: auto
}

.brand-logo-img-footer {
    height: 28px
}

.trustpilot-badge-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px
}

.trustpilot-badge-img {
    display: block;
    height: 64px;
    width: auto;
    opacity: .9
}

.hero-trustpilot-inline {
    display: block;
    height: 48px;
    width: 220px;
    object-fit: contain;
    object-position: right center;
    opacity: .98
}

.specialized-footer {
    padding: 28px 0 44px;
    background: var(--c-bg);
    border-top: none
}

.specialized-footer-label {
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--c-muted);
    text-transform: uppercase;
    margin: 18px 0 26px
}

.specialized-footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap
}

.specialized-footer-logos img {
    height: 32px;
    width: auto;
    opacity: .5;
    filter: grayscale(1) brightness(1.9)
}

.footer-top-rule {
    height: 1px;
    background: var(--c-line);
    opacity: .8
}

.footer {
    border-top: none
}

.footer-socials {
    display: flex;
    gap: 14px;
    margin-top: 22px
}

.footer-socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    background: var(--c-fg-5);
    transition: border-color .2s, transform .2s
}

.footer-socials a:hover {
    border-color: var(--c-line-strong);
    transform: translateY(-1px)
}

.footer-socials svg {
    width: 18px;
    height: 18px;
    fill: var(--c-fg)
}

.footer-disclaimer {
    max-width: 980px;
    margin: 18px auto 0;
    text-align: center;
    font-size: 11px;
    line-height: 1.7;
    color: var(--c-muted)
}

.tech-flow-wrap {
    margin-top: 56px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent)
}

.tech-flow-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: stack-scroll 42s linear infinite
}

.tech-flow-item {
    width: 210px;
    min-height: 204px;
    padding: 26px 18px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center
}

.tech-flow-item img {
    height: 44px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px
}

.tech-flow-item strong {
    display: block;
    color: var(--c-fg);
    font-size: 17px;
    line-height: 1.2;
    margin-bottom: 10px
}

.tech-flow-item span {
    font-size: 14px;
    line-height: 1.45;
    color: var(--c-muted)
}

.tech-flow-cta {
    text-align: center;
    margin-top: 52px
}

.tech-flow-cta .ts-sub {
    margin-top: 10px
}

.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    display: flex;
    justify-content: center;
    pointer-events: none
}

.cookie-banner[hidden] {
    display: none
}

.cookie-banner-inner {
    max-width: 860px;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid var(--c-line-strong);
    border-radius: 16px;
    background: rgba(10, 10, 11, .94);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
    pointer-events: auto
}

.cookie-banner-copy strong {
    display: block;
    font-size: 15px;
    color: var(--c-fg);
    margin-bottom: 6px
}

.cookie-banner-copy p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--c-muted)
}

.cookie-banner-copy a {
    color: var(--c-accent)
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.cookie-btn {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--c-line);
    background: transparent;
    color: var(--c-fg);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s
}

.cookie-btn:hover {
    border-color: var(--c-line-strong);
    background: var(--c-fg-5)
}

.cookie-btn-primary {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: var(--c-accent-fg)
}

.cookie-btn-primary:hover {
    background: var(--c-accent-hover);
    border-color: var(--c-accent-hover)
}

.cookie-manage {
    margin-top: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--c-muted);
    text-transform: uppercase
}

.cookie-manage button {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
    padding: 0
}

.cookie-manage button:hover {
    color: var(--c-fg)
}

.about-unis-logos {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin: 34px 0
}

.uni-logo-real {
    height: 64px;
    width: auto;
    object-fit: contain;
    opacity: .88;
    filter: grayscale(.08) brightness(.98)
}

.check-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: start
}

.calendar-wrap {
    margin-top: 78px;
    padding-top: 50px;
    border-top: 1px solid var(--c-line)
}

.calendar-head {
    max-width: 860px;
    margin: 0 auto 34px;
    text-align: center
}

.calendar-head h3 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.06;
    letter-spacing: -.03em;
    margin-bottom: 14px
}

.calendar-head p {
    font-size: 21px;
    line-height: 1.55;
    color: var(--c-muted)
}

.calendar-frame {
    max-width: 1360px;
    margin: 0 auto;
    padding: 34px;
    border: 1px solid var(--c-line);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .22)
}

.calendar-inline-widget {
    min-width: 320px;
    height: 760px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff
}

.tech-compact-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 34px;
    flex-wrap: wrap;
    margin-top: 36px
}

.tech-compact-row img {
    height: 34px;
    width: auto;
    object-fit: contain;
    opacity: .82
}

@media (max-width:1000px) {
    .hero-visual {
        min-height: 420px
    }
}

@media (max-width:900px) {
    .stack-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .tech-cards-row {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .check-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .calendar-frame {
        padding: 22px
    }
}

@media (max-width:768px) {
    .hero {
        padding: 58px 0 14px
    }

    .hero-frame {
        padding: 0 20px
    }

    .hero-title {
        font-size: clamp(37px, 12.8vw, 62px);
        line-height: 1.01;
        margin-bottom: 22px
    }

    .hero-sub {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 18px
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 16px
    }

    .hero-cta .btn {
        width: 100%
    }

    .hero-meta {
        grid-template-columns: 1fr 1fr;
        gap: 18px 20px;
        padding-top: 18px
    }

    .meta-item {
        padding-right: 6px
    }

    .hero-logos {
        margin: 18px 0 0;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, .14)
    }

    .hero-trustpilot-inline {
        height: 40px;
        width: 188px
    }

    .hero-visual {
        min-height: 360px
    }

    .logo-img-real {
        height: 24px
    }

    .hero-logos .logos-track-images {
        gap: 36px
    }

    .uni-logo-real {
        height: 52px
    }

    .stack-logo-grid {
        grid-template-columns: 1fr
    }

    .stack-logo-card {
        min-height: 92px
    }

    .brand-logo-img {
        height: 21px
    }

    .brand-logo-img-footer {
        height: 24px
    }

    .trustpilot-badge-img {
        height: 54px
    }

    .specialized-footer-logos {
        gap: 28px
    }

    .specialized-footer-logos img {
        height: 26px
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px
    }

    .cookie-banner-inner {
        grid-template-columns: 1fr;
        padding: 16px
    }

    .cookie-banner-actions {
        justify-content: flex-start
    }

    .tech-cards-row {
        grid-template-columns: 1fr
    }

    .tech-feature-card {
        min-height: 170px
    }

    .tech-flow-item {
        width: 176px;
        min-height: 184px;
        padding: 22px 16px
    }

    .tech-flow-item img {
        height: 38px
    }

    .tech-flow-item strong {
        font-size: 15px
    }

    .tech-flow-item span {
        font-size: 13px
    }

    .about-portrait {
        position: static;
        top: auto
    }

    .about-caption {
        gap: 12px;
        flex-wrap: wrap
    }

    .about-body {
        position: relative;
        z-index: 1
    }

    .calendar-wrap {
        margin-top: 56px;
        padding-top: 38px
    }

    .calendar-head p {
        font-size: 18px
    }

    .calendar-frame {
        padding: 18px;
        border-radius: 24px
    }

    .calendar-inline-widget {
        height: 700px;
        border-radius: 18px
    }

    .footer-disclaimer {
        font-size: 10px
    }
}

@media (max-width:620px) {
    .nav-inner {
        padding: 0 14px;
        height: 64px;
        gap: 10px
    }

    .nav-logo {
        min-width: 0;
        flex: 1
    }

    .brand-logo-img {
        height: 18px;
        max-width: 100%;
        object-fit: contain
    }

    .nav-actions {
        gap: 8px;
        flex-shrink: 0
    }

    .btn-sm {
        padding: 8px 11px;
        font-size: 12px
    }

    .hero {
        padding: 50px 0 10px
    }

    .hero-frame {
        padding: 0 14px
    }

    .hero-title {
        font-size: clamp(29px, 9.8vw, 39px);
        line-height: 1.02;
        letter-spacing: -.045em;
        margin-bottom: 22px;
        max-width: 100%;
        overflow-wrap: break-word
    }

    .hero-line {
        max-width: 100%
    }

    .hero-sub {
        font-size: 16px;
        line-height: 1.45;
        margin-bottom: 18px;
        max-width: 100%
    }

    .hero-cta {
        gap: 12px
    }

    .hero-meta {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-top: 16px
    }

    .meta-item {
        padding-right: 0
    }

    .meta-rule {
        display: none
    }

    .meta-num {
        font-size: clamp(28px, 8vw, 36px)
    }

    .meta-label {
        font-size: 11px
    }

    .hero-trustpilot-inline {
        width: 156px;
        height: 32px;
        object-position: left center
    }

    .hero-logos {
        margin: 16px 0 0;
        padding: 18px 0;
        border-top: 1px solid rgba(255, 255, 255, .14)
    }

    .hero-logos .logos-track-images {
        gap: 28px
    }

    .logo-img-real {
        height: 20px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .f-brand {
        grid-column: auto
    }

    .footer-socials {
        margin-top: 18px
    }

    .tech-compact-row {
        gap: 22px
    }

    .tech-compact-row img {
        height: 28px
    }

    .calendar-head h3 {
        font-size: clamp(30px, 8vw, 40px)
    }

    .calendar-head p {
        font-size: 16px
    }

    .calendar-frame {
        padding: 12px;
        border-radius: 20px
    }

    .calendar-inline-widget {
        height: 760px
    }

    .footer-disclaimer {
        margin-top: 14px
    }
}

/* ===== ONEPAGE ALIGNMENT GUARD ===== */
.jh-op-page {
    text-align: left
}

.jh-op-page .hero,
.jh-op-page .hero-frame,
.jh-op-page .hero-title,
.jh-op-page .hero-sub,
.jh-op-page .hero-meta,
.jh-op-page .section-head-left,
.jh-op-page .section-head-left .section-title,
.jh-op-page .section-head-left .section-sub,
.jh-op-page .section-system-check .section-head,
.jh-op-page .section-system-check .section-title,
.jh-op-page .check-grid,
.jh-op-page .check-left,
.jh-op-page .check-right,
.jh-op-page .check-left p,
.jh-op-page .check-right p,
.jh-op-page .check-right blockquote,
.jh-op-page .problem-body,
.jh-op-page .about-body,
.jh-op-page .cta-left,
.jh-op-page .footer,
.jh-op-page .footer-grid,
.jh-op-page .footer-grid .f-col {
    text-align: left
}

.jh-op-page .hero-title,
.jh-op-page .hero-sub,
.jh-op-page .section-head-left,
.jh-op-page .section-head-left .section-sub,
.jh-op-page .section-system-check .section-head {
    margin-left: 0;
    margin-right: auto
}

.jh-op-page .hero-cta {
    justify-content: flex-start
}

.jh-op-page .hero-line {
    margin-left: 0;
    margin-right: auto
}

/* ===== ONEPAGE FIXED HEADER ===== */
.jh-op-page .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    background: rgba(10, 10, 11, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px)
}

.jh-op-page main {
    padding-top: 72px
}

.jh-op-page .hero {
    scroll-margin-top: 72px
}

.jh-op-page section[id] {
    scroll-margin-top: 88px
}

/* ===== ONEPAGE MOBILE RESPONSIVE GUARD ===== */
@media (max-width:700px) {
    .jh-op-page {
        --pad-section: 72px;
        --pad-section-sm: 64px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden
    }

    .jh-op-page .wrap,
    .jh-op-page .wrap-wide,
    .jh-op-page .hero-frame {
        width: 100%;
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px
    }

    .jh-op-page .section {
        padding-top: 72px;
        padding-bottom: 72px
    }

    .jh-op-page .section-system-check {
        padding-top: 72px !important;
        padding-bottom: 72px !important
    }

    .jh-op-page .section-head,
    .jh-op-page .section-system-check .section-head {
        margin-bottom: 44px !important;
        max-width: 100% !important
    }

    .jh-op-page .section-title,
    .jh-op-page .section-system-check .section-title {
        font-size: clamp(31px, 10.5vw, 44px) !important;
        line-height: 1.08 !important;
        letter-spacing: -.04em !important;
        max-width: 100%;
        text-wrap: balance
    }

    .jh-op-page .section-sub,
    .jh-op-page .cta-lead,
    .jh-op-page .problem-body p,
    .jh-op-page .advantage-body,
    .jh-op-page .cta-box-text,
    .jh-op-page .check-left p,
    .jh-op-page .check-right p,
    .jh-op-page .check-right blockquote {
        max-width: 100%;
        overflow-wrap: anywhere
    }

    .jh-op-page .hero {
        padding-top: 42px;
        padding-bottom: 0
    }

    .jh-op-page main {
        padding-top: 64px
    }

    .jh-op-page section[id] {
        scroll-margin-top: 76px
    }

    .jh-op-page .hero-title {
        font-size: clamp(35px, 11vw, 48px);
        line-height: 1.02;
        letter-spacing: -.045em
    }

    .jh-op-page .hero-sub {
        font-size: 16px;
        line-height: 1.5
    }

    .jh-op-page .hero-cta,
    .jh-op-page .nav-actions,
    .jh-op-page .footer-socials {
        width: 100%
    }

    .jh-op-page .hero-cta .btn,
    .jh-op-page .btn-full {
        width: 100%;
        min-width: 0;
        white-space: normal;
        text-align: center
    }

    .jh-op-page .hero-meta {
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: flex-start
    }

    .jh-op-page .meta-rule {
        display: none
    }

    .jh-op-page .hero-trustpilot-inline {
        width: 170px;
        height: auto;
        object-position: left center
    }

    .jh-op-page .nav-inner {
        height: 64px;
        padding-left: 16px;
        padding-right: 16px;
        gap: 12px
    }

    .jh-op-page .nav-logo {
        min-width: 0;
        flex: 1 1 auto
    }

    .jh-op-page .brand-logo-img {
        max-width: 190px;
        height: auto
    }

    .jh-op-page .nav-actions {
        flex: 0 0 auto;
        justify-content: flex-end
    }

    .jh-op-page .nav-actions .btn-sm {
        padding: 8px 11px;
        font-size: 12px
    }

    .jh-op-page .check-grid,
    .jh-op-page .problem-grid,
    .jh-op-page .about-grid,
    .jh-op-page .cta-grid {
        grid-template-columns: 1fr;
        gap: 34px
    }

    .jh-op-page .check-left>p {
        font-size: 18px !important;
        line-height: 1.45 !important
    }

    .jh-op-page .check-left>p span {
        font-size: 16px !important;
        line-height: 1.55 !important
    }

    .jh-op-page .check-left>div {
        padding: 22px !important;
        border-radius: 16px !important;
        margin-top: 28px !important
    }

    .jh-op-page .check-left>div p,
    .jh-op-page .check-right p {
        font-size: 16px !important;
        line-height: 1.65 !important
    }

    .jh-op-page .check-right blockquote {
        margin-top: 32px !important;
        padding-left: 18px !important;
        font-size: 18px !important;
        line-height: 1.55 !important
    }

    .jh-op-page .founder-card,
    .jh-op-page .about-portrait {
        position: static;
        top: auto
    }

    .jh-op-page .motor-diagram {
        padding: 18px 14px 22px;
        margin-top: 8px;
        overflow: hidden
    }

    .jh-op-page .motor-meta {
        flex-wrap: wrap;
        gap: 8px 12px;
        font-size: 10px;
        line-height: 1.4
    }

    .jh-op-page .motor-svg-wrap {
        width: 100%;
        overflow: hidden
    }

    .jh-op-page .motor-svg-restored {
        height: auto;
        min-width: 0
    }

    .jh-op-page .motor-tags {
        gap: 8px
    }

    .jh-op-page .motor-tag {
        width: 100%;
        justify-content: flex-start
    }

    .jh-op-page .compare-col,
    .jh-op-page .fw-col,
    .jh-op-page .advantage-box,
    .jh-op-page .cta-box,
    .jh-op-page .t-card,
    .jh-op-page .b-card {
        padding: 26px 22px
    }

    .jh-op-page .compare-head,
    .jh-op-page .fw-head,
    .jh-op-page .story-head {
        align-items: flex-start;
        gap: 14px
    }

    .jh-op-page .case-row {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 34px 0
    }

    .jh-op-page .case-num,
    .jh-op-page .case-result {
        grid-column: auto
    }

    .jh-op-page .case-result {
        width: 100%;
        margin-top: 6px
    }

    .jh-op-page .case-workflow {
        max-width: 100%;
        min-height: 210px
    }

    .jh-op-page .cw-tab {
        max-width: calc(100% - 28px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .jh-op-page .story-head {
        padding: 22px;
        flex-direction: column
    }

    .jh-op-page .story-person {
        align-items: flex-start
    }

    .jh-op-page .story-metrics {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px
    }

    .jh-op-page .story-ba {
        padding: 22px;
        grid-template-columns: 1fr
    }

    .jh-op-page .ba-arrow {
        transform: rotate(90deg);
        justify-self: start;
        padding: 0
    }

    .jh-op-page .process-step {
        padding: 28px 22px;
        gap: 18px
    }

    .jh-op-page .ps-num span {
        font-size: 34px
    }

    .jh-op-page .benefits-grid {
        grid-template-columns: 1fr
    }

    .jh-op-page .cta-title {
        font-size: clamp(36px, 11vw, 48px);
        line-height: 1.04;
        max-width: 100%;
        overflow-wrap: anywhere
    }

    .jh-op-page .calendar-wrap {
        margin-top: 54px;
        padding-top: 36px
    }

    .jh-op-page .calendar-head h3 {
        font-size: clamp(30px, 9vw, 38px);
        line-height: 1.08
    }

    .jh-op-page .calendar-head p {
        font-size: 16px;
        line-height: 1.55
    }

    .jh-op-page .calendar-frame {
        width: 100%;
        max-width: 100%;
        padding: 0;
        border-radius: 24px;
        overflow: hidden
    }

    .jh-op-page .calendar-inline-widget {
        min-width: 0 !important;
        width: 100% !important;
        height: 720px !important;
        border-radius: 24px
    }

    .jh-op-page .calendar-inline-widget iframe {
        width: 100% !important;
        min-width: 0 !important
    }

    .jh-op-page .specialized-footer {
        padding-top: 34px;
        padding-bottom: 40px
    }

    .jh-op-page .specialized-footer-logos {
        gap: 22px 26px
    }

    .jh-op-page .footer {
        padding-top: 54px
    }

    .jh-op-page .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 40px
    }

    .jh-op-page .footer-base {
        flex-direction: column;
        gap: 8px
    }
}

@media (max-width:420px) {

    .jh-op-page .wrap,
    .jh-op-page .wrap-wide,
    .jh-op-page .hero-frame {
        padding-left: 16px;
        padding-right: 16px
    }

    .jh-op-page .brand-logo-img {
        max-width: 166px
    }

    .jh-op-page .section-title,
    .jh-op-page .section-system-check .section-title {
        font-size: clamp(29px, 10.5vw, 40px) !important
    }

    .jh-op-page .hero-title {
        font-size: clamp(31px, 10vw, 40px)
    }

    .jh-op-page .btn {
        padding-left: 18px;
        padding-right: 18px
    }

    .jh-op-page .compare-col,
    .jh-op-page .fw-col,
    .jh-op-page .advantage-box,
    .jh-op-page .cta-box,
    .jh-op-page .t-card,
    .jh-op-page .b-card {
        padding-left: 18px;
        padding-right: 18px
    }
}
