/* Shared theme, header, and footer styles used across every OneTactiQ page. */
:root {
    --ink: #07131c; --ink-soft: #0c1c27; --panel: #10232f; --line: #284555;
    --paper: #f4f6f3; --white: #f8fbfc; --muted: #a7bdc8; --blue: #2f8cff;
    --cyan: #39d5df; --green: #54cf7a; --amber: #ffbe48; --red: #ff6868;
    --gutter: clamp(20px, 5vw, 78px); --max: 1440px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--white); background: var(--ink); font-family: "Manrope", sans-serif; line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .18; background-image: linear-gradient(rgba(73,119,142,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(73,119,142,.12) 1px,transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom,black,transparent 72%); }
a { color: inherit; } button { font: inherit; } img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--max),100%); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { margin: 0 0 14px; color: var(--cyan); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.section-title { max-width: 780px; margin: 0; font: 700 clamp(2.35rem,5vw,4.7rem)/.98 "Barlow Condensed",sans-serif; letter-spacing: 0; text-transform: uppercase; }
.section-intro { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 1.02rem; }

/* Header / nav (position: relative so inner pages don't need the absolute hero overlay) */
.site-header { position: relative; z-index: 20; top: 0; width: 100%; border-bottom: 1px solid rgba(167,189,200,.16); background: rgba(7,19,28,.92); backdrop-filter: blur(16px); }
.site-header.overlay { position: absolute; background: rgba(7,19,28,.68); }
.nav-shell { min-height: 78px; display: flex; align-items: center; gap: 38px; }
.brand { width: 180px; height: 45px; flex: 0 0 auto; overflow: hidden; text-decoration: none; }
.brand img { width: 210px; max-width: none; transform: translate(-24px,-70px); }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a { color: #c7d5dc; font-size: .84rem; font-weight: 600; text-decoration: none; }
.nav-links a:hover, .nav-links a.current { color: var(--white); }
.nav-links a.current { border-bottom: 2px solid var(--cyan); padding-bottom: 4px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid transparent; border-radius: 5px; font-size: .84rem; font-weight: 700; text-decoration: none; transition: transform .2s ease,background .2s ease,border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #03131a; background: var(--cyan); border-color: var(--cyan); }
.button-primary:hover { background: #71e9ef; border-color: #71e9ef; }
.button-secondary { color: var(--white); background: rgba(16,35,47,.76); border-color: #446374; }
.button svg { width: 17px; height: 17px; }

/* Simple inner-page header used on split pages (no hero behind it) */
.page-hero { padding: 172px 0 62px; background: linear-gradient(135deg,#07131c 30%,#0c1d25 68%,#161914); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { margin: 0; font: 700 clamp(3.2rem,7vw,6rem)/.9 "Barlow Condensed",sans-serif; text-transform: uppercase; }
.page-hero p { max-width: 680px; margin: 24px 0 0; color: #bdd0d9; font-size: 1.05rem; }

footer { padding: 66px 0 28px; background: #050d13; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4,1fr); gap: 55px; padding-bottom: 54px; }
.footer-brand { overflow: hidden; }
.footer-brand img { width: 220px; max-width: none; transform: translate(-24px,-88px); }
.footer-brand p { max-width: 330px; margin: 22px 0 0; color: #78929e; font-size: .82rem; }
.footer-column h3 { margin: 0 0 18px; color: #d9e6eb; font: 700 .95rem "Barlow Condensed",sans-serif; text-transform: uppercase; }
.footer-column a { display: block; width: fit-content; margin: 10px 0; color: #78929e; font-size: .8rem; text-decoration: none; }
.footer-column a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid #1b303a; color: #627c88; font-size: .72rem; }
.footer-status { display: inline-flex; align-items: center; gap: 8px; } .footer-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .01ms!important; } }

@media (max-width: 1080px) {
    .nav-links { display: none; } .nav-actions { margin-left: auto; }
}
@media (max-width: 720px) {
    .nav-shell { min-height: 68px; } .brand { width: 145px; } .brand img { width: 184px; transform: translate(-23px,-61px); } .nav-actions .button-secondary { display: none; } .nav-actions .button { min-height: 40px; padding-inline: 12px; }
    .page-hero { padding: 128px 0 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1/-1; } .footer-bottom { flex-direction: column; }
}
