/* HEAVYTUNING — unified public website and secure portal entry */
:root {
  --bg: #05080d;
  --bg-2: #080d14;
  --panel: #0d141e;
  --panel-2: #111a26;
  --panel-3: #151f2c;
  --text: #f4f7fb;
  --muted: #9aa9bc;
  --soft: #cbd5e1;
  --line: rgba(154, 169, 188, .16);
  --line-strong: rgba(154, 169, 188, .28);
  --accent: #ff9f1c;
  --accent-2: #ff6b00;
  --accent-3: #ffd166;
  --success: #42d392;
  --danger: #ff6b72;
  --portal: #20b8ff;
  --portal-2: #76dcff;
  --portal-deep: #0878bd;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .34);
  --container: 1200px;
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 85% -8%, rgba(255, 159, 28, .11), transparent 62%),
    radial-gradient(720px 440px at -10% 38%, rgba(73, 109, 155, .11), transparent 66%),
    var(--bg);
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: rgba(255, 159, 28, .28); color: #fff; }

.skip-link {
  position: fixed; z-index: 9999; top: 12px; left: 12px;
  transform: translateY(-140%); padding: 10px 14px;
  color: #080b10; background: var(--accent-3); border-radius: 10px;
  font-weight: 800; transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }
.section-sm { padding: 72px 0; }
.section-dark { background: rgba(8, 13, 20, .88); border-block: 1px solid var(--line); }
.section-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .32;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 58px 58px; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  color: var(--accent-3); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-3)); }
.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 46px; }
.section-head > div:first-child { max-width: 760px; }
.section-title {
  margin: 0; font-family: "Barlow Condensed", Impact, sans-serif; font-size: clamp(2.65rem, 5vw, 4.7rem);
  line-height: .96; text-transform: uppercase; letter-spacing: -.025em;
}
.section-title span, .accent { color: var(--accent); }
.section-copy { max-width: 680px; margin: 20px 0 0; color: var(--muted); font-size: 1.05rem; }
.page-title { font-size: clamp(3.6rem, 8vw, 7rem); }

.topbar {
  position: relative; z-index: 70; border-bottom: 1px solid var(--line); background: #05080d;
  color: var(--muted); font-size: .78rem; letter-spacing: .09em; text-transform: uppercase;
}
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-status { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(66, 211, 146, .1); }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar a:hover { color: var(--text); }

.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  border-bottom: 1px solid transparent; background: rgba(5, 8, 13, .72); backdrop-filter: blur(18px);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(5, 8, 13, .94); border-bottom-color: var(--line); box-shadow: 0 12px 40px rgba(0,0,0,.22); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand img { width: 48px; height: 48px; }
.brand-words { display: flex; flex-direction: column; line-height: .88; }
.brand-name { font-family: "Barlow Condensed", Impact, sans-serif; font-size: 1.64rem; font-weight: 800; letter-spacing: .02em; }
.brand-name b { color: var(--accent); font-weight: inherit; }
.brand-tag { margin-top: 7px; color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 10px 12px; border-radius: 10px; color: var(--soft); font-size: .87rem; font-weight: 700;
  transition: color .2s ease, background .2s ease;
}
.site-nav a:hover, .site-nav a.active { color: #fff; background: rgba(255, 255, 255, .055); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.04); cursor: pointer;
}
.menu-toggle span { display: block; width: 21px; height: 2px; margin: 4px auto; background: #fff; border-radius: 3px; transition: transform .2s, opacity .2s; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 0 19px; border: 1px solid transparent; border-radius: 12px; cursor: pointer;
  font-size: .88rem; font-weight: 800; letter-spacing: .015em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #101010; background: linear-gradient(135deg, var(--accent-3), var(--accent), var(--accent-2)); box-shadow: 0 13px 28px rgba(255, 126, 0, .2); }
.btn-primary:hover { box-shadow: 0 18px 36px rgba(255, 126, 0, .28); }
.btn-secondary { color: #fff; background: rgba(255,255,255,.05); border-color: var(--line-strong); }
.btn-secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255, 159, 28, .45); }
.btn-ghost { min-height: 42px; padding-inline: 14px; background: transparent; border-color: var(--line); color: var(--soft); }
.btn-lg { min-height: 56px; padding-inline: 24px; border-radius: 14px; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-3); font-weight: 800; font-size: .88rem; }
.link-arrow span { transition: transform .2s ease; }
.link-arrow:hover span { transform: translateX(5px); }

.hero { position: relative; overflow: clip; min-height: calc(100vh - 118px); display: flex; align-items: center; padding: 76px 0 92px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: linear-gradient(90deg, #000 0, transparent 75%);
}
.hero::after { content: "HT"; position: absolute; right: -2vw; bottom: -12vw; color: rgba(255,255,255,.018); font-family: Impact, sans-serif; font-size: 35vw; line-height: 1; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 36px; align-items: center; }
.hero-copy { max-width: 760px; }
.hero-copy, .hero-visual { min-width: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 11px; margin-bottom: 24px; padding: 8px 12px 8px 9px;
  border: 1px solid rgba(255,159,28,.24); border-radius: 999px; background: rgba(255,159,28,.07); color: #f6dcae;
  font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.hero-badge i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #111; font-style: normal; }
.hero h1 {
  max-width: 850px; margin: 0; font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(4.5rem, 8.1vw, 8rem); line-height: .82; letter-spacing: -.045em; text-transform: uppercase;
}
.hero h1 .line-outline { color: transparent; -webkit-text-stroke: 1.5px rgba(244, 247, 251, .58); }
.hero h1 .line-accent { color: var(--accent); }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: #b6c2d0; font-size: clamp(1rem, 1.7vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 31px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--success); }

.hero-visual { position: relative; min-height: 610px; display: grid; place-items: center; }
.hero-machine { width: 118%; max-width: none; transform: translateX(-2%); filter: drop-shadow(0 35px 65px rgba(0,0,0,.32)); }
.floating-card {
  position: absolute; padding: 15px 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px;
  background: rgba(9, 14, 21, .82); backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(0,0,0,.32);
}
.floating-card small { display: block; color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.floating-card strong { display: flex; align-items: center; gap: 8px; margin-top: 5px; font-size: .98rem; }
.floating-card strong i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 6px rgba(66,211,146,.1); }
.card-live { top: 12%; right: 1%; }
.card-time { bottom: 15%; left: 1%; }
.card-time strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.4rem; color: var(--accent-3); }
.signal { display: flex; align-items: end; gap: 3px; height: 18px; margin-top: 7px; }
.signal span { width: 4px; border-radius: 3px; background: var(--accent); }
.signal span:nth-child(1){height:5px}.signal span:nth-child(2){height:9px}.signal span:nth-child(3){height:13px}.signal span:nth-child(4){height:18px}

.brand-rail { position: relative; z-index: 3; border-block: 1px solid var(--line); background: rgba(8, 13, 20, .75); }
.brand-rail-inner { display: grid; grid-template-columns: 1.15fr repeat(7, 1fr); align-items: center; min-height: 105px; }
.brand-rail-label { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.brand-chip { display: grid; place-items: center; min-height: 105px; border-left: 1px solid var(--line); color: #c5ceda; font-family: "Barlow Condensed", sans-serif; font-size: 1.03rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: color .2s, background .2s; }
.brand-chip:hover { color: var(--accent-3); background: rgba(255,159,28,.035); }

.stat-strip { margin-top: -1px; border-bottom: 1px solid var(--line); background: rgba(5,8,13,.9); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; border-right: 1px solid var(--line); }
.stat:first-child { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 2rem; line-height: 1; color: var(--text); }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.service-card {
  position: relative; min-height: 335px; display: flex; flex-direction: column; overflow: hidden;
  padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(18,27,40,.94), rgba(9,14,21,.94));
  box-shadow: 0 22px 55px rgba(0,0,0,.16); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service-card::after { content: ""; position: absolute; width: 170px; height: 170px; top: -90px; right: -70px; border-radius: 50%; background: rgba(255,159,28,.08); filter: blur(4px); transition: transform .35s; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(255,159,28,.36); box-shadow: 0 32px 65px rgba(0,0,0,.26); }
.service-card:hover::after { transform: scale(1.25); }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 46px; border: 1px solid rgba(255,159,28,.25); border-radius: 15px; color: var(--accent-3); background: rgba(255,159,28,.07); }
.service-icon svg { width: 27px; height: 27px; }
.service-card h3 { margin: 0; font-size: 1.22rem; line-height: 1.28; }
.service-card p { margin: 13px 0 25px; color: var(--muted); font-size: .91rem; }
.service-card .link-arrow { margin-top: auto; }
.card-number { position: absolute; top: 23px; right: 25px; color: rgba(255,255,255,.13); font-family: "Barlow Condensed", sans-serif; font-size: 2.2rem; font-weight: 800; }

.feature-panel {
  position: relative; overflow: hidden; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(20,30,43,.98), rgba(7,11,17,.96)); box-shadow: var(--shadow);
}
.feature-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(550px 300px at 100% 0, rgba(255,159,28,.13), transparent 65%); }
.feature-list { display: grid; gap: 4px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 17px 0; border-bottom: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #111; background: var(--accent); font-style: normal; font-size: .78rem; font-weight: 900; }
.feature-list strong { display: block; font-size: .95rem; }
.feature-list span { display: block; margin-top: 3px; color: var(--muted); font-size: .84rem; }

.telemetry {
  position: relative; min-height: 520px; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #07101a; box-shadow: var(--shadow);
}
.telemetry::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(92,114,139,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(92,114,139,.12) 1px, transparent 1px); background-size: 42px 42px; }
.telemetry-top { position: relative; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.telemetry-top span:last-child { color: var(--success); }
.telemetry-screen { position: relative; height: 330px; margin-top: 50px; }
.wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.telemetry-metrics { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.telemetry-metric { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.24); }
.telemetry-metric small { color: var(--muted); font-size: .59rem; letter-spacing: .12em; text-transform: uppercase; }
.telemetry-metric strong { display: block; margin-top: 4px; font-family: "Barlow Condensed"; font-size: 1.4rem; }
.telemetry-metric strong em { color: var(--accent); font-style: normal; }

.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps::before { content: ""; position: absolute; left: 7%; right: 7%; top: 30px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,159,28,.5), rgba(255,159,28,.5), transparent); }
.step { position: relative; padding: 0 22px; text-align: center; }
.step-num { position: relative; z-index: 2; width: 60px; height: 60px; display: grid; place-items: center; margin: 0 auto 24px; border: 1px solid rgba(255,159,28,.38); border-radius: 50%; color: #111; background: linear-gradient(135deg, var(--accent-3), var(--accent)); font-family: "Barlow Condensed"; font-size: 1.25rem; font-weight: 800; box-shadow: 0 0 0 9px var(--bg-2); }
.step h3 { margin: 0; font-size: 1rem; }
.step p { margin: 10px 0 0; color: var(--muted); font-size: .84rem; }

.machine-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.machine-card { position: relative; min-height: 260px; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #0c141f; }
.machine-card:nth-child(1), .machine-card:nth-child(4) { grid-column: span 7; }
.machine-card:nth-child(2), .machine-card:nth-child(3) { grid-column: span 5; }
.machine-card::before { content: ""; position: absolute; inset: auto -30% -55% 20%; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,159,28,.15), transparent 65%); }
.machine-card h3 { position: relative; margin: 0; font-family: "Barlow Condensed"; font-size: 2rem; text-transform: uppercase; }
.machine-card p { position: relative; max-width: 390px; margin: 10px 0 0; color: var(--muted); font-size: .88rem; }
.machine-outline { position: absolute; right: -8px; bottom: -8px; width: 52%; opacity: .28; color: var(--accent); }
.machine-tag { position: absolute; left: 28px; bottom: 25px; color: var(--accent-3); font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.brand-matrix { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-pill { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: #c6d0dc; background: rgba(255,255,255,.025); font-size: .78rem; font-weight: 800; letter-spacing: .04em; }
.brand-pill:hover { border-color: rgba(255,159,28,.4); color: var(--accent-3); }

.quote-wrap { position: relative; overflow: hidden; border: 1px solid rgba(255,159,28,.22); border-radius: 34px; background: linear-gradient(135deg, #111b27, #070b11 68%); box-shadow: var(--shadow); }
.quote-wrap::before { content: ""; position: absolute; right: -160px; top: -200px; width: 520px; height: 520px; border: 1px solid rgba(255,159,28,.12); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,159,28,.025), 0 0 0 110px rgba(255,159,28,.018); }
.quote-grid { position: relative; display: grid; grid-template-columns: .86fr 1.14fr; }
.quote-copy { padding: 55px; border-right: 1px solid var(--line); }
.quote-copy h2 { margin: 0; font-family: "Barlow Condensed"; font-size: clamp(3rem, 5vw, 5rem); line-height: .92; text-transform: uppercase; }
.quote-copy p { margin: 20px 0 0; color: var(--muted); }
.quote-contact { display: grid; gap: 11px; margin-top: 32px; }
.contact-chip { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); }
.contact-chip svg { width: 21px; height: 21px; color: var(--accent); }
.contact-chip small { display: block; color: var(--muted); font-size: .63rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-chip strong { display: block; font-size: .9rem; }
.quote-form { padding: 52px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: #d8e0ea; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.form-control {
  width: 100%; min-height: 51px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 11px; outline: none;
  color: #fff; background: rgba(2,5,9,.5); transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea.form-control { min-height: 126px; padding-top: 13px; resize: vertical; }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,159,28,.1); background: rgba(2,5,9,.78); }
.form-control::placeholder { color: #687688; }
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8796a9 50%), linear-gradient(135deg, #8796a9 50%, transparent 50%); background-position: calc(100% - 19px) 22px, calc(100% - 14px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
select.form-control option { background: #0d141e; color: #fff; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.form-note { max-width: 320px; color: var(--muted); font-size: .69rem; }
.form-note a { color: var(--portal-2); text-decoration: underline; text-underline-offset: 3px; }
.form-status { min-height: 24px; margin-top: 12px; color: var(--success); font-size: .78rem; font-weight: 700; }

.faq-list { display: grid; gap: 11px; max-width: 900px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: 15px; background: rgba(15,22,32,.72); overflow: hidden; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 23px; border: 0; background: transparent; text-align: left; cursor: pointer; font-weight: 800; }
.faq-question i { position: relative; width: 22px; height: 22px; flex: 0 0 auto; }
.faq-question i::before, .faq-question i::after { content: ""; position: absolute; left: 3px; top: 10px; width: 16px; height: 2px; border-radius: 2px; background: var(--accent); transition: transform .2s; }
.faq-question i::after { transform: rotate(90deg); }
.faq-item.open .faq-question i::after { transform: rotate(0); }
.faq-answer { max-height: none; overflow: visible; }
.js-enabled .faq-answer { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-answer-inner { padding: 0 23px 22px; color: var(--muted); font-size: .9rem; }

.page-hero { position: relative; overflow: hidden; padding: 105px 0 82px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(11,18,27,.75), rgba(5,8,13,.2)); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 62px 62px; mask-image: linear-gradient(to right, #000, transparent 76%); }
.page-hero-inner { position: relative; max-width: 890px; }
.page-hero p { max-width: 700px; margin: 26px 0 0; color: var(--muted); font-size: 1.08rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.breadcrumbs a:hover { color: var(--accent); }

.detail-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(14,21,31,.78); }
.detail-card h3 { margin: 0; font-size: 1.15rem; }
.detail-card p { margin: 12px 0 0; color: var(--muted); font-size: .88rem; }
.detail-card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; color: #cbd5e1; font-size: .84rem; }
.detail-card li { display: flex; gap: 9px; }
.detail-card li::before { content: "•"; color: var(--accent); font-weight: 900; }

.comparison { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.comparison table { width: 100%; min-width: 780px; border-collapse: collapse; background: rgba(11,17,25,.78); }
.comparison th, .comparison td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.comparison th { color: var(--muted); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.comparison td { font-size: .86rem; }
.comparison tr:last-child td { border-bottom: 0; }
.check { color: var(--success); font-weight: 900; }
.muted { color: var(--muted); }

.timeline { position: relative; display: grid; gap: 18px; max-width: 900px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: 23px; width: 1px; background: linear-gradient(var(--accent), rgba(255,159,28,.1)); }
.timeline-item { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; }
.timeline-dot { width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid rgba(255,159,28,.35); border-radius: 50%; color: #111; background: var(--accent); font-family: "Barlow Condensed"; font-weight: 900; z-index: 1; }
.timeline-content { padding: 20px 22px; border: 1px solid var(--line); border-radius: 15px; background: rgba(13,20,30,.74); }
.timeline-content h3 { margin: 0; font-size: 1rem; }
.timeline-content p { margin: 8px 0 0; color: var(--muted); font-size: .86rem; }

.legal-copy { max-width: 900px; }
.legal-copy h2 { margin: 45px 0 12px; font-family: "Barlow Condensed"; font-size: 2rem; text-transform: uppercase; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p, .legal-copy li { color: var(--muted); }
.legal-copy a { color: var(--accent-3); text-decoration: underline; }
.notice { padding: 20px; border: 1px solid rgba(255,159,28,.25); border-radius: 14px; background: rgba(255,159,28,.055); color: #ddc9aa; font-size: .83rem; }

.site-footer { position: relative; border-top: 1px solid var(--line); background: #030609; }
.footer-main { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 42px; padding: 70px 0 52px; }
.footer-about p { max-width: 380px; margin: 20px 0 0; color: var(--muted); font-size: .84rem; }
.footer-heading { margin: 8px 0 19px; color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: .84rem; }
.footer-links a:hover { color: var(--accent-3); }
.footer-contact { display: grid; gap: 9px; }
.footer-contact a { color: var(--muted); font-size: .84rem; }
.footer-contact strong { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; padding: 22px 0; border-top: 1px solid var(--line); color: #647286; font-size: .7rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 17px; }
.footer-legal a:hover { color: #fff; }

.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55; width: 58px; height: 58px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #07100a; background: #25d366; box-shadow: 0 16px 40px rgba(37,211,102,.3);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 45px rgba(37,211,102,.4); }
.whatsapp-float svg { width: 28px; height: 28px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }.delay-2 { transition-delay: .16s; }.delay-3 { transition-delay: .24s; }

@media (max-width: 1100px) {
  :root { --container: 980px; }
  .site-nav { gap: 0; }
  .site-nav a { padding-inline: 9px; font-size: .8rem; }
  .header-actions .btn span { display: none; }
  .hero-inner { grid-template-columns: 1.08fr .92fr; }
  .hero h1 { font-size: clamp(4rem, 8.5vw, 7rem); }
  .hero-visual { min-height: 520px; }
  .brand-rail-inner { grid-template-columns: 1.2fr repeat(4,1fr); }
  .brand-chip:nth-child(n+6) { display: none; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-main { grid-template-columns: 1.3fr .7fr .8fr; }
  .footer-main > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 86px 0; }
  .section-head { display: block; }
  .section-head .btn { margin-top: 22px; }
  .topbar-links a:first-child { display: none; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 109px 15px auto; display: grid; gap: 4px; padding: 16px;
    border: 1px solid var(--line); border-radius: 18px; background: rgba(7,11,17,.98); box-shadow: 0 30px 80px rgba(0,0,0,.48);
    max-height: calc(100vh - 125px); max-height: calc(100dvh - 125px); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; pointer-events: none; transform: translateY(-12px) scale(.98); transition: opacity .2s, transform .2s;
  }
  body.menu-open .site-nav { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { padding: 13px 14px; font-size: .95rem; }
  .header-actions .btn { display: none; }
  .hero { min-height: auto; padding: 62px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
.hero-copy, .hero-visual { min-width: 0; }
  .hero-visual { min-height: 470px; margin-top: -10px; }
  .hero-machine { width: min(100%, 670px); transform: none; }
  .card-live { right: 6%; }.card-time { left: 5%; }
  .brand-rail-inner { grid-template-columns: repeat(4, 1fr); }
  .brand-rail-label { display: none; }
  .brand-chip { border-left: 1px solid var(--line); }
  .brand-chip:nth-child(n+6) { display: none; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(odd) { border-left: 1px solid var(--line); }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2,1fr); gap: 38px 10px; }
  .steps::before { display: none; }
  .machine-card, .machine-card:nth-child(n) { grid-column: span 12; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-copy { padding: 42px; border-right: 0; border-bottom: 1px solid var(--line); }
  .quote-form { padding: 42px; }
  .footer-main { grid-template-columns: repeat(2,1fr); }
  .footer-main > :last-child { grid-column: auto; }
}

@media (max-width: 600px) {
  .topbar-inner { justify-content: center; }
  .topbar-links { display: none; }
  .brand img { width: 43px; height: 43px; }
  .brand-name { font-size: 1.42rem; }
  .brand-tag { font-size: .5rem; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(3rem, 15.8vw, 3.85rem); letter-spacing: -.055em; }
  .hero h1 .line-outline { -webkit-text-stroke-width: 1px; }
  .hero-lead { font-size: .98rem; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { display: grid; gap: 10px; }
  .hero-visual { width: 100%; min-height: 355px; }
  .hero-machine { width: 112%; transform: translateX(-5%); }
  .floating-card { max-width: calc(100% - 16px); padding: 11px 13px; }
  .floating-card small { font-size: .52rem; }
  .floating-card strong { font-size: .79rem; }
  .card-live { top: 7%; right: 2%; }.card-time { bottom: 7%; left: 1%; }
  .brand-rail-inner { grid-template-columns: repeat(2,1fr); }
  .brand-chip { min-height: 72px; font-size: .86rem; }
  .stat { padding: 22px 15px; }
  .stat strong { font-size: 1.65rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .feature-panel { padding: 28px 22px; }
  .telemetry { min-height: 445px; padding: 20px; }
  .telemetry-screen { height: 280px; margin-top: 28px; }
  .telemetry-metrics { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 58px 1fr; gap: 16px; text-align: left; padding: 0; }
  .step-num { margin: 0; width: 52px; height: 52px; }
  .step h3 { align-self: end; }
  .step p { grid-column: 2; margin-top: -9px; }
  .machine-card { min-height: 235px; }
  .machine-outline { width: 64%; opacity: .2; }
  .quote-copy, .quote-form { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .form-actions .btn { width: 100%; }
  .page-hero { padding: 75px 0 60px; }
  .page-title { font-size: clamp(3.5rem, 18vw, 5.5rem); }
  .footer-main { grid-template-columns: 1fr; padding-top: 55px; }
  .footer-bottom { display: grid; }
  .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Unified website + portal experience — v6.0.14 */
:focus-visible {
  outline: 3px solid var(--portal-2);
  outline-offset: 4px;
}

.btn-portal {
  color: #03131d;
  border-color: rgba(118, 220, 255, .78);
  background: linear-gradient(135deg, #a5ebff, var(--portal-2) 38%, var(--portal));
  box-shadow: 0 14px 32px rgba(32, 184, 255, .22);
}
.btn-portal:hover {
  border-color: #bdefff;
  box-shadow: 0 20px 40px rgba(32, 184, 255, .32);
}
.header-actions .btn-portal span { display: inline; }
.nav-portal-link { display: none; }
.eyebrow-blue { color: var(--portal-2); }
.eyebrow-blue::before { background: linear-gradient(90deg, var(--portal), var(--portal-2)); }

.hero-photo {
  isolation: isolate;
  min-height: 780px;
  padding: 84px 0 92px;
  background: #05090f;
}
.hero-photo::before {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 6, 11, .98) 0%, rgba(3, 8, 14, .92) 30%, rgba(3, 8, 14, .5) 58%, rgba(3, 8, 14, .18) 100%),
    linear-gradient(180deg, rgba(5, 8, 13, .2), rgba(5, 8, 13, .18) 65%, #05080d 100%);
  mask-image: none;
}
.hero-photo::after {
  content: "";
  inset: auto 0 0;
  z-index: -1;
  width: auto;
  height: 190px;
  background: linear-gradient(transparent, #05080d);
}
.hero-photo__media { position: absolute; inset: 0; z-index: -2; }
.hero-photo__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-inner-photo { grid-template-columns: minmax(0, 1.08fr) minmax(330px, .7fr); gap: clamp(28px, 5vw, 78px); }
.hero-photo .hero-copy { max-width: 760px; }
.hero-photo h1 {
  max-width: 820px;
  font-size: clamp(4.25rem, 7.25vw, 7.4rem);
  line-height: .86;
}
.hero-photo h1 .line-accent { display: block; margin-top: .08em; }
.hero-photo .hero-lead { max-width: 680px; text-wrap: balance; }
.hero-photo .hero-badge i {
  width: 29px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--portal-2), var(--portal));
  font-size: .58rem;
  letter-spacing: .04em;
}

.hero-job-card {
  align-self: end;
  overflow: hidden;
  border: 1px solid rgba(118, 220, 255, .32);
  border-radius: 22px;
  background: rgba(5, 12, 20, .88);
  box-shadow: 0 32px 90px rgba(0, 0, 0, .56), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(20px);
}
.job-card-top, .job-card-id, .job-card-equipment, .job-card-file, .job-card-progress, .job-card-actions { padding-inline: 20px; }
.job-card-top { display: flex; justify-content: space-between; gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.job-card-top span { display: flex; align-items: center; gap: 8px; }
.job-card-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(66, 211, 146, .1); }
.job-card-top strong { color: var(--portal-2); }
.job-card-id { display: flex; justify-content: space-between; align-items: end; padding-block: 19px 14px; }
.job-card-id small, .job-card-equipment small, .job-card-file small { color: #718197; font-size: .57rem; font-weight: 800; letter-spacing: .13em; }
.job-card-id strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.48rem; letter-spacing: .08em; }
.job-card-equipment { display: grid; grid-template-columns: 48px 1fr; gap: 13px; align-items: center; padding-block: 14px; border-block: 1px solid var(--line); background: rgba(32, 184, 255, .035); }
.job-card-equipment > span { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(32, 184, 255, .25); border-radius: 13px; color: var(--portal-2); background: rgba(32, 184, 255, .09); font: 800 .72rem/1 Manrope, sans-serif; }
.job-card-equipment strong, .job-card-equipment em { display: block; }
.job-card-equipment strong { margin-top: 2px; font-size: .83rem; }
.job-card-equipment em { margin-top: 3px; color: var(--success); font-size: .68rem; font-style: normal; }
.job-card-file { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding-block: 17px; }
.job-card-file strong, .job-card-file span { display: block; }
.job-card-file strong { margin-top: 3px; font-size: .8rem; }
.job-card-file span { margin-top: 3px; color: var(--muted); font-size: .61rem; }
.job-card-file b { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: #06140d; background: var(--success); }
.job-card-progress { display: flex; justify-content: space-between; gap: 12px; padding-block: 13px; border-block: 1px solid var(--line); color: #cdd7e4; font-size: .65rem; }
.job-card-progress span { display: flex; align-items: center; gap: 8px; }
.job-card-progress i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(255,159,28,.6); }
.job-card-progress strong { color: var(--accent-3); font-size: .61rem; letter-spacing: .1em; }
.job-card-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding-block: 13px 16px; }
.job-card-actions span { padding: 7px 5px; border-radius: 8px; color: #8191a4; background: rgba(255, 255, 255, .035); text-align: center; font-size: .51rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }

.portal-bridge {
  position: relative;
  overflow: hidden;
  padding: 116px 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 520px at 88% 48%, rgba(32, 184, 255, .13), transparent 68%),
    linear-gradient(145deg, #07101a, #05080d 62%);
}
.portal-bridge::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .26; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, transparent 12%, #000 65%, #000); }
.portal-bridge__grid { position: relative; display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(44px, 7vw, 96px); align-items: center; }
.portal-bridge__actions, .process-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.portal-proof { display: grid; gap: 10px; margin-top: 30px; }
.portal-proof span { display: flex; align-items: center; gap: 12px; color: #b9c6d5; font-size: .82rem; font-weight: 700; }
.portal-proof b { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid rgba(32, 184, 255, .28); border-radius: 10px; color: var(--portal-2); background: rgba(32, 184, 255, .08); font-size: .62rem; }

.portal-dashboard { overflow: hidden; border: 1px solid rgba(118, 220, 255, .24); border-radius: 22px; background: #07111d; box-shadow: 0 38px 90px rgba(0,0,0,.42); transform: perspective(1300px) rotateY(-3deg) rotateX(1deg); }
.portal-dashboard.visible { transform: perspective(1300px) rotateY(-3deg) rotateX(1deg); }
.portal-dashboard__bar { min-height: 43px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--line); color: #8090a3; background: #0b1623; font-size: .52rem; font-weight: 800; letter-spacing: .12em; }
.portal-dashboard__bar > span { display: flex; gap: 5px; }
.portal-dashboard__bar i { width: 7px; height: 7px; border-radius: 50%; background: #304154; }
.portal-dashboard__bar i:first-child { background: var(--accent); }
.portal-dashboard__bar strong { color: #b6c4d4; }
.portal-dashboard__bar em { justify-self: end; color: var(--success); font-style: normal; }
.portal-dashboard__body { min-height: 430px; display: grid; grid-template-columns: 58px 1fr; }
.portal-dashboard__side { display: flex; flex-direction: column; align-items: center; gap: 21px; padding: 17px 0; border-right: 1px solid var(--line); background: #08101a; }
.portal-dashboard__side b { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; color: #04111a; background: var(--portal); font-size: .7rem; }
.portal-dashboard__side span { width: 18px; height: 7px; border-radius: 8px; background: #26384b; }
.portal-dashboard__side span.active { background: var(--portal); box-shadow: 0 0 12px rgba(32,184,255,.5); }
.portal-dashboard__main { min-width: 0; padding: 24px; }
.portal-dashboard__heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.portal-dashboard__heading small, .portal-dashboard__heading strong { display: block; }
.portal-dashboard__heading small { color: #63758a; font-size: .52rem; font-weight: 800; letter-spacing: .13em; }
.portal-dashboard__heading strong { margin-top: 2px; font-family: "Barlow Condensed"; font-size: 1.48rem; text-transform: uppercase; }
.portal-dashboard__new { padding: 8px 11px; border-radius: 8px; color: #02121c; background: var(--portal); font-size: .55rem; font-weight: 900; }
.portal-dashboard__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 21px; }
.portal-dashboard__stats > div { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); }
.portal-dashboard__stats small, .portal-dashboard__stats strong { display: block; }
.portal-dashboard__stats small { color: #66788e; font-size: .49rem; font-weight: 800; letter-spacing: .08em; }
.portal-dashboard__stats strong { margin-top: 4px; font-family: "Barlow Condensed"; font-size: 1.52rem; }
.portal-dashboard__job { display: grid; grid-template-columns: 39px 1fr auto; gap: 12px; align-items: center; margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); }
.portal-dashboard__ecu { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; color: var(--portal-2); background: rgba(32,184,255,.09); font-size: .55rem; font-weight: 900; }
.portal-dashboard__ecu.ready { color: var(--success); background: rgba(66,211,146,.09); }
.portal-dashboard__job small, .portal-dashboard__job strong, .portal-dashboard__job em { display: block; }
.portal-dashboard__job small { color: #64778d; font-size: .49rem; font-weight: 800; letter-spacing: .08em; }
.portal-dashboard__job strong { overflow: hidden; margin-top: 2px; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.portal-dashboard__job em { margin-top: 3px; color: #7f90a4; font-size: .55rem; font-style: normal; }
.portal-dashboard__job > b { color: var(--accent-3); font-size: .5rem; letter-spacing: .08em; }
.portal-dashboard__job > b.ready { color: var(--success); }

.service-icon { color: var(--accent-3); font: 800 .72rem/1 Manrope, sans-serif; letter-spacing: .06em; }
.application-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.application-card { position: relative; min-height: 220px; overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(18,27,40,.94), rgba(8,13,20,.95)); transition: transform .25s ease, border-color .25s ease; }
.application-card:hover { transform: translateY(-5px); border-color: rgba(255,159,28,.35); }
.application-card::after { content: ""; position: absolute; right: -55px; bottom: -72px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(32,184,255,.14), transparent 68%); }
.application-card > span { color: var(--portal-2); font-family: "Barlow Condensed"; font-size: .86rem; font-weight: 800; letter-spacing: .1em; }
.application-card h3 { margin: 32px 0 0; font-family: "Barlow Condensed"; font-size: 1.55rem; line-height: 1; text-transform: uppercase; }
.application-card p { margin: 12px 0 0; color: var(--muted); font-size: .8rem; }
.application-card b { display: block; margin-top: 18px; color: var(--accent-3); font-size: .61rem; letter-spacing: .06em; text-transform: uppercase; }
.application-card--featured { grid-column: span 2; background: linear-gradient(145deg, rgba(15,41,58,.96), rgba(8,15,23,.98)); }
.application-note { max-width: 820px; margin: 26px auto 0; color: #7d8da1; text-align: center; font-size: .74rem; }

.steps-five { grid-template-columns: repeat(5, 1fr); }
.steps-five::before { left: 5%; right: 5%; }
.steps-five .step { padding-inline: 12px; }
.process-actions { justify-content: center; margin-top: 48px; }

.media-feature__grid, .security-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(38px, 7vw, 92px); align-items: center; }
.media-feature__image, .security-figure { position: relative; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.media-feature__image::after, .security-figure::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.media-feature__image img, .security-figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-feature__image figcaption { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; color: #e4ebf3; background: rgba(5,10,16,.82); backdrop-filter: blur(14px); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.check-grid { display: grid; gap: 9px; margin: 31px 0; padding: 0; list-style: none; }
.check-grid li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.022); }
.check-grid i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #03160d; background: var(--success); font-style: normal; font-weight: 900; }
.check-grid span { color: var(--muted); font-size: .78rem; }
.check-grid strong { display: block; color: #fff; font-size: .85rem; }

.security-section { overflow: hidden; background: radial-gradient(760px 560px at 85% 45%, rgba(32,184,255,.1), transparent 66%); }
.security-grid { grid-template-columns: 1.04fr .96fr; }
.security-points { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 31px 0; }
.security-points > div { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12,20,30,.72); }
.security-points span { color: var(--portal-2); font: 800 .7rem/1 "Barlow Condensed", sans-serif; letter-spacing: .12em; }
.security-points strong { display: block; margin-top: 12px; font-size: .88rem; }
.security-points p { margin: 7px 0 0; color: var(--muted); font-size: .73rem; }
.security-figure figcaption { position: absolute; inset: auto 18px 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px; border: 1px solid rgba(118,220,255,.22); border-radius: 14px; background: rgba(4,10,17,.88); backdrop-filter: blur(14px); }
.security-figure figcaption div { margin-right: auto; }
.security-figure figcaption small, .security-figure figcaption strong { display: block; }
.security-figure figcaption small { color: #75869a; font-size: .51rem; letter-spacing: .12em; }
.security-figure figcaption strong { color: var(--portal-2); font: 800 1.18rem/1 "Barlow Condensed"; }
.security-figure figcaption > span { padding: 6px 8px; border-radius: 7px; color: #b7c5d4; background: rgba(255,255,255,.05); font-size: .5rem; font-weight: 800; text-transform: uppercase; }

.final-cta__inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; padding: 54px; }
.final-cta__inner h2 { margin: 0; font-family: "Barlow Condensed"; font-size: clamp(3rem, 5vw, 5.2rem); line-height: .94; text-transform: uppercase; }
.final-cta__inner h2 span { color: var(--portal-2); }
.final-cta__inner p { max-width: 700px; margin: 18px 0 0; color: var(--muted); }
.final-cta__actions { display: grid; min-width: 250px; gap: 10px; }
.footer-bottom { color: #8391a3; }

/* Reveal content stays readable if JavaScript is unavailable. */
.reveal { opacity: 1; transform: none; }
.js-enabled .reveal { opacity: 0; transform: translateY(22px); }
.js-enabled .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .header-inner { gap: 16px; }
  .site-nav a { padding-inline: 8px; font-size: .78rem; }
  .header-create { display: none; }
  .application-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .application-card--featured { grid-column: span 2; }
}

@media (max-width: 980px) {
  .portal-bridge__grid, .media-feature__grid, .security-grid { grid-template-columns: 1fr; }
  .portal-dashboard { max-width: 760px; margin-inline: auto; transform: none; }
  .portal-dashboard.visible { transform: none; }
  .steps-five { grid-template-columns: repeat(3,1fr); gap: 38px 10px; }
  .steps-five::before { display: none; }
  .application-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .site-nav { opacity: 1; pointer-events: auto; transform: none; visibility: visible; }
  .js-enabled .site-nav { opacity: 0; pointer-events: none; transform: translateY(-12px) scale(.98); visibility: hidden; }
  .js-enabled body.menu-open .site-nav { opacity: 1; pointer-events: auto; transform: none; visibility: visible; }
  .site-nav .nav-portal-link { display: block; color: var(--portal-2); background: rgba(32,184,255,.07); }
  .hero-photo { min-height: auto; padding: 70px 0 86px; }
  .hero-photo::before { background: linear-gradient(90deg, rgba(2,6,11,.97), rgba(3,8,14,.78)), linear-gradient(180deg, transparent 60%, #05080d); }
  .hero-photo__media img { object-position: 62% center; opacity: .72; }
  .hero-inner-photo { grid-template-columns: 1fr; }
  .hero-job-card { width: min(100%, 470px); margin-top: 24px; }
  .brand-rail { overflow-x: auto; }
  .brand-rail-inner { width: max-content; min-width: 100%; grid-template-columns: repeat(8, minmax(130px, 1fr)); }
  .brand-rail-label { display: grid; place-items: center; padding-inline: 14px; }
  .brand-chip:nth-child(n) { display: grid; }
  .final-cta__inner { grid-template-columns: 1fr; padding: 42px; }
  .final-cta__actions { grid-template-columns: repeat(2,1fr); }
  .final-cta__actions .btn:last-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .topbar-status { font-size: .64rem; }
  .hero-photo h1 { font-size: clamp(3.25rem, 16vw, 4.45rem); }
  .hero-photo .hero-badge { max-width: 100%; font-size: .59rem; letter-spacing: .08em; }
  .hero-job-card { margin-top: 14px; }
  .job-card-actions { grid-template-columns: 1fr; }
  .portal-bridge { padding: 84px 0; }
  .portal-dashboard__body { grid-template-columns: 1fr; min-height: 0; }
  .portal-dashboard__side { display: none; }
  .portal-dashboard__main { padding: 17px; }
  .portal-dashboard__bar { grid-template-columns: 1fr auto; }
  .portal-dashboard__bar strong { display: none; }
  .portal-dashboard__stats { gap: 6px; }
  .portal-dashboard__stats > div { padding: 10px 8px; }
  .portal-dashboard__job { grid-template-columns: 34px 1fr; }
  .portal-dashboard__job > b { grid-column: 2; }
  .application-grid { grid-template-columns: 1fr; }
  .application-card--featured { grid-column: auto; }
  .steps-five { grid-template-columns: 1fr; }
  .media-feature__image figcaption { left: 10px; right: 10px; bottom: 10px; justify-content: center; text-align: center; }
  .security-points { grid-template-columns: 1fr; }
  .security-figure figcaption { inset: auto 10px 10px; }
  .final-cta__inner { padding: 31px 22px; }
  .final-cta__actions { grid-template-columns: 1fr; min-width: 0; }
  .final-cta__actions .btn:last-child { grid-column: auto; }
}
