/* ==========================================================================
   nuIT platform – static site
   CI: Oxygen · green #a0c519 · ink #1b1b1b · light grey #f1f1f1
   ========================================================================== */

:root {
  --green: #a0c519;
  --green-dark: #8db015;
  --green-soft: #eef5d3;
  --ink: #1b1b1b;
  --ink-2: #313131;
  --text: #3a3a3a;
  --muted: #706f6f;
  --line: #e2e2e2;
  --grey: #f1f1f1;
  --grey-2: #f9f9f9;
  --white: #ffffff;

  --font: "Oxygen", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .35), 0 10px 24px -14px rgba(0, 0, 0, .18);
  --shadow-sm: 0 8px 24px -14px rgba(0, 0, 0, .25);

  --section-y: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
button { font: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 4px;
  border-radius: 2px;
  background: var(--green);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}

.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 + .lead, .section-head h2 + p { margin-top: 18px; }
.section-head.center .eyebrow { justify-content: center; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 24px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn .btn-icon {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-right: -6px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  transition: transform .18s ease;
}
.btn .btn-icon svg { width: 14px; height: 14px; }
.btn:hover { transform: translateY(-1px); background: var(--ink-2); border-color: var(--ink-2); }
.btn:hover .btn-icon { transform: translateX(2px); }

.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }

.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--grey); border-color: var(--grey); }

.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--ink);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow:hover { color: var(--green-dark); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.3); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 40px; width: auto; }
.brand-sub {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a.is-active { background: var(--grey); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 18px 10px 20px; font-size: .88rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; border-radius: 8px;
  place-items: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--grey { background: var(--grey); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.78); }
.section--dark h2, .section--dark h3, .section--dark h4, .section--dark .eyebrow { color: var(--white); }
.section--dark .lead { color: rgba(255,255,255,.72); }
.section--green { background: var(--green); color: var(--ink); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(56px, 8vw, 104px);
  background: var(--grey);
  overflow: hidden;
}
.hero-inner { position: relative; display: grid; gap: 28px; max-width: 880px; }
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 60ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.hero-media {
  position: relative;
  margin-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

/* Browser frame around screenshots */
.frame {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
}
.frame-bar {
  display: flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px;
  background: #ececec;
  border-bottom: 1px solid #dedede;
}
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfcfcf; }
.frame-bar .frame-url {
  flex: 1; margin-left: 12px; height: 20px; border-radius: 6px; background: var(--white);
  font-size: .7rem; line-height: 20px; padding-inline: 10px; color: #9a9a9a;
  max-width: 420px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.frame img, .frame .slider { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.frame--plain img { aspect-ratio: auto; }

/* --------------------------------------------------------------------------
   Workflow band
   -------------------------------------------------------------------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
}
.flow-step {
  position: relative;
  padding: 28px 28px 30px;
  background: rgba(255,255,255,.05);
}
.flow-step .num {
  display: block;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: var(--green);
  margin-bottom: 14px;
}
.flow-step h4 { color: var(--white); margin-bottom: 8px; }
.flow-step p { font-size: .95rem; color: rgba(255,255,255,.66); }
.flow-step::after {
  content: ""; position: absolute; right: -1px; top: 34px;
  width: 0; height: 0;
  border-left: 10px solid var(--green);
  border-top: 8px solid transparent; border-bottom: 8px solid transparent;
  z-index: 1;
}
.flow-step:last-child::after { display: none; }

/* --------------------------------------------------------------------------
   Split layouts
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--reverse .split-text { order: 2; }
.split--reverse .split-media { order: 1; }
.split-text h2 + p, .split-text h3 + p { margin-top: 16px; }
.split-text .btn-row { margin-top: 28px; }
.split-text p + h3 { margin-top: 28px; }

/* --------------------------------------------------------------------------
   Feature grids
   -------------------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 44px);
  margin-top: clamp(40px, 5vw, 64px);
}
.feature { position: relative; padding-top: 18px; }
.feature::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 36px; height: 4px; border-radius: 2px; background: var(--green);
}
.feature h4 { margin-bottom: 8px; }
.feature p { font-size: .97rem; color: var(--muted); }

.features--cards { gap: 18px; }
.features--cards .feature {
  padding: 26px 26px 28px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease;
}
.features--cards .feature::before { left: 26px; top: 0; width: 36px; height: 4px; border-radius: 0 0 2px 2px; }
.features--cards .feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.section--dark .features--cards .feature { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section--dark .feature p { color: rgba(255,255,255,.68); }

/* --------------------------------------------------------------------------
   Slider
   -------------------------------------------------------------------------- */
.slider { position: relative; overflow: hidden; background: var(--grey); touch-action: pan-y; }
.slider-track {
  display: flex;
  height: 100%;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.slider-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(27,27,27,.78); color: var(--white);
  display: grid; place-items: center;
  opacity: 0; transition: opacity .2s ease, background .2s ease;
}
.slider-btn svg { width: 18px; height: 18px; }
.slider-btn:hover { background: var(--ink); }
.slider-btn--prev { left: 16px; }
.slider-btn--next { right: 16px; }
.slider:hover .slider-btn, .slider:focus-within .slider-btn { opacity: 1; }
@media (hover: none) { .slider-btn { opacity: 1; } }

.slider-dots {
  display: flex; justify-content: center; gap: 8px;
  padding: 14px 0 0;
}
.slider-dots button {
  width: 28px; height: 4px; border-radius: 2px; border: 0; padding: 0;
  background: #cfcfcf; transition: background .2s ease, width .2s ease;
}
.slider-dots button.is-active { background: var(--green); width: 44px; }
.section--dark .slider-dots button { background: rgba(255,255,255,.25); }
.section--dark .slider-dots button.is-active { background: var(--green); }

.slider-block { max-width: 1000px; margin-inline: auto; }

/* --------------------------------------------------------------------------
   Devices / quote
   -------------------------------------------------------------------------- */
.quote-block { text-align: center; max-width: 820px; margin-inline: auto; }
.quote-block h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.quote-block h2 em { font-style: normal; color: var(--green-dark); }
.quote-block .lead { margin-top: 18px; }
.devices { margin-top: clamp(28px, 4vw, 48px); }
.devices img { width: 100%; max-width: 1000px; margin-inline: auto; }

.os-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  margin-top: 28px;
  font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.os-list li { display: inline-flex; align-items: center; gap: 8px; }
.os-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* --------------------------------------------------------------------------
   Logos
   -------------------------------------------------------------------------- */
.logo-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.logo-strip img { height: 22px; width: auto; opacity: .75; transition: opacity .2s ease; }
.logo-strip img:hover { opacity: 1; }
.logo-strip .logo-label {
  width: 100%; text-align: center; margin-bottom: -8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}

/* --------------------------------------------------------------------------
   Integrations (dark)
   -------------------------------------------------------------------------- */
.integrations-media .frame { background: #111; border-color: rgba(255,255,255,.08); }
.integrations-media .frame-bar { background: #1f1f1f; border-color: #2a2a2a; }
.integrations-media .frame-bar i { background: #3a3a3a; }
.integrations-media .frame-bar .frame-url { background: #2a2a2a; color: #777; }
.api-cards { margin-top: 40px; }

/* --------------------------------------------------------------------------
   Experts
   -------------------------------------------------------------------------- */
.experts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 22px;
  margin-top: clamp(40px, 5vw, 64px);
}
.expert {
  padding: 26px 22px 24px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
}
.expert img {
  width: 116px; height: 116px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 16px; filter: grayscale(1);
  outline: 4px solid var(--grey); outline-offset: 3px;
  transition: filter .25s ease, outline-color .25s ease;
}
.expert:hover img { filter: grayscale(0); outline-color: var(--green); }
.expert h4 { font-size: 1.05rem; margin-bottom: 4px; }
.expert .role { font-size: .85rem; color: var(--muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.expert .contact { margin-top: 14px; display: grid; gap: 4px; font-size: .92rem; }
.expert .contact a { color: var(--ink); font-weight: 700; }
.expert .contact a:hover { color: var(--green-dark); }
.expert-photo .frame img { aspect-ratio: 3 / 2; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.cta h2 { color: var(--ink); }
.cta p { margin-top: 14px; color: rgba(27,27,27,.78); font-size: 1.08rem; max-width: 60ch; }
.cta .btn-row { justify-content: flex-end; }
.section--green .btn--outline { border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Videos
   -------------------------------------------------------------------------- */
.videos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px;
  margin-top: clamp(40px, 5vw, 56px);
}
.video-card { display: grid; gap: 14px; }
.video-thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow-sm); border: 0; padding: 0; width: 100%; text-align: left;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s ease; }
.video-thumb:hover img { transform: scale(1.03); opacity: .85; }
.video-thumb .play {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
}
.video-thumb .play span {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: var(--green); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
  transition: transform .2s ease;
}
.video-thumb:hover .play span { transform: scale(1.08); }
.video-thumb .play svg { width: 26px; height: 26px; margin-left: 4px; }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card h3 { font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   References
   -------------------------------------------------------------------------- */
.refs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 20px;
  margin-top: clamp(40px, 5vw, 56px);
}
.ref {
  display: grid; grid-template-rows: auto 1fr;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease;
}
.ref:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.ref img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.ref-body { padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; }
.ref-body .country { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); }
.ref-body h3 { font-size: 1.15rem; }
.ref-body p { font-size: .95rem; color: var(--muted); }
.ref-body .link-arrow { margin-top: 6px; font-size: .92rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding-block: 56px 32px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin-top: 18px; font-size: .95rem; max-width: 40ch; }
.footer-col h4 { color: var(--white); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col li + li { margin-top: 8px; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom img { height: 26px; width: auto; opacity: .85; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slider-track { transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 9px; font-size: .88rem; }
  .brand-sub { display: none; }
}

@media (max-width: 940px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 76px;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.3);
  }
  .nav-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 12px; font-size: 1rem; }
  .nav-cta .btn { display: none; }

  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(2)::after { display: none; }

  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split-text { order: 1; }
  .split--reverse .split-media { order: 2; }

  .cta { grid-template-columns: 1fr; }
  .cta .btn-row { justify-content: flex-start; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .flow { grid-template-columns: 1fr; }
  .flow-step::after { display: none; }
  .frame-bar { height: 30px; }
  .frame-bar .frame-url { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .btn .btn-icon { margin-right: 0; }
}

/* --------------------------------------------------------------------------
   Language toggle + a11y helper
   -------------------------------------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lang-toggle {
  display: inline-flex; align-items: center; flex: none;
  padding: 3px; border-radius: 999px;
  background: var(--grey); border: 1px solid var(--line);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  padding: 3px; border-radius: 999px;
  background: var(--grey); border: 1px solid var(--line);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
}
.lang-toggle a {
  padding: 6px 11px; border-radius: 999px; color: var(--muted);
  transition: color .15s ease, background .15s ease;
}
.lang-toggle a:hover { color: var(--ink); }
.lang-toggle a.is-current { background: var(--ink); color: var(--white); }

/* --------------------------------------------------------------------------
   Hero GIF tabs
   -------------------------------------------------------------------------- */
.hero-stage { position: relative; aspect-ratio: 16 / 9; background: var(--white); overflow: hidden; }
.hero-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-stage img.is-leaving { opacity: 0; transition: opacity .35s ease; }
.hero-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 18px;
}
.hero-tabs button {
  position: relative; overflow: hidden;
  padding: 10px 18px; border-radius: 999px;
  border: 2px solid transparent; background: var(--white);
  color: var(--ink-2); font-size: .88rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.hero-tabs button:hover { border-color: var(--line); }
.hero-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--green); }
.hero-tab-label { position: relative; z-index: 1; }
.hero-tab-progress {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: var(--green);
}
.hero-tabs button[aria-selected="true"] .hero-tab-progress.is-running {
  width: 100%;
  transition: width var(--tab-duration, 15s) linear;
}

/* --------------------------------------------------------------------------
   Sub-pages: page hero, posts, releases, contact
   -------------------------------------------------------------------------- */
.page-hero { background: var(--grey); padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 20ch; }
.page-hero .lead { margin-top: 18px; }

.subsection { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(56px, 8vw, 96px); border-top: 1px solid rgba(255,255,255,.12); }
.section-more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.videos--grid { margin-top: 0; }

.cta--plain h2 { color: var(--ink); }
.cta--plain p { color: var(--muted); }

.post-list, .release-list { display: grid; gap: 18px; max-width: 980px; }
.post, .release {
  display: grid; grid-template-columns: 200px 1fr; gap: 28px;
  padding: 30px 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
}
.post-meta, .release-meta { display: grid; gap: 10px; align-content: start; font-size: .9rem; color: var(--muted); }
.post-meta .tag, .release-meta .version {
  justify-self: start; padding: 4px 10px; border-radius: 999px;
  background: var(--green-soft); color: var(--ink); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.release-meta .version { background: var(--ink); color: var(--white); }
.post-body h2, .release-body h2 { font-size: 1.35rem; margin-bottom: 10px; }
.post-body h2 a:hover { color: var(--green-dark); }
.post-body p { color: var(--muted); }
.post-body .link-arrow { margin-top: 12px; font-size: .95rem; }
.release-body ul { display: grid; gap: 8px; }
.release-body li { position: relative; padding-left: 22px; color: var(--text); }
.release-body li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 3px; border-radius: 2px; background: var(--green); }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.contact-card { padding: 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; gap: 22px; align-content: start; }
.contact-card .eyebrow { margin-bottom: 0; }
.contact-person { display: flex; align-items: center; gap: 18px; }
.contact-person img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; filter: grayscale(1); outline: 3px solid var(--grey); outline-offset: 3px; }
.contact-person .role { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.contact-lines { display: grid; gap: 10px; }
.contact-lines li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.contact-lines svg { width: 20px; height: 20px; color: var(--green-dark); flex: none; }
.contact-lines a:hover { color: var(--green-dark); }
.contact-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 44px; margin-top: clamp(40px, 5vw, 64px); }
.contact-links .link-arrow { font-size: .97rem; }

@media (max-width: 700px) {
  .post, .release { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .hero-tabs button { padding: 9px 14px; font-size: .82rem; }
}

/* --------------------------------------------------------------------------
   Developers page
   -------------------------------------------------------------------------- */
.dev-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.dev-card { padding: 36px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.dev-card .eyebrow { margin-bottom: 0; }
.dev-card h2 { font-size: 1.6rem; }
.dev-card p { color: var(--muted); }
.dev-card .btn-row { margin-top: 8px; }
.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--text); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* release notes detail */
.release-meta .badge { justify-self: start; padding: 4px 10px; border-radius: 999px; background: #fdd79a; color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.release-intro { color: var(--muted); margin-bottom: 22px; }
.release-group + .release-group { margin-top: 22px; }
.release-group h3 { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 10px; }
.release-group li strong { display: block; color: var(--ink); }
.release-group li span { display: block; color: var(--muted); font-size: .95rem; margin-top: 2px; }
.release-group--compact li { font-size: .95rem; color: var(--text); }
.release-more { margin-top: 8px; }
.release-more summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: .92rem; list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; }
.release-more summary::-webkit-details-marker { display: none; }
.release-more summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--green-dark); border-bottom: 2px solid var(--green-dark); transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.release-more[open] summary::before { transform: rotate(-135deg) translateY(-1px); }
.release-more summary:hover { color: var(--green-dark); }
.release-more ul { margin-top: 8px; }
.release-source { margin-top: 22px; font-size: .92rem; }
.release-list { max-width: 1040px; }

/* --------------------------------------------------------------------------
   Blog post page
   -------------------------------------------------------------------------- */
.page-hero--post h1 { max-width: 24ch; margin-top: 14px; }
.link-arrow--back { font-size: .9rem; color: var(--muted); margin-bottom: 26px; }
.link-arrow--back svg { transition: transform .18s ease; }
.link-arrow--back:hover svg { transform: translateX(-3px); }
.post-meta--inline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.section--post { padding-block: clamp(40px, 6vw, 72px) var(--section-y); }
.prose { max-width: 720px; font-size: 1.08rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.8em; }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--green-dark); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--green); color: var(--muted); font-size: 1.15rem; }
.prose figure { margin: 2em 0; }
.prose figure img, .prose > img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--grey); padding: 2px 6px; border-radius: 4px; }
.prose pre { background: var(--ink); color: #e8e8e8; padding: 18px 22px; border-radius: var(--radius-sm); overflow-x: auto; font-size: .9rem; line-height: 1.55; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--line); }
