/* ============================================================
   SME PLATFORM — LANDING PAGE
   Design system: "The Digital Ledger"
   Ink navy + emerald growth-green + a single burnt-copper accent.
   Display: Space Grotesk / Body: IBM Plex Sans / Data: IBM Plex Mono
   ============================================================ */

:root {
    --ink:        #10151F;
    --ink-soft:   #4B5563;
    --paper:      #FFFFFF;
    --paper-soft: #F5F6F3;
    --paper-dim:  #EEF0EC;
    --line:       #E1E4DE;

    --emerald:      #00875A;
    --emerald-dark: #046A47;
    --emerald-tint: #E4F3EC;

    --copper:      #B5541F;
    --copper-tint: #F7E9DE;

    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body:    'IBM Plex Sans', sans-serif;
    --font-mono:    'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }

.landing-body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

.landing-body h1, .landing-body h2, .landing-body h3, .landing-body h4 {
    font-family: var(--font-display);
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.mono { font-family: var(--font-mono); }

/* ── Ledger-tape rule: the recurring structural motif ─────── */
.ledger-rule {
    height: 1px;
    background-image: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}

/* ── Nav ─────────────────────────────────────────────────── */
.landing-nav {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 0;
    position: sticky; top: 0; z-index: 200;
}
.landing-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.landing-nav .brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
    display: flex; align-items: center; gap: 8px;
}
.landing-nav .brand::before {
    content: '';
    display: inline-block;
    width: 9px; height: 9px;
    background: var(--emerald);
    border-radius: 2px;
}
.brand-logo { height: 30px; }
.landing-nav-center { display: flex; gap: 30px; }
.landing-nav-center a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
}
.landing-nav-center a:hover { color: var(--ink); }
.landing-nav-links { display: flex; align-items: center; gap: 22px; }
.landing-nav-link { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 14.5px; }
.landing-nav-link:hover { color: var(--ink); }

@media (max-width: 860px) { .landing-nav-center { display: none; } }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 1.5px solid transparent;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.btn-primary:hover { background: var(--emerald-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 15.5px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }

/* ── Hero ────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    padding: 76px 20px 0;
    overflow: hidden;
}
.hero-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}
.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--emerald-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}
.hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--emerald);
    border-radius: 50%;
}
.hero-copy h1 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 22px;
    max-width: 620px;
}
.hero-copy p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 480px;
    margin-bottom: 32px;
}
.hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-scroll-link {
    font-size: 14px; font-weight: 600; color: var(--ink-soft); text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
}
.hero-scroll-link:hover { color: var(--ink); }

/* ── Ledger card (signature element) ────────────────────── */
.ledger-card-wrap { position: relative; display: flex; justify-content: center; padding: 10px 0 40px; }
.ledger-card {
    width: 100%;
    max-width: 400px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -20px rgba(16,21,31,0.18), 0 6px 16px -6px rgba(16,21,31,0.08);
    transform: rotate(-2.2deg);
    padding: 0;
    overflow: hidden;
}
.ledger-card-perf {
    height: 14px;
    background-image: radial-gradient(circle, var(--paper-soft) 3px, transparent 3px);
    background-size: 16px 16px;
    background-position: 4px center;
    border-bottom: 1px dashed var(--line);
}
.ledger-card-body { padding: 26px 26px 22px; }
.ledger-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.ledger-card-label { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.ledger-card-num { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--ink); margin-top: 3px; }
.status-pill {
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    padding: 4px 10px; border-radius: 999px;
    background: var(--emerald-tint); color: var(--emerald-dark);
    display: inline-flex; align-items: center; gap: 5px;
}
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }
.ledger-card-client { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.ledger-card-client-sub { font-size: 13px; color: var(--ink-soft); margin-bottom: 20px; }
.ledger-card-amount-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.ledger-card-amount { font-family: var(--font-mono); font-size: 32px; font-weight: 500; letter-spacing: -0.01em; }
.ledger-card-currency { font-family: var(--font-mono); font-size: 14px; color: var(--ink-soft); }
.ledger-card-bars { display: flex; gap: 4px; align-items: flex-end; height: 32px; margin-bottom: 18px; }
.ledger-card-bars span { flex: 1; background: var(--paper-dim); border-radius: 2px; }
.ledger-card-bars span.up { background: var(--emerald); }
.ledger-card-foot { display: flex; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 14px; }
.ledger-card-foot div { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }
.ledger-card-foot strong { display: block; color: var(--ink); font-size: 13px; font-weight: 500; margin-top: 2px; }
.ledger-clip {
    position: absolute; top: -14px; right: 46px;
    width: 34px; height: 46px;
    border: 3px solid var(--copper);
    border-radius: 8px 8px 30px 30px / 8px 8px 20px 20px;
    background: transparent;
    transform: rotate(8deg);
}

/* ── Ticker / capability strip ──────────────────────────── */
.capability-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper-soft);
    padding: 16px 0;
    margin-top: 56px;
    overflow: hidden;
}
.capability-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink-soft);
    animation: ticker 32s linear infinite;
    width: max-content;
}
.capability-track span { display: flex; align-items: center; gap: 40px; }
.capability-track span::after { content: '•'; color: var(--copper); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .capability-track { animation: none; } }

/* ── Section shell ───────────────────────────────────────── */
.ls-section { padding: 96px 20px; }
.ls-section.tight { padding: 72px 20px; }
.ls-inner { max-width: 1160px; margin: 0 auto; }
.ls-head { max-width: 640px; margin-bottom: 52px; }
.ls-kicker {
    font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: var(--copper); margin-bottom: 14px; display: block;
}
.ls-head h2 { font-size: 34px; font-weight: 700; margin-bottom: 14px; }
.ls-head p { font-size: 16.5px; color: var(--ink-soft); line-height: 1.6; }

/* ── App / module grid ──────────────────────────────────── */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-tile {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--paper);
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.app-tile:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(16,21,31,.18); }
.app-tile-badge {
    width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-weight: 700; font-size: 13px;
    margin-bottom: 18px; color: #fff;
}
.app-tile h3 { font-family: var(--font-body); font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.app-tile p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 16px; }
.app-tile-ghost {
    font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft);
    border-top: 1px dashed var(--line); padding-top: 12px;
}
@media (max-width: 860px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .app-grid { grid-template-columns: 1fr; } }

/* ── Roadmap timeline (legitimate sequence → numbered) ─── */
.timeline { position: relative; }
.timeline-track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    position: relative;
}
.timeline-track::before {
    content: '';
    position: absolute; top: 19px; left: 0; right: 0; height: 1px;
    background-image: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.timeline-step { padding: 0 14px 0 0; position: relative; }
.timeline-num {
    font-family: var(--font-mono); font-size: 13px; font-weight: 600;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--paper); border: 1.5px solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; position: relative; z-index: 2;
}
.timeline-step.is-active .timeline-num { background: var(--ink); color: #fff; }
.timeline-step h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.timeline-step p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 900px) {
    .timeline-track { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
    .timeline-track::before { display: none; }
}

/* ── Industries ──────────────────────────────────────────── */
.industry-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.industry-tag {
    font-size: 13.5px; font-weight: 500; color: var(--ink);
    background: var(--paper-soft); border: 1px solid var(--line);
    padding: 9px 16px; border-radius: 999px;
}

/* ── Enterprise trio ─────────────────────────────────────── */
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trio-item { background: var(--paper); padding: 32px 28px; }
.trio-item .mono-label { font-family: var(--font-mono); font-size: 11px; color: var(--copper); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; display: block; }
.trio-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.trio-item p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 780px) { .trio-grid { grid-template-columns: 1fr; } }

/* ── CTA band ────────────────────────────────────────────── */
.cta-band { background: var(--ink); color: #fff; text-align: center; padding: 88px 20px; }
.cta-band h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.cta-band p { color: #A9B0BE; font-size: 16px; margin-bottom: 30px; }
.cta-band .btn-primary { background: var(--emerald); }
.cta-band .btn-outline { color: #fff; border-color: #333B4A; }
.cta-band .btn-outline:hover { border-color: #fff; }

/* ── Footer (refined) ───────────────────────────────────── */
.landing-footer { background: var(--ink); color: #94A0AF; padding: 44px 0 0; text-align: left; }
.landing-footer .brand { color: #fff; font-family: var(--font-display); font-weight: 700; }
.landing-footer .brand::before { background: var(--emerald); }
.landing-footer h4 { color: #fff; font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; font-weight: 500; }
.landing-footer p, .landing-footer a { color: #8993A3; font-size: 14px; text-decoration: none; line-height: 1.7; }
.landing-footer a:hover { color: #fff; }
.landing-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding-bottom: 32px; }
.landing-footer-about { max-width: 300px; }
.landing-social { display: flex; flex-direction: column; gap: 8px; }
.landing-footer-bottom { border-top: 1px solid #232A38; padding: 18px 20px; font-size: 12.5px; color: #5C6675; font-family: var(--font-mono); }

@media (max-width: 700px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy h1 { font-size: 36px; }
    .hero-copy p { max-width: 100%; }
    .ledger-card { transform: rotate(0deg); max-width: 340px; }
    .ls-head h2 { font-size: 27px; }
    .landing-footer-grid { grid-template-columns: 1fr; }
}
