/* ── INNOQUO Dual view: Surface (business) ↔ Inner (radiography) ─────────── */

html {
    scrollbar-gutter: stable;
}

.dual-experience,
.home-experience {
    --surface-hero-from: #fffbf7;
    --surface-hero-to: #fff5eb;
    --surface-accent: #ff6b00;
    --mode-transition: 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.dual-experience[data-mode="inner"],
.home-experience[data-mode="inner"] {
    --inner-bg: #030508;
    --inner-panel: #0a1018;
    --inner-border: #1a3a4a;
    --inner-glow: #22d3ee;
    --tech-accent: #22d3ee;
    --tech-accent-dim: #06b6d4;
    --tech-accent-soft: #2dd4bf;
    --tech-glow: rgba(34, 211, 238, 0.45);
    background: var(--inner-bg);
    color: #e2e8f0;
    transition: background var(--mode-transition), color var(--mode-transition);
}

html.innoquo-inner-mode {
    --tech-accent: #22d3ee;
    --tech-accent-dim: #06b6d4;
    --tech-accent-soft: #2dd4bf;
    --tech-glow: rgba(34, 211, 238, 0.45);
}

.dual-experience[data-mode="surface"] .inner-layer,
.home-experience[data-mode="surface"] .inner-layer {
    display: none !important;
}

.dual-experience[data-mode="inner"] .surface-layer,
.home-experience[data-mode="inner"] .surface-layer {
    display: none !important;
}

.dual-experience[data-mode="inner"] .inner-layer,
.home-experience[data-mode="inner"] .inner-layer {
    display: block;
}

.dual-experience[data-mode="inner"] .inner-layer.inner-grid,
.home-experience[data-mode="inner"] .inner-layer.inner-grid {
    display: grid;
}

.dual-experience[data-mode="inner"] .inner-layer.inner-flex,
.home-experience[data-mode="inner"] .inner-layer.inner-flex {
    display: flex;
}

.dual-experience[data-mode="inner"]::before,
.home-experience[data-mode="inner"]::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 30;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(34, 211, 238, 0.03) 2px,
        rgba(34, 211, 238, 0.03) 4px
    );
    animation: scan-drift 8s linear infinite;
}

.dual-experience[data-mode="inner"]::after,
.home-experience[data-mode="inner"]::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 29;
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.6;
}

@keyframes scan-drift {
    0% { transform: translateY(0); }
    100% { transform: translateY(48px); }
}

/* ── Dock — floating pill toggle ─────────────────────────────────────────── */

.inner-dock {
    position: fixed;
    top: 5.25rem;
    right: 1.25rem;
    z-index: 70;
    pointer-events: none;
}

.inner-dock__toggle {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.1rem 0.65rem 0.8rem;
    min-width: 15.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    max-width: min(calc(100vw - 2rem), 280px);
    text-align: left;
}

html[data-view-mode="surface"] .inner-dock__toggle,
html:not(.innoquo-inner-mode) .inner-dock__toggle {
    background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
    border-color: rgba(255, 107, 0, 0.28);
    box-shadow: 0 4px 24px rgba(255, 107, 0, 0.14), 0 0 0 1px rgba(255, 107, 0, 0.06);
}

html[data-view-mode="surface"] .inner-dock__toggle:hover,
html:not(.innoquo-inner-mode) .inner-dock__toggle:hover {
    box-shadow: 0 8px 32px rgba(255, 107, 0, 0.22);
    transform: translateY(-1px);
}

html[data-view-mode="inner"] .inner-dock__toggle,
html.innoquo-inner-mode .inner-dock__toggle {
    background: linear-gradient(135deg, #0a1018 0%, #0d1520 100%);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 4px 24px rgba(34, 211, 238, 0.16), 0 0 0 1px rgba(45, 212, 191, 0.1);
}

html[data-view-mode="inner"] .inner-dock__toggle:hover,
html.innoquo-inner-mode .inner-dock__toggle:hover {
    box-shadow: 0 8px 32px rgba(34, 211, 238, 0.28);
    transform: translateY(-1px);
}

.inner-dock__toggle-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

html[data-view-mode="surface"] .inner-dock__toggle-icon,
html:not(.innoquo-inner-mode) .inner-dock__toggle-icon {
    background: linear-gradient(135deg, #ff6b00, #ff8c42);
    color: white;
}

html[data-view-mode="inner"] .inner-dock__toggle-icon,
html.innoquo-inner-mode .inner-dock__toggle-icon {
    background: linear-gradient(135deg, #0891b2, #22d3ee);
    color: #042f2e;
}

.inner-dock__toggle-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}

.inner-dock__toggle-primary {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

html[data-view-mode="surface"] .inner-dock__toggle-primary,
html:not(.innoquo-inner-mode) .inner-dock__toggle-primary {
    color: #111;
}

html[data-view-mode="inner"] .inner-dock__toggle-primary,
html.innoquo-inner-mode .inner-dock__toggle-primary {
    color: #f1f5f9;
}

.inner-dock__toggle-hint {
    font-size: 10px;
    line-height: 1.25;
}

html[data-view-mode="surface"] .inner-dock__toggle-hint,
html:not(.innoquo-inner-mode) .inner-dock__toggle-hint {
    color: #9ca3af;
}

html[data-view-mode="inner"] .inner-dock__toggle-hint,
html.innoquo-inner-mode .inner-dock__toggle-hint {
    color: #94a3b8;
}

.inner-dock__chevron {
    font-size: 14px;
    flex-shrink: 0;
    opacity: 0.65;
    transition: transform 0.3s ease, color 0.3s ease;
}

html[data-view-mode="surface"] .inner-dock__chevron,
html:not(.innoquo-inner-mode) .inner-dock__chevron {
    color: #ff6b00;
}

html[data-view-mode="inner"] .inner-dock__chevron,
html.innoquo-inner-mode .inner-dock__chevron {
    color: #22d3ee;
    transform: rotate(180deg);
}

.inner-dock__btn,
.inner-dock__panel {
    /* legacy — removed */
    display: none;
}

/* ── Surface layer ──────────────────────────────────────────────────────── */

.surface-hero {
    background: linear-gradient(160deg, #fffbf7 0%, #fff5eb 45%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.surface-hero::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.surface-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: white;
    border: 1px solid rgba(255, 107, 0, 0.25);
    box-shadow: 0 2px 12px rgba(255, 107, 0, 0.1);
    font-size: 11px;
    font-weight: 500;
    color: #ea580c;
}

.surface-benefit-card {
    padding: 1.75rem;
    border-radius: 1.25rem;
    background: white;
    border: 1px solid #f0f0f0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.surface-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(255, 107, 0, 0.1);
}

.surface-benefit-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.surface-page,
.inner-page {
    /* full width — dock floats above content */
}

/* ── Inner layer ────────────────────────────────────────────────────────── */

.inner-hero {
    position: relative;
}

.inner-glow-text {
    text-shadow: 0 0 40px rgba(34, 211, 238, 0.25);
}

.inner-card {
    background: linear-gradient(160deg, #0c1219 0%, #0a1018 100%);
    border: 1px solid #1a3a4a;
    border-radius: 0.875rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.inner-card--lift:hover {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 8px 32px rgba(34, 211, 238, 0.1);
    transform: translateY(-2px);
}

.inner-card--highlight {
    background: linear-gradient(160deg, rgba(34, 211, 238, 0.08) 0%, #0a1018 100%);
}

.inner-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #22d3ee, transparent);
    opacity: 0.6;
}

.inner-chip {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid #1a3a4a;
    color: #94a3b8;
    background: rgba(10, 16, 24, 0.8);
}

.inner-chip--highlight {
    border-color: rgba(34, 211, 238, 0.5);
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.08);
}

.inner-lifecycle-card__step {
    font-family: ui-monospace, monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(34, 211, 238, 0.5);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.inner-lifecycle-card:hover {
    border-color: rgba(34, 211, 238, 0.35);
}

.inner-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.inner-stack__layer {
    width: 100%;
}

.inner-stack__connector {
    width: 2px;
    height: 1rem;
    margin: 0 auto;
    background: linear-gradient(180deg, #22d3ee, rgba(34, 211, 238, 0.2));
    opacity: 0.5;
}

.inner-card:hover {
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.08);
}

.inner-label {
    font-family: ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #22d3ee;
}

.inner-problem-box {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: #0a1018;
    border: 1px solid #1a3a4a;
}

.inner-list-item::before {
    content: "▸";
    color: #22d3ee;
    margin-right: 0.5rem;
    font-family: ui-monospace, monospace;
}

/* ── Inner radiography — compact wow layout ──────────────────────────────── */

.inner-radiography {
    position: relative;
}

.inner-radiography .inner-label {
    color: var(--tech-accent, #22d3ee);
}

.inner-radiography__hero {
    margin-bottom: 1.75rem;
    text-align: center;
}

.inner-radiography__title {
    font-family: ui-monospace, monospace;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #f8fafc;
    text-shadow: 0 0 60px var(--tech-glow, rgba(34, 211, 238, 0.45));
    margin-bottom: 0.5rem;
}

.inner-radiography__tagline {
    font-family: ui-monospace, monospace;
    font-size: 1rem;
    color: var(--tech-accent, #22d3ee);
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
}

.inner-radiography__pill {
    display: inline-block;
    font-family: ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.25);
    background: rgba(34, 211, 238, 0.06);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.08);
}

.inner-radiography__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
    .inner-radiography__stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.inner-stat {
    text-align: center;
    padding: 1rem 0.75rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(34, 211, 238, 0.2);
    background: linear-gradient(160deg, rgba(34, 211, 238, 0.08) 0%, rgba(10, 16, 24, 0.6) 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inner-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(34, 211, 238, 0.15);
}

.inner-stat__value {
    display: block;
    font-family: ui-monospace, monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tech-accent, #22d3ee);
    line-height: 1.2;
    text-shadow: 0 0 20px var(--tech-glow, rgba(34, 211, 238, 0.4));
}

.inner-stat__label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin-top: 0.35rem;
}

.inner-radiography__grid {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .inner-radiography__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.inner-section-card {
    background: rgba(10, 16, 24, 0.75);
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 0.875rem;
    padding: 1.1rem 1.15rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inner-section-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 55%);
    pointer-events: none;
}

.inner-section-card:hover {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 32px rgba(34, 211, 238, 0.12);
}

.inner-section-card__head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    position: relative;
}

.inner-section-card__blurb {
    position: relative;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0;
}

.inner-section-card__icon {
    font-family: ui-monospace, monospace;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--tech-accent, #22d3ee);
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.35));
}

.inner-section-card__title {
    font-family: ui-monospace, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tech-accent-soft, #2dd4bf);
    margin: 0;
}

.inner-section-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    position: relative;
}

.inner-section-card--principle .inner-section-card__rule-block,
.inner-section-card--principle .inner-section-card__evidence-block {
    position: relative;
    margin-bottom: 0.85rem;
}

.inner-section-card--principle .inner-section-card__evidence-block {
    margin-bottom: 0;
}

.inner-section-card__rule-label {
    font-family: ui-monospace, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(45, 212, 191, 0.85);
    margin: 0 0 0.4rem;
}

.inner-section-card__rule {
    font-size: 0.8125rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin: 0;
}

.inner-chip-tag {
    font-family: ui-monospace, monospace;
    font-size: 11px;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    color: #cbd5e1;
    background: rgba(34, 211, 238, 0.05);
    transition: background 0.15s ease, color 0.15s ease;
}

.inner-chip-tag:hover {
    background: rgba(34, 211, 238, 0.12);
    color: var(--tech-accent, #22d3ee);
}

.inner-chip-tag--roadmap {
    border-color: rgba(251, 191, 36, 0.3);
    color: #fde68a;
    background: rgba(251, 191, 36, 0.06);
}

.inner-roadmap-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
    border-radius: 0.875rem;
    border: 1px dashed rgba(251, 191, 36, 0.28);
    background: rgba(251, 191, 36, 0.04);
}

.inner-roadmap-strip__label {
    font-family: ui-monospace, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fbbf24;
    flex-shrink: 0;
}

.inner-roadmap-strip__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.inner-radiography__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.inner-radiography__cta {
    font-family: ui-monospace, monospace;
    font-size: 0.8125rem;
    padding: 0.65rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(34, 211, 238, 0.25);
    color: #94a3b8;
    transition: all 0.2s ease;
}

.inner-radiography__cta:hover {
    border-color: rgba(34, 211, 238, 0.5);
    color: var(--tech-accent, #22d3ee);
}

.inner-radiography__cta--primary {
    border-color: rgba(34, 211, 238, 0.55);
    color: var(--tech-accent, #22d3ee);
    background: rgba(34, 211, 238, 0.08);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.15);
}

.inner-radiography__cta--primary:hover {
    background: rgba(34, 211, 238, 0.15);
    box-shadow: 0 0 32px rgba(34, 211, 238, 0.25);
}

.inner-arch-diagram {
    font-family: ui-monospace, monospace;
    font-size: clamp(0.55rem, 1.2vw, 0.68rem);
    line-height: 1.35;
    color: #94a3b8;
    background: rgba(5, 8, 16, 0.8);
    border: 1px solid rgba(34, 211, 238, 0.15);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    white-space: pre;
}

/* ── Architecture stack (roadmap reference diagram) ─────────────────────── */

.arch-stack {
    max-width: 52rem;
    margin: 0 auto;
}

.arch-stack__flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 1.25rem;
    position: relative;
}

.arch-stack__line {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.5), rgba(34, 211, 238, 0.15));
}

.arch-stack__fork {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(72%, 28rem);
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(34, 211, 238, 0.15),
        rgba(34, 211, 238, 0.45),
        rgba(34, 211, 238, 0.15)
    );
}

.arch-stack__segment--row {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .arch-stack__segment--row {
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    }
}

.arch-block {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
    text-align: left;
    padding: 1rem 1.15rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(34, 211, 238, 0.18);
    background: linear-gradient(160deg, rgba(34, 211, 238, 0.06) 0%, rgba(5, 8, 16, 0.85) 100%);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.arch-block:hover,
.arch-block--active {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.12);
}

.arch-block--active {
    transform: translateY(-1px);
}

.arch-block--static {
    cursor: default;
}

.arch-block--static:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(34, 211, 238, 0.18);
}

.arch-block__title {
    font-family: ui-monospace, monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #22d3ee;
    line-height: 1.3;
}

.arch-block__line {
    font-family: ui-monospace, monospace;
    font-size: 0.68rem;
    line-height: 1.45;
    color: #94a3b8;
}

.arch-block__hint {
    font-family: ui-monospace, monospace;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(34, 211, 238, 0.45);
    margin-top: 0.35rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.arch-block:hover .arch-block__hint,
.arch-block--active .arch-block__hint {
    opacity: 1;
}

.inner-code-block {
    font-family: ui-monospace, monospace;
    color: #94a3b8;
    background: rgba(3, 5, 8, 0.6);
    border-radius: 0.5rem;
    padding: 0.75rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ── Global inner mode (nav, footer) ─────────────────────────────────────── */

html.innoquo-inner-mode body {
    background: #030508 !important;
}

/* ── Site header layout (logo · nav · tools) ─────────────────────────────── */

.site-header {
    overflow: visible;
}

.site-header__nav {
    position: relative;
    overflow: visible;
}

.site-logo {
    max-width: 12rem;
    z-index: 2;
}

.site-logo__img {
    transition: filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

html:not(.innoquo-inner-mode) .site-logo__img {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

html:not(.innoquo-inner-mode) .site-logo:hover .site-logo__img {
    transform: scale(1.04);
}

/* Logo — tech mode: no pill, electric blue glow */
/* Logo — tech mode: turquesa puro, sin fondo */
html.innoquo-inner-mode .site-logo__img {
    padding: 0 !important;
    margin: 0;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none;
    filter:
        brightness(0) saturate(100%)
        invert(78%) sepia(52%) saturate(1200%) hue-rotate(152deg) brightness(1.15);
    transition: filter 0.25s ease, transform 0.25s ease;
}

html.innoquo-inner-mode .site-logo:hover .site-logo__img {
    filter:
        brightness(0) saturate(100%)
        invert(85%) sepia(55%) saturate(1400%) hue-rotate(152deg) brightness(1.25);
    transform: scale(1.04);
}

html.innoquo-inner-mode .site-logo .logo-name {
    color: #f1f5f9 !important;
    transition: color 0.2s ease;
}

html.innoquo-inner-mode .site-logo:hover .logo-name {
    color: #22d3ee !important;
}

.site-header__menu {
    z-index: 40;
    overflow: visible;
}

.site-header__tools {
    z-index: 50;
    overflow: visible;
}

.site-nav-dropdown {
    z-index: 60;
}

html.innoquo-inner-mode header.site-header {
    background: rgba(3, 5, 8, 0.94) !important;
    border-color: rgba(34, 211, 238, 0.2) !important;
    box-shadow: 0 1px 0 rgba(34, 211, 238, 0.1), 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* Nav links & controls */
html.innoquo-inner-mode header.site-header,
html.innoquo-inner-mode header.site-header .site-nav-links,
html.innoquo-inner-mode header.site-header .site-nav-links button,
html.innoquo-inner-mode header.site-header .site-nav-links > a {
    color: #94a3b8 !important;
}

html.innoquo-inner-mode header.site-header input[type="search"]::placeholder {
    color: #64748b;
}

html.innoquo-inner-mode header.site-header button[aria-label="Toggle theme"],
html.innoquo-inner-mode header.site-header button[aria-label*="Menu"],
html.innoquo-inner-mode header.site-header button[aria-label*="Language"] {
    color: #94a3b8 !important;
}

html.innoquo-inner-mode header.site-header button[aria-label="Toggle theme"]:hover,
html.innoquo-inner-mode header.site-header button[aria-label*="Menu"]:hover,
html.innoquo-inner-mode header.site-header button[aria-label*="Language"]:hover {
    color: #22d3ee !important;
}

/* Dropdown panels */
html.innoquo-inner-mode header.site-header .site-nav-dropdown,
html.innoquo-inner-mode header.site-header .absolute.top-full {
    background: #0a1018 !important;
    border-color: rgba(34, 211, 238, 0.25) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(34, 211, 238, 0.08);
}

html.innoquo-inner-mode header.site-header .site-nav-dropdown a,
html.innoquo-inner-mode header.site-header .site-nav-dropdown button,
html.innoquo-inner-mode header.site-header .absolute.top-full a,
html.innoquo-inner-mode header.site-header .absolute.top-full button {
    color: #94a3b8 !important;
}

html.innoquo-inner-mode header.site-header .site-nav-dropdown a:hover,
html.innoquo-inner-mode header.site-header .site-nav-dropdown button:hover,
html.innoquo-inner-mode header.site-header .absolute.top-full a:hover,
html.innoquo-inner-mode header.site-header .absolute.top-full button:hover {
    background: rgba(34, 211, 238, 0.1) !important;
    color: #22d3ee !important;
}

html.innoquo-inner-mode header.site-header .absolute.top-full .text-innoquo-orange,
html.innoquo-inner-mode header.site-header .absolute.top-full a.text-innoquo-orange {
    color: #ff6b00 !important;
}

html.innoquo-inner-mode header.site-header .absolute.top-full .border-t {
    border-color: #1a3a4a !important;
}

/* Mobile drawer */
html.innoquo-inner-mode header.site-header .site-mobile-nav {
    background: #0a1018 !important;
    border-color: #1a3a4a !important;
}

html.innoquo-inner-mode header.site-header .site-mobile-nav a {
    color: #cbd5e1 !important;
}

html.innoquo-inner-mode header.site-header .site-mobile-nav a.text-innoquo-orange {
    color: #ff6b00 !important;
}

html.innoquo-inner-mode header.site-header .site-mobile-nav p.text-gray-400 {
    color: #64748b !important;
}

html.innoquo-inner-mode footer {
    background: #050810 !important;
    border-color: #1a3a4a !important;
}

html.innoquo-inner-mode .brand-philosophy-bar {
    background: #0a1018 !important;
    border-color: #1a3a4a !important;
}

/* ── Surface: clearer toolbar controls ───────────────────────────────────── */

html[data-view-mode="surface"] .lang-switcher__btn,
html:not(.innoquo-inner-mode) .lang-switcher__btn {
    color: #374151;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    min-height: 2.25rem;
}

html[data-view-mode="surface"] .lang-switcher__btn:hover,
html:not(.innoquo-inner-mode) .lang-switcher__btn:hover {
    color: #111;
    border-color: rgba(255, 107, 0, 0.45);
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.12);
}

html[data-view-mode="surface"] .lang-switcher__panel,
html:not(.innoquo-inner-mode) .lang-switcher__panel {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

html[data-view-mode="surface"] .site-search__input,
html:not(.innoquo-inner-mode) .site-search__input {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.12);
    color: #374151;
    min-height: 2.25rem;
}

html[data-view-mode="surface"] .site-search__input:focus,
html:not(.innoquo-inner-mode) .site-search__input:focus {
    border-color: rgba(255, 107, 0, 0.55);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

html.innoquo-inner-mode .lang-switcher__btn {
    color: #cbd5e1 !important;
    background: rgba(10, 16, 24, 0.92) !important;
    border: 1px solid rgba(34, 211, 238, 0.28) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    min-height: 2.25rem;
}

html.innoquo-inner-mode .lang-switcher__btn:hover {
    color: #22d3ee !important;
    border-color: rgba(34, 211, 238, 0.55) !important;
    box-shadow: 0 2px 8px rgba(34, 211, 238, 0.2);
}

html.innoquo-inner-mode header.site-header input[type="search"] {
    background: rgba(10, 16, 24, 0.92) !important;
    border-color: rgba(34, 211, 238, 0.28) !important;
    color: #e2e8f0 !important;
    min-height: 2.25rem;
}

html.innoquo-inner-mode header.site-header input[type="search"]:focus {
    border-color: rgba(34, 211, 238, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}

html.innoquo-inner-mode header.site-header .site-nav-links button:hover,
html.innoquo-inner-mode header.site-header .site-nav-links > a:hover {
    color: #22d3ee !important;
}

html.innoquo-inner-mode .lang-switcher__panel {
    background: #0a1018 !important;
    border: 1px solid #1a3a4a !important;
}

/* ── Contact form: surface vs inner ──────────────────────────────────────── */

.surface-layer .contact-form__label {
    color: #6b7280;
}

.surface-layer .contact-form__select,
.surface-layer .contact-form__input {
    border-color: rgba(0, 0, 0, 0.12);
    background: #fff;
    color: #111;
}

.dark .surface-layer .contact-form__select,
.dark .surface-layer .contact-form__input {
    border-color: var(--innoquo-border-dark, #2a2a2a);
    background: var(--innoquo-surface, #1a1a1a);
    color: #e5e7eb;
}

.surface-layer .contact-form__select {
    font-weight: 500;
    cursor: pointer;
}

.surface-layer .contact-form__select:focus,
.surface-layer .contact-form__input:focus {
    border-color: rgba(255, 107, 0, 0.55);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
    outline: none;
}

.surface-layer .contact-form__hint {
    color: #6b7280;
}

.surface-layer .contact-form__submit {
    background: #ff6b00;
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.25);
}

.surface-layer .contact-form__submit:hover {
    background: #e55f00;
}

.inner-layer .contact-form__label {
    color: #64748b;
    font-family: ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
}

.inner-layer .contact-form__select,
.inner-layer .contact-form__input,
.inner-layer .contact-form__textarea {
    background: rgba(3, 5, 8, 0.6);
    border: 1px solid #1a3a4a;
    color: #cbd5e1;
    font-family: ui-monospace, monospace;
    font-size: 13px;
    border-radius: 0.375rem;
}

.inner-layer .contact-form__select:focus,
.inner-layer .contact-form__input:focus,
.inner-layer .contact-form__textarea:focus {
    border-color: rgba(34, 211, 238, 0.55);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.25);
    outline: none;
}

.inner-layer .contact-form__hint {
    color: #64748b;
    font-family: ui-monospace, monospace;
}

.inner-layer .contact-form__submit {
    background: transparent;
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, 0.5);
    font-family: ui-monospace, monospace;
}

.inner-layer .contact-form__submit:hover {
    background: rgba(34, 211, 238, 0.1);
}

.dual-experience.mode-switching,
.home-experience.mode-switching {
    animation: mode-flash 0.55s ease;
}

@keyframes mode-flash {
    0% { opacity: 1; }
    40% { opacity: 0.88; }
    100% { opacity: 1; }
}

[x-cloak] {
    display: none !important;
}

/* ── Inner mode: global chrome (newsletter, philosophy bar) ─────────────── */

html.innoquo-inner-mode #newsletter,
html.innoquo-inner-mode section#newsletter {
    background: #0a1018 !important;
    border-color: rgba(34, 211, 238, 0.15) !important;
}

html.innoquo-inner-mode #newsletter p,
html.innoquo-inner-mode #newsletter h2,
html.innoquo-inner-mode #newsletter label {
    color: #94a3b8 !important;
}

html.innoquo-inner-mode #newsletter h2 {
    color: #f1f5f9 !important;
}

html.innoquo-inner-mode #newsletter input[type="email"] {
    background: rgba(10, 16, 24, 0.92) !important;
    border-color: rgba(34, 211, 238, 0.25) !important;
    color: #e2e8f0 !important;
}

html.innoquo-inner-mode #newsletter input[type="email"]:focus {
    border-color: rgba(34, 211, 238, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
    outline: none;
}

html.innoquo-inner-mode .brand-philosophy-bar {
    background: #050810 !important;
    border-color: rgba(34, 211, 238, 0.12) !important;
}

html.innoquo-inner-mode .brand-philosophy-bar p {
    color: #64748b !important;
}

html.innoquo-inner-mode footer input[type="email"] {
    background: rgba(10, 16, 24, 0.92) !important;
    border-color: rgba(34, 211, 238, 0.25) !important;
    color: #e2e8f0 !important;
}

html.innoquo-inner-mode footer input[type="email"]:focus {
    border-color: rgba(34, 211, 238, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
    outline: none;
}

html.innoquo-inner-mode footer h4 {
    color: #64748b !important;
}

html.innoquo-inner-mode .inner-layer[data-inner-stub],
html.innoquo-inner-mode [data-inner-stub] {
    display: none !important;
}

/* ── Mobile dock ─────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
    .inner-dock {
        top: auto;
        bottom: max(1rem, env(safe-area-inset-bottom));
        right: 1rem;
        left: 1rem;
    }

    .inner-dock__toggle {
        width: 100%;
        max-width: none;
        justify-content: flex-start;
    }

    .inner-dock__toggle-hint {
        display: none;
    }

    .inner-dock__chevron {
        margin-left: auto;
    }
}
