/*
Theme Name: EngageFacil
Theme URI: https://engagefacil.com
Author: EngageFacil
Description: Tema institucional em blocos, leve e responsivo, criado para a plataforma EngageFacil.
Version: 0.3.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: engagefacil
*/

:root {
    --ef-ink: #0b1220;
    --ef-ink-soft: #3e4b63;
    --ef-muted: #69758a;
    --ef-line: #dfe6f1;
    --ef-line-strong: #cbd7e6;
    --ef-paper: #ffffff;
    --ef-surface: #f5f8fc;
    --ef-surface-blue: #edf5ff;
    --ef-blue: #1d4ed8;
    --ef-blue-dark: #163eaf;
    --ef-cyan: #06b6d4;
    --ef-green: #22c55e;
    --ef-green-dark: #168342;
    --ef-on-dark: #f8fbff;
    --ef-on-dark-soft: #c8d7e8;
    --ef-on-brand: #ffffff;
    --ef-shadow-sm: 0 8px 24px rgba(11, 18, 32, 0.07);
    --ef-shadow-lg: 0 28px 80px rgba(11, 18, 32, 0.13);
    --ef-radius-sm: 14px;
    --ef-radius: 22px;
    --ef-radius-lg: 32px;
    --ef-container: 1180px;
    --ef-header-height: 76px;
}

* {
    box-sizing: border-box;
}

::selection {
    background: #1d4ed8;
    color: #ffffff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--ef-header-height) + 24px);
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--ef-paper);
    color: var(--ef-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.admin-bar .ef-site-header {
    top: 32px;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

:focus-visible {
    outline: 3px solid rgba(6, 182, 212, 0.55);
    outline-offset: 4px;
}

.ef-skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    transform: translateY(-160%);
    border-radius: 10px;
    background: var(--ef-ink);
    color: #fff;
}

.ef-skip-link:focus {
    transform: translateY(0);
}

.ef-container {
    width: min(calc(100% - 40px), var(--ef-container));
    margin-inline: auto;
}

.ef-narrow {
    width: min(calc(100% - 40px), 780px);
    margin-inline: auto;
}

.ef-section {
    position: relative;
    padding: 104px 0;
}

.ef-section--soft {
    background: var(--ef-surface);
}

.ef-section--dark {
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(6, 182, 212, 0.18), transparent 34%),
        radial-gradient(circle at 12% 86%, rgba(34, 197, 94, 0.12), transparent 30%),
        var(--ef-ink);
    color: var(--ef-on-dark);
}

.ef-section--dark .ef-title {
    color: var(--ef-on-dark);
}

.ef-section--gradient {
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(29, 78, 216, 0.13), transparent 30%),
        radial-gradient(circle at 88% 80%, rgba(34, 197, 94, 0.12), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f5f9ff 100%);
}

.ef-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    color: var(--ef-blue);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ef-eyebrow::before {
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ef-blue), var(--ef-cyan));
    content: "";
}

.ef-section--dark .ef-eyebrow,
.ef-hero .ef-eyebrow {
    color: #82e8f4;
}

.ef-title {
    max-width: 860px;
    margin: 0;
    font-size: clamp(2.15rem, 4.4vw, 4.45rem);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.ef-title--section {
    max-width: 820px;
    font-size: clamp(2rem, 3.5vw, 3.35rem);
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.ef-lead {
    max-width: 760px;
    margin: 24px 0 0;
    color: var(--ef-ink-soft);
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    line-height: 1.65;
}

.ef-section--dark .ef-lead {
    color: var(--ef-on-dark-soft);
}

.ef-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 52px;
}

.ef-section-head > div {
    max-width: 820px;
}

.ef-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.ef-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.ef-button:hover {
    transform: translateY(-2px);
}

.ef-button--primary {
    background: linear-gradient(135deg, var(--ef-blue), #1e40af 58%, #0e7490);
    box-shadow: 0 13px 28px rgba(29, 78, 216, 0.23);
    color: #fff;
}

.ef-button--primary:hover {
    box-shadow: 0 17px 34px rgba(29, 78, 216, 0.3);
}

.ef-button--secondary {
    border-color: var(--ef-line-strong);
    background: rgba(255, 255, 255, 0.78);
    color: var(--ef-ink);
}

.ef-button--secondary:hover {
    border-color: #9eb0c9;
    background: #fff;
}

.ef-button--light {
    background: #fff;
    color: var(--ef-ink);
}

.ef-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ef-blue);
    font-weight: 750;
    text-decoration: none;
}

.ef-text-link::after {
    content: "→";
    transition: transform 180ms ease;
}

.ef-text-link:hover::after {
    transform: translateX(4px);
}

/* Header */
.ef-site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    height: var(--ef-header-height);
    border-bottom: 1px solid rgba(203, 215, 230, 0.72);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
}

.ef-header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.ef-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    color: var(--ef-ink);
    font-size: 1.12rem;
    font-weight: 820;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.ef-brand img {
    width: 42px;
    height: 42px;
}

.ef-brand strong {
    color: var(--ef-blue);
    font-weight: 820;
}

.ef-nav-shell,
.ef-nav,
.ef-nav-actions {
    display: flex;
    align-items: center;
}

.ef-nav-shell {
    min-width: 0;
    flex: 1;
    justify-content: flex-end;
    gap: 24px;
}

.ef-nav {
    gap: 4px;
}

.ef-nav > a,
.ef-nav summary {
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 0 12px;
    border-radius: 10px;
    color: #364258;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 680;
    list-style: none;
    text-decoration: none;
}

.ef-nav summary::-webkit-details-marker {
    display: none;
}

.ef-nav summary::after {
    margin-left: 7px;
    color: var(--ef-muted);
    content: "⌄";
    font-size: 0.8rem;
}

.ef-nav > a:hover,
.ef-nav summary:hover,
.ef-nav details[open] summary {
    background: var(--ef-surface);
    color: var(--ef-blue);
}

.ef-nav-dropdown {
    position: relative;
}

.ef-mega {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    display: grid;
    width: min(720px, calc(100vw - 40px));
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 14px;
    transform: translateX(-50%);
    border: 1px solid var(--ef-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--ef-shadow-lg);
}

.ef-mega a {
    display: block;
    padding: 15px;
    border-radius: 13px;
    color: var(--ef-ink);
    text-decoration: none;
}

.ef-mega a:hover {
    background: var(--ef-surface-blue);
}

.ef-mega strong,
.ef-mega span {
    display: block;
}

.ef-mega strong {
    font-size: 0.92rem;
}

.ef-mega span {
    margin-top: 3px;
    color: var(--ef-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.ef-nav-actions {
    flex: 0 0 auto;
    gap: 10px;
}

.ef-login {
    color: var(--ef-ink-soft);
    font-size: 0.88rem;
    font-weight: 720;
    text-decoration: none;
}

.ef-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ef-line);
    border-radius: 13px;
    background: #fff;
    color: var(--ef-ink);
}

.ef-menu-toggle span,
.ef-menu-toggle span::before,
.ef-menu-toggle span::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease, opacity 180ms ease;
}

.ef-menu-toggle span {
    position: relative;
}

.ef-menu-toggle span::before {
    position: absolute;
    top: -6px;
}

.ef-menu-toggle span::after {
    position: absolute;
    top: 6px;
}

.ef-menu-toggle[aria-expanded="true"] span {
    background: transparent;
}

.ef-menu-toggle[aria-expanded="true"] span::before {
    top: 0;
    transform: rotate(45deg);
}

.ef-menu-toggle[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Hero */
.ef-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 72px;
    background:
        radial-gradient(circle at 78% 18%, rgba(6, 182, 212, 0.16), transparent 31%),
        radial-gradient(circle at 92% 74%, rgba(34, 197, 94, 0.12), transparent 26%),
        linear-gradient(145deg, #07101f 0%, #0b1730 48%, #0b2340 100%);
    color: var(--ef-on-dark);
}

.ef-hero::before {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
    content: "";
}

.ef-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: 64px;
}

.ef-hero .ef-title {
    max-width: 760px;
    color: var(--ef-on-dark);
}

.ef-hero .ef-lead {
    color: var(--ef-on-dark-soft);
}

.ef-hero .ef-button--secondary {
    border-color: rgba(255,255,255,.25);
    background: rgba(255,255,255,.06);
    color: #fff;
}

.ef-hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
    color: #9eb0c7;
    font-size: 0.79rem;
}

.ef-hero-note span::before {
    margin-right: 7px;
    color: #5ce596;
    content: "●";
    font-size: 0.62rem;
}

.ef-flow-board {
    position: relative;
    min-height: 520px;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 30px;
    background: rgba(255,255,255,.08);
    box-shadow: 0 36px 90px rgba(0,0,0,.26);
    backdrop-filter: blur(16px);
}

.ef-board-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #b9c8da;
    font-size: 0.76rem;
    font-weight: 720;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ef-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #9ef3ba;
}

.ef-live::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ef-green);
    box-shadow: 0 0 0 5px rgba(34,197,94,.12);
    content: "";
}

.ef-flow-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.ef-flow-item {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    background: rgba(5,13,28,.52);
}

.ef-flow-item + .ef-flow-item::before {
    position: absolute;
    bottom: 100%;
    left: 33px;
    width: 1px;
    height: 13px;
    background: linear-gradient(var(--ef-cyan), rgba(6,182,212,.1));
    content: "";
}

.ef-flow-number {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, #1d4ed8, #0e7490);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
}

.ef-flow-copy strong,
.ef-flow-copy span {
    display: block;
}

.ef-flow-copy strong {
    font-size: .91rem;
}

.ef-flow-copy span {
    color: #94a6bc;
    font-size: .73rem;
}

.ef-flow-tag {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(34,197,94,.12);
    color: #9ef3ba;
    font-size: .67rem;
    font-weight: 750;
}

.ef-mini-metric {
    position: absolute;
    right: -24px;
    bottom: 38px;
    width: 190px;
    padding: 17px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--ef-shadow-lg);
    color: var(--ef-ink);
}

.ef-mini-metric span,
.ef-mini-metric strong {
    display: block;
}

.ef-mini-metric span {
    color: var(--ef-muted);
    font-size: .71rem;
}

.ef-mini-metric strong {
    margin-top: 3px;
    font-size: 1rem;
}

.ef-mini-bars {
    display: flex;
    height: 38px;
    align-items: end;
    gap: 5px;
    margin-top: 12px;
}

.ef-mini-bars i {
    flex: 1;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(var(--ef-cyan), var(--ef-blue));
}

.ef-mini-bars i:nth-child(1) { height: 35%; }
.ef-mini-bars i:nth-child(2) { height: 52%; }
.ef-mini-bars i:nth-child(3) { height: 46%; }
.ef-mini-bars i:nth-child(4) { height: 72%; }
.ef-mini-bars i:nth-child(5) { height: 64%; }
.ef-mini-bars i:nth-child(6) { height: 92%; }

.ef-proof-strip {
    border-bottom: 1px solid var(--ef-line);
    background: #fff;
}

.ef-proof-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.ef-proof-item {
    min-height: 96px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 18px;
    border-right: 1px solid var(--ef-line);
    color: var(--ef-ink-soft);
    font-size: .78rem;
    font-weight: 720;
    line-height: 1.35;
}

.ef-proof-item:last-child {
    border-right: 0;
}

.ef-proof-item::before {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ef-cyan), var(--ef-green));
    box-shadow: 0 0 0 5px rgba(6,182,212,.08);
    content: "";
}

/* Cards and layouts */
.ef-grid-2,
.ef-grid-3,
.ef-grid-6 {
    display: grid;
    gap: 20px;
}

.ef-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ef-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ef-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ef-card {
    padding: 28px;
    border: 1px solid var(--ef-line);
    border-radius: var(--ef-radius);
    background: #fff;
    box-shadow: var(--ef-shadow-sm);
    color: var(--ef-ink);
}

.ef-card--interactive {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ef-card--interactive:hover {
    transform: translateY(-5px);
    border-color: #b5c6de;
    box-shadow: 0 20px 42px rgba(11,18,32,.1);
}

.ef-card-number {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ef-surface-blue), #e4fbf5);
    color: var(--ef-blue);
    font-size: .82rem;
    font-weight: 820;
}

.ef-card h3 {
    margin: 22px 0 10px;
    font-size: 1.23rem;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.ef-card p {
    margin: 0;
    color: var(--ef-muted);
    font-size: .92rem;
}

.ef-card .ef-text-link {
    margin-top: auto;
    padding-top: 24px;
    font-size: .82rem;
}

.ef-cycle {
    counter-reset: cycle;
}

.ef-cycle-item {
    position: relative;
    padding: 26px 22px 26px 72px;
    border-top: 1px solid var(--ef-line);
}

.ef-cycle-item::before {
    position: absolute;
    top: 24px;
    left: 18px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    counter-increment: cycle;
    border-radius: 12px;
    background: var(--ef-ink);
    color: #fff;
    content: counter(cycle, decimal-leading-zero);
    font-size: .7rem;
    font-weight: 800;
}

.ef-cycle-item strong {
    display: block;
    font-size: 1rem;
}

.ef-cycle-item span {
    color: var(--ef-muted);
    font-size: .85rem;
}

.ef-split {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 76px;
}

.ef-feature-list {
    display: grid;
    gap: 14px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.ef-feature-list li {
    position: relative;
    padding-left: 30px;
    color: var(--ef-ink-soft);
}

.ef-feature-list li::before {
    position: absolute;
    top: .44em;
    left: 0;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    background: #ddf8e8;
    color: var(--ef-green-dark);
    content: "✓";
    font-size: .67rem;
    font-weight: 900;
}

.ef-visual-panel {
    position: relative;
    min-height: 460px;
    padding: 34px;
    overflow: hidden;
    border: 1px solid var(--ef-line);
    border-radius: var(--ef-radius-lg);
    background:
        radial-gradient(circle at 85% 8%, rgba(6,182,212,.18), transparent 28%),
        linear-gradient(145deg, #f7faff, #edf3fb);
}

.ef-visual-window {
    height: 100%;
    min-height: 390px;
    padding: 20px;
    border: 1px solid #d7e1ed;
    border-radius: 18px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 24px 54px rgba(11,18,32,.1);
}

.ef-window-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ef-line);
}

.ef-window-bar i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d3dce9;
}

.ef-timeline {
    display: grid;
    gap: 15px;
    margin-top: 22px;
}

.ef-timeline-row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 13px;
    border-radius: 13px;
    background: var(--ef-surface);
}

.ef-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--ef-blue), #0e7490);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
}

.ef-timeline-row strong,
.ef-timeline-row span {
    display: block;
}

.ef-timeline-row strong { font-size: .83rem; }
.ef-timeline-row span { color: var(--ef-muted); font-size: .7rem; }
.ef-timeline-row em { color: var(--ef-blue); font-size: .66rem; font-style: normal; font-weight: 750; }

.ef-workflow {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
    margin-top: 52px;
}

.ef-workflow-step {
    position: relative;
    min-height: 126px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 15px;
    background: rgba(255,255,255,.07);
    color: #dbe7f5;
    font-size: .76rem;
    font-weight: 720;
    line-height: 1.35;
    text-align: center;
}

.ef-workflow-step:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    left: calc(100% + 2px);
    color: #55d9e8;
    content: "→";
}

.ef-qualifier {
    margin-top: 26px;
    padding: 16px 18px;
    border-left: 3px solid var(--ef-cyan);
    border-radius: 0 12px 12px 0;
    background: var(--ef-surface-blue);
    color: var(--ef-ink-soft);
    font-size: .8rem;
}

.ef-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.ef-chip {
    padding: 9px 14px;
    border: 1px solid var(--ef-line);
    border-radius: 999px;
    background: #fff;
    color: var(--ef-ink-soft);
    font-size: .76rem;
    font-weight: 700;
}

.ef-faq {
    display: grid;
    gap: 12px;
}

.ef-faq details {
    border: 1px solid var(--ef-line);
    border-radius: 16px;
    background: #fff;
}

.ef-faq summary {
    position: relative;
    padding: 20px 54px 20px 22px;
    cursor: pointer;
    color: var(--ef-ink);
    font-weight: 750;
    list-style: none;
}

.ef-faq summary::-webkit-details-marker { display: none; }

.ef-faq summary::after {
    position: absolute;
    top: 18px;
    right: 20px;
    color: var(--ef-blue);
    content: "+";
    font-size: 1.25rem;
}

.ef-faq details[open] summary::after { content: "−"; }

.ef-faq details p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--ef-muted);
    font-size: .9rem;
}

.ef-cta-panel {
    position: relative;
    overflow: hidden;
    padding: 58px;
    border-radius: var(--ef-radius-lg);
    background:
        radial-gradient(circle at 90% 20%, rgba(6,182,212,.32), transparent 31%),
        linear-gradient(135deg, #102b68, var(--ef-blue));
    box-shadow: 0 30px 70px rgba(29,78,216,.22);
    color: #fff;
}

.ef-cta-panel h2 {
    max-width: 690px;
    margin: 0;
    color: var(--ef-on-brand);
    font-size: clamp(2rem, 3.6vw, 3.3rem);
    letter-spacing: -.045em;
    line-height: 1.08;
}

.ef-cta-panel p {
    max-width: 690px;
    margin: 20px 0 0;
    color: #d8e5f6;
}

/* Internal pages */
.ef-page-hero {
    padding: 84px 0 74px;
    background:
        radial-gradient(circle at 86% 18%, rgba(6,182,212,.14), transparent 26%),
        linear-gradient(180deg, #f4f8ff, #fff);
}

.ef-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--ef-muted);
    font-size: .78rem;
}

.ef-breadcrumb a {
    color: var(--ef-blue);
    text-decoration: none;
}

.ef-module-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.ef-module-meta span {
    padding: 7px 11px;
    border: 1px solid #cddbf0;
    border-radius: 999px;
    background: rgba(255,255,255,.75);
    color: var(--ef-ink-soft);
    font-size: .72rem;
    font-weight: 700;
}

.ef-directory-card[aria-disabled="true"] {
    box-shadow: none;
    opacity: .72;
}

.ef-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--ef-muted);
    font-size: .72rem;
    font-weight: 720;
}

.ef-status::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a8b4c5;
    content: "";
}

.ef-status--live {
    color: var(--ef-green-dark);
}

.ef-status--live::before {
    background: var(--ef-green);
}

/* Footer */
.ef-site-footer {
    padding: 72px 0 26px;
    background: #07101f;
    color: #c3cfdf;
}

.ef-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 52px;
}

.ef-footer-brand p {
    max-width: 330px;
    margin: 18px 0 0;
    color: #8fa2b9;
    font-size: .84rem;
}

.ef-site-footer .ef-brand {
    color: #fff;
}

.ef-site-footer .ef-brand strong {
    color: #67e8f9;
}

.ef-footer-col h2 {
    margin: 5px 0 18px;
    color: #fff;
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ef-footer-col a {
    display: block;
    margin: 10px 0;
    color: #a8b8cb;
    font-size: .82rem;
    text-decoration: none;
}

.ef-footer-col a:hover { color: #fff; }

.ef-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 54px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.09);
    color: #7f91a8;
    font-size: .72rem;
}

.ef-footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.ef-footer-bottom a { text-decoration: none; }

.ef-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.ef-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1080px) {
    .ef-nav > a,
    .ef-nav summary { padding-inline: 8px; font-size: .82rem; }
    .ef-header-inner > .ef-button { display: none; }
    .ef-hero-grid { grid-template-columns: 1fr 440px; gap: 34px; }
    .ef-workflow { grid-template-columns: repeat(4, 1fr); }
    .ef-workflow-step:not(:last-child)::after { display: none; }
}

@media (max-width: 900px) {
    :root { --ef-header-height: 68px; }
    body.admin-bar .ef-site-header { top: 46px; }
    .ef-menu-toggle { display: inline-flex; }
    .ef-nav-shell {
        position: fixed;
        top: var(--ef-header-height);
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100dvh - var(--ef-header-height));
        align-items: stretch;
        overflow-y: auto;
        padding: 18px 20px 26px;
        border-bottom: 1px solid var(--ef-line);
        background: #fff;
        box-shadow: var(--ef-shadow-lg);
    }
    body.admin-bar .ef-nav-shell { top: calc(var(--ef-header-height) + 46px); }
    .ef-nav-shell.is-open { display: block; }
    .ef-nav { display: grid; gap: 4px; }
    .ef-nav > a,
    .ef-nav summary { min-height: 48px; padding-inline: 12px; font-size: .94rem; }
    .ef-mega {
        position: static;
        width: 100%;
        grid-template-columns: 1fr;
        padding: 6px 0 12px 14px;
        transform: none;
        border: 0;
        box-shadow: none;
    }
    .ef-nav-actions { justify-content: space-between; padding: 18px 12px 0; }
    .ef-nav-actions .ef-button { display: inline-flex; }
    .ef-hero-grid,
    .ef-split { grid-template-columns: 1fr; }
    .ef-hero { padding-top: 74px; }
    .ef-flow-board { width: min(100%, 560px); margin-inline: auto; }
    .ef-grid-6 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ef-proof-grid { grid-template-columns: repeat(2, 1fr); }
    .ef-proof-item { border-bottom: 1px solid var(--ef-line); }
    .ef-proof-item:last-child { grid-column: 1 / -1; }
    .ef-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    body.admin-bar .ef-site-header { top: 0; }
    body.admin-bar .ef-nav-shell { top: var(--ef-header-height); }
    .ef-container,
    .ef-narrow { width: min(calc(100% - 28px), var(--ef-container)); }
    .ef-section { padding: 76px 0; }
    .ef-section-head { display: block; margin-bottom: 38px; }
    .ef-section-head .ef-text-link { margin-top: 20px; }
    .ef-brand img { width: 38px; height: 38px; }
    .ef-header-inner { gap: 10px; }
    .ef-hero { padding: 64px 0 58px; }
    .ef-hero-grid { gap: 48px; }
    .ef-hero-note { display: grid; gap: 7px; }
    .ef-flow-board { min-height: 480px; padding: 18px; }
    .ef-flow-item { grid-template-columns: 34px 1fr; }
    .ef-flow-tag { display: none; }
    .ef-mini-metric { right: -5px; bottom: 24px; width: 160px; }
    .ef-proof-grid,
    .ef-grid-2,
    .ef-grid-3,
    .ef-grid-6,
    .ef-footer-grid { grid-template-columns: 1fr; }
    .ef-proof-item,
    .ef-proof-item:last-child { grid-column: auto; border-right: 0; }
    .ef-split { gap: 46px; }
    .ef-visual-panel { min-height: 400px; padding: 18px; }
    .ef-visual-window { min-height: 360px; }
    .ef-timeline-row { grid-template-columns: 40px 1fr; }
    .ef-timeline-row em { display: none; }
    .ef-workflow { grid-template-columns: repeat(2, 1fr); }
    .ef-cta-panel { padding: 38px 24px; }
    .ef-footer-bottom { display: block; }
    .ef-footer-bottom nav { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .ef-reveal { opacity: 1; transform: none; }
}
