/* Mobile-first: base styles target phones. Breakpoints add tablet (768px) and desktop (1024px). */

/* Theme: clean and elegant. Brand navy/blue/teal from the logo, warm ivory neutrals, small radii, medium-weight type. */
:root {
  --navy: #003c71;
  --navy-deep: #06213d;
  --blue: #1560ae;
  --teal: #00a79d;
  --teal-light: #48d1cc;
  --ink: #16202b;
  --muted: #5f6873;
  --line: #e7e2da;
  --tint: #f7f4ef;
  --white: #fff;
  --radius: 8px;
  --gutter: 16px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font: 400 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.2; font-weight: 600; color: var(--navy); }
h1 { font-size: 2.125rem; letter-spacing: -0.02em; }
h2 { font-size: 1.625rem; letter-spacing: -0.015em; }
h3 { font-size: 1.125rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 16px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: var(--white); padding: 8px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Eyebrow carries a small diamond: the block shape from the logo, used as the site motif. */
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); }
.center .eyebrow, .eyebrow.center { justify-content: center; }
.lead { font-size: 1.0625rem; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.link { display: inline-block; font-weight: 600; color: var(--blue); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Buttons: minimum 48px tall for touch targets. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 6px; font-weight: 600; border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--navy); }
.btn--ghost { border-color: #cfc8bd; color: var(--navy); background: var(--white); }
.btn--ghost:hover { border-color: var(--navy); }

/* Dark bands: hero, inner page hero, CTA. Buttons invert so they keep contrast on navy. */
.hero, .page-hero, .cta { background: radial-gradient(900px 500px at 90% 0%, rgba(21,96,174,.55), transparent 65%), var(--navy-deep); color: var(--white); }
.hero h1, .page-hero h1, .cta h2 { color: var(--white); }
.hero .lead, .page-hero .lead, .cta p { color: rgba(255,255,255,.78); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--teal-light); }
.hero .btn--primary, .page-hero .btn--primary { background: var(--white); color: var(--navy); }
.hero .btn--primary:hover, .page-hero .btn--primary:hover { background: var(--tint); }
.hero .btn--ghost, .page-hero .btn--ghost { background: transparent; border-color: rgba(255,255,255,.45); color: var(--white); }
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover { border-color: var(--white); }

/* Top bar: contact shortcuts, desktop only. */
.topbar { display: none; background: var(--navy-deep); color: rgba(255,255,255,.7); font-size: 0.8125rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { margin-left: 24px; color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--white); }

/* Floating WhatsApp button, like the old site. Hidden while the mobile menu is open. */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; box-shadow: 0 6px 20px rgba(0,0,0,.18); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-open .wa-float { display: none; }
.btn--light { background: var(--white); color: var(--navy); }
.btn--outline-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); }

/* Header */
/* No backdrop-filter here: it would trap the fixed mobile nav inside the header box. */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header__bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.header__logo img { width: 112px; }

.menu-btn { display: grid; gap: 5px; width: 48px; height: 48px; place-content: center; padding: 0; background: none; border: 0; cursor: pointer; }
.menu-btn span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
.nav-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav { display: none; position: fixed; inset: var(--header-h) 0 0; background: var(--white); padding: 8px var(--gutter) 24px; flex-direction: column; overflow-y: auto; }
.nav-open .nav { display: flex; }
.nav-open { overflow: hidden; }
.nav a:not(.btn) { padding: 16px 0; font-size: 1.125rem; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--line); }
.nav a[aria-current] { color: var(--teal); }
.nav__cta { margin-top: 24px; }

/* Hero. The ::before layer draws the logo motif behind the content. */
.hero, .page-hero, .vision, .vm__card--dark { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before, .vision::before, .vm__card--dark::before { content: ""; position: absolute; z-index: -1; background: url("/assets/motif.svg") no-repeat center / contain; pointer-events: none; }
.hero::before { top: -50px; right: -70px; width: 240px; height: 240px; opacity: .3; }
.page-hero::before { top: -40px; right: -60px; width: 200px; height: 200px; opacity: .3; }
.hero { padding: 48px 0 56px; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

/* Product mockup: an abstract ARB+ screen drawn in CSS. No real data, so nothing on it can mislead. */
.mockup { margin-top: 8px; border-radius: 10px; overflow: hidden; background: var(--white); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.mockup__bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #eef1f4; }
.mockup__bar span { width: 9px; height: 9px; border-radius: 50%; background: #cfd6de; }
.mockup__bar em { margin-left: 10px; font-style: normal; font-size: 0.6875rem; font-weight: 600; color: var(--muted); }
.mockup__body { display: grid; grid-template-columns: 44px 1fr; min-height: 200px; }
.mockup__side { display: grid; align-content: start; gap: 10px; padding: 14px 10px; background: var(--navy-deep); }
.mockup__side i { height: 24px; border-radius: 6px; background: rgba(255,255,255,.12); }
.mockup__side i.on { background: var(--teal); }
.mockup__main { display: grid; gap: 12px; padding: 14px; }
.mockup__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mockup__tiles b { height: 46px; border: 1px solid #e6eaee; border-radius: 6px; background: linear-gradient(var(--teal), var(--teal)) 10px 12px / 40% 5px no-repeat, linear-gradient(#dfe5eb, #dfe5eb) 10px 26px / 65% 8px no-repeat; }
.mockup__chart { width: 100%; height: 72px; border: 1px solid #e6eaee; border-radius: 6px; }
.mockup__rows { display: grid; gap: 6px; }
.mockup__rows i { height: 14px; border-radius: 4px; background: linear-gradient(90deg, #e6eaee 0 30%, transparent 30% 36%, #eef1f4 36% 78%, transparent 78% 84%, #d5f0ed 84%); }
.hero__stats { margin-top: 32px; }

/* Stats sit on the dark hero: translucent tiles, thin white border. */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 14px 10px; }
.stats strong { display: block; font-size: 1.5rem; font-weight: 600; color: var(--white); line-height: 1.1; }
.stats span { display: block; margin-top: 4px; font-size: 0.75rem; line-height: 1.35; color: rgba(255,255,255,.72); }

/* Sections */
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.section--tint { background: var(--tint); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.section__head h2 { margin: 0; }
.subhead { margin: 40px 0 16px; font-size: 1.125rem; }

/* Vision band: a calm, centered statement on ivory. */
.vision { padding: 56px 0; background: var(--tint); text-align: center; }
.vision::before { left: 50%; bottom: -60px; width: 160px; height: 160px; transform: translateX(-50%); opacity: .07; }
.vision .eyebrow { justify-content: center; }
.vision blockquote { margin: 0 auto; max-width: 820px; font-size: 1.5rem; font-weight: 400; line-height: 1.4; letter-spacing: -0.01em; color: var(--navy); }
.vision blockquote::before, .vision blockquote::after { color: var(--teal); }
.vision blockquote::before { content: "\201C"; }
.vision blockquote::after { content: "\201D"; }

/* Mission pillars */
.pillars { display: grid; gap: 12px; margin-top: 24px; }
.pillar { --pad: 24px; padding: var(--pad); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
/* Full-bleed photo on top of the card: real event photos that back up each mission. */
.pillar__img { display: block; width: calc(100% + var(--pad) * 2); max-width: none; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 20px; aspect-ratio: 16 / 10; object-fit: cover; }
.pillar__no { display: block; margin-bottom: 12px; font-size: 2.5rem; font-weight: 300; line-height: 1; color: var(--teal); }
.pillar h3 { margin-bottom: 8px; }
.pillar > p { color: var(--muted); font-style: italic; }
.proof { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.proof li { position: relative; padding-left: 20px; font-size: 0.9375rem; }
.proof li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; background: var(--teal); transform: rotate(45deg); }
.proof a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* Products */
.flagship { display: grid; gap: 20px; margin-top: 24px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--teal); transition: border-color .2s; }
.flagship:hover { border-color: var(--teal); }
.flagship__logo { width: 120px; }
.flagship p { color: var(--muted); }
.checks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 28px; font-size: 0.9375rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }

.cards { display: grid; gap: 12px; }
.card { display: block; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--teal); transform: translateY(-2px); }
.card p { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.card__logo { display: flex; align-items: center; height: 48px; margin-bottom: 16px; }
.card__logo img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; }
.icon { width: 40px; height: 40px; margin-bottom: 12px; padding: 8px; border-radius: 6px; background: #e8f6f4; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Clients */
.klien { display: grid; gap: 24px; }
.klien__map { margin-top: 8px; }
.regions { display: grid; gap: 8px; align-content: start; }
.regions details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.regions summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.regions summary::-webkit-details-marker { display: none; }
.regions summary b { min-width: 40px; padding: 2px 10px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 0.875rem; text-align: center; }
.regions details p { margin: 0; padding: 0 16px 16px; font-size: 0.9375rem; color: var(--muted); }
.regions .link { margin-top: 8px; }

/* Partners: 2 columns on phones, wider rows later. */
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.partners li { display: grid; place-items: center; height: 72px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.partners img { max-height: 36px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.partners li:hover img { filter: none; opacity: 1; }

/* News: a 1-column list on phones. .news--scroll swipes sideways on phones instead. Grid from tablet. */
.news { display: grid; gap: 16px; }
.news--scroll { grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
.news--scroll::-webkit-scrollbar { display: none; }
.news__item { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: border-color .2s; }
.news__item:hover { border-color: var(--teal); }
/* Phones: listing cards are compact rows with a thumbnail, so 50+ posts stay short to scroll. */
.news:not(.news--scroll) .news__item { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto auto 1fr; }
.news:not(.news--scroll) .news__item img { grid-row: 1 / 4; height: 100%; aspect-ratio: auto; }
.news:not(.news--scroll) .news__item .tag { margin: 12px 14px 4px; }
.news:not(.news--scroll) .news__item h3 { margin: 0 14px 6px; font-size: 0.9375rem; }
.news:not(.news--scroll) .news__item time { margin: auto 14px 12px; }
.news__item img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.news__item .tag { margin: 16px 16px 6px; font-size: 0.75rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }
.news__item h3 { margin: 0 16px 8px; font-size: 1rem; font-weight: 500; line-height: 1.35; }
.news__item time { margin: auto 16px 16px; font-size: 0.8125rem; color: var(--muted); }

/* CTA */
.cta { padding: 56px 0; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

/* Footer */
.footer { padding: 48px 0 88px; background: #041729; color: rgba(255,255,255,.75); font-size: 0.9375rem; }
.footer__grid { display: grid; gap: 32px; }
.footer__logo { width: 120px; margin-bottom: 16px; }
.footer h2 { margin: 0 0 8px; font-size: 0.75rem; font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: .14em; }
.footer address { font-style: normal; margin-bottom: 20px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__copy { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.8125rem; }

[hidden] { display: none !important; }

/* Inner pages */
.page-hero { padding: 40px 0 48px; }
.page-hero .eyebrow a:hover { text-decoration: underline; }
.page-hero .lead { max-width: 720px; }
.page-hero .stats { margin-top: 24px; }
.page-hero .hero__actions { margin: 24px 0 0; }
.product-logo { height: 76px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 20px; padding: 14px 18px; background: var(--white); border-radius: var(--radius); }
.section--first { padding-top: 40px; }
.narrow { max-width: 760px; }

/* Long-form text: product details, articles, job posts. */
.prose { font-size: 1.0625rem; }
.prose h2 { margin: 40px 0 12px; font-size: 1.375rem; }
.prose h3 { margin: 28px 0 8px; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--teal); }
.prose a:not(.btn) { color: var(--blue); text-decoration: underline; }
.prose dl { margin: 0 0 20px; display: grid; gap: 4px; }
.prose dt { font-weight: 600; color: var(--navy); margin-top: 8px; }
.prose dd { margin: 0; color: var(--muted); }

.features { display: grid; gap: 12px; margin-top: 16px; }
.features > div { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); border-top: 2px solid var(--teal); }
.features h3 { margin: 0 0 8px; font-size: 1.0625rem; }
.features p { margin: 0; font-size: 0.9375rem; color: var(--muted); }

/* News listing and articles */
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 20px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 6px; font-weight: 500; font-size: 0.9375rem; color: var(--navy); background: var(--white); }
.chip:hover { border-color: var(--navy); }
.chip[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.section--article { padding-top: 24px; }
.back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 16px; font-weight: 600; color: var(--blue); }
.section--article .tag { margin: 0 0 8px; font-size: 0.75rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }
.section--article h1 { font-size: 1.75rem; }
.section--article time { display: block; margin-bottom: 24px; }
.article__cover { width: 100%; border-radius: var(--radius); margin-bottom: 24px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 24px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

/* About */
.about__photo { margin: 0 0 40px; }
.about__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 60%; border-radius: var(--radius); }
.about__photo figcaption, .org p { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
.org { margin-top: 48px; }
.org img { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.about { display: grid; gap: 32px; }
.vm { display: grid; gap: 12px; align-content: start; }
.vm__card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.vm__card--dark { background: radial-gradient(400px 300px at 100% 0%, rgba(21,96,174,.55), transparent 70%), var(--navy-deep); border: 0; }
.vm__card--dark::before { right: -50px; bottom: -50px; width: 160px; height: 160px; opacity: .3; }
.vm__card--dark .eyebrow { color: var(--teal-light); }
.vm__vision { margin: 0; font-size: 1.25rem; font-weight: 500; line-height: 1.4; color: var(--white); }
.vm__list { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.vm__list li::marker { color: var(--teal); font-weight: 700; }

/* Clients */
.clients-map { width: 100%; max-width: 900px; margin: 0 auto 24px; }
.search { position: sticky; top: var(--header-h); z-index: 5; padding: 12px 0; background: var(--white); }
.search label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--navy); }
.client-group { margin-top: 24px; }
.client-group h2 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.client-group h2 b { padding: 2px 10px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 0.8125rem; }
.client-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.client { display: flex; flex-direction: column; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.client strong { font-weight: 600; color: var(--ink); }
.client span { font-size: 0.875rem; color: var(--muted); }
.empty { padding: 24px 0; color: var(--muted); }

/* Forms: 16px text stops iOS zoom on focus. */
input, textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid #cfc8bd; border-radius: 6px; }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,96,174,.2); }

/* Contact */
.contact { display: grid; gap: 32px; }
.contact__list { display: grid; gap: 12px; align-content: start; }
.contact__item { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
a.contact__item:hover { border-color: var(--teal); }
.contact__item .icon { flex: none; margin: 0; }
.contact__item h2 { margin: 0 0 2px; font-size: 1rem; }
.contact__item p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.contact__item p a { color: var(--blue); font-weight: 600; }
.contact__item .link { margin-top: 6px; font-size: 0.875rem; }
.form { display: grid; gap: 6px; align-content: start; padding: 24px; border-radius: var(--radius); background: var(--tint); }
.form h2 { font-size: 1.25rem; }
.form label { margin-top: 10px; font-weight: 600; font-size: 0.9375rem; color: var(--navy); }
.form .btn { margin-top: 16px; }
.form__note { margin: 4px 0 0; font-size: 0.8125rem; color: var(--muted); }

/* Careers */
.job h2 { margin-bottom: 4px; font-size: 1.25rem; }
.job p { margin-bottom: 12px; }
.apply { margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--tint); }
.apply h2 { margin-top: 0; }

/* Tablet */
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  .header__logo img { width: 128px; }
  .hero { padding: 80px 0 88px; }
  .hero__actions { flex-direction: row; }
  .mockup__body { min-height: 260px; grid-template-columns: 56px 1fr; }
  .mockup__chart { height: 110px; }
  .hero__stats { margin-top: 48px; }
  .stats { gap: 16px; }
  .stats li { padding: 20px; }
  .stats strong { font-size: 2.25rem; font-weight: 500; }
  .stats span { font-size: 0.875rem; }
  .section { padding: 80px 0; }
  .section--first { padding-top: 56px; }
  .hero::before { top: -40px; right: -40px; width: 360px; height: 360px; }
  .page-hero::before { width: 280px; height: 280px; }
  .vision { padding: 96px 0; }
  .vision blockquote { font-size: 2.25rem; }
  .vision::before { width: 260px; height: 260px; bottom: -110px; }
  .flagship { grid-template-columns: 160px 1fr; gap: 32px; padding: 32px; }
  .flagship__logo { width: 160px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .partners { gap: 12px; }
  .news, .news--scroll { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; gap: 20px; }
  .news:not(.news--scroll) .news__item { display: flex; }
  .news:not(.news--scroll) .news__item img { height: auto; aspect-ratio: 16 / 10; }
  .news:not(.news--scroll) .news__item .tag { margin: 16px 16px 6px; }
  .news:not(.news--scroll) .news__item h3 { margin: 0 16px 8px; font-size: 1rem; }
  .news:not(.news--scroll) .news__item time { margin: auto 16px 16px; }
  .cta__actions { flex-direction: row; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 64px 0 72px; }
  .product-logo { height: 88px; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .section--article h1 { font-size: 2.25rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .client-list { grid-template-columns: repeat(2, 1fr); }
  .chips { margin: 0 0 24px; padding: 0; flex-wrap: wrap; }
}

/* Desktop */
@media (min-width: 1024px) {
  h1 { font-size: 3.25rem; letter-spacing: -0.025em; }
  .menu-btn { display: none; }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; overflow: visible; }
  .topbar { display: block; }
  .nav a:not(.btn) { position: relative; padding: 8px 0; font-size: 0.9375rem; border: 0; }
  .nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal); }
  .nav a:not(.btn):hover { color: var(--teal); }
  .nav__cta { margin: 0; }
  .hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
  .mockup { margin-top: 0; transform: perspective(1400px) rotateY(-6deg); }
  .hero__actions { margin-bottom: 0; }
  .stats { max-width: 900px; }
  .stats strong { font-size: 2.5rem; }
  .stats span { font-size: 0.9375rem; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .klien { grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
  .partners { grid-template-columns: repeat(9, 1fr); }
  .news, .news--scroll { grid-template-columns: repeat(3, 1fr); }
  .news--4 { grid-template-columns: repeat(4, 1fr); }
  .cta__inner { text-align: center; max-width: 760px; }
  .cta__actions { justify-content: center; }
  .footer__grid { grid-template-columns: 1.2fr 1.5fr 1fr; gap: 48px; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1.4fr 1fr; gap: 56px; }
  .about__photo img { aspect-ratio: 2 / 1; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .pillar { --pad: 28px; }
  .hero::before { top: auto; bottom: -90px; right: -110px; width: 320px; height: 320px; opacity: .2; }
  .client-list { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr 1fr; gap: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
