:root {
    --bg: #ffffff;
    --bg-soft: #f5f7fa;
    --bg-elevated: #edf1f7;
    --text: #1a1a2e;
    --text-muted: #5a6377;
    --highlight: #0077cc;
    --accent: #003d66;
    --border: #dde3ea;
    --max-content: 960px;
    --nav-height: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--highlight);
    text-decoration: none;
    transition: color 140ms ease;
}
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}
.site-header .wrap {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-header .brand a {
    display: inline-block;
    line-height: 0;
}
.site-header .brand img {
    height: 36px;
    width: auto;
}
.site-header nav {
    display: flex;
    gap: 28px;
    font-size: 14px;
    font-weight: 500;
}
.site-header nav a {
    color: var(--text-muted);
    letter-spacing: 0.01em;
    position: relative;
}
.site-header nav a:hover,
.site-header nav a.active {
    color: var(--text);
}
.site-header nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 2px;
    background: var(--highlight);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: transform 200ms ease, opacity 200ms ease;
}

@media (max-width: 680px) {
    .hamburger { display: block; }
    .site-header nav {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0; right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 24px 24px;
        gap: 16px;
    }
    .site-header nav.open { display: flex; }
}

/* ---- Hero ---- */
.hero {
    padding: 100px 24px 80px;
    text-align: center;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}
.hero .wrap {
    max-width: var(--max-content);
    margin: 0 auto;
}
.hero h1 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--accent);
    margin-bottom: 16px;
}
.hero .subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.5;
}
.hero .cta {
    display: inline-block;
    background: var(--highlight);
    color: #fff;
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    transition: background 140ms ease, transform 100ms ease;
}
.hero .cta:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-1px);
}

/* ---- Sections ---- */
.section {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 80px 24px;
}
.section + .section {
    border-top: 1px solid var(--border);
}
.section.alt {
    background: var(--bg-soft);
    max-width: 100%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section.alt .wrap {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 24px;
}
.section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}
.section .lead {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ---- Cards ---- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 32px 28px;
    transition: box-shadow 200ms ease, transform 200ms ease;
}
.card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}
.card .tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--highlight);
    margin-bottom: 12px;
}

/* ---- Product blocks ---- */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}
.product {
    padding: 28px 0;
}
.product h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}
.product .tagline {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--highlight);
    margin-bottom: 16px;
}
.product p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}
.product ul {
    list-style: none;
    padding: 0;
}
.product ul li {
    color: var(--text-muted);
    font-size: 15px;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}
.product ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--highlight);
}

/* ---- Timeline ---- */
.timeline {
    position: relative;
    padding-left: 32px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-item {
    position: relative;
    margin-bottom: 36px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--highlight);
    border: 2px solid var(--bg);
}
.timeline-item .year {
    font-size: 13px;
    font-weight: 700;
    color: var(--highlight);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.timeline-item p {
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---- Testimonial ---- */
.testimonial {
    background: var(--bg-soft);
    border-left: 3px solid var(--highlight);
    padding: 28px 32px;
    border-radius: 0 6px 6px 0;
    margin: 40px 0;
}
.testimonial blockquote {
    font-style: italic;
    font-size: 17px;
    color: var(--text);
    line-height: 1.6;
}

/* ---- Footer ---- */
.site-footer {
    background: #0b1f33;
    color: #93a8c1;
    padding: 60px 24px 40px;
    margin-top: 80px;
}
.site-footer .wrap {
    max-width: var(--max-content);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}
.site-footer h4 {
    color: #d6e4f0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.site-footer p, .site-footer a {
    font-size: 14px;
    line-height: 1.7;
}
.site-footer a {
    color: #93a8c1;
}
.site-footer a:hover {
    color: #d6e4f0;
}
.site-footer .footer-links {
    list-style: none;
}
.site-footer .footer-links li {
    margin-bottom: 8px;
}
.site-footer .bottom {
    max-width: var(--max-content);
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(147,168,193,0.2);
    text-align: center;
    font-size: 13px;
}
@media (max-width: 680px) {
    .site-footer .wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ---- Legal pages ---- */
.legal {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 60px 24px 80px;
}
.legal h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 32px;
}
.legal h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 48px;
    margin-bottom: 12px;
}
.legal h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-top: 32px;
    margin-bottom: 8px;
}
.legal p {
    margin-bottom: 12px;
    color: var(--text-muted);
}
.legal ul {
    margin: 12px 0 12px 24px;
    color: var(--text-muted);
}
.legal ul li {
    margin-bottom: 6px;
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
