/* ── Landing page — full-width layout ───────────────────────────── */

:root {
    --green: #10b981;
    --green-dark: #059669;
    --green-light: #ecfdf5;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --radius: 14px;
}

.landing-body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    padding-top: 0;  /* override portal.css top-bar padding */
}

/* ── Nav ────────────────────────────────────────────────────────── */

.l-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.l-nav-brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
}

.l-nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.l-nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color .15s;
}

.l-nav-links a:hover { color: var(--text); }

/* ── Buttons ────────────────────────────────────────────────────── */

.l-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, transform .1s;
    border: none;
    font-family: inherit;
}

.l-btn:active { transform: scale(.98); }

.l-btn-sm { padding: 7px 16px; font-size: 13px; }
.l-btn-lg { padding: 14px 32px; font-size: 16px; }

.l-btn-green {
    background: var(--green);
    color: #fff;
}
.l-btn-green:hover { background: var(--green-dark); }

.l-btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}
.l-btn-outline:hover { background: #f1f5f9; }

.l-btn-white {
    background: #fff;
    color: var(--green-dark);
}
.l-btn-white:hover { background: #f0fdf4; }

/* ── Hero ───────────────────────────────────────────────────────── */

.l-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 80px 24px 90px;
    overflow: hidden;
    flex-wrap: wrap;
}

.l-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #ecfdf5 0%, #d1fae5 30%, #f0fdf4 60%, #ffffff 100%);
    z-index: 0;
}

.l-hero-bg::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,.15) 0%, transparent 70%);
    border-radius: 50%;
}

.l-hero-bg::before {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(16,185,129,.10) 0%, transparent 70%);
    border-radius: 50%;
}

.l-hero-content {
    position: relative;
    z-index: 1;
    max-width: 540px;
    text-align: left;
}

.l-hero-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

.l-hero h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -.5px;
}

.l-hero-sub {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 28px;
}

.l-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.l-hero-note {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ── Hero visual (mock portal card) ─────────────────────────────── */

.l-hero-visual {
    position: relative;
    z-index: 1;
}

.l-hero-card {
    width: 280px;
    padding: 24px 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.10), 0 0 0 1px rgba(0,0,0,.04);
    text-align: center;
}

.l-hero-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.l-hero-card-ssid {
    font-size: 14px;
    font-weight: 700;
}

.l-hero-card-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 10px;
    background: #ecfdf5;
    color: var(--green);
    border-radius: 10px;
    text-transform: uppercase;
}

.l-hero-card-plan {
    padding: 10px;
    margin-bottom: 6px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
}

.l-hero-card-btn {
    margin-top: 14px;
    padding: 12px;
    background: var(--green);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
}

/* ── Sections ───────────────────────────────────────────────────── */

.l-section {
    padding: 80px 24px;
}

.l-section-alt {
    background: var(--bg-alt);
}

.l-container {
    max-width: 1100px;
    margin: 0 auto;
}

.l-section-title {
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 8px;
    letter-spacing: -.3px;
}

.l-section-sub {
    font-size: 16px;
    color: var(--text-muted);
    text-align: center;
    margin: 0 0 40px;
}

/* ── Steps (3 columns) ──────────────────────────────────────────── */

.l-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.l-step {
    text-align: center;
    padding: 28px 20px;
}

.l-step-num {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 50%;
    margin: 0 auto 16px;
    box-shadow: 0 8px 20px rgba(16,185,129,.25);
}

.l-step h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
}

.l-step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Features (3×2 grid) ────────────────────────────────────────── */

.l-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.l-feature {
    padding: 28px 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: box-shadow .2s, border-color .2s;
}

.l-feature:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    border-color: transparent;
}

.l-feature-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.l-feature h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
}

.l-feature p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Hardware grid ──────────────────────────────────────────────── */

.l-hw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.l-hw-group {
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.l-hw-group h4 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.l-hw-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    background: #ecfdf5;
    color: var(--green);
    border-radius: 6px;
}

.l-hw-group code {
    display: inline-block;
    font-size: 11px;
    background: #f1f5f9;
    padding: 3px 7px;
    border-radius: 5px;
    margin: 0 4px 6px 0;
    white-space: nowrap;
}

.l-hw-note {
    margin-top: 20px;
    font-size: 12px;
    color: #b45309;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ── CTA section ────────────────────────────────────────────────── */

.l-cta {
    padding: 80px 24px;
    text-align: center;
    background: linear-gradient(160deg, var(--green-dark), var(--green));
    color: #fff;
}

.l-cta h2 {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 12px;
}

.l-cta p {
    font-size: 16px;
    opacity: .85;
    margin: 0 0 28px;
    line-height: 1.5;
}

.l-cta-login {
    margin-top: 16px !important;
    font-size: 13px !important;
    opacity: .7;
}

.l-cta-login a {
    color: #fff;
    font-weight: 600;
}

/* ── Footer ─────────────────────────────────────────────────────── */

.l-footer {
    padding: 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

.l-footer p { margin: 4px 0; }

.l-footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.l-footer a:hover { color: var(--text); }

/* ── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .l-hero {
        flex-direction: column;
        padding: 48px 20px 60px;
        gap: 40px;
    }
    .l-hero h1 { font-size: 30px; }
    .l-hero-content { text-align: center; }
    .l-hero-actions { justify-content: center; }

    .l-steps { grid-template-columns: 1fr; }
    .l-features { grid-template-columns: 1fr 1fr; }

    .l-section { padding: 56px 20px; }
    .l-section-title { font-size: 24px; }

    .l-cta { padding: 56px 20px; }
    .l-cta h2 { font-size: 24px; }
}

@media (max-width: 480px) {
    .l-features { grid-template-columns: 1fr; }
    .l-nav { flex-direction: column; gap: 10px; }
    .l-hero-card { width: 240px; }
}

/* Founder */
.l-founder-section {
    background: linear-gradient(160deg, #ecfdf5 0%, #ffffff 60%);
}
.l-founder-card {
    max-width: 680px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: 0 12px 32px rgba(2, 44, 34, .06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}
.l-founder-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    outline: 2px solid var(--green);
    box-shadow: 0 8px 20px rgba(16, 185, 129, .25);
}
.l-founder-id h3 {
    font-size: 1.25rem;
    margin: 0 0 6px;
    color: var(--text);
}
.l-founder-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--green-dark);
    background: var(--green-light);
    border: 1px solid #a7f3d0;
    padding: 3px 10px;
    border-radius: 999px;
}
.l-founder-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0;
    line-height: 1.65;
}
