/* Codian · Lithuanian landing page design preview (W-04)
   Product-led hero composition after Vention MachineBuilder — dark field, navy hero, light content panels. */

/* Inter 4 (v20 from Google Fonts), served from this site so no visitor data goes to Google.
   Variable weight 400–700 in two subsets: Latin, and Latin Extended for ą č ę ė į š ų ū ž. SIL Open Font License, see assets/fonts/Inter-OFL.txt.
   When replacing a file, give it a new name: fonts are cached for a year. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-v20-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-v20-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #122635;
  --bg: #020617;
  --bg-raised: #1E293B;
  --bg-card: #161B26;
  --line: #E2E8F0;
  --line-dark: #1F242F;
  --line-mid: #333741;
  --fg: #F5F5F6;
  --fg-2: #CECFD2;
  --fg-3: #94969C;
  --brand: #1D53D2;
  --brand-hover: #1747B8;
  --brand-ink: #3B82F6;
  --blue-50: #EFF6FF;
  --blue-200: #BFDBFE;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0F172A;
  --green: #12B76A;
  --error: #F97066;
  --focus: #60A5FA;
  --field-line: #667085;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1240px;
  --scroll-offset: calc(var(--header-h) + 138px);
  --scroll-clearance: 50px;
  --gutter: 15px;
  --header-h: 70px;
  --panel-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 10px 28px rgba(16, 24, 40, .14);
}

/* ---------- Base ---------- */

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

html {
  color-scheme: dark;
  background: var(--navy);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--scroll-offset);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

img,
svg { display: block; max-width: 100%; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }

h1, h2, h3 { font-weight: 600; text-wrap: balance; }

p { text-wrap: pretty; }

ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

table { border-spacing: 0; }

/* Focus rings are for keyboard use only. main.js sets .kbd on <html> after Tab and removes it on the next click or
   tap, so a pointer never leaves a ring behind. Without JavaScript the browser's :focus-visible decides. */
:focus { outline: none; }

.kbd :focus-visible,
html:not(.js) :focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn__icon { flex: none; width: 24px; height: 24px; }

.btn__icon--sm { width: 18px; height: 18px; }

.btn--lg { min-height: 47px; }

.btn--sm { min-height: 32px; padding: 6px 12px; }

.btn--primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.btn--outline {
  border-color: var(--slate-300);
  background: #fff;
  color: var(--slate-700);
}

.btn--hero-primary {
  min-height: 47px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 24px;
}

.btn--hero-outline {
  min-height: 47px;
  padding: 12px 20px;
  border-color: rgba(255, 255, 255, .45);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 15px;
  line-height: 24px;
}

.btn--white {
  min-height: 50px;
  padding: 12px 18px;
  border-color: var(--slate-300);
  background: #fff;
  color: var(--slate-700);
  font-size: 16px;
  line-height: 24px;
}

.btn--block {
  display: flex;
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  font-size: 16px;
  line-height: 24px;
}

.btn--block .btn__icon { width: 22px; height: 22px; }

@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .btn--lg { min-height: 47px; }
  .btn--white,
  .btn--block { min-height: 50px; }
}

/* ---------- Header and navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: var(--navy);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
}

.brand img {
  width: auto;
  height: 26px;
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  transition: background-color .15s ease, color .15s ease;
}

.site-nav__chev { display: none; }

.site-nav__cta { display: none; }

/* Language switch: EN on the Lithuanian page and LT on the English one, styled like the navigation links. The bar copy
   sits left of the desktop button; below 1024 px the menu copy sits left of the menu button. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  transition: background-color .15s ease, color .15s ease;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-right: -6px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--fg-2);
  cursor: pointer;
}

.menu-toggle__icon { grid-area: 1 / 1; width: 26px; height: 26px; }

.menu-toggle__icon--close,
.site-header.is-open .menu-toggle__icon--open { display: none; }

.site-header.is-open .menu-toggle__icon--close { display: block; }

.menu-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 64rem) {
  .site-header__inner { position: relative; }

  .site-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
  }

  /* max-content: centred with left 50%, the list would otherwise shrink to half the bar and wrap its links. */
  .site-nav__list {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: max-content;
    transform: translate(-50%, -50%);
  }

  .site-nav__actions--bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .lang-switch--menu { display: none; }
}

@media (max-width: 63.99rem) {
  .menu-toggle { display: inline-grid; }

  .lang-switch--menu {
    min-width: 44px;
    min-height: 44px;
    margin-left: auto;
    padding: 8px 12px;
  }

  .lang-switch--menu + .menu-toggle { margin-left: 4px; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 49;
    display: none;
    flex-direction: column;
    padding: 24px var(--gutter) 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: var(--navy);
  }

  .site-header.is-open .site-nav { display: flex; }

  html.menu-open { overflow: hidden; }

  .site-nav__actions--bar { display: none; }

  .site-nav__list { display: grid; gap: 8px; }

  .site-nav__list a {
    display: flex;
    justify-content: space-between;
    min-height: 56px;
    padding: 16px;
    color: var(--fg);
    font-weight: 600;
  }

  .site-nav__chev {
    display: block;
    width: 20px;
    height: 20px;
    color: var(--fg-2);
  }

  .site-nav__cta {
    display: grid;
    margin-top: 40px;
    padding: 0 16px;
  }

  .site-nav__cta .btn {
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    font-size: 16px;
    line-height: 24px;
    white-space: normal;
  }
}

/* ---------- Shared section parts ---------- */

.section { padding-top: 96px; }

.intro {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.intro__text { max-width: 768px; }

.intro__eyebrow {
  margin-bottom: 16px;
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

/* Tag: blue square marker and light-blue label. Paulius picked it from the old Codian figure tile
   (W-04 round 3); used for the hero tag and section eyebrows. */
.tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--blue-200);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.tag::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand-ink);
  transform: translateY(-1px);
}

.intro__tag { margin-bottom: 16px; }

.hero__tag { margin-bottom: 16px; }

@media (min-width: 64rem) {
  .tag {
    font-size: 14px;
    line-height: 20px;
  }

  .hero__tag { margin-bottom: 0; }
}

.intro__title {
  color: var(--fg);
  font-size: 30px;
  line-height: 38px;
}

.intro__lead {
  margin-top: 32px;
  color: var(--fg);
  font-size: 20px;
  line-height: 30px;
}

.how .intro__lead,
.start .intro__lead,
.compare .intro__lead,
.contact .intro__lead {
  font-size: 15px;
  line-height: 23px;
}

.intro__action { align-self: center; }

@media (min-width: 40rem) and (max-width: 63.99rem) {
  .intro {
    width: min(100%, 560px);
    margin-inline: auto;
  }
}

@media (min-width: 64rem) {
  .intro {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
  }

  .intro__eyebrow {
    font-size: 16px;
    line-height: 24px;
  }

  .intro__title {
    font-size: 36px;
    line-height: 44px;
  }

  .intro__action { flex: none; align-self: auto; }
}

.checklist {
  display: grid;
  gap: 15px;
  margin-top: 32px;
}

.checklist li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  color: var(--fg);
  font-size: 14px;
  line-height: 21px;
}

.checklist svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--brand-ink);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border: 1px solid var(--slate-200);
  border-radius: 4px;
  background: var(--slate-50);
  color: var(--slate-700);
  font-size: .86em;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.chip--code {
  border-color: #BFD3FE;
  background: var(--blue-50);
  color: #1D4ED8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 16px;
  color: var(--fg-2);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.text-link svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 0;
  overflow: clip;
  background: var(--navy);
  color: #fff;
}

.hero__copy {
  max-width: 480px;
  margin-inline: auto;
  text-align: center;
}

.hero__eyebrow {
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.hero__title {
  margin-top: 0;
  color: #fff;
  font-size: clamp(30px, 4.5vw + 18.5px, 36px);
  line-height: 1.22;
  letter-spacing: -.01em;
}

.hero__lead {
  margin-top: 16px;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  line-height: 23px;
}

.hero__actions {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

@media (min-width: 40rem) {
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (min-width: 64rem) {
  .hero { padding: 96px 0 0; }

  .hero__inner {
    --hero-copy-col: 42.6%;
    display: grid;
    grid-template-columns: minmax(0, var(--hero-copy-col)) minmax(0, 1fr);
    align-items: center;
  }

  .hero__copy {
    max-width: 548px;
    margin: 0;
    padding-right: 24px;
    text-align: left;
  }

  .hero__eyebrow {
    font-size: 16px;
    line-height: 24px;
  }

  .hero__title {
    margin-top: 16px;
    font-size: 48px;
    line-height: 60px;
  }

  .hero__lead {
    max-width: 480px;
    margin-top: 32px;
  }

  .hero__actions {
    justify-content: flex-start;
    margin-top: 48px;
  }
}

@media (min-width: 64rem) and (max-width: 79.99rem) {
  .hero__title { font-size: 40px; line-height: 50px; }
  .hero__lead { margin-top: 24px; }
  .hero__actions { margin-top: 32px; }
}

/* ---------- Hero visual (fictional catalogue workspace) ----------
   Narrow default: the fixture, the selected item and the request received by sales, stacked and legible.
   From 560 px of figure width the workspace becomes one composition drawn in 821 × 600 design units. */

.hv {
  container-type: inline-size;
  margin-top: 28px;
}

@media (min-width: 64rem) {
  .hv {
    width: min(912px, 57vw);
    margin-top: 0;
  }
}

.hv__stage { display: grid; }

.hv__window {
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-raised);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 70px rgba(0, 0, 0, .5);
}

.hv__tabs { display: none; }

.hv__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
}

.hv__doc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.hv__doc svg { width: 16px; height: 16px; color: var(--slate-400); }

.hv__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--slate-400);
}

.hv__tools svg { width: 15px; height: 15px; }

.hv__zoom {
  padding: 1px 6px;
  border: 1px solid #475569;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

.hv__canvas {
  position: relative;
  padding-bottom: 16px;
  background-color: var(--slate-50);
  background-image: radial-gradient(circle, #CBD5E1 .9px, transparent 1px);
  background-size: 14px 14px;
}

.hv__art {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 500;
}

/* The negative top margin lands the card where the fixture's dashed leader ends (y 388 of 500). */
.hv__pick {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: -17.5% 8% 0 4%;
  padding: 10px 12px 10px 10px;
  border: 1.5px solid var(--brand);
  border-radius: 8px;
  background: #fff;
  color: var(--slate-900);
  box-shadow: var(--panel-shadow);
}

.hv__pick-thumb {
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--slate-100);
}

.hv__pick-thumb svg { width: 100%; height: 100%; }

.hv__pick-text { display: grid; gap: 6px; min-width: 0; }

.hv__pick-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.hv__chips { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }

.hv__pick-check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

.hv__pick-check svg { width: 15px; height: 15px; }

.hv__lib { display: none; }

.hv__cue {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 34px;
  height: 34px;
  margin: 10px 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  transform: rotate(90deg);
}

.hv__cue svg { width: 18px; height: 18px; }

.hv__req {
  margin: 0 3% 0 10%;
  padding: 14px 16px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--slate-900);
  box-shadow: var(--panel-shadow);
}

.hv__req-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.hv__req-head svg { width: 18px; height: 18px; color: var(--brand); }

.hv__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--slate-600);
  font-size: 12px;
  font-weight: 500;
}

.hv__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.hv__req-list {
  display: grid;
  margin-top: 10px;
  border-top: 1px solid var(--slate-200);
}

.hv__req-list > div {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--slate-200);
}

.hv__req-list dt {
  color: var(--slate-500);
  font-size: 13px;
}

.hv__req-list dd {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.hv__attach {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--slate-700);
  font-size: 13px;
  font-weight: 600;
}

.hv__attach svg { width: 16px; height: 16px; color: var(--slate-500); }

.hv__req-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 8px;
  border-radius: 5px;
  background: var(--bg-raised);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.hv__note {
  margin-top: 16px;
  color: var(--fg-3);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

@container (min-width: 560px) {
  .hv__workspace ~ .hv__cue,
  .hv__workspace ~ .hv__req { /* W-04 simplified hero uses absolute rules below */ }

  .hv__stage:not(:has(.hv__workspace)) {
    --u: calc(100cqi / 821);
    position: relative;
    display: block;
    aspect-ratio: 821 / 600;
  }

  .hv__window {
    position: absolute;
    top: calc(32 * var(--u));
    left: calc(95 * var(--u));
    display: flex;
    flex-direction: column;
    width: calc(650 * var(--u));
    height: calc(536 * var(--u));
    overflow: visible;
    border-radius: calc(8 * var(--u));
    background: none;
    box-shadow: none;
  }

  .hv__tabs {
    display: flex;
    gap: calc(3 * var(--u));
    height: calc(19 * var(--u));
    padding-left: calc(8 * var(--u));
  }

  .hv__tab {
    display: inline-flex;
    align-items: center;
    gap: calc(4 * var(--u));
    padding: 0 calc(9 * var(--u));
    border-radius: calc(5 * var(--u)) calc(5 * var(--u)) 0 0;
    background: var(--slate-700);
    color: var(--slate-300);
    font-size: calc(8.5 * var(--u));
    font-weight: 600;
  }

  .hv__tab.is-active { background: var(--bg-raised); color: #fff; }

  .hv__tab svg { width: calc(9 * var(--u)); height: calc(9 * var(--u)); }

  .hv__bar {
    height: calc(31 * var(--u));
    padding: 0 calc(12 * var(--u));
    border-radius: calc(6 * var(--u)) calc(6 * var(--u)) 0 0;
    background: var(--bg-raised);
  }

  .hv__doc { gap: calc(3 * var(--u)); font-size: max(10px, calc(10.5 * var(--u))); }

  .hv__doc svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }

  .hv__tools { gap: calc(9 * var(--u)); }

  .hv__tools svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }

  .hv__zoom {
    padding: calc(1 * var(--u)) calc(5 * var(--u));
    border-radius: calc(3 * var(--u));
    font-size: calc(8 * var(--u));
  }

  .hv__canvas {
    flex: 1;
    padding: 0;
    background-size: calc(13 * var(--u)) calc(13 * var(--u));
    box-shadow: 0 calc(30 * var(--u)) calc(70 * var(--u)) rgba(0, 0, 0, .45);
  }

  .hv__art {
    position: absolute;
    top: calc(18 * var(--u));
    left: calc(85 * var(--u));
    width: calc(560 * var(--u));
    height: calc(437.5 * var(--u));
    aspect-ratio: auto;
  }

  .hv__pick {
    position: absolute;
    top: calc(377 * var(--u));
    left: calc(218 * var(--u));
    width: calc(250 * var(--u));
    grid-template-columns: calc(40 * var(--u)) minmax(0, 1fr) auto;
    gap: calc(9 * var(--u));
    margin: 0;
    padding: calc(8 * var(--u)) calc(10 * var(--u)) calc(8 * var(--u)) calc(8 * var(--u));
    border-width: max(1px, calc(1.5 * var(--u)));
    border-radius: calc(6 * var(--u));
  }

  .hv__pick-thumb { border-radius: calc(4 * var(--u)); }

  .hv__pick-text { gap: calc(5 * var(--u)); }

  .hv__pick-name { font-size: max(10px, calc(11.5 * var(--u))); }

  .hv__chips { gap: calc(5 * var(--u)); font-size: max(10px, calc(11 * var(--u))); }

  .hv__pick-check { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }

  .hv__pick-check svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }

  .hv__lib {
    position: absolute;
    top: calc(96 * var(--u));
    left: calc(11 * var(--u));
    display: flex;
    width: calc(201 * var(--u));
    height: calc(300 * var(--u));
    overflow: hidden;
    border-radius: calc(4 * var(--u));
    background: #F1F4F7;
    color: var(--slate-900);
    box-shadow: var(--panel-shadow);
  }

  .hv__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(12 * var(--u));
    width: calc(26 * var(--u));
    padding: calc(12 * var(--u)) 0;
    border-right: 1px solid var(--slate-200);
    color: var(--slate-500);
  }

  .hv__rail svg { width: calc(11 * var(--u)); height: calc(11 * var(--u)); }

  .hv__rail svg:first-child { color: var(--brand); }

  .hv__rail-gap { flex: 1; }

  .hv__lib-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: calc(9 * var(--u));
    min-width: 0;
    padding: calc(10 * var(--u)) calc(9 * var(--u));
    background: #fff;
  }

  .hv__search {
    display: flex;
    align-items: center;
    gap: calc(5 * var(--u));
    height: calc(20 * var(--u));
    padding: 0 calc(6 * var(--u));
    border: 1px solid var(--slate-200);
    border-radius: calc(4 * var(--u));
    color: var(--slate-500);
    font-size: calc(8 * var(--u));
  }

  .hv__search svg { width: calc(9 * var(--u)); height: calc(9 * var(--u)); }

  .hv__lib-title { font-size: calc(9 * var(--u)); font-weight: 600; }

  .hv__tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(7 * var(--u));
  }

  .hv__tile {
    display: grid;
    gap: calc(3 * var(--u));
    justify-items: center;
    padding-bottom: calc(2 * var(--u));
    color: var(--slate-600);
    font-size: calc(7.5 * var(--u));
    font-weight: 600;
  }

  .hv__tile svg {
    width: 100%;
    aspect-ratio: 62 / 31;
    padding: calc(4 * var(--u));
    border: 1px solid var(--slate-200);
    border-radius: calc(4 * var(--u));
    background: var(--slate-50);
  }

  .hv__tile.is-selected { color: var(--brand); }

  .hv__tile.is-selected svg {
    border-color: var(--brand);
    box-shadow: 0 0 0 calc(1.5 * var(--u)) var(--brand);
    background: var(--blue-50);
  }

  .hv__cue {
    position: absolute;
    top: calc(456 * var(--u));
    left: calc(568 * var(--u));
    width: calc(26 * var(--u));
    height: calc(26 * var(--u));
    margin: 0;
    transform: none;
  }

  .hv__cue svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }

  .hv__req {
    position: absolute;
    top: calc(292 * var(--u));
    left: calc(603 * var(--u));
    width: calc(208 * var(--u));
    margin: 0;
    padding: calc(12 * var(--u));
    border-radius: calc(4 * var(--u));
  }

  .hv__req-head { gap: calc(5 * var(--u)); font-size: max(10px, calc(11.5 * var(--u))); }

  .hv__req-head svg { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }

  .hv__status { gap: calc(4 * var(--u)); margin-top: calc(4 * var(--u)); font-size: max(9px, calc(9.5 * var(--u))); }

  .hv__status-dot { width: calc(6 * var(--u)); height: calc(6 * var(--u)); }

  .hv__req-list { margin-top: calc(8 * var(--u)); }

  .hv__req-list > div {
    grid-template-columns: calc(52 * var(--u)) minmax(0, 1fr);
    gap: calc(6 * var(--u));
    padding: calc(6 * var(--u)) 0;
  }

  .hv__req-list dt { font-size: max(9px, calc(9.5 * var(--u))); }

  .hv__req-list dd { font-size: max(10px, calc(11 * var(--u))); }

  .hv__req-list .chip { padding: 0 calc(5 * var(--u)); }

  .hv__attach { gap: calc(4 * var(--u)); margin-top: calc(8 * var(--u)); font-size: max(9px, calc(10 * var(--u))); }

  .hv__attach svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }

  .hv__req-btn {
    margin-top: calc(10 * var(--u));
    padding: calc(6 * var(--u));
    border-radius: calc(4 * var(--u));
    font-size: max(9px, calc(9.5 * var(--u)));
  }

  .hv__note {
    margin-top: calc(10 * var(--u));
    padding-left: calc(95 * var(--u));
    text-align: left;
  }
}

/* ---------- Figures band: three sourced market figures ----------
   Phones: compact rows, the figure on the left and its label, caption and source on the right.
   Desktop: three equal columns on a shared subgrid; vertical rules between columns. */

.stats { padding-top: 0; }

.hero .stats {
  margin-top: 96px;
  padding-bottom: 0;
}

.stats__list {
  display: grid;
}

.stat {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  grid-template-areas:
    "value tag"
    "value caption"
    "value source";
  grid-template-rows: auto auto 1fr;
  column-gap: 16px;
  padding: 0 0 calc(24px + 1rem);
}

.stat + .stat { border-top: 0; }

.stat__tag {
  grid-area: tag;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--fg-2);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

/* Neutral square marker for market data (the blue variant is .tag). */
.stat__tag::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--fg-3);
  transform: translateY(-1px);
}

.stat__value {
  grid-area: value;
  color: #fff;
  font-size: clamp(30px, 4.5vw + 18.5px, 36px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.stat__caption {
  grid-area: caption;
  margin-top: 8px;
  color: var(--fg);
  font-size: 15px;
  line-height: 23px;
}

.stat__source {
  grid-area: source;
  margin-top: 10px;
  color: var(--fg-3);
  font-size: 13px;
  line-height: 19px;
}

.stat__source a {
  color: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
}

.stat__source a:hover {
  text-decoration: none;
}

.stat__source svg {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 2px;
  vertical-align: -3px;
}

@media (min-width: 64rem) {
  .stats { padding: 64px 0; }

  .stats__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr auto;
    column-gap: 0;
  }

  .stat {
    grid-row: span 4;
    grid-template-columns: none;
    grid-template-areas: none;
    grid-template-rows: subgrid;
    padding: 0 48px 0;
  }

  .stat:first-child { padding-left: 0; }

  .stat:last-child { padding-right: 0; }

  .stat + .stat {
    border-left: 1px solid rgba(255, 255, 255, .08);
  }

  .stat__tag,
  .stat__value,
  .stat__caption,
  .stat__source { grid-area: auto; }

  .stat__tag {
    font-size: 14px;
    line-height: 20px;
  }

  .stat__value {
    margin-top: 24px;
    font-size: 48px;
    line-height: 60px;
  }

  .stat__caption {
    margin-top: 16px;
  }

  .stat__source {
    margin-top: 16px;
    font-size: 14px;
    line-height: 20px;
  }
}

@media (min-width: 64rem) and (max-width: 79.99rem) {
  .stat__value { font-size: 40px; line-height: 50px; }
}

/* ---------- Kaip veikia intro ---------- */

.how .intro {
  align-items: center;
  text-align: center;
}

.how .intro__text {
  max-width: none;
}

.how .intro__tag { margin-bottom: 24px; }

@media (min-width: 64rem) {
  .how .intro {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .how .intro__text {
    width: 60%;
    max-width: 60%;
    margin-inline: auto;
  }
}

/* ---------- Sticky stacked rows (Kaip veikia steps and lead projects) ---------- */

.stack {
  display: grid;
  gap: 64px;
  margin-top: 96px;
}

.how .stack {
  margin-top: calc(96px - 3rem);
}

.stack__media { container-type: inline-size; }

.stack__body { padding: 40px 24px 0; }

.stack__title {
  color: var(--fg);
  font-size: 26.25px;
  line-height: 31.5px;
}

.shot {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  background: #fff;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 40rem) and (max-width: 63.99rem) {
  .stack__body { width: min(100%, 560px); margin-inline: auto; padding-inline: 0; }
}

/* Each row sticks 20 px lower than the one before. main.js sets --depth while later rows slide over; copy
   fades out so headings never stack on top of each other (mock-ups still shrink like MachineBuilder). */
@media (min-width: 64rem) {
  .stack {
    display: block;
    margin-top: 128px;
  }

  .how .stack {
    margin-top: calc(128px - 3rem);
  }

  .stack__item {
    position: sticky;
    top: calc(80px + var(--i) * 20px);
    z-index: calc(var(--i) + 1);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    padding-top: calc((var(--i) + 1) * 10px);
  }

  .stack__item + .stack__item { margin-top: calc(95px - var(--i) * 10px); }

  .stack__media > * {
    transform: scale(calc(1 - var(--depth, 0) * .05));
    transform-origin: 50% 0;
  }

  .stack__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0 8px;
    background: var(--navy);
    opacity: calc(1 - clamp(0, var(--depth, 0) * 1.35, 1));
    transition: opacity .12s linear;
  }

  .stack__title {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (min-width: 64rem) and (prefers-reduced-motion: reduce) {
  .stack__body { opacity: 1; transition: none; }

  .stack__media > * { transform: none; }
}

/* ---------- Feature mock-ups (original, decorative, 661 × 441 design units) ---------- */

.mock {
  --u: calc(100cqi / 661);
  position: relative;
  overflow: hidden;
  aspect-ratio: 661 / 441;
  border-radius: 12px;
  background-color: #E9EEF4;
  background-image:
    linear-gradient(rgba(148, 163, 184, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .22) 1px, transparent 1px);
  background-size: calc(33 * var(--u)) calc(33 * var(--u));
  color: var(--slate-900);
  font-size: calc(9.5 * var(--u));
  line-height: 1.35;
}

.mock p { text-wrap: nowrap; }

.mk-win,
.mk-float {
  position: absolute;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: calc(8 * var(--u));
  background: #fff;
  box-shadow: var(--panel-shadow);
}

.mk-float { padding: calc(12 * var(--u)); }

.mk-float__title {
  margin-bottom: calc(8 * var(--u));
  font-size: calc(11 * var(--u));
  font-weight: 600;
}

.mk-row {
  display: flex;
  justify-content: space-between;
  gap: calc(10 * var(--u));
  padding: calc(5 * var(--u)) 0;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-500);
}

.mk-row b { color: var(--slate-900); font-weight: 600; }

/* Step 1: catalogue search and technical data */
.mock--find .mk-win {
  top: calc(30 * var(--u));
  left: calc(28 * var(--u));
  width: calc(468 * var(--u));
  height: calc(381 * var(--u));
  overflow: hidden;
}

.mk-top {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--u));
  padding: calc(10 * var(--u));
  border-bottom: 1px solid var(--slate-100);
}

.mk-search {
  display: flex;
  flex: 1;
  align-items: center;
  gap: calc(5 * var(--u));
  height: calc(24 * var(--u));
  padding: 0 calc(8 * var(--u));
  border: calc(1.5 * var(--u)) solid var(--brand);
  border-radius: calc(5 * var(--u));
  color: var(--slate-900);
}

.mk-search svg { width: calc(11 * var(--u)); height: calc(11 * var(--u)); color: var(--slate-500); }

.mk-chip {
  padding: calc(3 * var(--u)) calc(7 * var(--u));
  border: 1px solid var(--slate-200);
  border-radius: calc(20 * var(--u));
  color: var(--slate-600);
  font-size: calc(8.5 * var(--u));
  font-weight: 600;
}

.mk-chip.is-on { border-color: #BFD3FE; background: var(--blue-50); color: var(--brand); }

.mk-body {
  display: grid;
  grid-template-columns: calc(118 * var(--u)) minmax(0, 1fr);
  height: calc(100% - 45 * var(--u));
}

.mk-filters {
  display: grid;
  align-content: start;
  gap: calc(5 * var(--u));
  padding: calc(10 * var(--u));
  border-right: 1px solid var(--slate-100);
}

.mk-h {
  margin-top: calc(6 * var(--u));
  font-size: calc(8.5 * var(--u));
  font-weight: 600;
}

.mk-h:first-child { margin-top: 0; }

.mk-check {
  display: flex;
  align-items: center;
  gap: calc(5 * var(--u));
  color: var(--slate-600);
  font-size: calc(8.5 * var(--u));
}

.mk-check::before {
  content: '';
  flex: none;
  width: calc(9 * var(--u));
  height: calc(9 * var(--u));
  border: 1px solid var(--slate-300);
  border-radius: calc(2 * var(--u));
}

.mk-check.is-on { color: var(--slate-900); font-weight: 600; }

.mk-check.is-on::before {
  border-color: var(--brand);
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.mk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: calc(9 * var(--u));
  padding: calc(10 * var(--u));
}

.mk-card {
  display: grid;
  gap: calc(2 * var(--u));
  padding: calc(6 * var(--u));
  border: 1px solid var(--slate-200);
  border-radius: calc(6 * var(--u));
}

.mk-card svg {
  width: 100%;
  aspect-ratio: 62 / 31;
  margin-bottom: calc(4 * var(--u));
  padding: calc(6 * var(--u));
  border-radius: calc(4 * var(--u));
  background: var(--slate-50);
}

.mk-card b { font-size: calc(9.5 * var(--u)); font-weight: 700; }

.mk-card span { color: var(--slate-500); font-size: calc(8 * var(--u)); }

.mk-card.is-selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 calc(1.5 * var(--u)) var(--brand);
}

.mk-card.is-selected b { color: var(--brand); }

.mk-specs {
  top: calc(118 * var(--u));
  left: calc(452 * var(--u));
  width: calc(184 * var(--u));
}

.mk-dl {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--u));
  margin-top: calc(8 * var(--u));
  padding: calc(5 * var(--u)) calc(7 * var(--u));
  border: 1px solid var(--slate-200);
  border-radius: calc(4 * var(--u));
  font-weight: 600;
}

.mk-dl + .mk-dl { margin-top: calc(5 * var(--u)); }

.mk-dl svg { width: calc(11 * var(--u)); height: calc(11 * var(--u)); color: var(--slate-500); }

.mk-dl.is-on { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 calc(1 * var(--u)) var(--brand); }

.mk-dl.is-on svg { color: var(--brand); }

/* Step 2: request form */
.mk-form {
  top: calc(30 * var(--u));
  left: calc(40 * var(--u));
  width: calc(410 * var(--u));
  height: calc(381 * var(--u));
  padding: calc(16 * var(--u));
}

.mk-form__title { font-size: calc(13 * var(--u)); font-weight: 700; }

.mk-line {
  display: grid;
  grid-template-columns: calc(38 * var(--u)) minmax(0, 1fr) auto;
  align-items: center;
  gap: calc(9 * var(--u));
  margin-top: calc(12 * var(--u));
  padding: calc(7 * var(--u));
  border: 1px solid var(--slate-200);
  border-radius: calc(6 * var(--u));
}

.mk-line + .mk-line { margin-top: calc(7 * var(--u)); }

.mk-line__thumb {
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: calc(4 * var(--u));
  background: var(--slate-100);
}

.mk-line__thumb svg { width: 100%; height: 100%; }

.mk-line__text { display: grid; }

.mk-line__text b { font-weight: 700; }

.mk-line__text span { color: var(--slate-500); font-size: calc(8.5 * var(--u)); }

.mk-qty {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--u));
  padding: calc(3 * var(--u)) calc(6 * var(--u));
  border: calc(1.5 * var(--u)) solid var(--brand);
  border-radius: calc(5 * var(--u));
}

.mk-qty i { color: var(--slate-500); font-style: normal; font-weight: 600; }

.mk-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(9 * var(--u));
  margin-top: calc(12 * var(--u));
}

.mk-field { display: grid; gap: calc(3 * var(--u)); }

.mk-field span { color: var(--slate-500); font-size: calc(8.5 * var(--u)); font-weight: 600; }

.mk-field b {
  padding: calc(6 * var(--u)) calc(7 * var(--u));
  border: 1px solid var(--slate-200);
  border-radius: calc(4 * var(--u));
  font-weight: 500;
}

.mk-field--wide { grid-column: 1 / -1; }

.mk-field__area { min-height: calc(40 * var(--u)); }

.mk-drop {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  margin-top: calc(10 * var(--u));
  padding: calc(8 * var(--u));
  border: 1px dashed var(--slate-300);
  border-radius: calc(6 * var(--u));
  color: var(--slate-500);
}

.mk-drop > svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }

.mk-file {
  display: inline-flex;
  align-items: center;
  gap: calc(4 * var(--u));
  padding: calc(3 * var(--u)) calc(7 * var(--u));
  border-radius: calc(4 * var(--u));
  background: var(--slate-100);
  color: var(--slate-900);
  font-weight: 600;
}

.mk-file svg { width: calc(10 * var(--u)); height: calc(10 * var(--u)); color: var(--slate-500); }

.mk-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: calc(12 * var(--u));
  padding: calc(7 * var(--u));
  border-radius: calc(5 * var(--u));
  background: var(--brand);
  color: #fff;
  font-size: calc(10 * var(--u));
  font-weight: 600;
}

.mk-cursor {
  position: absolute;
  top: calc(12 * var(--u));
  left: 58%;
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
}

.mk-summary {
  top: calc(86 * var(--u));
  left: calc(432 * var(--u));
  width: calc(196 * var(--u));
}

/* Step 3: request received by sales */
.mk-inbox {
  top: calc(56 * var(--u));
  left: calc(28 * var(--u));
  display: grid;
  grid-template-columns: calc(196 * var(--u)) minmax(0, 1fr);
  width: calc(604 * var(--u));
  height: calc(355 * var(--u));
  overflow: hidden;
}

.mk-list {
  display: grid;
  align-content: start;
  border-right: 1px solid var(--slate-100);
  background: var(--slate-50);
}

.mk-list__title {
  display: flex;
  align-items: center;
  gap: calc(5 * var(--u));
  padding: calc(12 * var(--u));
  font-size: calc(11 * var(--u));
  font-weight: 700;
}

.mk-list__title svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); color: var(--brand); }

.mk-msg {
  position: relative;
  display: grid;
  gap: calc(2 * var(--u));
  padding: calc(9 * var(--u)) calc(12 * var(--u));
  border-top: 1px solid var(--slate-100);
}

.mk-msg b { font-weight: 600; }

.mk-msg span { color: var(--slate-500); font-size: calc(8.5 * var(--u)); }

.mk-msg i {
  position: absolute;
  right: calc(10 * var(--u));
  bottom: calc(9 * var(--u));
  padding: 0 calc(5 * var(--u));
  border-radius: calc(10 * var(--u));
  background: var(--brand);
  color: #fff;
  font-size: calc(7.5 * var(--u));
  font-style: normal;
  font-weight: 600;
}

.mk-msg.is-on {
  background: #fff;
  box-shadow: inset calc(3 * var(--u)) 0 0 var(--brand);
}

.mk-detail {
  display: flex;
  flex-direction: column;
  padding: calc(14 * var(--u)) calc(16 * var(--u));
}

.mk-detail__title {
  margin-bottom: calc(8 * var(--u));
  font-size: calc(13 * var(--u));
  font-weight: 700;
}

.mk-kv {
  display: grid;
  grid-template-columns: calc(78 * var(--u)) minmax(0, 1fr);
  gap: calc(8 * var(--u));
  padding: calc(7 * var(--u)) 0;
  border-bottom: 1px solid var(--slate-100);
}

.mk-kv span { color: var(--slate-500); }

.mk-kv b { font-weight: 600; }

/* The buyer's own description from step 2, word for word, so it may run to a second line. */
.mk-kv--text b { text-wrap: wrap; }

/* The next step for sales, at the foot of the request. */
.mk-actions {
  display: flex;
  gap: calc(6 * var(--u));
  margin-top: auto;
  padding-top: calc(12 * var(--u));
  border-top: 1px solid var(--slate-100);
}

.mk-btn {
  padding: calc(6 * var(--u)) calc(10 * var(--u));
  border-radius: calc(5 * var(--u));
  background: var(--brand);
  color: #fff;
  font-size: calc(8.5 * var(--u));
  font-weight: 600;
}

.mk-btn--line {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--slate-200);
  color: var(--slate-700);
}

.mk-mail {
  top: calc(16 * var(--u));
  left: calc(372 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(9 * var(--u));
  width: calc(250 * var(--u));
  padding: calc(9 * var(--u)) calc(11 * var(--u));
}

.mk-mail__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: calc(28 * var(--u));
  height: calc(28 * var(--u));
  border-radius: calc(6 * var(--u));
  background: var(--brand);
  color: #fff;
}

.mk-mail__icon svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }

.mk-mail p { display: grid; }

.mk-mail p span { color: var(--slate-500); font-size: calc(8.5 * var(--u)); }

.mk-crm {
  top: calc(386 * var(--u));
  left: calc(52 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(6 * var(--u));
  padding: calc(7 * var(--u)) calc(11 * var(--u));
  border-radius: calc(20 * var(--u));
  font-weight: 600;
}

.mk-crm__dot {
  width: calc(7 * var(--u));
  height: calc(7 * var(--u));
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Worked example: large product panel ---------- */

.example { margin-top: 96px; }

.showcase {
  container-type: inline-size;
  margin-top: 48px;
}

.showcase__stage {
  padding: 12px;
  border-radius: 16px;
  background: var(--slate-300);
  color: var(--slate-900);
}

.sc-page {
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--panel-shadow);
}

.sc-crumbs { display: none; }

.sheet { padding: 18px 16px 8px; }

.sheet__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

.sheet__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00D992;
}

.sheet__grid {
  display: grid;
  margin-top: 12px;
}

.sheet__field {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--slate-200);
}

.sheet__field dt {
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}

.sheet__field dd {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}

.code {
  color: #1D4ED8;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.sheet__file {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  overflow-wrap: anywhere;
}

.sheet__file svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--slate-500);
}

.sc-float {
  background: #fff;
  box-shadow: var(--panel-shadow);
}

.sc-mail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 10px;
}

.sc-mail__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
}

.sc-mail__icon svg { width: 20px; height: 20px; }

.sc-mail__text { display: grid; min-width: 0; }

.sc-mail__text b { font-size: 14px; font-weight: 600; }

.sc-mail__text span { color: var(--slate-600); font-size: 13px; }

.sc-product { display: none; }

.showcase__note {
  margin-top: 16px;
  color: var(--fg-3);
  font-size: 14px;
  line-height: 20px;
}

@media (min-width: 64rem) {
  .example { margin-top: 128px; }

  .showcase {
    margin-top: 64px;
    margin-inline: clamp(0px, 4.4%, 60px);
  }
}

@container (min-width: 780px) {
  .showcase__stage {
    --u: calc(100cqi / 1250);
    position: relative;
    overflow: hidden;
    aspect-ratio: 1250 / 703;
    padding: 0;
  }

  .sc-page {
    position: absolute;
    top: calc(176 * var(--u));
    left: calc(120 * var(--u));
    width: calc(700 * var(--u));
    height: calc(600 * var(--u));
    border-radius: calc(10 * var(--u));
    background: var(--slate-50);
  }

  .sc-crumbs {
    display: flex;
    align-items: center;
    gap: calc(8 * var(--u));
    height: calc(52 * var(--u));
    padding: 0 calc(28 * var(--u));
    border-bottom: 1px solid var(--slate-200);
    background: #fff;
    color: var(--slate-500);
    font-size: max(11px, calc(14 * var(--u)));
    font-weight: 500;
  }

  .sc-crumbs svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }

  .sc-crumbs b { color: var(--slate-900); font-weight: 600; }

  .sheet { padding: calc(28 * var(--u)); }

  .sheet__head { gap: calc(9 * var(--u)); font-size: max(12px, calc(17 * var(--u))); }

  .sheet__dot { width: calc(9 * var(--u)); height: calc(9 * var(--u)); }

  .sheet__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 calc(28 * var(--u));
    margin-top: calc(18 * var(--u));
  }

  .sheet__field {
    gap: calc(6 * var(--u));
    padding: calc(18 * var(--u)) 0 calc(20 * var(--u));
  }

  .sheet__field dt { font-size: max(11px, calc(13 * var(--u))); }

  .sheet__field dd { font-size: max(13px, calc(20 * var(--u))); }

  .sheet__file svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }

  .sc-mail {
    position: absolute;
    top: calc(58 * var(--u));
    left: calc(65 * var(--u));
    gap: calc(14 * var(--u));
    width: calc(560 * var(--u));
    margin: 0;
    padding: calc(18 * var(--u)) calc(20 * var(--u));
    border: calc(2 * var(--u)) solid var(--brand);
    border-radius: calc(8 * var(--u));
  }

  .sc-mail__icon {
    width: calc(44 * var(--u));
    height: calc(44 * var(--u));
    border-radius: calc(8 * var(--u));
  }

  .sc-mail__icon svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }

  .sc-mail__text b { font-size: max(12px, calc(17 * var(--u))); }

  .sc-mail__text span { font-size: max(11px, calc(14 * var(--u))); }

  .sc-product {
    position: absolute;
    top: calc(92 * var(--u));
    left: calc(860 * var(--u));
    display: flex;
    flex-direction: column;
    width: calc(330 * var(--u));
    height: calc(640 * var(--u));
    padding: calc(22 * var(--u));
    border-radius: calc(8 * var(--u));
  }

  .sc-product__crumbs {
    display: flex;
    align-items: center;
    gap: calc(4 * var(--u));
    color: var(--slate-500);
    font-size: calc(12 * var(--u));
  }

  .sc-product__crumbs svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }

  .sc-product__name {
    margin-top: calc(14 * var(--u));
    font-size: calc(22 * var(--u));
    font-weight: 600;
    line-height: 1.25;
  }

  .sc-product__code {
    margin-top: calc(4 * var(--u));
    color: #1D4ED8;
    font-size: calc(14 * var(--u));
    font-weight: 600;
  }

  .sc-product__art {
    display: block;
    margin-top: calc(18 * var(--u));
    padding: calc(16 * var(--u)) calc(8 * var(--u));
    border: 1px solid var(--slate-200);
    border-radius: calc(6 * var(--u));
  }

  .sc-product__art svg { width: 100%; height: auto; aspect-ratio: 640 / 360; }

  .sc-product__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(8 * var(--u));
    margin-top: calc(14 * var(--u));
    padding: calc(10 * var(--u));
    border-radius: calc(6 * var(--u));
    background: var(--brand);
    color: #fff;
    font-size: calc(13 * var(--u));
    font-weight: 600;
  }

  .sc-product__btn svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
}

/* ---------- Call-to-action band ---------- */

.band-section { padding-top: 80px; }

.band {
  --focus: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: 64px 32px;
  border-radius: 6px;
  background: var(--brand-hover);
}

.band__title {
  color: #fff;
  font-size: 30px;
  line-height: 38px;
}

.band__lead {
  max-width: 640px;
  margin-top: 16px;
  color: var(--blue-200);
  font-size: 16px;
  line-height: 24px;
}

@media (min-width: 64rem) {
  .band-section { padding-top: 108px; }

  .band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .band__title {
    font-size: 36px;
    line-height: 44px;
  }
}

/* ---------- Projektai ---------- */

.cards {
  display: grid;
  gap: 24px;
}

.card {
  border-radius: 8px;
  background: var(--bg-card);
}

.card__tile {
  display: grid;
  flex: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
}

.card__tile svg { width: 26px; height: 26px; }

.cards--projects { margin-top: 64px; }

.card--project {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
}

.card__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.card__title {
  margin-top: 24px;
  color: var(--fg);
  font-size: 20px;
  line-height: 30px;
}

.card__desc {
  margin-top: 8px;
  color: var(--fg-2);
  font-size: 16px;
  line-height: 24px;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--fg-2);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.card__link svg { width: 20px; height: 20px; }

.card__shot {
  order: -1;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 6px;
  background: #fff;
}

.card__shot img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 48rem) {
  .cards--projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .cards--projects { margin-top: 108px; }

  .card--project {
    flex-direction: row;
    min-height: 320px;
  }

  .card__shot {
    order: 0;
    flex: none;
    align-self: center;
    width: 46%;
  }
}

/* ---------- Kaip pradedame: three steps (always visible) ---------- */

.start__rule {
  height: 1px;
  margin-top: 64px;
  background: rgba(255, 255, 255, .12);
}

.start__grid {
  display: grid;
  gap: 32px;
  padding-top: 32px;
}

.start__steps {
  display: grid;
  gap: calc(40px + 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
}

.start .slide {
  flex: none;
  scroll-snap-align: none;
}

.start .slide__num {
  order: 0;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin: 0;
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

.start .slide__title {
  order: 1;
  margin-top: 16px;
}

.start .slide__text {
  order: 2;
  margin-top: 12px;
  font-size: 15px;
  line-height: 23px;
  font-weight: 400;
}

.start__eyebrow {
  margin: 0;
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.slider { min-width: 0; }

.slider__track {
  position: relative;
  display: flex;
  gap: 32px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slider__track::-webkit-scrollbar { display: none; }

.slide {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  align-items: flex-start;
  scroll-snap-align: start;
}

/* Visual order follows the reference testimonial (mark, statement, icon, name line). The slides hold no controls. */
.slide__num {
  order: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: .04em;
}

.slide__text {
  order: 1;
  margin-top: 32px;
  color: var(--fg-2);
  font-size: 18px;
  line-height: 28px;
}

.slide__tile {
  order: 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-top: 32px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
}

.slide__tile svg { width: 30px; height: 30px; }

.slide__title {
  order: 3;
  margin-top: 16px;
  color: var(--fg);
  font-size: 18px;
  line-height: 28px;
}

.slider__controls {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  margin-top: 32px;
  padding-right: 15px;
}

.slider__controls[hidden] { display: none; }

.slider__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-mid);
  border-radius: 9999px;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}

.slider__btn svg { width: 20px; height: 20px; }

.slider__btn[aria-disabled="true"] {
  border-color: var(--line-dark);
  background: var(--line-dark);
  color: #5D6270;
  cursor: default;
}

html:not(.js) .slider__track {
  display: grid;
  gap: 56px;
  overflow: visible;
}

@media (min-width: 64rem) {
  .start { padding-top: 128px; }

  .start__rule { margin-top: 96px; }

  .start__grid {
    gap: 40px;
  }

  .start__eyebrow {
    font-size: 16px;
    line-height: 24px;
  }

  .start__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: calc(40px + 2rem);
  }

  .start .slide__title {
    font-size: 20px;
    line-height: 30px;
  }
}

/* ---------- Palyginimas intro ---------- */

.compare .intro {
  align-items: center;
  text-align: center;
}

.compare .intro__text {
  max-width: none;
}

.compare .intro__tag { margin-bottom: 24px; }

.compare .intro__lead {
  font-size: 15px;
  line-height: 23px;
}

@media (min-width: 64rem) {
  .compare .intro {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .compare .intro__text {
    width: 60%;
    max-width: 60%;
    margin-inline: auto;
  }
}

/* ---------- Comparison table ---------- */

.compare__table {
  width: 100%;
  margin-top: 48px;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare__table thead td { width: 50%; }

.compare__table thead th {
  padding: 0 6px 16px;
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  vertical-align: bottom;
}

/* Block-level flex keeps the label on the same baseline as the plain "El. paštu" heading. */
.compare__col-label {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
}

.compare__col-logo {
  display: block;
  height: 22px;
  width: auto;
  flex-shrink: 0;
  transform: translateY(-3px);
}

/* Each tbody opens with its group heading, so the stripes start on the first feature row. */
.compare__table tbody tr:not(.compare__group):nth-child(even) { background: var(--bg-card); }

/* Row groups: Pirkėjui and Pardavimų komandai. */
.compare__table .compare__group th {
  padding: 40px 16px 12px;
  color: var(--blue-200);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
}

.compare__table tbody:first-of-type .compare__group th { padding-top: 12px; }

/* A worded answer where a tick or cross would overstate it (documents arrive by e-mail on request). */
.compare__text {
  display: block;
  color: var(--fg-2);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  /* One word: at 320 px it is a fraction of a pixel wider than its column and would otherwise split as "Paprašiu-s". */
  white-space: nowrap;
}

.compare__table tbody th {
  padding: 18px 16px;
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: left;
}

.compare__table tbody td {
  padding: 16px 6px;
  text-align: center;
  vertical-align: middle;
}

.compare__yes,
.compare__no {
  width: 20px;
  height: 20px;
  margin-inline: auto;
}

.compare__yes { color: var(--brand-ink); }

.compare__no { color: var(--fg-3); }

/* Phones: the short column labels carry the comparison on their own. */
.compare__col-logo { display: none; }

@media (min-width: 48rem) {
  .compare__table thead td { width: 50%; }

  .compare__table thead th { width: 25%; }

  .compare__table thead th {
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 20px;
  }

  .compare__col-logo { display: block; }
}

@media (min-width: 64rem) {
  .compare { padding-top: 96px; }

  .compare__table { margin-top: 64px; }

  /* Room for long feature names on one line; tick columns stay narrow. */
  .compare__table thead td { width: 58%; }

  .compare__table thead th { width: 21%; }
}

/* Setup and handover: the former plan features that are part of the work rather than a difference from e-mail. */
.compare__extras { margin-top: 56px; }

.compare__extras-title {
  color: var(--fg);
  font-size: 20px;
  line-height: 30px;
  text-align: center;
}

.compare__extras-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.compare__extra {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
  padding: 20px;
  border: 1px solid var(--line-mid);
  border-radius: 12px;
  background: transparent;
}

.compare__extra svg {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  color: var(--brand-ink);
}

.compare__extra b {
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
}

.compare__extra span {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 21px;
}

@media (min-width: 40rem) {
  .compare__extras-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .compare__extras { margin-top: 80px; }

  .compare__extras-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
  }

  .compare__extra {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    padding: 24px;
  }

  .compare__extra svg {
    grid-row: auto;
    margin-bottom: 12px;
  }
}

/* ---------- Kainos: one offer priced by its parts ----------
   The base is always included and each option adds to the total (main.js). From 1024 px the summary sits beside the
   options and stays in view; below that a slim bar keeps the running total on screen while the options scroll past. */

.pricing .intro {
  align-items: center;
  text-align: center;
}

.pricing .intro__text { max-width: none; }

.pricing .intro__tag { margin-bottom: 24px; }

.pricing .intro__lead {
  font-size: 15px;
  line-height: 23px;
}

.calc {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.calc__options {
  display: grid;
  align-content: start;
  gap: 12px;
}

.calc__set {
  min-width: 0;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
}

.calc__set > .calc__option + .calc__option { margin-top: 12px; }

.calc__group {
  padding: 0;
  color: var(--fg-3);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

legend.calc__group { margin-bottom: 12px; }

.calc__option {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line-mid);
  border-radius: 12px;
  background: var(--bg-card);
  transition: border-color .15s ease, background-color .15s ease;
}

.calc__option.is-on,
.calc__option--base {
  border-color: rgba(59, 130, 246, .55);
  background: linear-gradient(180deg, rgba(37, 99, 235, .16), rgba(37, 99, 235, .04)), var(--bg-card);
}

/* Native checkbox stays focusable and announced; the drawn box shows its state. */
.calc__input {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.calc__label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 14px;
}

label.calc__label { cursor: pointer; }

/* The whole card is the click target. */
label.calc__label::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.calc__box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid var(--fg-3);
  border-radius: 6px;
  color: transparent;
  transition: background-color .15s ease, border-color .15s ease;
}

.calc__box svg { width: 16px; height: 16px; }

.calc__input:checked + .calc__label .calc__box {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

/* The native checkbox is invisible, so the drawn box carries the keyboard focus ring. */
.kbd .calc__input:focus-visible + .calc__label .calc__box {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.calc__box--fixed {
  border-color: transparent;
  background: rgba(59, 130, 246, .45);
  color: #fff;
}

.calc__name {
  color: var(--fg);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.calc__price {
  color: var(--fg);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.calc__desc {
  margin-top: 6px;
  padding-right: 100px;
  padding-left: 36px;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 21px;
}

.calc__hint {
  margin-top: 8px;
  padding-left: 36px;
  color: var(--blue-200);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

/* Quantity rows: title row full width like the other parts; stepper sits beside the description. */
.calc__option--qty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 14px;
}

.calc__option--qty > .calc__label { grid-column: 1 / -1; }

.calc__option--qty > .calc__desc {
  grid-column: 1;
  min-width: 0;
}

.calc__option--qty > .calc__hint { grid-column: 1 / -1; }

.calc__option--qty > .calc__stepper {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  margin-top: 6px;
  margin-left: 0;
}

@media (max-width: 39.99rem) {
  .calc__option--qty {
    grid-template-columns: minmax(0, 1fr);
  }

  .calc__option--qty > .calc__label {
    grid-template-columns: 22px minmax(0, 1fr);
    row-gap: 4px;
  }

  .calc__option--qty > .calc__label .calc__box {
    grid-row: 1 / span 2;
    align-self: start;
  }

  .calc__option--qty .calc__name {
    grid-column: 2;
    grid-row: 1;
  }

  .calc__option--qty .calc__price {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    font-size: 15px;
    line-height: 22px;
  }

  /* The price sits in the title row on phones, so every description can use the full width. */
  .calc__desc {
    padding-right: 0;
  }

  /* Starts on the same edge as the description above it. */
  .calc__option--qty > .calc__stepper {
    grid-column: 1;
    grid-row: auto;
    align-self: start;
    justify-self: start;
    margin-top: 10px;
    margin-left: 36px;
  }
}

.calc__option.is-disabled > :not(.calc__hint) { opacity: .5; }

.calc__option.is-disabled label.calc__label { cursor: not-allowed; }

/* Quantity: minus, number, plus. Compact beside the description; still easy to tap. */
.calc__stepper {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  margin-top: 14px;
  border: 1px solid var(--line-mid);
  border-radius: 8px;
  background: var(--navy);
  overflow: hidden;
}

.calc__step {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--fg);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}

/* Outer corners only; hover fills the whole square and clips to the stepper outline. */
.calc__stepper > .calc__step:first-child { border-radius: 7px 0 0 7px; }

.calc__stepper > .calc__step:last-child { border-radius: 0 7px 7px 0; }

.calc__step svg { width: 16px; height: 16px; }

.calc__step[aria-disabled="true"] {
  color: var(--fg-3);
  opacity: .45;
  cursor: default;
}

.calc__qty {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-inline: 1px solid var(--line-mid);
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}

.calc__qty:focus,
.calc__qty:focus-visible {
  outline: none;
  box-shadow: none;
}

/* The stepper clips to its rounded outline: its buttons draw the keyboard ring inside, and the number field rings
   the whole stepper. */
.kbd .calc__step:focus-visible { outline-offset: -2px; }

.kbd .calc__stepper:has(.calc__qty:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.calc__qty::-webkit-outer-spin-button,
.calc__qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.calc__qty:disabled,
.calc__step:disabled { cursor: not-allowed; }

/* Summary: the one price, what it is made of, and the way to discuss it. */
.calc__summary {
  padding: 28px 20px;
  border: 2px solid var(--brand-ink);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(37, 99, 235, .2), rgba(37, 99, 235, .05) 55%), var(--bg-card);
}

.calc__summary-title {
  color: var(--fg-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
}

.calc__total {
  margin-top: 4px;
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

.calc__lines {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(59, 130, 246, .4);
}

.calc__lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 21px;
}

.calc__lines b {
  flex: none;
  color: var(--fg);
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.calc__cta {
  width: 100%;
  margin-top: 24px;
}

.calc__fine {
  margin-top: 16px;
  color: var(--fg-3);
  font-size: 13px;
  line-height: 19px;
}

.calc__nojs { display: none; }

html:not(.js) .calc__nojs {
  display: block;
  margin-top: 12px;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 21px;
}

html:not(.js) .calc__total,
html:not(.js) .calc__lines,
html:not(.js) .calc__bar { display: none; }

/* Running total for phones and tablets. It is fixed to the bottom of the screen and takes no room in the layout, so
   showing or hiding it never adds empty space or moves the summary. main.js shows it while the options are under it
   and hides it once the summary gets there. Taps pass through to the option underneath. */
.calc__bar {
  position: fixed;
  right: var(--gutter);
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: var(--gutter);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(59, 130, 246, .55);
  border-radius: 12px;
  /* Opaque, so the option text it passes over never shows through. */
  background: #122635;
  box-shadow: 0 10px 28px rgba(2, 6, 23, .5);
  color: var(--fg-2);
  font-size: 14px;
  line-height: 20px;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.calc__bar b {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  font-variant-numeric: tabular-nums;
}

.calc__bar.is-hidden {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

@media (min-width: 40rem) {
  .calc__option { padding: 18px 20px; }

  .calc__summary { padding: 32px 28px; }
}

@media (max-width: 63.99rem) {
  .pricing > .container,
  .faq > .container,
  .contact > .container {
    width: 100%;
    max-width: none;
    padding-inline: var(--gutter);
  }

  .pricing .calc,
  .faq .intro,
  .faq__list,
  .contact .intro,
  .contact__grid {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
}

@media (min-width: 64rem) {
  .pricing { padding-top: 96px; }

  .pricing .intro {
    flex-direction: column;
    justify-content: center;
  }

  .pricing .intro__text {
    width: 60%;
    max-width: 60%;
    margin-inline: auto;
  }

  .calc {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 32px;
    width: min(100%, 1040px);
    margin: 64px auto 0;
  }

  .calc__summary {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    padding: 36px 32px;
  }

  .calc__total {
    font-size: 48px;
    line-height: 56px;
  }

  .calc__bar { display: none; }
}

/* ---------- Dažniausi klausimai ---------- */

.faq .intro {
  align-items: center;
  text-align: center;
}

.faq .intro__text {
  max-width: none;
}

.faq .intro__tag { margin-bottom: 24px; }

@media (min-width: 64rem) {
  .faq .intro { justify-content: center; }
}

.faq__list {
  margin-top: calc(48px - 2rem);
}

.faq__item + .faq__item {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.faq__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.faq__q {
  font-size: inherit;
  font-weight: inherit;
}

.faq__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 56px;
  padding-block: calc(16px + 0.5rem);
  padding-inline: 0;
  border: 0;
  background: none;
  color: var(--fg);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  cursor: pointer;
}

.faq__icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--fg-2);
  transition: transform .28s ease;
}

.faq__a {
  max-width: 60rem;
  color: var(--fg-2);
  font-size: 15px;
  line-height: 23px;
}

.js .faq__a {
  display: grid;
  grid-template-rows: 0fr;
  padding-bottom: 0;
  overflow: hidden;
  transition: grid-template-rows .28s ease, padding-bottom .28s ease;
}

.js .faq__a > * {
  min-height: 0;
  overflow: hidden;
}

.js .faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
  padding-bottom: 20px;
}

.js .faq__item.is-open .faq__icon { transform: rotate(180deg); }

html:not(.js) .faq__icon { display: none; }

@media (min-width: 64rem) {
  .faq { padding-top: 96px; }

  .faq .intro,
  .faq__list {
    width: min(100%, 1040px);
    margin-inline: auto;
  }

  .faq .intro__text {
    width: 60%;
    max-width: 60%;
    margin-inline: auto;
  }

  .faq__list { margin-top: calc(64px - 2rem); }
}

/* ---------- Kontaktai ---------- */

.contact .intro {
  align-items: center;
  text-align: center;
}

.contact .intro__text {
  max-width: none;
}

.contact .intro__tag { margin-bottom: 24px; }

.contact .intro__lead {
  font-size: 15px;
  line-height: 23px;
}

@media (min-width: 64rem) {
  .contact .intro {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .contact .intro__text {
    width: 60%;
    max-width: 60%;
    margin-inline: auto;
  }
}

.contact { padding-bottom: 96px; }

/* The form stands alone, centred under a centred intro. */
.contact .intro { align-items: center; }

.contact .intro__text {
  margin-inline: auto;
  text-align: center;
}

.contact__grid {
  margin: 48px auto 0;
}

@media (min-width: 40rem) {
  .contact__grid { margin-top: 48px; }
}

@media (min-width: 64rem) {
  .contact .intro,
  .contact__grid {
    width: min(100%, 1040px);
    margin-inline: auto;
  }
}

.form-panel {
  container-type: inline-size;
  padding: 0;
  background: transparent;
}

.form-grid {
  display: grid;
  gap: 20px 30px;
}

@container (min-width: 34rem) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.field {
  display: grid;
  align-content: start;
  gap: 6px;
}

.field--full { grid-column: 1 / -1; }

.field__label {
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.field__hint {
  color: var(--fg-3);
  font-size: 14px;
  line-height: 20px;
}

.field__error {
  display: flex;
  gap: 6px;
  color: var(--error);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.field__error[hidden] { display: none; }

.field__error svg { flex: none; width: 17px; height: 17px; margin-top: 1px; }

.field__input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--field-line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  transition: border-color .15s ease;
}

.contact .field__input {
  background: transparent;
  font-size: 14px;
  line-height: 20px;
}

.contact .field__input::placeholder {
  color: var(--fg-3);
  opacity: 1;
}

.field__input--area {
  min-height: 136px;
  resize: none;
}

.field__input:focus,
.field__input:focus-visible {
  border-color: #98A2B3;
  outline: none;
  box-shadow: none;
}

.field.has-error .field__input { border-color: var(--error); }

.field.has-error .field__input:focus,
.field.has-error .field__input:focus-visible { border-color: var(--error); }

.form-privacy {
  margin-top: 20px;
  color: var(--fg-3);
  font-size: 14px;
  line-height: 20px;
}

.form-privacy a {
  color: var(--fg-3);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
}

.form-alert {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(249, 112, 102, .45);
  border-radius: 6px;
  background: rgba(249, 112, 102, .1);
  color: #FEE4E2;
  font-size: 14px;
  line-height: 20px;
}

.form-alert[hidden] { display: none; }

.form-alert svg { flex: none; width: 20px; height: 20px; color: var(--error); }

.form-alert a { color: #fff; font-weight: 600; text-decoration: underline; }

.form-submit {
  display: block;
  width: 100%;
  margin-top: 24px;
  margin-inline: auto;
}

.form-submit[aria-disabled="true"] {
  opacity: .7;
  cursor: progress;
}

.form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--fg);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.form-success[hidden] { display: none; }

.form-success svg { flex: none; width: 28px; height: 28px; color: var(--green); }

.form-success:focus { outline: none; }

/* A field people never see or reach. Automated form fillers often complete it, and the server then discards the send. */
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 40rem) {
  .form-submit { width: auto; }
}

@media (min-width: 64rem) {
  .contact { padding: 96px 0; }

  .contact__grid { margin-top: 64px; }
}

/* ---------- Footer and legal modals ---------- */

.site-footer { background: var(--navy); }

.footer__simple {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 0 40px;
}

.footer__contact-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.footer__contact a,
.footer__contact .footer__company {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--fg-2);
  font-size: 13px;
  line-height: 20px;
}

.footer__contact a { color: var(--fg); }

.footer__company { color: var(--fg-2); }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.footer__copy {
  color: var(--fg-3);
  font-size: 13px;
  line-height: 20px;
}

.legal-open {
  padding: 0;
  border: 0;
  background: none;
  color: var(--fg-3);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  cursor: pointer;
}

.form-privacy .legal-open {
  color: var(--fg-3);
  font-weight: 500;
}

html.legal-modal-open { overflow: hidden; }

/* Cookie choice. main.js adds it only when Microsoft Clarity is set up. It sits above the header and the phone price
   bar but below the privacy policy, which its link opens. Both answers look the same, so neither is the easy one. */
.consent {
  position: fixed;
  right: var(--gutter);
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: var(--gutter);
  z-index: 60;
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: var(--navy);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
  color: var(--fg-2);
  font-size: 14px;
  line-height: 22px;
}

.consent[hidden] { display: none; }

.consent p { margin: 0; }

.consent .consent__title {
  margin-bottom: 4px;
  color: var(--fg);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.consent a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (min-width: 40rem) {
  .consent {
    right: auto;
    bottom: 24px;
    left: 24px;
    width: 25rem;
  }
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px var(--gutter);
}

.legal-modal[hidden] { display: none; }

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .72);
}

.legal-modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, calc(42rem + 200px));
  max-height: min(85vh, 720px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: var(--navy);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
}

.legal-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 0;
}

.legal-modal__title {
  color: var(--fg);
  font-size: 22px;
  line-height: 30px;
}

.legal-modal__close {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -8px -8px 0 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--fg-2);
  cursor: pointer;
}

.legal-modal__close svg { width: 22px; height: 22px; }

.legal-modal__body {
  padding: 16px 20px 24px;
  overflow-y: auto;
}

.legal-prose {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 22px;
}

.legal-prose h3 {
  margin-top: 20px;
  color: var(--fg);
  font-size: 15px;
  line-height: 22px;
}

.legal-prose p + p { margin-top: 12px; }

.legal-prose ul {
  margin: 12px 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal-prose li + li { margin-top: 8px; }

.legal-prose h3[id] { scroll-margin-top: 8px; }

.legal-prose a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (hover: hover) {
  .legal-prose a:hover { text-decoration: none; }
}

.legal-modal__updated {
  margin-top: 20px;
  color: var(--fg-3);
  font-size: 12px;
}

@media (max-width: 63.99rem) {
  .footer__simple {
    align-items: center;
    text-align: center;
  }

  .footer__contact { order: 2; }

  .footer__legal {
    order: 1;
    justify-content: center;
  }
}

@media (min-width: 64rem) {
  .footer__simple {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px 48px;
    padding: 28px 0 36px;
  }

  .footer__contact,
  .footer__legal { order: unset; }

  .footer__contact { flex: 1; min-width: 0; }

  .footer__legal {
    flex: none;
    justify-content: flex-end;
  }
}

/* ---------- Draft-copy review aid: add ?copy=draft to the URL ---------- */

.show-drafts [data-draft] {
  outline: 2px dashed #F59E0B !important;
  outline-offset: 3px;
}

.show-drafts body::after {
  content: 'Draft copy outlined in amber';
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 100;
  padding: 6px 10px;
  border-radius: 6px;
  background: #F59E0B;
  color: #111;
  font-size: 12px;
  font-weight: 600;
}

/* ---------- Hover (pointer devices only) ---------- */

@media (hover: hover) {
  .btn--primary:hover { border-color: var(--brand-hover); background: var(--brand-hover); }

  .btn--outline:hover { border-color: #fff; color: #fff; }

  .btn--white:hover { background: var(--blue-50); }

  .site-nav__list a:hover { background: rgba(255, 255, 255, .08); }

  .calc__option:not(.calc__option--base):not(.is-on):not(.is-disabled):hover { border-color: var(--slate-500); }

  .calc__step:not([aria-disabled="true"]):not(:disabled):hover { background: rgba(255, 255, 255, .08); }

  .menu-toggle:hover { color: #fff; }

  .text-link:hover,
  .card__link:hover,
  .card__mail:hover { color: #fff; }

  .slider__btn:not([aria-disabled="true"]):hover { border-color: var(--fg-2); }

  .footer__contact a:hover,
  .legal-modal__close:hover { color: #fff; }

  .legal-open:hover {
    color: var(--fg-3);
    text-decoration: none;
  }

  .legal-modal__close:hover { background: rgba(255, 255, 255, .06); }

  .field__input:hover { border-color: #98A2B3; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }

  .stack__media > * { transform: none !important; }
}

/* ---------- W-04 · opening sections (header, hero, example, portfolio) ---------- */

.section--dark {
  background: var(--navy);
  color: var(--fg);
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

.projects.section {
  padding-top: 64px;
  padding-bottom: 0;
}

.projects .intro__tag { margin-bottom: 24px; }

/* Tablets: the case title starts on the same edge as the screenshot and copy under it, instead of sitting in the
   centred 560 px column that the centred section intros use. */
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .projects .intro {
    width: auto;
    margin-inline: 0;
  }
}

main > section[id] {
  scroll-margin-top: var(--scroll-offset);
}

@media (min-width: 64rem) {
  .projects.section { padding-top: 96px; padding-bottom: 0; }

  .hero .stats {
    padding-top: 0;
  }
}

/* ---------- Platformos: monochrome marks with their names, in two groups of eight ----------
   Each tile stacks the mark above the name, so long names such as WooCommerce never break mid-word.
   Two tiles per row on phones, four from 640 px, eight from 1024 px. */

.platforms .intro,
.testimonials .intro {
  align-items: center;
  text-align: center;
}

.platforms .intro__text,
.testimonials .intro__text { max-width: none; }

.platforms .intro__tag { margin-bottom: 24px; }

.platforms .intro__lead {
  font-size: 15px;
  line-height: 23px;
}

.platforms__groups {
  display: grid;
  gap: 32px;
  margin-top: 0.5rem;
}

.platforms__label {
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.platforms__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 88px;
  padding: 14px 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: transparent;
  text-align: center;
}

.platform__logo {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--fg-2);
}

/* Wide wordmark (its symbol's viewBox is cropped to the mark): same height as the square marks. */
.platform__logo--wide {
  width: 64px;
  height: 18px;
  margin-block: 4px;
}

.platform__name {
  min-width: 0;
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}


@media (min-width: 40rem) {
  .platforms__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .platform {
    gap: 10px;
    min-height: 104px;
    padding: 18px 10px;
  }

  .platform__logo {
    width: 30px;
    height: 30px;
  }

  .platform__logo--wide {
    width: 72px;
    height: 20px;
    margin-block: 5px;
  }
}

@media (min-width: 64rem) {
  .platforms { padding-top: 96px; }

  .platforms .intro {
    flex-direction: column;
    justify-content: center;
  }

  .platforms .intro__text {
    width: 60%;
    max-width: 60%;
    margin-inline: auto;
  }

  .platforms__groups {
    gap: 40px;
    margin-top: 32px;
  }

  .platforms__label {
    font-size: 16px;
    line-height: 24px;
  }

  .platforms__list {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 24px;
    margin-top: 8px;
  }

  .platform { min-height: 112px; }

}

/* ---------- Atsiliepimai: two quote cards (placeholder content until real quotes arrive) ---------- */

.testimonials.section { padding-top: 32px; }

.testimonials__list {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 24px;
  border: 1px solid var(--line-mid);
  border-radius: 16px;
  background: var(--bg-card);
}

.testimonial__mark {
  width: 32px;
  height: 32px;
  color: var(--brand-ink);
}

.testimonial__quote {
  margin: 20px 0 0;
  color: var(--fg);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 28px;
}

.testimonial__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.testimonial__who {
  display: grid;
  gap: 2px;
}

.testimonial__name {
  color: var(--fg);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.testimonial__role {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 20px;
}

@media (min-width: 48rem) {
  .testimonials__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 64rem) {
  .testimonials.section { padding-top: 64px; }

  .testimonials .intro {
    flex-direction: column;
    justify-content: center;
  }

  .testimonials__list {
    gap: 32px;
    margin-top: 64px;
  }

  .testimonial { padding: 40px; }

  .testimonial__quote {
    font-size: 20px;
    line-height: 32px;
  }
}

/* ---------- Atvejo analizė: one lead case (ENIM Lighting) and a row of client logos ----------
   Phones and tablets: screenshot, then challenge, solution and benefits (the company line and catalogue link
   show from 1024 px).
   Desktop: screenshot with the company line under it (7/12), the copy on the right (5/12). */
.case {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}

.case__main { display: contents; }

.case__shot { order: 1; margin-bottom: 28px; }
.case__intro { order: 3; }
.case__body { order: 4; }

.case__shot {
  display: block;
  overflow: hidden;
  /* Same 4:3 as the screenshot (captured at 1440 × 1080), so the whole catalogue page shows at every width. */
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .32);
}

.case__shot img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: left top;
}

.case__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 24px;
}

.case__about {
  margin: 0;
  color: var(--fg);
  font-size: 15px;
  line-height: 23px;
}

@media (max-width: 63.99rem) {
  .case__intro { display: none; }
}

@media (min-width: 40rem) {
  .case__intro {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }

  .case__intro .case__about {
    flex: 1;
    min-width: 0;
  }

  .case__intro .case__cta {
    margin-top: 0;
    flex-shrink: 0;
  }
}

.case__label {
  margin-top: 24px;
  color: var(--fg-2);
}

.case__label::before {
  background: var(--fg-3);
}

.case__body > .case__label:first-child {
  margin-top: 0;
}

.case__text {
  margin-top: 6px;
  color: var(--fg);
  font-size: 15px;
  line-height: 23px;
}

.case__label + .case__text,
.case__label + .case__benefits {
  margin-top: 16px;
}

.case__benefits { margin-top: 10px; }

.case__benefits.checklist li {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}

.case__benefits.checklist svg { display: none; }

.case__benefits.checklist li::before {
  content: '–';
  color: var(--fg-2);
  font-weight: 500;
}

.case__cta {
  margin-top: 0;
}

.case__cta .btn__icon { width: 18px; height: 18px; }

.clients {
  margin-top: 64px;
  padding-top: 40px;
  text-align: center;
}

.hero .clients {
  margin-top: 96px;
  padding-top: 0;
}

.clients__title {
  justify-content: center;
}

.clients__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 28px 24px;
  margin-top: 28px;
}

.clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.clients__item img {
  width: auto;
  max-width: 100%;
  height: 24px;
  /* A logo wider than its cell scales down as a whole instead of being squeezed narrower. */
  object-fit: contain;
  opacity: .78;
}

.clients__item--eripo img { height: 34px; }

.clients__item--witaspro img { height: 28px; }

.clients__item--enim-lighting img { height: 28px; }

/* Each logo's width at the height above, for the one-row layout from 1024 px. */
.clients__item--eripo { --logo-w: 98px; }
.clients__item--umega-group { --logo-w: 152px; }
.clients__item--witaspro { --logo-w: 125px; }
.clients__item--enim-lighting { --logo-w: 88px; }
.clients__item--faugusta { --logo-w: 163px; }
.clients__item--zaliasis-taskas { --logo-w: 148px; }
.clients__item--gelvora-sergel { --logo-w: 187px; }

@media (max-width: 63.99rem) {
  .clients__item--gelvora-sergel { display: none; }
}

@media (max-width: 39.99rem) {
  /* Phones: the tag and the logos start on the same edge as the hero copy above them. */
  .hero .clients { text-align: left; }

  .clients__list { justify-items: start; }

  .clients__item { justify-content: flex-start; }

  .clients__item img { object-position: left center; }
}

@media (min-width: 40rem) and (max-width: 63.99rem) {
  .clients__item { justify-content: center; }
}

@media (min-width: 64rem) {
  .case {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    column-gap: 56px;
    margin-top: 56px;
  }

  .case__shot {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }

  .case__intro {
    grid-column: 1;
    grid-row: 2;
    margin-top: 32px;
  }

  .case__main {
    display: block;
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  /* One row with even gaps, first logo on the left edge and last on the right. When the row is too narrow, every
     logo shrinks by the same share, so none is squeezed and their sizes stay balanced. */
  .clients__list {
    display: flex;
    justify-content: space-between;
    gap: 24px;
  }

  .clients__item {
    flex: 0 1 var(--logo-w);
    min-width: 0;
  }

  .clients__list .clients__item img {
    width: 100%;
    height: auto;
  }
}

/* Hero · single product photo (pale frame on navy, MachineBuilder-style anchor) */
.hv--photo {
  margin-top: 28px;
}

@media (max-width: 63.99rem) {
  .hv--photo { display: none; }
}

.hv__frame {
  overflow: hidden;
  border-radius: 12px;
  background: #E8EDF2;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .32);
  aspect-ratio: 3 / 2;
}

/* The <picture> wrappers take no box, so the images keep sizing against their frames. */
.hv__frame picture,
.case__shot picture { display: contents; }

.hv__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 45%;
}

@media (min-width: 64rem) {
  .hv--photo {
    margin-top: 0;
    justify-self: start;
    /* Left edge of the frame sits on the hero container’s horizontal midpoint. */
    margin-left: calc(50% - var(--hero-copy-col, 42.6%));
  }

  .hv__frame { min-height: 380px; }
}

/* Legacy hero workspace (product → request) — unused when .hv--photo is present */
.hv__stage {
  display: grid;
  gap: 12px;
}

.hv__workspace {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 20px;
  border-radius: 12px;
  background: var(--slate-50);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .28);
}

.hv__label {
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hv__attach-summary { font-weight: 500; }

.hv__note {
  color: rgba(255, 255, 255, .72);
}

@media (max-width: 63.99rem) {
  .hero__copy {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    text-align: left;
  }

  .hero__lead { max-width: none; }

  .hv__pick {
    margin: -12% 0 0;
  }

  .hv__req { margin-inline: 0; }

  .hv__cue {
    transform: rotate(90deg);
    justify-self: center;
  }
}

@media (max-width: 39.99rem) {
  .hero__actions {
    display: grid;
    width: 100%;
    gap: 12px;
    justify-items: stretch;
  }

  .hero__actions .btn {
    display: flex;
    width: 100%;
    max-width: none;
  }
}

@media (min-width: 40rem) and (max-width: 63.99rem) {
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    justify-content: flex-start;
  }
}

@media (min-width: 64rem) {
  .hv__stage {
  --u: 1px;
    position: relative;
    display: block;
    min-height: 420px;
  }

  .hv__workspace {
    position: absolute;
    top: 0;
    left: 0;
    width: min(72%, 560px);
    min-height: 380px;
    padding: 20px 20px 24px;
  }

  .hv__art {
    width: 100%;
    height: auto;
    margin-top: 8px;
  }

  .hv__pick {
    position: absolute;
    bottom: 20px;
    left: 24px;
    width: min(260px, 46%);
    margin: 0;
  }

  .hv__cue {
    position: absolute;
    top: 58%;
    left: calc(min(72%, 560px) + 12px);
    transform: none;
  }

  .hv__req {
    position: absolute;
    top: 48px;
    right: 0;
    width: min(240px, 34%);
    margin: 0;
  }
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: var(--navy);
  color: var(--fg-2);
}

.brand--footer img { filter: none; }

.btn--outline {
  border-color: rgba(255, 255, 255, .22);
  background: transparent;
  color: var(--fg);
}

.section--dark .intro__title,
.section--dark .intro__eyebrow,
.section--dark .intro__lead,
.section--dark .stack__title,
.section--dark .checklist li {
  color: inherit;
}

@media (hover: hover) {
  .site-header .site-nav__list a:hover,
  .site-header .lang-switch:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
  }

  .site-header .menu-toggle:hover { color: #fff; }

  .text-link:hover { color: #fff; }

  .hero .btn--primary:hover {
    border-color: var(--brand-hover);
    background: var(--brand-hover);
  }

  .hero .btn--hero-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
    color: #fff;
  }

  .site-footer .btn--outline:hover {
    border-color: rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .06);
  }
}

/* ---------- 404 page (404.html) ---------- */

.not-found {
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding-block: 64px;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--navy);
  color: var(--fg);
}

.not-found__inner { max-width: 640px; }

.not-found__logo { display: block; width: fit-content; margin-bottom: 56px; }

.not-found__logo img { display: block; width: 136px; height: auto; }

.not-found__title {
  margin: 16px 0 16px;
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.not-found__text { margin: 0 0 12px; color: var(--fg-2); font-size: 17px; line-height: 28px; }

.not-found__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
