/* The same theme as the ANKA ERP Guide and API reference (AnkaAPI/wwwroot/docs/docs.css): teal #0a7d91, gold
   #f5b83d from the logo, the same inks, lines and dark palette, and the same fonts - Plus Jakarta Sans for headings,
   Inter for text (Google Fonts, linked in each page), falling back to Segoe UI. */
:root {
    --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-head: "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, sans-serif;
    --teal: #0a7d91;
    --teal-deep: #075f6e;
    --teal-night: #065866;
    --teal-soft: #e5f3f5;
    --gold: #f5b83d;
    --gold-deep: #8a5300;
    --ink: #1c2b33;
    --ink-soft: #3d4f58;
    --muted: #64747c;
    --line: #dde5e8;
    --bg: #ffffff;
    --bg-alt: #f5f8f9;
    --card: #ffffff;
    --shadow: 0 1px 2px rgba(16, 42, 52, .06), 0 4px 14px rgba(16, 42, 52, .06);
    --radius: 12px;
    --wrap: 1180px;
    --ok: #1e7b4a;
    --bad: #a61b1b;
    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root {
        --teal: #4cc1d4;
        --teal-soft: #12343b;
        --gold-deep: #f0b659;
        --ink: #e4edf0;
        --ink-soft: #c2d0d5;
        --muted: #8fa1a8;
        --line: #2a3a41;
        --bg: #10191d;
        --bg-alt: #132024;
        --card: #172328;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 14px rgba(0, 0, 0, .25);
        --ok: #6fd39c;
        --bad: #f28b82;
        color-scheme: dark;
    }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--font-head); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1d1400; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------------------------------------------------------------- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 26px;
    border-radius: 999px; font-weight: 700; font-size: 15.5px; border: 2px solid transparent; cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #231800; box-shadow: 0 8px 24px rgba(245, 184, 61, .35); }
.btn-gold:hover { background: #ffc653; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-deep); }
@media (prefers-color-scheme: dark) { .btn-teal { color: #04232a; } .btn-teal:hover { background: #6fd3e2; } }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* ---------------------------------------------------------------- header */
.site-header {
    position: sticky; top: 0; z-index: 50; background: var(--bg); background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 44px; width: auto; }
.logo .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo .logo-light { display: none; } .logo .logo-dark { display: block; } }
/* The full form, tucked under the word ANKA - which starts 120/112 of the logo's height in from its left edge */
.logo { display: flex; flex-direction: column; align-items: flex-start; flex: none; }
.logo:hover { text-decoration: none; }
.logo-full {
    margin: -11px 0 0 47px; font-size: 10px; font-weight: 500; line-height: 12px; letter-spacing: .01em;
    color: var(--muted); white-space: nowrap;
}
.logo-full b { color: var(--teal); font-weight: 700; }
/* Between the phone menu and a full desktop the line would squeeze the menu - the logo alone there */
@media (min-width: 901px) and (max-width: 1020px) { .logo-full { display: none; } }
/* A small phone has no room for one line beside the menu button - two lines instead */
@media (max-width: 400px) { .site-header .wrap { gap: 12px; } .logo-full { white-space: normal; width: 130px; } }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a { color: var(--ink-soft); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); background: var(--teal-soft); text-decoration: none; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.nav .btn { height: 42px; padding: 0 20px; margin-left: 8px; font-size: 14.5px; }
/* ".nav a" would otherwise win over the button's own colours */
.nav a.btn-teal, .nav a.btn-teal:hover { color: #fff; background: var(--teal); box-shadow: none; }
.nav a.btn-teal:hover { background: var(--teal-deep); }
@media (prefers-color-scheme: dark) { .nav a.btn-teal, .nav a.btn-teal:hover { color: #04232a; } .nav a.btn-teal:hover { background: #6fd3e2; } }
.nav-toggle {
    display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
    background: transparent; color: var(--ink); font-size: 20px; cursor: pointer;
}

/* ---------------------------------------------------------------- hero banner */
.hero {
    position: relative; overflow: hidden; color: #fff; padding: 0;
    background:
        radial-gradient(900px 500px at 85% 20%, rgba(24, 165, 184, .45), transparent 60%),
        radial-gradient(700px 420px at 10% 100%, rgba(245, 184, 61, .16), transparent 60%),
        linear-gradient(135deg, #04313a 0%, var(--teal-night) 45%, var(--teal) 100%);
}
.hero-numerals {
    position: absolute; inset: 0; pointer-events: none; user-select: none; overflow: hidden;
    font-size: 150px; font-weight: 800; line-height: 1; color: #fff; opacity: .05;
}
.hero-numerals span { position: absolute; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 13.5px; font-weight: 600;
}
.eyebrow b { color: var(--gold); font-weight: 700; }
.hero h1 { font-size: clamp(34px, 4.2vw, 52px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 22px 0 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 18px; color: rgba(255, 255, 255, .86); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 26px; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

/* ---------------------------------------------------------------- inner pages: the page banner */
.page-hero {
    position: relative; overflow: hidden; color: #fff; padding: 76px 0 70px;
    background:
        radial-gradient(700px 360px at 88% 10%, rgba(24, 165, 184, .45), transparent 60%),
        radial-gradient(520px 300px at 8% 110%, rgba(245, 184, 61, .16), transparent 60%),
        linear-gradient(135deg, #04313a 0%, var(--teal-night) 45%, var(--teal) 100%);
}
.page-hero .wrap { position: relative; }
.crumbs { font-size: 14px; color: rgba(255, 255, 255, .72); margin-bottom: 14px; }
.crumbs a { color: #fff; }
.page-hero h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; margin: 0 0 14px; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { font-size: 17.5px; color: rgba(255, 255, 255, .86); max-width: 700px; margin: 0; }

/* ---------------------------------------------------------------- home: what we do */
.card .more { display: inline-block; margin-top: 16px; font-weight: 700; }
.card .more::after { content: " →"; }
a.card { display: block; color: inherit; }
a.card:hover { text-decoration: none; }
a.card:hover .more { text-decoration: underline; }
.tech { display: flex; flex-wrap: wrap; gap: 12px; }
.tech span {
    padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
    font-weight: 700; color: var(--ink-soft);
}

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
    cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 16.5px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---------------------------------------------------------------- product: screens, rights, roadmap, reach */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.screens .card h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.count {
    flex: none; min-width: 38px; height: 30px; padding: 0 10px; border-radius: 999px; display: inline-grid; place-items: center;
    background: var(--teal); color: #fff; font-size: 14px; font-weight: 800;
}
@media (prefers-color-scheme: dark) { .count { color: #04232a; } }
.screens .card p { font-size: 14.5px; }
.rights { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.right { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.right b { display: block; }
.right span { color: var(--muted); font-size: 14px; }
.right i {
    flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal;
    background: var(--teal-soft); color: var(--teal); font-weight: 800;
}
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.roadmap .card { border-top: 4px solid var(--line); }
.roadmap .now { border-top-color: #1fa971; }
.roadmap .next { border-top-color: var(--gold); }
.roadmap .later { border-top-color: var(--muted); }
.roadmap .stage { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- solutions: what is ready today */
.ready { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-soft); }
.ready b { color: #1fa971; }

/* ---------------------------------------------------------------- about: the owner */
.owner {
    display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; align-items: center; max-width: 920px; margin: 0 auto;
    padding: 40px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.owner-mark {
    width: 180px; height: 180px; border-radius: 50%; display: grid; place-items: center; color: var(--gold);
    font-size: 58px; font-weight: 800; letter-spacing: .04em;
    background: radial-gradient(circle at 30% 25%, #18a5b8, #065866 60%, #04313a);
    box-shadow: 0 0 0 8px var(--teal-soft);
}
.owner h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; margin-bottom: 4px; }
.owner .owner-role { color: var(--teal); font-weight: 700; margin-bottom: 14px; }
.owner p { color: var(--muted); }
@media (max-width: 700px) {
    .owner { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 28px 20px; }
    .owner-mark { margin: 0 auto; width: 140px; height: 140px; font-size: 46px; }
    .owner .hero-actions { justify-content: center; }
}

/* ---------------------------------------------------------------- about: our story */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 30px 52px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
    content: ""; position: absolute; left: 6px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--card); border: 4px solid var(--teal);
}
.timeline li.next::before { border-color: var(--gold); }
.timeline .when { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.timeline h3 { font-size: 18px; margin: 4px 0 6px; }
.timeline p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- stats */
.stats { position: relative; margin-top: -44px; z-index: 2; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.stat { padding: 24px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 30px; font-weight: 700; color: var(--teal); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 14.5px; }

/* ---------------------------------------------------------------- sections */
section { padding: 96px 0; }
.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
@media (prefers-color-scheme: dark) { .kicker { color: var(--gold); } }
.section-head h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; }
.section-head p { color: var(--muted); font-size: 17px; }

.grid { display: grid; gap: 22px; }
/* a grid item's default minimum is its content's width - an image's 680px width attribute would hold the column
   open past a phone's screen - so every grid item may shrink */
.grid > *, .hero .wrap > *, .platform > *, .story > *, .contact > *, .stats-grid > *, .steps > *, .screens > *, .roadmap > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--teal) 35%, var(--line)); }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }
.card h3 { font-size: 18px; font-weight: 700; }
.card p { color: var(--muted); margin: 0; }
.icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
    background: var(--teal-soft); color: var(--teal);
}
.icon svg { width: 26px; height: 26px; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 22px; margin-bottom: 7px; color: var(--ink-soft); font-size: 15px; }
.card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ---------------------------------------------------------------- platform */
.platform { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.nest { border: 2px dashed color-mix(in srgb, var(--teal) 45%, transparent); border-radius: 20px; padding: 20px; background: var(--card); }
.nest .nest { margin-top: 14px; background: var(--bg-alt); }
.nest-title { font-weight: 800; font-size: 15px; }
.nest-note { color: var(--muted); font-size: 14px; }
.nest-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chip { display: inline-block; margin: 8px 6px 0 0; padding: 4px 11px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-size: 12.5px; font-weight: 700; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--ink-soft); }
.checks li::before {
    content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 12.5px; font-weight: 800;
}
@media (prefers-color-scheme: dark) { .checks li::before { color: #04232a; } }

/* ---------------------------------------------------------------- modules */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); margin-bottom: 30px; }
.tab { border: 0; background: transparent; color: var(--ink-soft); font: 700 14.5px inherit; padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--teal); color: #fff; }
@media (prefers-color-scheme: dark) { .tab[aria-selected="true"] { color: #04232a; } }
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.module {
    display: flex; align-items: flex-start; gap: 14px; padding: 18px; border-radius: 14px; background: var(--card);
    border: 1px solid var(--line);
}
.module .dot { flex: none; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; }
.module[data-stage="live"] .dot { background: #1fa971; box-shadow: 0 0 0 4px rgba(31, 169, 113, .18); }
.module[data-stage="build"] .dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(245, 184, 61, .2); }
.module[data-stage="plan"] .dot { background: var(--muted); box-shadow: 0 0 0 4px rgba(99, 118, 126, .16); }
.module b { display: block; font-size: 15.5px; }
.module span { color: var(--muted); font-size: 13.5px; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }

/* ---------------------------------------------------------------- solutions */
.solution { position: relative; overflow: hidden; }
.solution::after {
    content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 184, 61, .22), transparent 70%);
}
.solution .tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }

/* ---------------------------------------------------------------- process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 26px 20px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-size: 26px; font-weight: 700;
    color: transparent; -webkit-text-stroke: 1.5px var(--teal); margin-bottom: 10px;
}
.step h3 { font-size: 17px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------------------------------------------------------------- name story */
.story {
    display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding: 56px; border-radius: 28px; color: #fff;
    background: radial-gradient(600px 300px at 90% 10%, rgba(245, 184, 61, .22), transparent 60%), linear-gradient(135deg, #04313a, var(--teal-night) 55%, var(--teal));
}
.story .big { font-size: clamp(90px, 13vw, 170px); font-weight: 800; line-height: .9; color: var(--gold); }
.story .big small { display: block; font-size: 18px; font-weight: 600; color: rgba(255, 255, 255, .75); margin-top: 16px; letter-spacing: .02em; }
.story h2 { font-size: clamp(24px, 2.6vw, 32px); }
.story p { color: rgba(255, 255, 255, .84); }
.story .fullform { font-size: 15px; letter-spacing: .02em; color: rgba(255, 255, 255, .7); border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 16px; margin-top: 8px; }
.story .fullform b { color: var(--gold); }

/* ---------------------------------------------------------------- call to action */
.cta { text-align: center; }
.cta .box {
    padding: 64px 32px; border-radius: 28px; border: 1px solid var(--line); background:
        radial-gradient(500px 240px at 50% 0%, rgba(24, 165, 184, .18), transparent 70%), var(--card);
}
.cta h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; }
.cta p { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto 28px; }
.cta .hero-actions { justify-content: center; }
.contact-lines { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; color: var(--ink-soft); font-weight: 600; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #04313a; color: rgba(255, 255, 255, .78); padding: 56px 0 28px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 42px; width: auto; margin-bottom: 10px; }
/* the full form as in the header: ordinary capitals, the four initials picked out */
.site-footer .fullname { margin: 0 0 12px; font-size: 13px; font-weight: 500; letter-spacing: .01em; color: rgba(255, 255, 255, .78); }
.site-footer .fullname b { color: var(--gold); font-weight: 700; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 14.5px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; font-size: 13.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------------------------------------------------------------- shared section heading, about, contact */
.section-title { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; }
.section-lead { color: var(--muted); font-size: 17px; }
.story img { border-radius: 24px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list .icon { margin: 0; flex: none; }
.contact-list b { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 700; font-size: 16.5px; }
.contact-form h3 { font-size: 20px; margin-bottom: 18px; }
.contact-form .btn { width: 100%; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input, .field textarea {
    width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--bg);
    border: 1px solid var(--line); border-radius: 10px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(10, 125, 145, .22); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: 13px; margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.required { color: var(--bad); margin-left: 3px; }
.form-note { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.form-note.ok { color: var(--ok); font-weight: 600; }
[hidden] { display: none !important; }
.form-note.bad { color: var(--bad); font-weight: 600; }
.send-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form .send-row .btn { gap: 10px; }
.btn-whatsapp { background: #0f7a4f; color: #fff; }
.btn-whatsapp:hover { background: #0b6440; }
.btn-ghost-teal { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-ghost-teal:hover { background: var(--teal-soft); }
@media (max-width: 576px) { .send-row { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- tablet and phone */
@media (max-width: 1024px) {
    .steps, .steps.four { grid-template-columns: repeat(2, 1fr); }
    .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .nav-toggle { display: inline-grid; place-items: center; }
    .nav {
        display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px 16px 18px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    }
    .nav.open { display: flex; }
    .nav a { padding: 12px; }
    .nav .btn { margin: 8px 0 0; height: 48px; }
    .hero .wrap, .platform, .story, .contact { grid-template-columns: minmax(0, 1fr); }
    .hero .wrap { padding-top: 56px; padding-bottom: 88px; gap: 36px; }
    .grid-3, .screens { grid-template-columns: repeat(2, 1fr); }
    .roadmap { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .story { padding: 36px 28px; }
}
@media (max-width: 576px) {
    .wrap { padding: 0 16px; }
    section { padding: 64px 0; }
    .grid-3, .grid-2, .nest-row, .field-row, .screens { grid-template-columns: 1fr; }
    .faq summary { padding: 16px 18px; font-size: 15.5px; }
    .faq details p { padding: 0 18px 18px; }
    .steps, .steps.four { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .hero .lead { font-size: 16.5px; }
    .stat { padding: 18px; }
    .stat b { font-size: 26px; }
    .tabs { display: flex; border-radius: 16px; }
    .tab { flex: 1 1 45%; }
    .site-footer .wrap { grid-template-columns: 1fr; }
    .card { padding: 22px; }
}
