/* ATH-TECH landing — layout and components. Loaded after theme.css; every colour comes from its tokens. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
    margin: 0; background: var(--white); color: var(--ink);
    font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-darker); }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; color: #fff; }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 1.6px; color: var(--primary); text-transform: uppercase; }
.eyebrow--cyan { color: var(--cyan); }
.eyebrow--onblue { color: #dce8ff; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 12px 18px;
    border: 1px solid transparent; border-radius: var(--radius); font: inherit; font-size: 14px; font-weight: 700;
    cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn--lg { min-height: 48px; padding: 14px 22px; font-size: 15px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: #c9d3e3; }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--base-100); color: var(--ink); }
.btn--outline-light { color: #fff; border-color: #a9c4f5; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.pill--ok { color: #0b6e55; background: var(--success-tint); }
.pill--tag { font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--base-600); background: var(--base-100); padding: 5px 10px; }
.pill--cyan { color: var(--ink); background: var(--cyan); }
.pill--outline { color: #dce5f5; border: 1px solid #3a5590; padding: 3px 10px; }

.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 700; }

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid #e2e8f2; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .logo { width: 44px; height: 44px; flex: none; }
.brand__text { display: grid; line-height: 1.15; }
.brand__text b { font-size: 20px; font-weight: 800; letter-spacing: .03em; }
.brand__text small { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.2px; color: var(--base-600); }
.brand--light { color: #fff; }
.brand--light:hover { color: #fff; }
.brand--light small { color: var(--navy-muted); }

.nav { display: flex; align-items: center; gap: 4px 24px; font-size: 14px; font-weight: 600; }
.nav a:not(.btn) { color: #33405a; padding: 10px 0; }
.nav a:not(.btn):hover { color: var(--primary); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #c9d3e3; border-radius: var(--radius); background: #fff; color: var(--ink); cursor: pointer; }

@media (max-width: 880px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
        padding: 8px var(--gutter) 20px; background: #fff; border-bottom: 1px solid #e2e8f2; box-shadow: var(--shadow-md);
    }
    .nav.is-open { display: flex; }
    .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--base-200); }
    .nav__call { margin-top: 14px; }
}

/* ── Sections ──────────────────────────────────────────────────────────────── */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--base-100); border-block: 1px solid #e2e8f2; }
.section--navy { background: var(--navy-900); color: #fff; padding-block: clamp(64px, 8vw, 112px); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 64px; }
.section__head--split > * { flex: 1 1 420px; min-width: 0; }
.section__head h2, h2 { margin-top: 12px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -.8px; font-weight: 800; }
.section__head > p:last-child:not(.eyebrow) { margin-top: 14px; }
.h2--sm { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.6px; }
.section__lead { font-size: 16px; color: #4a5670; }
.section--navy .section__lead { color: #c3cee3; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero { background: var(--base-100); border-bottom: 1px solid #e2e8f2; }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: clamp(56px, 8vw, 104px); }
.hero__copy { flex: 1 1 480px; min-width: 0; }
.hero h1 { margin: 18px 0 20px; font-size: clamp(34px, 4.8vw, 60px); line-height: 1.1; letter-spacing: -1.5px; font-weight: 800; }
.hero__lead { max-width: 560px; margin-bottom: 32px; font-size: 18px; color: #4a5670; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; font-size: 14px; font-weight: 600; color: #33405a; }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks svg { color: var(--success); }

.flow {
    flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px;
    background: #fff; border: 1px solid #dce4f0; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.flow__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #e2e8f2; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; }
.flow__label { margin-top: 4px; font-size: 11px; letter-spacing: 1.2px; color: var(--base-600); }
.flow__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.flow__chip { padding: 10px 6px; border: 1px solid #e2e8f2; border-radius: var(--radius); font-size: 13px; font-weight: 600; text-align: center; }
.flow__chip--tool { background: #eef3fd; border-color: transparent; font-weight: 700; color: var(--primary-darker); }
.flow__divider { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 1px; color: var(--base-600); }
.flow__divider span { flex: 1; height: 1px; background: #c9d3e3; }
.flow__core { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); }
.flow__coreicon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: var(--radius); background: var(--primary); }
.flow__coretext { display: grid; line-height: 1.35; }
.flow__coretext b { font-size: 15px; }
.flow__coretext small { font-size: 13px; color: #b9c6de; }
.flow__out { padding: 12px 16px; border: 1px dashed #9fb3d6; border-radius: 12px; font-size: 13px; font-weight: 600; color: #33405a; text-align: center; }

/* ── Fact strip ────────────────────────────────────────────────────────────── */
.facts { border-bottom: 1px solid #e2e8f2; }
.facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; padding-block: 28px; }
.facts__grid > div { display: grid; gap: 2px; }
.facts b { font-size: 28px; font-weight: 800; }
.facts span { font-size: 14px; color: #4a5670; }

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid #e2e8f2; border-radius: 16px; }
.card h3 { margin-top: 4px; font-size: 20px; font-weight: 700; }
.card p { font-size: 15px; color: #4a5670; }
.card strong { color: var(--ink); }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #eef3fd; color: var(--primary); }
.card__icon--lg { width: 52px; height: 52px; }

/* ── Ecosystem ─────────────────────────────────────────────────────────────── */
.core {
    display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; margin-bottom: 20px; padding: clamp(28px, 4vw, 44px);
    border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
}
.core__main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.core__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.core__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--primary); }
.core__badge { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; color: var(--cyan); }
.core h3 { margin-top: 6px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.5px; }
.core p { max-width: 560px; font-size: 16px; color: #c3cee3; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 12px; border: 1px solid #2e4370; border-radius: 8px; font-size: 13px; font-weight: 600; color: #dce5f5; }
.core__side { flex: 0 1 280px; display: flex; flex-direction: column; gap: 12px; }
.core__side span { font-size: 13px; color: #9fb0cc; text-align: center; }

.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 20px; }
.tool { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #fff; border: 1px solid #e2e8f2; border-radius: var(--radius-lg); transition: box-shadow .2s, transform .2s; }
.tool:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tool__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tool h3 { margin-top: 8px; font-size: 21px; font-weight: 700; }
.tool > p { font-size: 15px; color: #4a5670; }
.tool .link { margin-top: auto; padding-top: 8px; }
.ticks { display: grid; gap: 8px; padding-top: 4px; font-size: 14px; color: #33405a; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 4px; color: var(--success); }

.api { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: 28px; background: #fff; border: 1px solid #c9d7f0; border-radius: var(--radius-lg); }
.api__icon { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px; background: #e6f6fb; color: #0b6e8a; }
.api__text { flex: 1 1 420px; min-width: 0; }
.api h3 { margin-bottom: 6px; font-size: 21px; font-weight: 700; }
.api p { font-size: 15px; color: #4a5670; }

/* ── Process ───────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 3px solid var(--primary); }
.step__no { font-size: 14px; font-weight: 600; color: var(--primary); }
.step h3 { font-size: 19px; font-weight: 700; }
.step p { font-size: 15px; color: #4a5670; }
.step--last { border-top-color: var(--ink); }
.step--last .step__no { color: var(--ink); }

/* ── Strategy ──────────────────────────────────────────────────────────────── */
.section--navy h2 { color: #fff; }
.pillars {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; margin-bottom: 64px;
    background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: var(--radius-lg); overflow: hidden;
}
.pillar { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--navy-card); }
.pillar__icon { color: var(--cyan); }
.pillar h3 { font-size: 18px; font-weight: 700; }
.pillar p { font-size: 14px; color: #b9c6de; }
.roadmap__title { margin-bottom: 24px; font-size: 22px; font-weight: 700; }
.roadmap { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.phase { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--navy-line); background: var(--navy-card); border-radius: 16px; }
.phase--current { border-color: #3a5590; background: var(--navy-700); }
.phase__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.phase__head .mono { font-size: 13px; font-weight: 600; color: var(--cyan); }
.phase h4 { font-size: 20px; font-weight: 700; }
.phase ul { display: grid; gap: 6px; padding-left: 18px; list-style: disc; font-size: 14px; color: #c3cee3; }

/* ── Audience ──────────────────────────────────────────────────────────────── */
.audience { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.audience__who { flex: 1 1 340px; min-width: 0; }
.audience__value { flex: 1 1 460px; min-width: 0; }
.audience h2 { margin-bottom: 24px; }
.who { display: grid; gap: 12px; }
.who li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid #e2e8f2; border-radius: 12px; }
.who__icon { padding-top: 2px; color: var(--primary); }
.who strong { display: block; font-size: 16px; }
.who span > span { font-size: 14px; color: #4a5670; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px 32px; margin-top: 24px; }
.values h3 { margin-bottom: 6px; font-size: 17px; font-weight: 700; }
.values p { font-size: 14px; color: #4a5670; }

/* ── Contact ───────────────────────────────────────────────────────────────── */
.section--contact { border-bottom: 0; }
.contact { display: flex; flex-wrap: wrap; gap: 24px; }
.contact__cta {
    flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 4vw, 40px);
    border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-darker));
}
.contact__cta h2 { margin: 0; color: #fff; }
.contact__cta p:not(.eyebrow) { font-size: 16px; color: #e6eeff; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 12px; }
.contact__info { flex: 1 1 460px; min-width: 0; padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid #e2e8f2; border-radius: 20px; }
.contact__info h3 { margin-bottom: 12px; font-size: 20px; font-weight: 800; }
.contact__info dl > div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid #e2e8f2; }
.contact__info dl > div:last-child { border-bottom: 0; }
.contact__info dt { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--base-600); }
.contact__info dt svg { color: var(--primary); }
.contact__info dd { padding-left: 30px; font-size: 15px; }
.contact__info dd a { font-weight: 600; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer { padding: 48px 0 24px; background: #071026; color: #b9c6de; }
.site-footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 64px; padding-bottom: 32px; border-bottom: 1px solid #1e2c4c; }
.site-footer__about { flex: 1 1 320px; max-width: 400px; }
.site-footer__about p { margin-top: 16px; font-size: 14px; }
.site-footer .site-footer__tax { margin-top: 8px; font-size: 13px; color: #8e9dba; }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.site-footer nav strong { margin-bottom: 4px; color: #fff; }
.site-footer nav a { color: #b9c6de; }
.site-footer nav a:hover { color: #fff; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; font-size: 13px; color: #8e9dba; }

/* ── 404 ───────────────────────────────────────────────────────────────────── */
.notfound { min-height: 60vh; display: grid; place-items: center; background: var(--base-100); }
.notfound__box { display: grid; gap: 16px; justify-items: start; padding-block: 80px; }
.notfound h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -1px; }
.notfound p:not(.eyebrow) { color: #4a5670; }
