/* ITLN landing — lean, tech, ABCO-aligned */

:root {
    --bg: #0c0f14;
    --bg-alt: #12171f;
    --surface: #1a1f2a;
    --border: #2a3140;
    --text: #e6e9ef;
    --text-muted: #8b92a3;
    --accent: #00c896;
    --accent-dim: #00a87a;
    --accent-glow: rgba(0, 200, 150, 0.2);
    --white: #f0f2f5;
    --font: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --wrap: min(90vw, 1100px);
    --radius: 12px;
    --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 15, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.5rem;
    padding-block: 0.5rem;
    position: relative;
}
.logo {
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    color: var(--white);
    text-decoration: none;
}
.logo:hover { color: var(--accent); }
.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
}
.nav a:hover { color: var(--text); }
.nav-link.is-active { color: var(--accent); }
.nav-link.is-active:hover { color: var(--accent-dim); }
.nav-ecosystem {
    color: var(--accent) !important;
}
.nav-ecosystem:hover { color: var(--accent-dim) !important; }
.menu-toggle {
    display: none;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
}
.menu-toggle::before,
.menu-toggle::after {
    content: '';
    position: absolute;
    left: 0.25rem;
    right: 0.25rem;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
}
.menu-toggle::before { top: 0.5rem; }
.menu-toggle::after { top: 1.2rem; }
@media (max-width: 768px) {
    .nav { display: none; }
    .nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-alt); padding: 1rem; gap: 0.75rem; border-bottom: 1px solid var(--border); }
    .menu-toggle { display: block; }
}

/* Main */
.main { min-height: 60vh; }

/* Hero */
.hero {
    padding-block: clamp(3rem, 10vw, 5rem);
    background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--accent-glow) 0%, transparent 55%),
                linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.hero-title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    letter-spacing: -0.02em;
}
.hero-subtitle {
    margin: 0 0 2rem;
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 42ch;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-primary {
    background: var(--accent);
    color: var(--bg);
}
.btn-primary:hover {
    background: var(--accent-dim);
    box-shadow: 0 0 24px var(--accent-glow);
}
.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: var(--border);
    color: var(--white);
}

/* Sections */
.section {
    padding-block: clamp(2.5rem, 6vw, 4rem);
}
.section--alt { background: var(--bg-alt); }
.section-title {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}
.page-hero { padding-block-end: 1.5rem; }
.page-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--white);
}
.lead {
    margin: 0;
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Funnel: in-page nav */
.funnel-nav { padding-block: 1rem 0.5rem; }
.funnel-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
}
.funnel-nav-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
}
.funnel-nav-list a:hover { color: var(--accent); }

/* Funnel: Problem */
.funnel-lead {
    margin: 0 0 1.25rem;
    font-size: 1.0625rem;
    color: var(--text-muted);
}
.pain-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}
.pain-item {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: var(--surface);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-muted);
}
.pain-item strong { color: var(--text); }

/* Funnel: Solution */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.solution-card { margin: 0; }
.funnel-more { margin: 0; }
.funnel-more .link-arrow { font-weight: 500; }

/* Funnel: Objections */
.objections-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.objection-item {
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.objection-question {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}
.objection-item p { margin: 0; }

/* Funnel: Close */
.funnel-close .section-title { margin-bottom: 0.75rem; }
.funnel-close .cta-text { margin-bottom: 1.5rem; }
.funnel-close .cta-grid { justify-content: center; }

/* Inner pages: CTA block */
.page-cta .wrap { text-align: center; }
.page-cta .section-title { margin-bottom: 0.75rem; }
.page-cta .cta-text {
    margin: 0 auto 1.5rem;
    max-width: 50ch;
    color: var(--text-muted);
}
.page-cta .cta-grid { justify-content: center; }

/* Contacts: action cards */
.contacts-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.contacts-action {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.contacts-action-title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
}
.contacts-action p {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
}
.contacts-action .btn { margin: 0; }

/* For who */
.for-who-list {
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
    list-style: none;
}
.for-who-list li {
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}
.for-who-list li::before {
    content: '—';
    position: absolute;
    left: -1.25rem;
    color: var(--accent);
}
.for-who-more { margin: 0; }
.for-who-more a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.for-who-more a:hover { text-decoration: underline; }

/* Benefits / Cards */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 8px 24px rgba(0,0,0,0.2);
}
.card-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}
.card p { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.card-link:hover .card-title { color: var(--accent); }

/* CTA section */
.cta-section .wrap {
    text-align: center;
}
.cta-text {
    margin: 0 0 1.5rem;
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 50ch;
    margin-inline: auto;
}

/* Content pages */
h2 {
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}
h2:first-child { margin-top: 0; }
p { margin: 0 0 1rem; color: var(--text-muted); }
.content-list {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}
.content-list li { margin-bottom: 0.35rem; }
.content-list--cards {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.content-list--cards li {
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.link-arrow {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.link-arrow:hover { text-decoration: underline; }

/* Ecosystem grid */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.section-cta { margin-top: 1.5rem; }
.cta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

/* Footer */
.site-footer {
    margin-top: 3rem;
    padding-block: 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}
.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.footer-brand .logo { font-size: 1.1rem; }
.footer-brand a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
}
.footer-brand a:hover { color: var(--accent); }
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
}
.footer-links a:hover { color: var(--text); }
