:root {
    --bg: #0f1419;
    --card: #1a2332;
    --text: #e7ecf3;
    --muted: #8b98a8;
    --accent: #3dd68c;
    --accent-hover: #2fb872;
    --danger: #f07178;
    --border: #2a3544;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 960px; margin: 0 auto; padding: 1rem; }

.topbar {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding-top: env(safe-area-inset-top);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 3rem;
}

.brand { font-weight: 700; font-size: 1.1rem; color: var(--text); min-width: 0; flex: 0 1 auto; }

.topbar-ai-form {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1 1 12rem;
    max-width: 28rem;
    min-width: 0;
}

.topbar-ai-input {
    flex: 1;
    min-width: 0;
    padding: 0.4rem 0.65rem;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
}

.topbar-ai-input::placeholder { color: var(--muted); }

.topbar-ai-btn {
    flex-shrink: 0;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--accent);
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
}

.topbar-ai-btn:hover { opacity: 0.9; }

.topbar-ai-mic,
.ai-voice-mic {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--panel, var(--bg));
    color: var(--text);
    cursor: pointer;
}

.topbar-ai-mic:hover,
.ai-voice-mic:hover { border-color: var(--accent); color: var(--accent); }

.topbar-ai-mic.is-listening,
.ai-voice-mic.is-listening {
    border-color: #c44;
    color: #c44;
    box-shadow: 0 0 0 2px rgba(204, 68, 68, 0.25);
    animation: ai-mic-pulse 1.2s ease-in-out infinite;
}

.topbar-ai-mic.is-disabled,
.ai-voice-mic.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.ai-speak-btn.is-speaking {
    border-color: var(--accent);
    color: var(--accent);
}

@keyframes ai-mic-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.ai-answer-card { border-left: 3px solid var(--accent); }
.ai-answer-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.ai-answer-head-actions { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.ai-answer-head h2 { margin: 0; font-size: 1rem; }
.ai-answer-text { white-space: pre-wrap; margin: 0.75rem 0 0; }

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.topbar-user {
    font-size: 0.85rem;
    max-width: 8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
    display: block;
    width: 1.15rem;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-icon {
    position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

body.nav-open .nav-toggle-icon { background: transparent; }
body.nav-open .nav-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

body.nav-open .nav-backdrop {
    display: block;
}

.site-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    flex-direction: column;
    width: min(18rem, 88vw);
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    background: var(--card);
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.35);
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-right: env(safe-area-inset-right);
}

body.nav-open .site-nav {
    display: flex;
}

body.nav-open {
    overflow: hidden;
}

.site-nav-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid var(--border);
}

.site-nav-user {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.site-nav-user strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-close {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 8px;
    background: var(--bg);
    color: var(--muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.site-nav-body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.5rem 0.75rem;
    -webkit-overflow-scrolling: touch;
}

.site-nav-label {
    margin: 0.85rem 0.5rem 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.site-nav-link {
    display: block;
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.95rem;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.site-nav-link:hover,
.site-nav-link:active {
    background: rgba(61, 214, 140, 0.1);
    text-decoration: none;
    color: var(--accent);
}

.site-nav-foot {
    padding: 0.75rem;
    border-top: 1px solid var(--border);
}

.site-nav-logout {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--danger);
    font-size: 0.95rem;
    cursor: pointer;
}

.push-panel { margin-bottom: 0.75rem; }
.push-status { margin: 0.35rem 0 0.5rem; }
.push-status.push-ok { color: var(--accent); }
.push-status.push-off { color: var(--muted); }
.push-hint { margin: 0 0 0.5rem; color: var(--muted); line-height: 1.35; }
.site-nav-push-btn {
    width: 100%;
    margin-bottom: 0.35rem;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .brand-tag { display: none; }
    .topbar-user { display: none; }
    .topbar-ai-form { max-width: none; }
    .topbar-ai-input { font-size: 0.8rem; }
    .topbar-ai-btn { padding: 0.4rem 0.5rem; }
    .topbar-ai-mic { width: 2rem; height: 2rem; }
}

@media (min-width: 481px) {
    .topbar-user { max-width: 12rem; }
}

@media (min-width: 900px) {
    .topbar-user { max-width: 16rem; }
}

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.dashboard-activity {
    padding: 0.65rem 1rem;
}

.collapse-panel-separated {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.collapse-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    user-select: none;
}

.collapse-panel summary::-webkit-details-marker {
    display: none;
}

.collapse-panel summary::before {
    content: '▸';
    margin-right: 0.45rem;
    color: var(--muted);
    flex-shrink: 0;
}

.collapse-panel[open] summary::before {
    content: '▾';
}

.collapse-panel summary > span:first-child {
    flex: 1;
    min-width: 0;
}

.collapse-panel-body {
    max-height: 16rem;
    overflow-y: auto;
    margin: 0.35rem 0 0.15rem;
    padding-right: 0.15rem;
}

.collapse-panel-body .todo-item:last-child,
.collapse-panel-body li:last-child {
    margin-bottom: 0;
}

.collapse-panel-foot {
    display: inline-block;
    margin-top: 0.5rem;
}

.narrow { max-width: 420px; }

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 720px) {
    .grid-2 { grid-template-columns: 1fr; }
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .page-header .actions {
        flex-wrap: wrap;
        width: 100%;
    }
}

.box-card { display: block; color: inherit; transition: border-color 0.15s; }
.box-card:hover { border-color: var(--accent); text-decoration: none; }

label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

input, textarea, select {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
}

.btn {
    display: inline-block;
    padding: 0.55rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--card);
    color: var(--text);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #0f1419;
    font-weight: 600;
}

.btn.primary:hover { background: var(--accent-hover); }

.btn.danger {
    border-color: var(--danger);
    color: var(--danger);
}

.link-btn {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.inline { display: inline; }

.actions { display: flex; gap: 0.5rem; align-items: center; }

.alert {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(61, 214, 140, 0.15);
    border: 1px solid var(--accent);
}

.alert-error {
    background: rgba(240, 113, 120, 0.15);
    border: 1px solid var(--danger);
}

.badge {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    background: var(--border);
    font-size: 0.75rem;
}

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.5rem; border-bottom: 1px solid var(--border); }

.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 0.35rem 0; border-bottom: 1px solid var(--border); }

hr { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }

.brand { display: flex; flex-direction: column; color: var(--text); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-name { font-weight: 700; font-size: 1.15rem; }
.brand-tag { font-size: 0.75rem; color: var(--muted); font-weight: 400; }

.badge-ok { background: rgba(61, 214, 140, 0.2); color: var(--accent); }
.badge-off { background: rgba(139, 152, 168, 0.2); color: var(--muted); }

.box-card-top { display: flex; justify-content: space-between; align-items: start; gap: 0.5rem; }

.sensor-mini { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; margin: 0.5rem 0; }

.sensor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.sensor-tile {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
}

.sensor-label { font-size: 0.8rem; color: var(--muted); }
.sensor-value { font-size: 1.4rem; font-weight: 700; color: var(--accent); margin: 0.25rem 0; }
.sensor-time { font-size: 0.7rem; color: var(--muted); }

.camera-meta { margin: 0.5rem 0 0; }

.camera-card .camera-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.camera-card h2 { margin: 0 0 0.25rem; }

.camera-viewport {
    background: #0a0e12;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-feed {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    background: #000;
}

.camera-placeholder {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--muted);
}

.camera-placeholder p { margin: 0.35rem 0; }

.chart-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.chart-toolbar h2 { margin: 0 0 0.25rem; }

.chart-range {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.chart-range .btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(61, 214, 140, 0.12);
}

.btn-sm {
    padding: 0.35rem 0.65rem;
    font-size: 0.82rem;
}

.chart-grid {
    display: grid;
    gap: 1rem;
}

.chart-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem;
}

.chart-card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.chart-card canvas {
    width: 100% !important;
    height: 220px !important;
}

.table-wrap {
    overflow-x: auto;
    margin-top: 0.75rem;
}

.reading-log {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.reading-log th,
.reading-log td {
    padding: 0.28rem 0.45rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.reading-log th {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.reading-log .log-time {
    white-space: nowrap;
    width: 1%;
    color: var(--muted);
    padding-top: 0.4rem;
}

.reading-log .log-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem 0.4rem;
}

.log-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 0.28rem;
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    line-height: 1.25;
    background: var(--card);
    border: 1px solid var(--border);
}

.log-chip-name {
    opacity: 0.85;
}

.log-chip strong {
    font-weight: 700;
}

.reading-log .log-value {
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
}

.log-type {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    font-size: 0.78rem;
    background: var(--card);
    border: 1px solid var(--border);
}

.log-type-temp,
.log-chip.log-type-temp { border-color: #f07178; color: #f07178; }
.log-type-humidity,
.log-chip.log-type-humidity { border-color: #6cb6ff; color: #6cb6ff; }
.log-type-ph,
.log-chip.log-type-ph { border-color: #d2a6ff; color: #d2a6ff; }
.log-type-ec,
.log-chip.log-type-ec { border-color: var(--accent); color: var(--accent); }
.log-type-water_level,
.log-chip.log-type-water_level { border-color: #ffb454; color: #ffb454; }

.grid-2.compact { gap: 0.5rem; }
.grid-2.compact label { margin-bottom: 0.5rem; }

.checkbox { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.checkbox input { width: auto; margin: 0; }

.password-field {
    margin-bottom: 0.75rem;
}

.password-field > input[type="password"],
.password-field > input[type="text"] {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.password-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.password-toggle-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.password-toggle-switch {
    position: relative;
    width: 2.5rem;
    height: 1.35rem;
    background: var(--border);
    border-radius: 999px;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.password-toggle-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1rem;
    height: 1rem;
    background: var(--text);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.password-toggle-input:checked + .password-toggle-switch {
    background: var(--accent);
}

.password-toggle-input:checked + .password-toggle-switch::after {
    transform: translateX(1.15rem);
    background: #0f1419;
}

.password-toggle-input:checked ~ .password-toggle-text {
    color: var(--accent);
}

.api-key code {
    display: block;
    margin-top: 0.35rem;
    padding: 0.5rem;
    background: var(--bg);
    border-radius: 4px;
    font-size: 0.75rem;
    word-break: break-all;
}

.device-block { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.device-block:last-child { border-bottom: none; }

.api-doc pre {
    background: var(--bg);
    padding: 0.75rem;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 0.75rem;
    line-height: 1.45;
}

.mt { margin-top: 1rem; }
.todo-list { list-style: none; padding: 0; margin: 0; }
.todo-item {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 0.75rem 0; border-bottom: 1px solid var(--border);
}
.todo-item.priority-high { border-left: 3px solid var(--danger); padding-left: 0.5rem; }
.todo-item.priority-critical { border-left: 3px solid #ff4444; padding-left: 0.5rem; }
.todo-item.priority-medium { border-left: 3px solid #e6c229; padding-left: 0.5rem; }
.badge.priority-critical { background: rgba(255, 68, 68, 0.25); color: #ff8888; }
.badge.priority-high { background: rgba(240, 113, 120, 0.2); color: var(--danger); }
.badge.priority-medium { background: rgba(230, 194, 41, 0.2); color: #e6c229; }

.ai-card { margin-bottom: 1rem; }
.ai-card-head { display: flex; justify-content: space-between; align-items: start; gap: 0.5rem; margin-bottom: 0.5rem; }
.inline-form { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: end; }
.inline-form select { width: auto; min-width: 120px; margin-top: 0; }
.inline-form .btn { margin-top: 0.35rem; }

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: end;
}
.filter-row label { margin-bottom: 0; flex: 1; min-width: 140px; }
.filter-row select { margin-top: 0.35rem; }
.filter-row .btn { margin-top: 0.35rem; }

.cycle-active { border-left: 3px solid var(--accent); padding-left: 0.75rem; }
.mono { font-family: Consolas, monospace; letter-spacing: 0.02em; }
code { font-family: Consolas, monospace; font-size: 0.85em; }
h3 { font-size: 1rem; margin: 0.75rem 0 0.5rem; }

/* ===== Súgó / dokumentáció ===== */
.topbar-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg);
    color: var(--text);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}
.topbar-help:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.btn-ghost { background: transparent; }

.page-head { margin-bottom: 1.25rem; }
.page-head h1 { margin: 0 0 0.25rem; }

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.85rem;
}
.help-card {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
}
.help-card:hover { border-color: var(--accent); text-decoration: none; }
.help-card-icon { font-size: 1.6rem; line-height: 1; }
.help-card-body { display: flex; flex-direction: column; gap: 0.15rem; }
.help-card-title { font-size: 1rem; }

.doc-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.doc-pdf-wrap {
    margin-top: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #1a1a1a;
}

.doc-pdf-frame {
    display: block;
    width: 100%;
    min-height: 75vh;
    border: 0;
}

.doc { color: var(--text); }
.doc h1 {
    font-size: 1.55rem;
    margin: 0 0 0.35rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--accent);
}
.doc h2 {
    font-size: 1.18rem;
    margin: 1.8rem 0 0.7rem;
    padding: 0.1rem 0 0.3rem 0.6rem;
    border-left: 4px solid var(--accent);
    border-bottom: 1px solid var(--border);
}
.doc h3 { font-size: 1.02rem; margin: 1.1rem 0 0.4rem; color: var(--accent); }
.doc h4, .doc h5, .doc h6 { font-size: 0.95rem; margin: 0.9rem 0 0.3rem; }
.doc p { margin: 0.5rem 0; }
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 1.4rem 0; }
.doc blockquote {
    margin: 0.85rem 0;
    padding: 0.5rem 0.9rem;
    border-left: 3px solid var(--accent);
    background: var(--card);
    border-radius: 0 6px 6px 0;
    color: var(--muted);
}
.doc .doc-sub { color: var(--muted); margin: 0 0 1rem; font-size: 0.92rem; }
.doc img { max-width: 100%; height: auto; display: block; border-radius: 8px; }
.doc .doc-figure {
    margin: 0.9rem 0 1.1rem;
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
}
.doc .doc-figure figcaption {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--muted);
    text-align: center;
}
.doc pre, .doc .doc-diagram {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.9rem 1rem;
    margin: 0.75rem 0 1rem;
    overflow-x: auto;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--text);
    white-space: pre;
}
.doc table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0.75rem 0 1.1rem;
    font-size: 0.86rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.doc th, .doc td {
    padding: 0.5rem 0.7rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}
.doc thead th {
    background: linear-gradient(180deg, rgba(61, 214, 140, 0.16), rgba(61, 214, 140, 0.05));
    color: var(--text);
    font-weight: 700;
    border-bottom: 2px solid rgba(61, 214, 140, 0.35);
}
.doc tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.doc tbody tr:hover { background: rgba(61, 214, 140, 0.07); }
.doc tbody tr:last-child td { border-bottom: 0; }
.doc tbody td:first-child { font-weight: 600; }
.doc .doc-price { white-space: nowrap; font-weight: 600; }
.doc .doc-premium { color: #b794f6; font-weight: 600; }
.doc .doc-budget { color: var(--accent); font-weight: 600; }
.doc .doc-note { font-size: 0.82rem; color: var(--muted); }
.doc .doc-legend span { margin-right: 0.9rem; font-size: 0.82rem; }
.doc .doc-pill {
    display: inline-block;
    padding: 0.05rem 0.5rem;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #0f1419;
}
.doc .doc-pill.keep { background: var(--accent); }
.doc .doc-pill.skip { background: var(--danger); color: #fff; }
.doc .doc-box {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin: 0.85rem 0;
    background: var(--card);
}
.doc .doc-box.doc-kit { border-color: var(--accent); }
.doc .doc-total td { font-weight: 700; }
.doc ul { margin: 0.4rem 0; padding-left: 1.25rem; }
.doc li { margin: 0.2rem 0; }
.doc .doc-footer {
    margin-top: 1.5rem;
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
}

@media print {
    body { background: #fff; color: #000; }
    .topbar, .site-nav, .nav-backdrop, .alert, .no-print { display: none !important; }
    main.container { max-width: none; padding: 0; }
    .doc { color: #000; }
    .doc h1 { border-bottom-color: #1f9d57; }
    .doc h2 { border-left-color: #1f9d57; border-bottom-color: #999; page-break-after: avoid; }
    .doc h3 { color: #1f7a45; }
    .doc .doc-sub, .doc .doc-note, .doc .doc-footer { color: #444; }
    .doc blockquote { background: #f5f5f5; color: #333; border-left-color: #888; }
    .doc pre, .doc .doc-diagram { background: #f5f5f5; color: #000; border-color: #999; }
    .doc .doc-figure { border-color: #999; page-break-inside: avoid; }
    .doc .doc-figure figcaption { color: #333; }
    .doc hr { border-top-color: #bbb; }
    .doc table { border-color: #999; }
    .doc th, .doc td { border-bottom-color: #ccc; }
    .doc thead th { background: #eee; color: #000; border-bottom-color: #999; }
    .doc tbody tr:nth-child(even) { background: #f7f7f7; }
    .doc tbody tr:hover { background: transparent; }
    .doc .doc-premium { color: #6b46c1; }
    .doc .doc-budget { color: #1f9d57; }
    .doc table, .doc .doc-box { page-break-inside: avoid; }
    @page { size: A4; margin: 12mm; }
}

/* ===== GrowMind AI — Kickstarter landing (/growbox) ===== */

.landing-body {
    background: #0a1218;
    color: #e7ecf3;
    margin: 0;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 18, 24, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #1e2a38;
    padding-top: env(safe-area-inset-top);
}

.landing-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: #e7ecf3;
    text-decoration: none;
}

.landing-logo:hover { text-decoration: none; color: #3dd68c; }
.landing-logo strong { color: #3dd68c; }

.landing-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    background: rgba(61, 214, 140, 0.15);
    color: #3dd68c;
    font-size: 0.72rem;
    font-weight: 800;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.landing-nav a {
    color: #8b98a8;
    text-decoration: none;
}

.landing-nav a:hover { color: #3dd68c; }

.landing-nav-login {
    padding: 0.35rem 0.75rem;
    border: 1px solid #2a3544;
    border-radius: 6px;
}

.landing-gate {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}

.landing-gate-card {
    width: min(26rem, 100%);
    background: #121a24;
    border: 1px solid #2a3544;
    border-radius: 12px;
    padding: 1.75rem 1.5rem 1.5rem;
}

.landing-gate-card h1 {
    font-size: 1.6rem;
    margin: 0 0 0.5rem;
}

.landing-gate-form label {
    display: block;
    margin: 0.75rem 0 0.35rem;
    font-size: 0.9rem;
    color: #a8b4c0;
}

.landing-gate-form input[type="text"],
.landing-gate-form input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.35rem;
    padding: 0.7rem 0.8rem;
    border-radius: 8px;
    border: 1px solid #2a3544;
    background: #0a1218;
    color: #e8eef4;
    font-size: 1rem;
}

.landing-gate-form .landing-btn {
    width: 100%;
    margin-top: 1.25rem;
}

.landing-gate .password-field {
    margin-bottom: 0;
}

.landing-hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.25rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (max-width: 860px) {
    .landing-hero { grid-template-columns: 1fr; }
    .landing-nav { display: none; }
}

.landing-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #3dd68c;
    border: 1px solid rgba(61, 214, 140, 0.35);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    margin: 0 0 1rem;
}

.landing-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.12;
    margin: 0 0 1rem;
    font-weight: 700;
}

.landing-gradient {
    background: linear-gradient(135deg, #3dd68c, #6cb6ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.landing-lead {
    font-size: 1.08rem;
    color: #8b98a8;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    max-width: 32rem;
}

.landing-ai-promise {
    margin: 0 0 1.5rem;
    max-width: 34rem;
    padding: 1rem 1.1rem;
    border-left: 3px solid #3dd68c;
    background: linear-gradient(90deg, rgba(61, 214, 140, 0.08), transparent);
}

.landing-ai-promise-title {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #e8eef4;
    letter-spacing: 0.02em;
}

.landing-ai-promise-lead {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #a8b4c0;
}

.landing-ai-modes {
    display: grid;
    gap: 0.65rem;
}

.landing-ai-mode {
    display: grid;
    gap: 0.15rem;
}

.landing-ai-mode strong {
    font-size: 0.88rem;
    color: #3dd68c;
}

.landing-ai-mode span {
    font-size: 0.88rem;
    line-height: 1.45;
    color: #8b98a8;
}

.landing-signup {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    max-width: 28rem;
}

.landing-signup-center {
    margin: 0 auto;
    justify-content: center;
}

.landing-signup input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border: 1px solid #2a3544;
    border-radius: 8px;
    background: #121a22;
    color: #e7ecf3;
    font-size: 1rem;
}

.landing-btn {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.landing-btn-primary {
    background: #3dd68c;
    color: #0a1218;
}

.landing-btn-primary:hover {
    background: #2fb872;
}

.landing-signup-note {
    font-size: 0.82rem;
    color: #6b7a8a;
    margin: 0.75rem 0 0;
}

.landing-alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.92rem;
    max-width: 28rem;
}

.landing-alert-ok {
    background: rgba(61, 214, 140, 0.12);
    border: 1px solid rgba(61, 214, 140, 0.4);
    color: #3dd68c;
}

.landing-alert-err {
    background: rgba(240, 113, 120, 0.12);
    border: 1px solid rgba(240, 113, 120, 0.4);
    color: #f07178;
}

.landing-mock-card {
    background: #121a22;
    border: 1px solid #2a3544;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.landing-mock-head {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #2a3544;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.landing-mock-time {
    margin-left: auto;
    font-size: 0.72rem;
    color: #6b7a8a;
}

.landing-mock-screen.has-live {
    position: relative;
    padding: 0;
    min-height: 280px;
    background: #0a1218;
}

.landing-mock-screen.has-live img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 280px;
    max-height: 360px;
    object-fit: cover;
    background: #1a2330;
}

.landing-mock-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 1rem;
    padding: 1rem;
    border-top: 1px solid #2a3544;
    align-items: start;
}

@media (max-width: 520px) {
    .landing-mock-footer {
        grid-template-columns: 1fr;
    }
}

.landing-mock-sensors {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 0.5rem;
}

.landing-sensor-tile {
    background: #0a1218;
    border-color: #2a3544;
    padding: 0.5rem 0.35rem;
}

.landing-sensor-tile .sensor-label {
    font-size: 0.65rem;
    line-height: 1.2;
    color: #8b98a8;
}

.landing-sensor-tile .sensor-value {
    font-size: 1rem;
    font-weight: 700;
    color: #3dd68c;
    margin: 0.2rem 0;
    line-height: 1.2;
}

.landing-sensor-tile .sensor-time {
    font-size: 0.58rem;
    color: #6b7a8a;
    line-height: 1.2;
}

.landing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6b7a8a;
    flex-shrink: 0;
}

.landing-dot.live { background: #3dd68c; box-shadow: 0 0 8px #3dd68c; }

.landing-mock-screen {
    min-height: 180px;
    background: linear-gradient(160deg, #1a2830 0%, #0d1810 100%);
}

.landing-mock-ai {
    padding: 0;
    font-size: 0.85rem;
}

.landing-mock-ai p {
    margin: 0.35rem 0 0;
    color: #8b98a8;
    line-height: 1.45;
}

.landing-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.25rem;
}

.landing-problem {
    background: #0e161e;
    border-top: 1px solid #1e2a38;
    border-bottom: 1px solid #1e2a38;
}

.landing-problem h2,
.landing-compare h2,
.landing-showcase h2,
.landing-video h2,
.landing-features h2,
.landing-copilot h2,
.landing-specs h2,
.landing-rewards h2,
.landing-how h2,
.landing-roadmap h2,
.landing-founder h2,
.landing-social-proof h2,
.landing-faq h2,
.landing-deposit h2,
.landing-ks-follow h2,
.landing-referral h2,
.landing-cta h2 {
    font-size: 1.75rem;
    margin: 0 0 1.5rem;
}

.landing-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 700px) {
    .landing-columns { grid-template-columns: 1fr; }
}

.landing-columns h3 {
    color: #3dd68c;
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.landing-columns p {
    color: #8b98a8;
    margin: 0;
    line-height: 1.6;
}

.landing-column-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.landing-figure {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2a3544;
    background: #121a22;
    aspect-ratio: 4 / 3;
}

.landing-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-figure-real img,
.landing-showcase-real img,
.landing-feature-img-real {
    object-position: center 35%;
}

.landing-showcase-real img {
    aspect-ratio: 16 / 10;
}

.landing-feature-img-real {
    aspect-ratio: 4 / 3;
}

.landing-showcase {
    border-bottom: 1px solid #1e2a38;
}

.landing-showcase-lead {
    color: #6b7a8a;
    font-size: 0.9rem;
    margin: -0.75rem 0 1.5rem;
}

.landing-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 700px) {
    .landing-showcase-grid { grid-template-columns: 1fr; }
}

.landing-showcase-item {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2a3544;
    background: #121a22;
}

.landing-showcase-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.landing-showcase-hero {
    grid-column: 1 / -1;
}

.landing-showcase-wide {
    grid-column: 1 / -1;
}

.landing-showcase-item figcaption {
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
    color: #8b98a8;
    border-top: 1px solid #1e2a38;
}

.landing-video {
    background: #0e161e;
    border-top: 1px solid #1e2a38;
    border-bottom: 1px solid #1e2a38;
}

.landing-video-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #2a3544;
    background: #000;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.landing-video-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    vertical-align: middle;
}

.landing-video-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    background: rgba(10, 18, 24, 0.72);
    border: 1px solid rgba(61, 214, 140, 0.35);
    color: #3dd68c;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    pointer-events: none;
}

.landing-video-credit {
    margin: 0.75rem 0 0;
    font-size: 0.75rem;
    color: #6b7a8a;
    text-align: center;
}

.landing-video-credit a {
    color: #8b98a8;
}

.landing-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.landing-feature {
    background: #121a22;
    border: 1px solid #2a3544;
    border-radius: 10px;
    padding: 1.25rem;
    overflow: hidden;
}

.landing-feature-has-img {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.landing-feature-has-img .landing-feature-icon,
.landing-feature-has-img h3,
.landing-feature-has-img p {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
}

.landing-feature-has-img .landing-feature-icon {
    margin-top: 1rem;
}

.landing-feature-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 1px solid #2a3544;
}

.landing-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.4rem;
    border-radius: 8px;
    background: rgba(61, 214, 140, 0.12);
    color: #3dd68c;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.landing-feature h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.landing-feature p {
    margin: 0;
    font-size: 0.88rem;
    color: #8b98a8;
    line-height: 1.5;
}

.landing-copilot {
    background: #0e161e;
    border-bottom: 1px solid #1e2a38;
}

.landing-copilot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0 1rem;
}

@media (max-width: 720px) {
    .landing-copilot-grid { grid-template-columns: 1fr; }
}

.landing-copilot-card {
    background: #0a1218;
    border: 1px solid #1e2a38;
    border-radius: 14px;
    padding: 1.25rem 1.2rem 1.35rem;
}

.landing-copilot-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3dd68c;
    margin-bottom: 0.55rem;
}

.landing-copilot-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: #e8eef4;
}

.landing-copilot-card > p {
    margin: 0;
    font-size: 0.9rem;
    color: #8b98a8;
    line-height: 1.55;
}

.landing-copilot-examples {
    list-style: none;
    margin: 0.85rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.landing-copilot-examples li {
    font-size: 0.82rem;
    color: #a8b8c8;
    background: #121c26;
    border: 1px solid #243040;
    border-radius: 8px;
    padding: 0.55rem 0.7rem;
    font-style: italic;
}

.landing-copilot-examples li::before {
    content: '\201C';
    color: #3dd68c;
    margin-right: 0.15rem;
}

.landing-copilot-note {
    margin: 0.5rem 0 0;
    max-width: 42rem;
    font-size: 0.85rem;
    color: #6b7a8a;
    line-height: 1.5;
}

.landing-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
}

.landing-steps li {
    counter-increment: step;
    padding: 1rem 0 1rem 3rem;
    border-bottom: 1px solid #1e2a38;
    position: relative;
}

.landing-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 1rem;
    width: 2rem;
    height: 2rem;
    background: rgba(61, 214, 140, 0.15);
    color: #3dd68c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.landing-steps strong {
    display: block;
    margin-bottom: 0.2rem;
}

.landing-steps span {
    color: #8b98a8;
    font-size: 0.9rem;
}

.landing-cta {
    background:
        linear-gradient(180deg, rgba(10, 18, 24, 0.92) 0%, rgba(14, 26, 20, 0.95) 100%),
        url('/assets/images/landing/landing-05-lifestyle.png') center / cover no-repeat;
    text-align: center;
}

.landing-cta-inner p {
    color: #8b98a8;
    margin: 0 0 1.5rem;
}

.landing-footer {
    border-top: 1px solid #1e2a38;
    padding: 2rem 1.25rem;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
}

.landing-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    color: #6b7a8a;
    font-size: 0.88rem;
}

.landing-footer a { color: #3dd68c; }

.landing-footer .small {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
}

/* --- Kickstarter landing extensions (v22) --- */

.landing-section-lead {
    color: #8b98a8;
    margin: -0.5rem 0 1.5rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.landing-draft-note {
    font-size: 0.75rem;
    color: #6b7a8a;
    font-style: italic;
    margin: 0.75rem 0 0;
}

.landing-countdown-bar {
    background: #0e1a14;
    border-bottom: 1px solid rgba(61, 214, 140, 0.25);
    padding: 0.65rem 1rem;
}

.landing-countdown-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.25rem;
}

.landing-countdown-label {
    font-size: 0.82rem;
    color: #8b98a8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.landing-countdown-timer {
    display: flex;
    gap: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.landing-countdown-timer span {
    background: rgba(61, 214, 140, 0.12);
    color: #3dd68c;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 2.5rem;
    text-align: center;
}

.landing-countdown-cta {
    font-size: 0.82rem;
    color: #3dd68c;
    font-weight: 600;
}

.landing-live-proof {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #8b98a8;
    margin: 0 0 0.75rem;
}

.landing-scarcity {
    font-size: 0.88rem;
    color: #c9d4de;
    margin: 0 0 1rem;
    padding: 0.65rem 0.85rem;
    background: rgba(61, 214, 140, 0.08);
    border: 1px solid rgba(61, 214, 140, 0.2);
    border-radius: 8px;
}

.landing-email-promise {
    margin-top: 1.25rem;
    padding: 1rem;
    background: #121a22;
    border: 1px solid #2a3544;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #8b98a8;
}

.landing-email-promise strong {
    color: #c9d4de;
    display: block;
    margin-bottom: 0.5rem;
}

.landing-email-promise ol {
    margin: 0;
    padding-left: 1.2rem;
    line-height: 1.6;
}

.landing-compare {
    border-bottom: 1px solid #1e2a38;
}

.landing-compare-table-wrap {
    overflow-x: auto;
    border: 1px solid #2a3544;
    border-radius: 12px;
    background: #121a22;
}

.landing-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.landing-compare-table th,
.landing-compare-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #1e2a38;
    text-align: left;
}

.landing-compare-table th {
    color: #8b98a8;
    font-weight: 600;
    font-size: 0.8rem;
}

.landing-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.landing-compare-highlight {
    color: #3dd68c;
    background: rgba(61, 214, 140, 0.06);
}

.landing-compare-yes {
    color: #3dd68c;
    font-weight: 600;
}

.landing-compare-no {
    color: #6b7a8a;
}

.landing-compare-partial {
    color: #8b98a8;
}

.landing-specs {
    background: #0e161e;
    border-top: 1px solid #1e2a38;
    border-bottom: 1px solid #1e2a38;
}

.landing-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.landing-spec-item {
    background: #121a22;
    border: 1px solid #2a3544;
    border-radius: 10px;
    padding: 1rem;
}

.landing-spec-item span {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #3dd68c;
    background: rgba(61, 214, 140, 0.12);
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.landing-spec-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.landing-spec-item p {
    margin: 0;
    font-size: 0.82rem;
    color: #8b98a8;
    line-height: 1.45;
}

.landing-rewards {
    border-bottom: 1px solid #1e2a38;
}

.landing-reward-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.landing-reward-card {
    background: #121a22;
    border: 1px solid #2a3544;
    border-radius: 12px;
    padding: 1.25rem;
}

.landing-reward-featured {
    border-color: rgba(61, 214, 140, 0.45);
    box-shadow: 0 0 0 1px rgba(61, 214, 140, 0.15);
}

.landing-reward-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #3dd68c;
    margin-bottom: 0.5rem;
}

.landing-reward-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.landing-reward-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #3dd68c;
    margin: 0 0 0.25rem;
}

.landing-reward-save {
    font-size: 0.8rem;
    color: #8b98a8;
    margin: 0 0 0.75rem;
}

.landing-reward-card ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.85rem;
    color: #8b98a8;
    line-height: 1.5;
}

.landing-reward-note {
    margin: 1rem 0 0;
    font-size: 0.78rem;
    color: #6b7a8a;
    text-align: center;
}

.landing-roadmap {
    background: #0e161e;
    border-bottom: 1px solid #1e2a38;
}

.landing-roadmap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid #2a3544;
    margin-left: 0.5rem;
}

.landing-roadmap-list li {
    position: relative;
    padding: 0 0 1.25rem 1.5rem;
}

.landing-roadmap-list li::before {
    content: '';
    position: absolute;
    left: -0.45rem;
    top: 0.35rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: #2a3544;
    border: 2px solid #0e161e;
}

.landing-roadmap-done::before {
    background: #3dd68c !important;
}

.landing-roadmap-list strong {
    display: block;
    color: #c9d4de;
    margin-bottom: 0.15rem;
}

.landing-roadmap-list span {
    font-size: 0.88rem;
    color: #8b98a8;
}

.landing-path,
.landing-funds,
.landing-risks {
    border-bottom: 1px solid #1e2a38;
}

.landing-path-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1.5rem 0 1rem;
}

@media (max-width: 900px) {
    .landing-path-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .landing-path-grid { grid-template-columns: 1fr; }
}

.landing-path-step {
    background: #0e161e;
    border: 1px solid #1e2a38;
    border-radius: 12px;
    padding: 1.1rem 1rem 1.2rem;
}

.landing-path-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: rgba(61, 214, 140, 0.15);
    color: #3dd68c;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 0.65rem;
}

.landing-path-step h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    color: #c9d4de;
}

.landing-path-step p {
    margin: 0;
    font-size: 0.88rem;
    color: #8b98a8;
    line-height: 1.5;
}

.landing-path-note {
    color: #8b98a8;
    font-size: 0.9rem;
    margin: 0 0 1.25rem;
    max-width: 40rem;
}

.landing-funds-bars {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.5rem 0 0.75rem;
    max-width: 36rem;
}

.landing-fund-label {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    color: #c9d4de;
}

.landing-fund-label strong {
    color: #3dd68c;
}

.landing-fund-track {
    height: 0.45rem;
    background: #1a2430;
    border-radius: 999px;
    overflow: hidden;
}

.landing-fund-fill {
    height: 100%;
    background: linear-gradient(90deg, #2a9d5c, #3dd68c);
    border-radius: 999px;
}

.landing-risk-list {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    max-width: 44rem;
}

.landing-risk-list li {
    background: #0e161e;
    border: 1px solid #1e2a38;
    border-radius: 12px;
    padding: 1rem 1.15rem;
}

.landing-risk-list strong {
    display: block;
    color: #e8b84a;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.landing-risk-list span {
    color: #8b98a8;
    font-size: 0.88rem;
    line-height: 1.55;
}

.landing-founder-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 600px) {
    .landing-founder-inner { grid-template-columns: 1fr; }
}

.landing-founder-avatar {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: rgba(61, 214, 140, 0.15);
    color: #3dd68c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    border: 2px solid rgba(61, 214, 140, 0.35);
}

.landing-founder-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.15rem;
    color: #c9d4de;
}

.landing-founder-title {
    margin: 0 0 0.5rem;
    font-size: 0.88rem;
    color: #3dd68c;
}

.landing-founder-bio {
    margin: 0;
    color: #8b98a8;
    line-height: 1.6;
}

.landing-social-proof {
    border-bottom: 1px solid #1e2a38;
}

.landing-quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.landing-quote {
    margin: 0;
    padding: 1.25rem;
    background: #121a22;
    border: 1px solid #2a3544;
    border-radius: 10px;
}

.landing-quote p {
    margin: 0 0 0.75rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #c9d4de;
}

.landing-quote footer {
    font-size: 0.78rem;
    color: #6b7a8a;
}

.landing-press-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7a8a;
    margin: 0 0 0.75rem;
    text-align: center;
}

.landing-press-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.landing-press-logos span {
    padding: 0.65rem 1.25rem;
    border: 1px dashed #2a3544;
    border-radius: 8px;
    color: #6b7a8a;
    font-size: 0.82rem;
}

.landing-faq {
    background: #0e161e;
    border-bottom: 1px solid #1e2a38;
}

.landing-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.landing-faq-item {
    background: #121a22;
    border: 1px solid #2a3544;
    border-radius: 10px;
    padding: 0 1rem;
}

.landing-faq-item summary {
    cursor: pointer;
    padding: 1rem 0;
    font-weight: 600;
    color: #c9d4de;
    list-style: none;
}

.landing-faq-item summary::-webkit-details-marker {
    display: none;
}

.landing-faq-item p {
    margin: 0 0 1rem;
    padding-top: 0;
    font-size: 0.88rem;
    color: #8b98a8;
    line-height: 1.6;
}

.landing-deposit {
    border-bottom: 1px solid #1e2a38;
}

.landing-deposit-inner {
    text-align: center;
}

.landing-deposit-card {
    max-width: 420px;
    margin: 0 auto;
    padding: 1.5rem;
    background: #121a22;
    border: 1px solid #2a3544;
    border-radius: 12px;
}

.landing-deposit-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: #3dd68c;
    margin: 0 0 0.5rem;
}

.landing-deposit-card p {
    color: #8b98a8;
    font-size: 0.88rem;
    margin: 0 0 1rem;
}

.landing-deposit-card .landing-btn {
    margin-bottom: 0.5rem;
}

.landing-deposit-card .landing-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.landing-ks-follow {
    background: rgba(61, 214, 140, 0.06);
    border-bottom: 1px solid #1e2a38;
}

.landing-ks-follow-inner {
    text-align: center;
}

.landing-ks-follow-inner p {
    color: #8b98a8;
    margin: 0 0 1rem;
}

.landing-referral {
    border-bottom: 1px solid #1e2a38;
}

.landing-referral-inline {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #121a22;
    border: 1px solid #2a3544;
    border-radius: 10px;
}

.landing-referral-inline p {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    color: #8b98a8;
}

.landing-share-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.landing-share-btns-center {
    justify-content: center;
}

.landing-btn-ghost {
    background: transparent;
    border: 1px solid #2a3544;
    color: #c9d4de;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.landing-btn-ghost:hover {
    border-color: #3dd68c;
    color: #3dd68c;
    text-decoration: none;
}

.landing-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.75rem 1rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(10, 18, 24, 0.95);
    border-top: 1px solid #2a3544;
    backdrop-filter: blur(8px);
    text-align: center;
}

.landing-sticky-btn {
    width: 100%;
    max-width: 400px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

@media (min-width: 900px) {
    .landing-sticky-cta { display: none !important; }
}

body.landing-has-sticky {
    padding-bottom: 4.5rem;
}

/* ─── Language switcher ──────────────────────────────── */

.lang-switch-btn {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.lang-switch-btn:hover { color: var(--text); text-decoration: none; }
.lang-switch-btn.active { background: var(--accent); color: #0f1419; }

.site-nav-lang {
    display: flex;
    gap: 2px;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border);
}

.landing-lang-switcher {
    display: flex;
    gap: 2px;
    margin-left: 0.5rem;
}

.landing-lang-switcher .lang-switch-btn {
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
}
