/* Zeej website styles. Colours and fonts are set once here. */
:root {
  --ink: #0B1220;
  --muted: #4A5568;
  --soft: #3A4556;
  --navy: #0B2E6B;
  --navy-line: #3D5B8F;
  --navy-text: #D3DDEB;
  --cyan: #16A6DA;
  --cyan-light: #9FD9F2;
  --bg: #FFFFFF;
  --panel: #F5F7FA;
  --line: #E6E9EF;
  --line-strong: #CBD2DC;
  --tint: #EAF4FB;
  --display: "Inter Tight", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--cyan); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo-badge { display: flex; align-items: center; background: var(--ink); padding: 10px 14px; border-radius: 10px; }
.logo-badge img { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; text-decoration: none; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
@media (max-width: 760px) {
  .menu-btn { display: flex; }
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; border-top: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; text-align: center; border-top: none; color: #fff; }
}

/* Products dropdown */
.dropdown { position: relative; display: flex; align-items: center; }
.dropdown > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 14px; width: 560px; display: none; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: grid; }
.dropdown-menu { grid-template-columns: 1fr 1fr; gap: 4px; }
.dropdown-menu::before { content: ""; position: absolute; inset: 14px 0 0 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(11,18,32,0.12); z-index: -1; }
.dropdown-menu a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); margin: 0 8px; }
.dropdown-menu a:first-child, .dropdown-menu a:nth-child(2) { background: var(--tint); margin-top: 8px; }
.dropdown-menu a:hover { background: var(--panel); color: var(--ink); }
.dropdown-menu a:first-child:hover, .dropdown-menu a:nth-child(2):hover { background: #DCEEF9; }
.dropdown-menu a strong { font-size: 15px; font-weight: 600; }
.dropdown-menu a span { font-size: 13px; color: var(--muted); font-weight: 400; }
.dropdown-sep { grid-column: 1 / -1; height: 1px; background: var(--line); margin: 6px 16px; }
.dropdown-menu a.dropdown-all { grid-column: 1 / -1; font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 8px; }
@media (max-width: 760px) { .dropdown-menu, .dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: none; } .dropdown > a::after { display: none; } .dropdown > a { width: 100%; } .dropdown { display: block; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; justify-content: center; font-family: var(--body); font-weight: 600; font-size: 16px; text-decoration: none; padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; min-height: 48px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1E2838; color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--ink); }
.btn-ghost-dark { color: #fff; border-color: #3A4556; }
.btn-ghost-dark:hover { border-color: #fff; color: #fff; }
.btn-small { font-size: 15px; padding: 10px 18px; min-height: 44px; }
.link-arrow { font-weight: 600; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Type */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--navy); }
.pill { background: var(--tint); padding: 8px 14px; border-radius: 999px; }
.h-xl { font-size: clamp(40px, 6vw, 76px); line-height: 1.04; letter-spacing: -0.03em; }
.h-l { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.025em; }
.h-m { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.h-s { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Sections */
.section { padding-top: 104px; padding-bottom: 104px; }
.section-tight { padding-top: 64px; padding-bottom: 64px; }
.panel-bg { background: var(--panel); }
.dark { background: var(--ink); color: #fff; }
.navy { background: var(--navy); color: #fff; }
.navy .muted, .navy p { color: var(--navy-text); }
.navy .eyebrow { color: var(--cyan-light); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.hero { padding-top: 88px; padding-bottom: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero .lead { margin: 0 auto; }
.hero .btns { justify-content: center; padding-top: 8px; }
.breadcrumb { padding-top: 24px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.rule { border-top: 1px solid var(--line); }

/* Grids */
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g-news { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g-fill { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
@media (max-width: 420px) { .g-2, .g-3 { grid-template-columns: 1fr; } }

/* Cards */
.card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
a.card:hover { border-color: var(--line-strong); color: var(--ink); box-shadow: 0 6px 24px rgba(11,18,32,0.06); }
.card-soft { background: var(--panel); border: none; }
.card-sm { padding: 20px 22px; border-radius: 14px; gap: 4px; }
.card-title { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Status chips */
.chip { display: inline-block; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.chip-ready { color: var(--navy); background: var(--tint); }
.chip-early { color: #7A4A00; background: #FDF1DC; }
.chip-soon { color: var(--soft); background: #EEF1F5; }

/* Media */
.shot { border-radius: 16px; border: 1px solid var(--line); width: 100%; background: #fff; }
.media { position: relative; border-radius: 24px; overflow: hidden; background: var(--ink); border: 1px solid var(--line); }
.media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: top left; }
.media.has-video img { opacity: 0.6; }
.play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: none; border: none; cursor: pointer; width: 100%; color: #fff; font: 600 14px var(--body); }
.play-circle { width: 80px; height: 80px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 30px rgba(11,18,32,0.25); }
.play-small .play-circle { width: 60px; height: 60px; }
.play-label { background: rgba(11,18,32,0.65); padding: 6px 12px; border-radius: 999px; }
.thumb { position: relative; border-radius: 16px; overflow: hidden; background: var(--ink); aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.thumb.has-video img { opacity: 0.55; }
.placeholder { background: #E6EBF2; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; font-weight: 500; }

/* Product switcher */
.switcher { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 12px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 4px 12px; }
.tab { font: 600 15px var(--body); padding: 12px 18px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); min-height: 44px; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabpanel { display: flex; flex-wrap: wrap; gap: 12px; }
.tabpanel[hidden] { display: none; }
.tabpanel .text { flex: 1 1 300px; background: #fff; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.tabpanel .media { flex: 2 1 480px; border-radius: 16px; border: none; }
.tabpanel .media img { aspect-ratio: auto; height: 100%; min-height: 320px; }

/* Featured product cards */
.feature-card { background: var(--panel); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.feature-card .body { padding: 40px 40px 28px; display: flex; flex-direction: column; gap: 14px; }
.feature-card img { width: calc(100% - 40px); margin-left: 40px; margin-top: auto; border-top-left-radius: 12px; border: 1px solid var(--line); border-right: none; border-bottom: none; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--soft); }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }

/* Steps on one line */
.steps-scroll { overflow-x: auto; padding-bottom: 6px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(150px, 1fr)); gap: 16px; min-width: 980px; }
.steps li { display: flex; flex-direction: column; gap: 8px; }
.steps.lined li { border-top: 2px solid var(--ink); padding-top: 18px; }
.steps.boxed li { background: var(--panel); border-radius: 16px; padding: 22px; }
.step-num { font-size: 13px; font-weight: 600; color: var(--navy); }
.step-title { font-size: 18px; font-weight: 600; }
.step-desc { font-size: 15px; color: var(--muted); }

/* Feature rows */
.rows { display: flex; flex-direction: column; gap: 96px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.row.reverse { flex-direction: row-reverse; }
.row .text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.row .text p { font-size: 17px; color: var(--muted); }
.row .pic { flex: 1.6 1 480px; min-width: 0; }

/* Split dark sections */
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > :first-child { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.split > :last-child { flex: 1.4 1 420px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 40px; }
.split-item { border-top: 1px solid var(--navy-line); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.split-item strong { font-size: 18px; }

/* Partners */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 48px; padding: 32px 24px; }
.partners span.name { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--soft); }

/* Gallery */
figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
figure img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
figcaption strong { display: block; font-size: 16px; }
figcaption span { font-size: 14px; color: var(--muted); }

/* News */
.news-card { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; }
a.news-card:hover { border-color: var(--line-strong); color: var(--ink); }
.news-card .cover { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.news-card .cover.placeholder { background: var(--navy); color: var(--cyan-light); font-family: var(--display); font-size: 20px; }
.news-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.news-meta { display: flex; gap: 10px; font-size: 13px; color: var(--muted); }
.news-meta .cat { font-weight: 600; color: var(--navy); }
.news-title { font-size: 18px; font-weight: 600; line-height: 1.35; }
.news-featured { display: flex; flex-wrap: wrap; background: var(--panel); border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--ink); }
.news-featured .cover { flex: 1.3 1 420px; min-height: 320px; object-fit: cover; }
.news-featured .body { flex: 1 1 340px; padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { font: 600 14px var(--body); padding: 10px 18px; min-height: 44px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.article { max-width: 720px; }
.article p { font-size: 18px; line-height: 1.7; margin-bottom: 20px; color: var(--soft); }

/* Product page */
.prod-hero { padding-top: 56px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.prod-hero .text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.prod-hero .visual { flex: 1.2 1 480px; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; }
.prob { border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 10px; background: var(--panel); }
.prob .eyebrow { color: var(--muted); }
.prob p { font-size: 18px; }
.prob.result { background: var(--navy); color: #fff; }
.prob.result .eyebrow { color: var(--cyan-light); }
.caps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.caps li { font-size: 15px; font-weight: 500; border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 16px; }

/* Team */
.member .photo { aspect-ratio: 4 / 5; border-radius: 20px; background: #E6EBF2; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 44px; font-weight: 600; color: var(--navy); overflow: hidden; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; }
.member { display: flex; flex-direction: column; gap: 14px; }
.member .role { font-size: 14px; font-weight: 600; color: var(--navy); }
.stat { font-family: var(--display); font-size: 44px; font-weight: 600; letter-spacing: -0.02em; }

/* Legal */
.legal { max-width: 760px; padding: 72px 24px 104px; }
.legal h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; color: var(--soft); }

/* Footer */
.site-footer { background: var(--ink); color: #C5CDD9; }
.site-footer a { color: #C5CDD9; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding: 56px 24px 40px; border-top: 1px solid #1E2838; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; font-size: 14px; }
.footer-brand img { height: 26px; width: auto; align-self: flex-start; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 64px; font-size: 14px; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols .head { color: #fff; font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 24px 32px; border-top: 1px solid #1E2838; font-size: 13px; }

/* Video dialog */
.video-dialog { border: none; padding: 0; background: transparent; width: min(1100px, 92vw); }
.video-dialog::backdrop { background: rgba(11,18,32,0.85); }
.video-dialog .frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.video-dialog iframe, .video-dialog video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-close { position: absolute; top: -52px; right: 0; background: #fff; border: none; border-radius: 999px; width: 44px; height: 44px; font-size: 22px; cursor: pointer; }

@media (max-width: 600px) {
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding-top: 56px; padding-bottom: 32px; }
  .feature-card .body, .tabpanel .text, .news-featured .body { padding: 28px; }
  .feature-card img { width: calc(100% - 28px); margin-left: 28px; }
  .row { gap: 28px; }
  .rows { gap: 64px; }
}
