/* KuJobs landing.
   Layout and type modelled on langchain.com: dark navy ground, hairline grid,
   light-weight display headlines with tight tracking, plain mono labels, few
   borders. Colours are the app's own: construction orange on navy ink. */

:root {
  color-scheme: dark;
  --bg: #070b13;
  --bg-2: #0b1220;
  --surface: #0f1726;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f6;
  --text-dim: #a3adbf;
  --text-faint: #6f7a8f;
  --accent: #f07d19;
  --accent-strong: #d66a0d;
  --accent-soft: rgba(240, 125, 25, 0.14);
  --ink: #1f2c3b;
  --r: 14px;
  --r-lg: 20px;
  --display: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Language switch: every bilingual string ships twice, one per language. */
:root:not([data-lang="en"]) [data-l="en"], :root[data-lang="en"] [data-l="es"] { display: none !important; }

.wrap {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 640px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 88px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.06; }
h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--text-dim); max-width: 560px; margin: 0; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.hl { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: var(--line-strong); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease;
}
.nav, .nav.scrolled { background: rgba(7, 11, 19, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; height: 68px; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: 0.01em; }
.logo .ku { color: #fff; }
.logo .jobs { color: var(--accent); }
.logo svg { color: #fff; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-dim); }
.nav-links a:hover { color: #fff; }
.nav-right { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.lang { display: flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 12px; }
.lang button { background: none; border: 0; padding: 6px 6px; cursor: pointer; color: var(--text-faint); letter-spacing: .06em; }
.lang button[aria-pressed="true"] { color: #fff; }
.lang span { color: var(--text-faint); }
@media (max-width: 860px) { .nav-links, .nav-right .btn-ghost { display: none; } }
@media (max-width: 480px) { .nav-right .btn-primary { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(880px, 100vh); display: flex; align-items: center; padding: 140px 0 100px; overflow: hidden; }
.media { position: absolute; inset: 0; }
.media video, .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,11,19,.9) 0%, rgba(7,11,19,.6) 50%, rgba(7,11,19,.15) 100%),
    linear-gradient(180deg, rgba(7,11,19,0) 60%, var(--bg) 100%);
}
.hero .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { max-width: 820px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero-note { font-size: 14px; color: var(--text-dim); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 128px 0; }
.head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 64px; max-width: 760px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.head.center .lead { margin: 0 auto; }
@media (max-width: 640px) { .section { padding: 88px 0; } .head { margin-bottom: 40px; } }

.gridbg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 80%);
  opacity: .5;
}

/* ---------- How it works: WhatsApp → daily log ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: center; gap: 16px; }
.arrow { display: grid; place-items: center; color: var(--accent); }
@media (max-width: 900px) { .flow { grid-template-columns: minmax(0, 1fr); } .arrow { transform: rotate(90deg); height: 48px; } }

/* WhatsApp chat, drawn to match the real app (light theme) */
.wa { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5); background: #efeae2; color: #111b21; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #f0f2f5; border-bottom: 1px solid #e3e3e3; }
.wa-av { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: 0 0 38px; }
.wa-title { font-weight: 600; font-size: 15px; line-height: 1.2; }
.wa-sub { font-size: 12.5px; color: #667781; line-height: 1.3; }
.wa-icons { margin-left: auto; display: flex; gap: 18px; color: #54656f; }
.wa-body {
  padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; min-height: 430px;
  background-color: #efeae2;
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1.2px);
  background-size: 14px 14px;
}
.wa-day { align-self: center; font-size: 12px; color: #54656f; background: #fff; padding: 4px 10px; border-radius: 8px; box-shadow: 0 1px .5px rgba(11,20,26,.13); margin-bottom: 4px; }
.bub {
  position: relative; max-width: 80%; padding: 6px 8px 8px 9px; border-radius: 8px; font-size: 14.2px; line-height: 1.35;
  background: #fff; box-shadow: 0 1px .5px rgba(11,20,26,.13); align-self: flex-start;
  opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease;
}
.bub.show { opacity: 1; transform: none; }
.bub.out { align-self: flex-end; background: #d9fdd3; }
.bub .who { font-size: 12.8px; font-weight: 600; margin-bottom: 1px; }
.bub .meta { float: right; margin: 6px 0 -4px 10px; font-size: 11px; color: #667781; display: inline-flex; gap: 3px; align-items: center; }
.bub .ticks { color: #53bdeb; }
.bub .photo { width: 220px; max-width: 100%; height: 130px; border-radius: 6px; margin: 2px 0 4px; object-fit: cover; }
.voice { display: flex; align-items: center; gap: 10px; min-width: 220px; padding-top: 2px; }
.voice .play { width: 0; height: 0; border-left: 12px solid #54656f; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.voice .bars { display: flex; gap: 2px; align-items: center; height: 24px; flex: 1; }
.voice .bars i { width: 3px; border-radius: 2px; background: #aebac1; }
.voice .bars i.on { background: #00a884; }
.voice .vav { width: 30px; height: 30px; border-radius: 50%; background: #8b5cf6; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.typing { align-self: flex-start; background: #fff; border-radius: 8px; padding: 10px 12px; display: none; gap: 4px; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.typing.show { display: inline-flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }

/* Draft daily log produced from the chat */
.draft { opacity: .3; transition: opacity .6s ease; }
.draft.ready { opacity: 1; }
.card-light { background: #fff; color: #16212e; border-radius: 18px; padding: 22px; box-shadow: 0 30px 70px rgba(0,0,0,.5); font-size: 14.5px; }
.card-light h4 { margin: 4px 0 12px; font-size: 17px; font-weight: 600; }
.card-light .row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #eef0f4; }
.card-light .muted { color: #667085; white-space: nowrap; }
.card-light .small { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); }
.card-light .needs { border: 1.5px dashed var(--accent); border-radius: 10px; padding: 10px 12px; margin-top: 10px; background: #fff8f1; }
.card-light .sign { margin-top: 14px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 72px; }
.step { padding: 32px 32px 0 0; display: flex; flex-direction: column; gap: 10px; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.step p { color: var(--text-dim); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
}

/* ---------- App walkthrough ---------- */
.cast { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: center; }
.chapters { display: flex; flex-direction: column; }
.chapter {
  text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 20px 0; cursor: pointer;
  position: relative; display: flex; gap: 18px; align-items: baseline; color: var(--text-faint); transition: color .2s;
}
.chapter:last-child { border-bottom: 1px solid var(--line); }
.chapter .n { font-family: var(--mono); font-size: 12px; }
.chapter .t { font-family: var(--display); font-size: 24px; font-weight: 300; letter-spacing: -0.02em; line-height: 1.2; }
.chapter .bar { position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--accent); }
.chapter.active { color: #fff; }
.chapter.active .n { color: var(--accent); }
.caption { margin-top: 24px; min-height: 52px; color: var(--text-dim); max-width: 460px; }
.phone {
  position: relative; width: 100%; max-width: 330px; margin: 0 auto; aspect-ratio: 1320 / 2868;
  border-radius: 46px; padding: 10px; background: linear-gradient(160deg, #2a3446, #0c121d);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px rgba(0,0,0,.55);
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #f5f6f8; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.screen img.on { opacity: 1; }
.tap {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: rgba(240,125,25,.3); border: 2px solid var(--accent); pointer-events: none; opacity: 0;
}
.tap.go { animation: tap .9s ease-out; }
@keyframes tap { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@media (max-width: 900px) {
  .cast { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cast-stage { order: -1; }
  .phone { max-width: 250px; }
  .chapter .t { font-size: 20px; }
}

/* ---------- Video band ---------- */
.band { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; }
.band .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,11,19,.92) 0%, rgba(7,11,19,.3) 60%, rgba(7,11,19,.05) 100%); }
.band-copy { position: relative; z-index: 1; padding: 48px; display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.band-copy p { color: var(--text-dim); margin: 0; }
@media (max-width: 640px) { .band-copy { padding: 28px; } }

/* ---------- Apps ---------- */
.apps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.apps-copy { display: flex; flex-direction: column; gap: 20px; }
.apps-phones { position: relative; height: 540px; }
.apps-phones .phone { position: absolute; width: 240px; max-width: none; }
.apps-phones .phone:nth-child(1) { left: 6%; top: 44px; transform: rotate(-6deg); }
.apps-phones .phone:nth-child(2) { left: 40%; top: 0; }
.apps-phones .screen img { opacity: 1; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 12px; background: #000; border: 1px solid var(--line-strong); }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 10px; color: var(--text-dim); line-height: 1; }
.store b { display: block; font-size: 17px; line-height: 1.2; font-weight: 600; }
.store:hover { border-color: rgba(255,255,255,.4); }
@media (max-width: 900px) {
  .apps { grid-template-columns: minmax(0, 1fr); }
  .apps-phones { height: 440px; }
  .apps-phones .phone { width: 190px; }
  .apps-phones .phone:nth-child(1) { left: calc(50% - 180px); }
  .apps-phones .phone:nth-child(2) { left: calc(50% - 30px); }
}

/* ---------- Pricing ---------- */
.bill { display: inline-flex; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; gap: 4px; }
.bill button { background: none; border: 0; height: 36px; padding: 0 16px; border-radius: 999px; cursor: pointer; font-size: 14px; color: var(--text-dim); }
.bill button.active { background: #fff; color: #0b1220; font-weight: 500; }
.bill .save { color: var(--accent-strong); margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 20px; background: var(--surface); }
.plan.featured { border-color: rgba(240,125,25,.6); background: linear-gradient(180deg, rgba(240,125,25,.1), var(--surface) 50%); }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan-name { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.plan-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.plan-for { color: var(--text-dim); font-size: 14px; margin: -12px 0 0; }
.price { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.price .amt { font-family: var(--display); font-size: 54px; font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.price .per { color: var(--text-dim); font-size: 14px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.plan .btn { margin-top: auto; }
.price-foot { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; color: var(--text-dim); font-size: 14px; text-align: center; }
.price-foot b { color: #fff; font-weight: 500; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Kuberse ---------- */
.kuberse { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
.kuberse-copy { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.kuberse-copy p { margin: 0; color: var(--text-dim); }
.kmark { display: inline-flex; align-items: center; gap: 4px; font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -0.02em; color: #fff; }

/* ---------- Final CTA / footer ---------- */
.final { position: relative; overflow: hidden; padding: 160px 0; text-align: center; }
.final .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(7,11,19,.55) 35%, rgba(7,11,19,.75) 100%); }
.final .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; }
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--text-dim); font-size: 14px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Hero copy stays clear of the phone and notifications baked into the video. */
.hero .wrap > * { max-width: 600px; }
.band { aspect-ratio: 16 / 9; min-height: 0; }
.band .media::after { background: linear-gradient(90deg, rgba(7,11,19,.9) 0%, rgba(7,11,19,.55) 38%, rgba(7,11,19,0) 62%); }
.band-copy { max-width: 470px; align-self: center; }

/* Phones: the video sits above the copy instead of behind it. */
@media (max-width: 900px) {
  .hero { display: block; min-height: 0; padding: 68px 0 64px; }
  .hero .media { position: relative; height: min(110vw, 520px); }
  .hero .media video { object-position: 84% center; }
  .hero .media::after { background: linear-gradient(180deg, rgba(7,11,19,0) 55%, var(--bg) 100%); }
  .hero .wrap { margin-top: -24px; }
  .band { aspect-ratio: auto; display: block; background: var(--surface); }
  .band .media { position: relative; height: min(100vw, 460px); }
  .band .media video { object-position: 82% center; }
  .band .media::after { background: linear-gradient(180deg, rgba(15,23,38,0) 60%, var(--surface) 100%); }
  .band-copy { max-width: none; padding: 8px 24px 32px; }
}
.band-copy h2 { font-size: clamp(30px, 3.4vw, 44px); }

/* ---------- Feature tabs ---------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 28px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 2px; cursor: pointer; font-size: 15px; color: var(--text-faint); transition: color .2s, border-color .2s; }
.tab:hover { color: var(--text-dim); }
.tab.active { color: #fff; border-color: var(--accent); }
.panel[hidden] { display: none; }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; animation: fadeIn .4s ease; }
.panel-copy { display: flex; flex-direction: column; gap: 16px; }
.panel-copy h3 { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.1; }
.panel-copy p { margin: 0; color: var(--text-dim); max-width: 460px; }
.panel-copy ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.panel-copy li { display: flex; gap: 10px; }
.panel-copy li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.panel-visual { min-height: 520px; display: grid; place-items: center; border-radius: var(--r-lg); padding: 40px;
  background: radial-gradient(70% 70% at 60% 40%, rgba(240,125,25,.16), transparent 70%), var(--bg-2); border: 1px solid var(--line); }
.panel-visual .phone { max-width: 250px; }
.panel-visual .screen img { opacity: 1; }
.card-light.ui { width: 100%; max-width: 420px; }
.card-light .row.col { display: block; }
.card-light .rowtop { display: flex; justify-content: space-between; gap: 12px; }
.card-light .track { height: 8px; background: #eef0f4; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.card-light .fill { height: 100%; background: var(--accent); border-radius: 99px; }
.card-light .pill { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.pill.red { background: #fde8e8; color: #b42318; } .pill.green { background: #e7f6ec; color: #157f3c; }
.pill.blue { background: #e8effd; color: #1d4ed8; } .pill.amber { background: #fef2e6; color: #b45309; }
.hl-dark { color: var(--accent-strong); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 22px; scrollbar-width: none; }
  .tab { white-space: nowrap; }
  .panel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .panel-visual { min-height: 0; padding: 28px 16px; }
}

/* The video starts below the fixed nav, so nothing in it runs under the nav buttons. */
.hero .media { top: calc(68px + env(safe-area-inset-top, 0px)); }
.hero .media video { object-position: center 12%; }
@media (max-width: 900px) { .hero .media { top: 0; } .hero .media video { object-position: 84% center; } }
