/* Tradee landing page — dark-only theme mirroring the app's token palette
   (services/api/src/web/static/tokens.css [data-theme="dark"]) so the marketing
   surface reads as the same product. No theme toggle yet; dark is the default. */
:root {
    --bg: #191919;
    --panel: #252525;
    --panel-2: #2f2f2f;
    --border: #383838;
    --border-strong: #484848;
    --text: #ebebeb;
    --text-muted: #a3a3a3;
    --muted: #737373;
    --accent: #0a84ff;
    --accent-hover: #3094ff;
    --accent-ring: rgba(10, 132, 255, 0.30);
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-pill: 999px;
    --maxw: 1280px;
    font-synthesis: none;
}

* { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }

*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
*::-webkit-scrollbar-thumb:hover { background: var(--muted); }

html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Mona Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.site-header, main, .site-footer { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
    z-index: 20;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 1;
    min-width: 0;
}

.brand-name {
    font-family: 'Pacifico', cursive;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: -0.01em;
}

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

.header-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.header-nav a,
.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 10px;
}

.header-nav a:hover,
.footer-nav a:hover {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.header-actions .btn,
.footer-actions .btn {
    padding: 6px 20px;
    font-size: 0.875rem;
    min-width: 148px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.96rem;
    text-decoration: none;
    cursor: pointer;
    border-style: solid;
    border-width: 1px 2px 3px 2px;
    white-space: nowrap;
    transform: scale(1);
    touch-action: manipulation;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.btn:active,
.btn.is-pressed {
    transform: scale(0.96);
    transition:
        background-color 0.12s ease,
        border-color 0.12s ease,
        color 0.12s ease,
        box-shadow 0.12s ease,
        transform 0.12s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.btn-primary {
    color: #ffffff;
    background: var(--accent);
    padding: 8px 28px;
    border-width: 2px;
    border-color: var(--accent) #055aad #055aad #055aad;
    box-shadow: 0 2px 6px rgba(10, 132, 255, 0.14);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover) #055aad #055aad #055aad;
    box-shadow: 0 2px 8px rgba(10, 132, 255, 0.18);
}

.btn-ghost {
    color: var(--text);
    background: var(--panel);
    border-color: rgba(0, 0, 0, 0.28) rgba(0, 0, 0, 0.44) rgba(0, 0, 0, 0.54) rgba(0, 0, 0, 0.44);
    border-top-color: var(--border-strong);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.btn-ghost:hover {
    border-color: rgba(0, 0, 0, 0.28) var(--accent) var(--accent) var(--accent);
    border-top-color: var(--accent);
    color: var(--accent);
}

.btn-plain {
    border-width: 1px;
    border-color: var(--border-strong);
    border-top-color: var(--border-strong);
    box-shadow: none;
}

.btn-ghost.btn-plain:hover {
    border-color: var(--accent);
    border-top-color: var(--accent);
    color: var(--accent);
}

.btn-lg {
    padding: 10px 36px;
    font-size: 1.02rem;
    min-width: 200px;
}

.btn-primary.btn-lg {
    padding: 9px 36px;
}

/* ---------- Hero ---------- */
.hero {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(56px, 9vw, 108px) 24px clamp(32px, 5vw, 48px);
    text-align: center;
}

.hero-copy {
    max-width: 780px;
    margin: 0 auto;
}

.eyebrow {
    display: block;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0;
}

.headline {
    margin: 0 0 18px;
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.accent {
    background: linear-gradient(100deg, var(--accent), #6cb6ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subhead {
    max-width: 580px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: clamp(1.02rem, 1.8vw, 1.18rem);
}

.cta-block {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

/* ---------- Interactive demo ---------- */
.interactive-demo {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px clamp(48px, 7vw, 72px);
}

.demo-head {
    text-align: center;
    margin-bottom: 14px;
}

.demo-head .eyebrow {
    display: inline-block;
    color: var(--muted);
}

.demo-shell {
    background: var(--panel);
    border: 6px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.demo-shell:fullscreen {
    border-radius: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

.demo-shell:fullscreen .demo-viewport {
    flex: 1;
    min-height: 0;
}

.demo-shell:fullscreen .demo-frame {
    height: 100%;
}

.demo-chrome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-bottom: 1px solid var(--border);
    background: var(--panel-2);
}

.demo-traffic {
    display: inline-flex;
    gap: 6px;
    flex-shrink: 0;
}

.demo-traffic i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-strong);
}

.demo-traffic i:first-child { background: #ff5f57; }
.demo-traffic i:nth-child(2) { background: #febc2e; }
.demo-traffic i:nth-child(3) { background: #28c840; }

.demo-url-bar {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: var(--radius-md);
    background: var(--panel);
    border: 1px solid var(--border);
}

.demo-url-icon {
    display: inline-flex;
    color: var(--muted);
    flex-shrink: 0;
}

.demo-url-icon svg { width: 14px; height: 14px; }

.demo-url {
    font-size: 0.84rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-fullscreen-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    font-family: inherit;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.demo-fullscreen-btn svg { width: 16px; height: 16px; }

.demo-fullscreen-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.demo-viewport {
    position: relative;
    background: var(--bg);
    width: 100%;
    aspect-ratio: 16 / 10;
}

.demo-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--bg);
}

/* ---------- Features ---------- */
.features {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px) 24px clamp(56px, 8vw, 88px);
}

.features-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(28px, 4vw, 40px);
}

.features-title {
    margin: 12px 0 0;
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.features-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 100%;
    margin: 0 auto;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    flex: 1 1 240px;
    min-width: 0;
    text-align: left;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    transition: border-color 0.18s ease;
}

.feature-card:hover {
    border-color: var(--border-strong);
}

.feature-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: var(--panel-2);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 1.12rem;
    font-weight: 600;
}

.feature-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    flex: 1;
}

.feature-card-link {
    margin-top: 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
}

/* ---------- Feature modal ---------- */
.feature-modal[hidden] { display: none; }

.feature-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.feature-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.feature-modal-dialog {
    position: relative;
    width: min(680px, 100%);
    max-height: min(88vh, 820px);
    overflow: auto;
    background: var(--panel);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    padding: 28px 28px 32px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.feature-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--panel-2);
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.feature-modal-close svg { width: 18px; height: 18px; }

.feature-modal-close:hover {
    color: var(--text);
    border-color: var(--border-strong);
}

.feature-modal-lead {
    margin: 14px 0 20px;
    color: var(--text-muted);
    font-size: 1rem;
}

.feature-detail-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-detail-list li {
    position: relative;
    padding-left: 30px;
    color: var(--text-muted);
    font-size: 0.96rem;
}

.feature-detail-list li strong { color: var(--text); font-weight: 600; }

.feature-detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.12em;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(10, 132, 255, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a84ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.feature-modal-visual {
    margin: 0 0 22px;
}

.feature-modal-dialog .feature-modal-content .eyebrow {
    display: inline-block;
}

.feature-modal-dialog .feature-modal-content h2 {
    margin: 16px 0 0;
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
    padding-right: 36px;
}

/* ---------- Preview window (modal chart mock) ---------- */
.preview-window {
    background: linear-gradient(180deg, #2a2a2a, #222222);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.preview-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.preview-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Mona Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.preview-dots { display: inline-flex; gap: 6px; }
.preview-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }

.preview-body { padding: 18px; }

.chart-mock .preview-body { padding: 14px 16px 16px; }

.chart-mock-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.chart-mock-tab {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--panel-2);
    border: 1px solid var(--border);
}

.chart-mock-tab--active { color: var(--text); border-color: var(--border-strong); }

.chart-mock-tab--accent {
    margin-left: auto;
    color: var(--accent);
    background: rgba(10, 132, 255, 0.12);
    border-color: var(--accent-ring);
}

.chart-mock-candles { display: block; width: 100%; height: 150px; }

.chart-mock-osc {
    display: block;
    width: 100%;
    height: 36px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

/* ---------- How it works ---------- */
.how-it-works {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px) 24px clamp(48px, 7vw, 72px);
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(32px, 4vw, 44px);
}

.section-head h2 {
    margin: 12px 0 0;
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.steps-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 100%;
    margin: 0 auto;
}

.step-card {
    flex: 1 1 280px;
    min-width: 0;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.step-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    padding: 20px 16px;
    background: var(--panel-2);
    border-bottom: 1px solid var(--border);
    color: var(--accent);
}

.step-visual svg {
    width: 100%;
    max-width: 320px;
    height: auto;
}

.step-body {
    padding: 18px 20px 22px;
}

.step-body h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.step-body p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.how-it-works-cta {
    margin-top: 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* ---------- Pricing ---------- */
.pricing {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(8px, 2vw, 24px) 24px clamp(56px, 8vw, 88px);
}

.pricing-head { text-align: center; max-width: 680px; margin: 0 auto clamp(28px, 4vw, 44px); }

.pricing-head h2 {
    margin: 12px 0 12px;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pricing-head p { margin: 0; color: var(--text-muted); font-size: clamp(1rem, 1.6vw, 1.1rem); }

.pricing-plans {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: stretch;
    justify-content: center;
    max-width: 880px;
    margin: 0 auto;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 320px;
    max-width: 420px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.plan-card:hover { border-color: var(--border-strong); }

.plan-card--featured {
    border-color: var(--border-strong);
}

.plan-card--featured:hover {
    border-color: var(--accent);
    box-shadow:
        0 0 0 1px rgba(10, 132, 255, 0.35),
        0 0 22px rgba(10, 132, 255, 0.24);
}

.plan-badge {
    position: absolute;
    top: -11px;
    left: 24px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--accent);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.plan-name { margin: 0 0 12px; font-size: 1.2rem; font-weight: 600; }

.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-amount { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; }
.plan-cycle { color: var(--muted); font-size: 0.95rem; }

.plan-note { margin: 6px 0 0; color: var(--accent); font-size: 0.86rem; font-weight: 500; }

.plan-desc { margin: 14px 0 0; color: var(--text-muted); font-size: 0.95rem; }

.plan-features {
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-features li {
    position: relative;
    padding-left: 26px;
    color: var(--text);
    font-size: 0.94rem;
}

.plan-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.16em;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(10, 132, 255, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a84ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.plan-features .plan-features-intro {
    padding-left: 0;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.plan-features .plan-features-intro::before { display: none; }

.plan-cta { margin-top: auto; width: 100%; min-width: 0; }

/* ---------- Content / legal pages ---------- */
.content {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(48px, 7vw, 88px) 24px clamp(56px, 8vw, 88px);
}

.content-inner { max-width: 760px; }

.content-title {
    margin: 18px 0 6px;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.content-lead {
    margin: 0 0 4px;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.content-updated { margin: 8px 0 0; color: var(--muted); font-size: 0.85rem; }

.prose { margin-top: 28px; color: var(--text-muted); font-size: 1rem; }
.prose h2 {
    margin: 34px 0 10px;
    color: var(--text);
    font-size: 1.28rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.prose h3 { margin: 22px 0 8px; color: var(--text); font-size: 1.05rem; font-weight: 600; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin: 7px 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { color: var(--accent-hover); text-decoration: underline; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }

/* ---------- Contact cards ---------- */
.contact-list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
}

.contact-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
}

.contact-card h2 { margin: 0 0 8px; font-size: 1.12rem; font-weight: 600; }
.contact-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.contact-card a { color: var(--accent); text-decoration: none; font-weight: 500; }
.contact-card a:hover { color: var(--accent-hover); text-decoration: underline; }

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    background: rgba(10, 132, 255, 0.12);
    margin-bottom: 16px;
}

.contact-icon svg { width: 22px; height: 22px; }

/* ---------- 404 ---------- */
.notfound {
    min-height: 58vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.notfound-inner { max-width: 560px; }

.notfound-code {
    margin-bottom: 6px;
    font-size: clamp(5rem, 18vw, 10rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
    background: linear-gradient(100deg, var(--accent), #6cb6ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-row {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.notfound .cta-row { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
}

.footer-inner {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 26px 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-wordmark { font-family: 'Pacifico', cursive; font-size: 1.05rem; color: var(--accent); }

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
}

.footer-actions {
    flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
    .steps-list,
    .features-list {
        flex-direction: column;
    }

    .step-card,
    .feature-card {
        flex: 1 1 auto;
    }
}

@media (max-width: 520px) {
    .header-nav { display: none; }
    .footer-inner { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .feature-card, .plan-card {
        transition: none;
    }
}
