:root {
    --navy: #08223d;
    --blue: #0040b5;
    --blue-dark: #00358f;
    --green: #10b981;
    --ink: #08223d;
    --muted: #7a7a7a;
    --line: #eeeff2;
    --pale: #fcfcfc;
    --white: #fff;
    --shadow: 0 18px 50px rgba(8, 34, 61, .12);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
input, select, textarea, button { font: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.section-anchor { scroll-margin-top: 92px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -60px; padding: 10px 14px; background: var(--navy); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(8,34,61,.08); backdrop-filter: blur(14px); transition: box-shadow .28s ease, background .28s ease, transform .28s ease; }
.site-header.is-scrolled { background: rgba(255,255,255,.98); box-shadow: 0 10px 28px rgba(8,34,61,.12); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 177px; height: 47px; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: .96rem; }
.site-nav a { position: relative; text-decoration: none; color: var(--navy); font-weight: 500; transition: color .25s ease, transform .25s ease; }
.site-nav a:not(.nav-login)::after { position: absolute; content: ""; left: 0; right: 0; bottom: -9px; height: 3px; border-radius: 99px; background: var(--blue); opacity: 0; transform: scaleX(.25); transform-origin: center; transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.site-nav a:hover, .site-nav a.active { color: var(--blue); }
.site-nav a:not(.nav-login):hover, .site-nav a.active:not(.nav-login) { transform: translateY(-2px); }
.site-nav a:not(.nav-login):hover::after, .site-nav a.active:not(.nav-login)::after { opacity: 1; transform: scaleX(1); }
.site-nav a.active-changing:not(.nav-login) { animation: nav-section-change .45s ease both; }
.site-nav .nav-login { color: #fff; background: var(--blue); border-radius: 11px; padding: 12px 25px; font-weight: 700; box-shadow: 0 8px 18px rgba(0,64,181,.18); }
.site-nav .nav-login:hover { color: #fff; background: var(--blue-dark); }

@keyframes nav-section-change {
    0% { opacity: .55; transform: translateY(4px) scale(.96); }
    65% { transform: translateY(-3px) scale(1.04); }
    100% { opacity: 1; transform: translateY(-2px) scale(1); }
}
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: var(--navy); }

.hero { position: relative; min-height: 780px; padding: 170px 0 100px; color: #fff; background: center/cover url("TracSide_background.webp"); overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,34,61,.84), rgba(8,34,61,.32) 58%, rgba(8,34,61,.54)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 90px; min-height: 510px; }
.hero-copy { max-width: 620px; }
.eyebrow { margin: 0 0 14px; color: var(--green); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; }
.hero h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 650px; margin-bottom: 22px; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.03; letter-spacing: -.055em; font-weight: 600; }
.hero-text { max-width: 500px; margin-bottom: 34px; color: rgba(255,255,255,.85); font-size: 1.08rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 10px; cursor: pointer; text-decoration: none; font-weight: 500; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 10px 20px rgba(0,64,181,.18); }
.button-primary:hover { background: var(--blue-dark); }
.button-light { color: var(--navy); background: #fff; }
.quick-form-card, .contact-form-wrap { width: min(100%, 440px); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(236,236,236,.95); }
.quick-form-card { justify-self: end; padding: 32px; }
.quick-form-card h2 { margin-bottom: 20px; color: var(--navy); font-size: 1.75rem; text-align: center; font-weight: 600; }
.contact-form { display: grid; gap: 12px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 15px; color: var(--ink); background: #fff; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,64,181,.12); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-field { display: grid; gap: 6px; }
.form-field label { color: var(--navy); font-size: .88rem; font-weight: 700; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.turnstile-slot { min-height: 0; }
.form-status { min-height: 1.5em; margin: 0; color: var(--muted); font-size: .88rem; }
.form-status.success { color: #047857; }
.form-status.error { color: #b91c1c; }

.about { padding: 120px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 95px; }
.about-media { position: relative; }
.about-media::before { position: absolute; content: ""; z-index: 0; inset: 28px -28px -28px 28px; border: 2px solid rgba(0,64,181,.13); border-radius: var(--radius); }
.about-media > img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-badge { position: absolute; z-index: 2; right: -24px; bottom: -22px; display: flex; align-items: center; gap: 10px; padding: 16px 18px; color: #fff; background: var(--navy); border-radius: 12px; box-shadow: var(--shadow); }
.media-badge strong { color: var(--green); font-size: 1.8rem; line-height: 1; }
.media-badge span { font-size: .76rem; line-height: 1.25; }
.about-copy h2, .contact-info h2, .platform-callout h2 { color: var(--navy); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.045em; }
.about-copy p { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--blue); text-decoration: none; font-weight: 800; }
.text-link:hover { gap: 12px; }
.about-focus { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 80px; margin-top: 110px; }
.about-focus h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.045em; }
.about-focus img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.old-values-section { padding: 0 0 80px; background: #fff; }
.old-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 22px 0; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px #ececec; }
.old-values-grid > div { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.old-values-grid > div + div { border-left: 1px solid #fcfcfc; }
.old-value-icon { display: grid; place-items: center; width: 48px; height: 48px; color: #3ab4ea; background: #eaf2fe; border-radius: 50%; font-size: 24px; }
.old-values-grid strong { font-size: 18px; }
.old-about { padding: 110px 0; background: #fff; }
.old-about-copy { max-width: 900px; margin: 0 auto 55px; text-align: center; }
.old-about-copy h2, .old-advantages h2, .old-platforms h2, .old-access h2 { margin: 0 0 18px; color: var(--navy); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; font-weight: 600; }
.old-about-copy p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.old-about-images { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
.old-about-images img { width: 100%; border-radius: 4px; }
.old-advantages { padding: 70px 0; background: #eaf2fe; }
.old-advantages ul, .old-access ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; max-width: 760px; padding: 0; margin: 0; color: var(--muted); list-style: none; }
.old-advantages li::before, .old-access li::before { content: "✓"; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 9px; color: #fff; background: #2bbc28; border-radius: 50%; font-size: 11px; }
.old-platforms { padding: 90px 0; background: #fff; text-align: center; }
.old-platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.old-platform-grid article { padding: 30px; background: #fcfcfc; border: 1px solid var(--line); border-radius: 10px; }
.old-platform-icon { display: block; margin-bottom: 14px; color: var(--blue); font-size: 42px; }
.old-platform-grid h3 { margin: 0 0 6px; color: var(--navy); }
.old-platform-grid p { margin: 0; color: var(--muted); }
.old-access { padding: 90px 0; background: #fff; }
.old-access-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; }
.old-access-grid img { width: 100%; max-height: 420px; object-fit: cover; object-position: center top; border-radius: 10px; }

.products { padding: 105px 0 120px; background: #eaf2fe; }
.section-heading { max-width: 650px; margin: 0 auto 48px; text-align: center; }
.section-heading h2 { margin-bottom: 12px; color: var(--navy); font-size: clamp(2.15rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -.05em; }
.section-heading > p:last-child { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { display: flex; flex-direction: column; min-height: 0; padding: 0; background: #fff; border: 1px solid #d3d3d3; border-radius: 10px; box-shadow: none; overflow: hidden; }
.product-card-featured { transform: none; border-top: 1px solid #d3d3d3; box-shadow: none; }
.product-icon { display: grid; place-items: center; width: 100%; height: 150px; margin: 0; padding: 30px; background: var(--navy); border-radius: 10px 10px 0 0; }
.product-icon img { width: 68px; height: 68px; object-fit: contain; }
.product-card-body { display: flex; flex-direction: column; min-height: 400px; padding: 40px 30px 50px; }
.product-card h3 { margin-bottom: 8px; color: var(--navy); font-size: 1.35rem; font-weight: 600; text-align: center; }
.product-card p { color: var(--navy); font-size: 15px; line-height: 20px; }
.product-card .product-label { color: var(--navy); font-size: .95rem; font-weight: 500; text-align: center; }
.product-card ul { padding: 0; margin: 0 0 20px; color: var(--muted); font-size: .92rem; list-style: none; }
.product-card li { position: relative; padding-left: 24px; margin: 5px 0; }
.product-card li::before { position: absolute; left: 0; top: 1px; content: "✓"; display: grid; place-items: center; width: 16px; height: 16px; color: #fff; background: #2bbc28; border-radius: 50%; font-size: 11px; font-weight: 700; }
.product-button { align-self: center; margin-top: auto; padding: 10px 30px; min-height: 0; border: 1px solid var(--blue); }

.platform-callout { padding: 115px 0; color: #fff; background: var(--navy); overflow: hidden; }
.platform-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; }
.platform-callout h2 { max-width: 560px; color: #fff; }
.platform-callout p:not(.eyebrow) { max-width: 560px; margin-bottom: 28px; color: rgba(255,255,255,.72); }
.platform-grid > img { width: 100%; max-height: 390px; object-fit: cover; object-position: center top; border: 5px solid rgba(255,255,255,.13); border-radius: 16px; box-shadow: 0 25px 70px rgba(0,0,0,.35); }

.contact { padding: 120px 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 90px; }
.contact-info > p:not(.eyebrow) { max-width: 500px; color: var(--muted); }
.contact-detail { display: grid; gap: 2px; margin-top: 18px; }
.contact-detail span { color: var(--muted); font-size: .79rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-detail strong, .contact-detail a { color: var(--navy); text-decoration: none; font-weight: 750; }
.social-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 32px; color: var(--blue); font-weight: 750; }
.contact-form-wrap { width: auto; justify-self: stretch; padding: 32px; }

.site-footer { color: rgba(255,255,255,.74); background: #061a2f; }
.footer-top { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: center; padding: 52px 0 42px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top img { width: 170px; }
.footer-top p { max-width: 600px; margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: .83rem; }
.footer-bottom a { color: #fff; text-decoration: none; }
.privacy-dialog { width: min(560px, calc(100% - 32px)); padding: 38px; color: var(--ink); border: 0; border-radius: var(--radius); box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.privacy-dialog::backdrop { background: rgba(8,34,61,.7); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; color: var(--muted); font-size: 1.8rem; cursor: pointer; }

@media (max-width: 860px) {
    .container { width: min(100% - 32px, 680px); }
    .header-inner { min-height: 72px; }
    .menu-toggle { display: block; }
    .site-nav { position: absolute; inset: 72px 16px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 12px 14px; }
    .site-nav .nav-login { text-align: center; margin-top: 6px; }
    .hero { min-height: auto; padding: 130px 0 72px; }
    .hero-grid, .about-grid, .about-focus, .platform-grid, .contact-grid, .old-about-images, .old-access-grid { grid-template-columns: 1fr; gap: 50px; }
    .quick-form-card { justify-self: stretch; }
    .about, .contact { padding: 80px 0; }
    .products, .platform-callout { padding: 78px 0; }
    .product-grid, .old-platform-grid { grid-template-columns: 1fr; }
    .product-card-featured { transform: none; }
    .platform-grid > img { max-height: 280px; }
    .old-values-grid { grid-template-columns: 1fr; gap: 18px; }
    .old-values-grid > div + div { padding-top: 18px; border-top: 1px solid #fcfcfc; border-left: 0; }
    .old-advantages ul { grid-template-columns: 1fr; }
    .quick-form-card, .contact-form-wrap { width: 100%; }
    .contact-form-wrap { padding: 22px; }
    .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .hero h1 { font-size: 2.65rem; }
    .quick-form-card { padding: 24px; }
    .field-grid { grid-template-columns: 1fr; gap: 16px; }
    .media-badge { right: 8px; bottom: -24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
