:root {
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-muted: #f1f5f9;
    --text: #101828;
    --muted: #667085;
    --line: #e4e7ec;
    --blue: #228be6;
    --blue-dark: #1971c2;
    --teal: #15aabf;
    --mint: #c5f6fa;
    --dark: #111827;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

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

button {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2,
h3 {
    letter-spacing: -0.03em;
    line-height: 1.04;
}

p {
    color: var(--muted);
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(228, 231, 236, 0.9);
    backdrop-filter: blur(18px);
}

.header-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #344054;
    font-size: 0.92rem;
    font-weight: 600;
}

.main-nav a:not(.btn) {
    transition: color 160ms ease;
}

.main-nav a:not(.btn):hover {
    color: var(--blue);
}

.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.mobile-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.94rem;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-sm {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.86rem;
}

.btn-lg {
    min-height: 50px;
    padding: 0 22px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    color: #ffffff;
    border-color: var(--blue);
    background: linear-gradient(135deg, var(--blue), var(--teal));
    box-shadow: 0 10px 22px rgba(34, 139, 230, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 14px 28px rgba(34, 139, 230, 0.24);
}

.btn-dark {
    color: #ffffff;
    background: var(--dark);
    border-color: var(--dark);
}

.btn-ghost {
    color: #1f2937;
    background: #ffffff;
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.section {
    padding: 96px 0;
}

.section-muted {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-grid-bg {
    background:
        linear-gradient(rgba(34, 139, 230, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 139, 230, 0.045) 1px, transparent 1px),
        radial-gradient(circle at 78% 18%, rgba(21, 170, 191, 0.16), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    background-size: 38px 38px, 38px 38px, auto, auto;
}

.section-head {
    max-width: 710px;
    margin: 0 auto 42px;
    text-align: center;
}

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

.section-kicker,
.panel-label,
.plan-tag,
.preview-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-kicker::before,
.pill::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.section-kicker.center {
    justify-content: center;
    display: flex;
}

.section-head h2,
.split-section h2,
.contact-copy h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.section-head p,
.split-section p,
.contact-copy p {
    margin-top: 16px;
    font-size: 1.04rem;
}

.hero {
    padding: 92px 0 86px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.92fr);
    gap: 58px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--blue-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pill::before {
    display: none;
}

.live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 0 rgba(21, 170, 191, 0.46);
    animation: ping 1.8s ease-out infinite;
}

.hero h1 {
    max-width: 560px;
    font-size: clamp(2.05rem, 3.7vw, 3.35rem);
    line-height: 1.04;
}

.hero h1::after {
    content: ".";
    color: var(--blue);
}

.hero-lead {
    max-width: 590px;
    margin-top: 24px;
    font-size: 1.05rem;
}

.hero-fit {
    max-width: 610px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(34, 139, 230, 0.18);
    border-radius: var(--radius);
    color: #344054;
    background: rgba(255, 255, 255, 0.76);
    font-size: 0.94rem;
    font-weight: 700;
}

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

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 640px;
    margin-top: 32px;
}

.hero-proof div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
}

.hero-proof strong {
    display: block;
    font-size: 1.28rem;
    line-height: 1.1;
}

.hero-proof span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.82rem;
}

.hero-lab {
    position: relative;
    min-width: 0;
}

.lab-window {
    position: relative;
    z-index: 2;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    transform-style: preserve-3d;
    overflow: hidden;
}

.lab-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 4px 16px;
    color: #344054;
    font-weight: 800;
}

.lab-topbar div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
}

.sync-badge {
    padding: 5px 9px;
    border-radius: 999px;
    color: #047857;
    background: #ecfdf3;
    font-size: 0.75rem;
}

.lab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lab-grid.compact {
    position: relative;
    z-index: 2;
}

.metric-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    transition: transform 180ms ease, border-color 180ms ease;
}

.metric-card.active {
    border-color: rgba(34, 139, 230, 0.35);
    background: #f8fbff;
}

.metric-card span,
.metric-card small {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
}

.metric-card strong {
    display: block;
    margin: 8px 0 4px;
    font-size: 2rem;
    line-height: 1;
}

.flow-canvas {
    position: relative;
    min-height: 154px;
    margin: 12px 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(rgba(34, 139, 230, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 139, 230, 0.05) 1px, transparent 1px),
        #ffffff;
    background-size: 22px 22px;
    overflow: hidden;
}

.compact-flow {
    min-height: 104px;
}

.flow-node {
    position: absolute;
    z-index: 2;
    min-width: 86px;
    padding: 7px 10px;
    border: 1px solid rgba(34, 139, 230, 0.26);
    border-radius: 999px;
    background: #ffffff;
    color: #1f2937;
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.06);
}

.node-a { left: 14px; top: 18px; }
.node-b { left: 143px; top: 18px; }
.node-c { right: 22px; top: 18px; }
.node-d { left: 143px; bottom: 14px; }

.flow-line {
    position: absolute;
    z-index: 1;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--blue), var(--teal), transparent);
    background-size: 200% 100%;
    animation: flowLine 2.4s linear infinite;
}

.line-a {
    left: 96px;
    top: 34px;
    width: 56px;
}

.line-b {
    left: 229px;
    top: 34px;
    width: 84px;
    transform: rotate(0);
}

.line-c {
    left: 183px;
    bottom: 38px;
    width: 94px;
    transform: rotate(-28deg);
}

.activity-list {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.activity-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    opacity: 0.56;
    transform: translateY(0);
    transition: opacity 240ms ease, transform 240ms ease, border-color 240ms ease;
}

.activity-row.is-visible {
    opacity: 1;
    border-color: rgba(34, 139, 230, 0.22);
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue), var(--teal));
}

.activity-row strong,
.activity-row small {
    display: block;
}

.activity-row small {
    color: var(--muted);
    font-size: 0.78rem;
}

.activity-row em {
    color: #047857;
    font-style: normal;
    font-weight: 800;
}

.floating-note {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
    animation: floatY 4s ease-in-out infinite;
}

.floating-note span,
.floating-note strong {
    display: block;
}

.floating-note span {
    color: var(--muted);
    font-size: 0.76rem;
}

.floating-note strong {
    font-size: 1.5rem;
}

.logos-section {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.logo-rail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.logo-rail span {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #475467;
    background: #ffffff;
    font-weight: 700;
    font-size: 0.86rem;
}

.tab-shell,
.timeline,
.signal-card,
.signal-preview,
.plan-card,
.process-board,
.contact-form,
.form-success,
.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.tab-shell {
    padding: 10px;
}

.tab-helper {
    padding: 12px 14px 4px;
    color: var(--muted);
    font-size: 0.92rem;
}

.tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 6px;
    border-radius: var(--radius);
    background: var(--bg-soft);
}

.tab-btn {
    min-height: 42px;
    border: 0;
    border-radius: var(--radius-sm);
    color: #475467;
    background: transparent;
    font-weight: 800;
    transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.tab-btn.active {
    color: var(--text);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}

.tab-panels {
    position: relative;
    min-height: 310px;
    padding: 28px;
}

.tab-panel {
    display: none;
    grid-template-columns: 1fr 0.8fr;
    gap: 40px;
    align-items: center;
    animation: fadeSlide 240ms ease;
}

.tab-panel.active {
    display: grid;
}

.tab-panel h3 {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.tab-panel p {
    margin-top: 14px;
    max-width: 560px;
}

.panel-stack {
    display: grid;
    gap: 12px;
}

.panel-stack span {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
    color: #344054;
    font-weight: 800;
    transform: translateX(0);
    transition: transform 180ms ease, border-color 180ms ease;
}

.tab-panel.active .panel-stack span:nth-child(1) { animation: slideIn 280ms ease both; }
.tab-panel.active .panel-stack span:nth-child(2) { animation: slideIn 360ms ease both; }
.tab-panel.active .panel-stack span:nth-child(3) { animation: slideIn 440ms ease both; }

.split-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: center;
}

.timeline {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 18px;
    overflow: hidden;
}

.timeline-progress {
    position: absolute;
    left: 43px;
    top: 46px;
    width: 2px;
    height: calc(100% - 92px);
    background: linear-gradient(var(--blue), var(--teal));
    transform-origin: top;
    animation: growLine 3.8s ease-in-out infinite alternate;
}

.timeline-step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.timeline-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    font-weight: 800;
    font-size: 0.8rem;
}

.timeline-step strong {
    display: block;
    margin-bottom: 4px;
}

.timeline-step p {
    font-size: 0.92rem;
}

.interactive-grid {
    display: grid;
    grid-template-columns: 1fr 0.88fr;
    gap: 24px;
    align-items: stretch;
}

.signal-card,
.signal-preview {
    padding: 28px;
}

.signal-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.signal-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.signal-item {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    text-align: left;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.signal-item:hover,
.signal-item.active {
    border-color: rgba(34, 139, 230, 0.35);
    background: #f8fbff;
    transform: translateX(3px);
}

.signal-item strong,
.signal-item span {
    display: block;
}

.signal-item span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.9rem;
}

.signal-preview {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(34, 139, 230, 0.08), rgba(21, 170, 191, 0.08)),
        #ffffff;
}

.signal-preview h3 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.signal-preview p {
    margin-top: 14px;
}

.preview-bars {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.preview-bars span {
    display: block;
    width: var(--w);
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--teal));
    animation: barPulse 2.6s ease-in-out infinite alternate;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.plan-card {
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 24px;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.plan-card:hover,
.plan-card.selected {
    transform: translateY(-4px);
    border-color: rgba(34, 139, 230, 0.36);
    box-shadow: var(--shadow);
}

.plan-card.featured {
    border-color: rgba(34, 139, 230, 0.36);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.plan-card h3 {
    margin-top: 8px;
    font-size: 1.45rem;
}

.plan-card p {
    margin-top: 12px;
}

.fit-box {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
}

.fit-box strong,
.fit-box span {
    display: block;
}

.fit-box strong {
    margin-bottom: 4px;
    color: var(--text);
    font-size: 0.84rem;
}

.fit-box span {
    color: var(--muted);
    font-size: 0.9rem;
}

.plan-card ul {
    display: grid;
    gap: 10px;
    margin: 22px 0 24px;
    padding: 0;
    list-style: none;
}

.plan-card li {
    position: relative;
    padding-left: 22px;
    color: #475467;
}

.plan-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
}

.plan-card .btn {
    margin-top: auto;
}

.process-board {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 32px;
    padding: 28px;
}

.process-board h2 {
    margin-top: 8px;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.process-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.process-columns div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
}

.process-columns span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 16px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--dark);
    font-weight: 800;
}

.process-columns strong {
    display: block;
    margin-bottom: 6px;
}

.process-columns p {
    font-size: 0.9rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.82fr 1fr;
    gap: 52px;
    align-items: start;
}

.contact-points {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.review-box {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid rgba(34, 139, 230, 0.18);
    border-radius: var(--radius);
    background: #ffffff;
}

.review-box strong {
    display: block;
    margin-bottom: 10px;
}

.review-box ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.review-box li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
}

.review-box li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--teal));
}

.contact-points span {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    font-weight: 700;
}

.contact-form,
.form-success {
    padding: 28px;
}

.form-intro {
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
}

.form-intro strong,
.form-intro span {
    display: block;
}

.form-intro span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.92rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-field {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.form-field label {
    color: #344054;
    font-size: 0.88rem;
    font-weight: 800;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--text);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field textarea {
    min-height: 116px;
    padding-top: 12px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(34, 139, 230, 0.12);
}

.form-honeypot {
    position: absolute;
    left: -9999px;
}

.form-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 10px 0 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.form-checkbox input {
    margin-top: 4px;
}

.form-status {
    min-height: 22px;
    margin-top: 12px;
    color: #047857;
    font-weight: 700;
    font-size: 0.9rem;
}

.form-status.error {
    color: #c92a2a;
}

.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select {
    border-color: #fa5252;
}

.form-field-error {
    color: #c92a2a;
    font-size: 0.82rem;
}

.success-mark {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 999px;
    background:
        linear-gradient(135deg, var(--blue), var(--teal));
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 44px;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    padding: 18px 20px;
}

.faq-list summary {
    cursor: pointer;
    color: var(--text);
    font-weight: 800;
}

.faq-list p {
    margin-top: 12px;
}

.site-footer {
    padding: 42px 0;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.footer-inner p {
    margin-top: 12px;
    max-width: 420px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
    color: #475467;
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--blue);
}

.reveal,
.reveal-now {
    opacity: 0;
    transform: translateY(20px);
}

.reveal.visible,
.reveal-now {
    animation: revealUp 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-now:nth-child(2) {
    animation-delay: 120ms;
}

.confetti-piece {
    position: fixed;
    width: 9px;
    height: 13px;
    pointer-events: none;
    z-index: 9999;
    border-radius: 2px;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes flowLine {
    from { background-position: 0 0; }
    to { background-position: 200% 0; }
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(21, 170, 191, 0.46); }
    80%, 100% { box-shadow: 0 0 0 9px rgba(21, 170, 191, 0); }
}

@keyframes growLine {
    from { transform: scaleY(0.25); }
    to { transform: scaleY(1); }
}

@keyframes barPulse {
    from { filter: saturate(0.8); transform: scaleX(0.92); transform-origin: left; }
    to { filter: saturate(1.2); transform: scaleX(1); transform-origin: left; }
}

@keyframes euroFall {
    0% {
        opacity: 0;
        transform: translateY(-12px) rotate(-6deg);
    }
    12% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(190px) rotate(8deg);
    }
}

@keyframes confettiFly {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--dx), calc(var(--dy) + 260px)) rotate(var(--rot));
        opacity: 0;
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .split-section,
    .interactive-grid,
    .process-board,
    .contact-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 78px;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 9vw, 3.4rem);
    }

    .plan-grid,
    .process-columns {
        grid-template-columns: 1fr;
    }

    .floating-note {
        right: 18px;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 32px, 1120px);
    }

    .main-nav {
        display: none;
    }

    .main-nav.open {
        display: flex;
        position: absolute;
        top: 68px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #ffffff;
        box-shadow: var(--shadow);
    }

    .main-nav.open a {
        padding: 10px 12px;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .section {
        padding: 68px 0;
    }

    .hero-grid {
        gap: 44px;
    }

    .hero-proof,
    .lab-grid,
    .tabs,
    .tab-panel,
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .tabs {
        display: flex;
        overflow-x: auto;
        padding: 6px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex: 0 0 auto;
        min-width: max-content;
        padding: 0 14px;
        scroll-snap-align: start;
    }

    .hero-lab {
        min-width: 0;
    }

    .flow-canvas {
        min-height: 220px;
    }

    .money-rain {
        display: none;
    }

    .node-a { left: 16px; top: 18px; }
    .node-b { right: 16px; left: auto; top: 70px; }
    .node-c { left: 16px; right: auto; top: 124px; }
    .node-d { right: 16px; left: auto; bottom: 18px; }
    .line-a,
    .line-b,
    .line-c {
        display: none;
    }

    .tab-panels {
        padding: 18px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

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