/* TracePRO MES landing page. No external resources: system fonts, inline SVG icons. */
:root {
    --brand: #256e5d;
    --brand-dark: #1a4f43;
    --brand-darker: #0f2e27;
    --brand-light: #5dbfa8;
    --brand-pale: #e8f4f0;
    --text: #1f2a28;
    --muted: #5b6b67;
    --border: #d9e4e0;
    --bg-alt: #f5f8f7;
    --radius: 10px;
    --shadow: 0 10px 30px rgba(15, 46, 39, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    font-size: 17px;
    background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow {
    display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}

/* buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px;
    border-radius: 8px; font-weight: 600; text-decoration: none; border: 2px solid transparent;
    transition: transform 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-light); color: var(--brand-darker); }
.btn-primary:hover { background: #79cdb9; color: var(--brand-darker); }
.btn-outline { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-dark); color: #fff; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

/* header */
.site-header {
    position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border); backdrop-filter: blur(6px);
}
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.25rem; }
.logo img { height: 36px; width: auto; }
.logo b { color: var(--brand); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--brand); }
.site-header .btn { padding: 8px 16px; font-size: 0.95rem; }

/* hero */
.hero { background: linear-gradient(160deg, var(--brand-darker), var(--brand-dark) 70%, var(--brand)); color: #fff; padding: 80px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 2.7rem; }
.hero .lead { font-size: 1.2rem; color: #d3ebe4; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); background: #fff; }
.hero .shot { border: none; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.shot img { width: 100%; }
figure { margin: 0; }
figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 10px; }

/* numbers */
.numbers { background: var(--brand-pale); padding: 48px 0; }
.numbers .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.number strong { display: block; font-size: 2.1rem; color: var(--brand-dark); line-height: 1.1; }
.number span { color: var(--muted); font-size: 0.95rem; }
.numbers .source { margin: 24px 0 0; font-size: 0.9rem; color: var(--muted); }

/* process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; margin-bottom: 48px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; position: relative; }
.step::before {
    counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* features */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; margin-bottom: 80px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .text { order: 2; }
.feature ul { padding-left: 1.2em; margin: 0; }
.feature li { margin-bottom: 0.4em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.card .icon { width: 36px; height: 36px; color: var(--brand); margin-bottom: 14px; }
.card p, .card li { color: var(--muted); font-size: 0.95rem; }
.card ul { padding-left: 1.1em; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag { background: var(--brand-pale); color: var(--brand-dark); border-radius: 6px; padding: 4px 10px; font-size: 0.85rem; font-weight: 600; }

/* demo */
.demo .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.demo ol { padding-left: 1.2em; }
.demo li { margin-bottom: 0.4em; }

/* references */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ref { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.ref h3 { margin-bottom: 4px; }
.ref .sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.ref ul { padding-left: 1.1em; margin: 0 0 16px; color: var(--muted); font-size: 0.95rem; }
.ref .more { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }

/* contact + footer */
.contact { background: var(--brand-darker); color: #fff; text-align: center; }
.contact p { color: #d3ebe4; font-size: 1.15rem; max-width: 640px; margin: 0 auto 28px; }
.contact .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.site-footer { background: #0a201b; color: #9fb7b0; padding: 32px 0; font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: #cfe3dd; text-decoration: none; margin-left: 18px; }
.site-footer a:hover { color: #fff; }

@media (max-width: 960px) {
    .nav { display: none; }
    .hero .wrap, .demo .wrap, .feature { grid-template-columns: 1fr; gap: 32px; }
    .feature.flip { grid-template-columns: 1fr; }
    .feature.flip .text { order: 0; }
    .steps { grid-template-columns: 1fr 1fr; }
    .numbers .grid, .cards, .refs { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.1rem; }
}
@media (max-width: 600px) {
    .steps, .numbers .grid, .cards, .refs { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .site-header .btn { display: none; }
    .site-footer a { margin: 0 18px 0 0; }
}
