@import url("https://fonts.googleapis.com/css2?family=Libre+Bodoni:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Raleway:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap");

:root {
  --uv-sans: "Raleway", system-ui, sans-serif;
  --uv-serif: "Libre Bodoni", "Times New Roman", serif;
  --uv-header-h: 52px;
  --uv-red: #e10600;
  --uv-ink: #111;
  --uv-mute: #6b6b6b;
  --uv-paper: #f6f3ee;
  --uv-line: rgba(17, 17, 17, 0.12);
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--uv-sans);
  color: var(--uv-ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  padding: 8px 12px;
  background: #fff;
  color: #000;
}

.skip-link:focus {
  top: 8px;
}

/* —— Header (Apple-like, shared) —— */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--uv-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--uv-ink);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.55);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.page-sluby .site-header:not(.is-scrolled) {
  background: transparent;
  color: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.page-sluby .site-header:not(.is-scrolled) .logoimg {
  filter: invert(1);
}

.site-header .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logoimg {
  height: 22px;
  width: auto;
  transition: filter 0.35s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.nav-drawer {
  display: none;
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-drawer {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: fixed;
    inset: var(--uv-header-h) 0 0 0;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 40px 32px;
    font-size: 14px;
    letter-spacing: 0.18em;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .page-marketing .nav-drawer {
    background: rgba(8, 8, 8, 0.96);
    color: #fff;
  }

  body.nav-open .nav-drawer {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

/* —— Type helpers —— */
.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--uv-mute);
}

.section-title {
  margin: 0;
  font-family: var(--uv-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lede {
  margin: 14px 0 0;
  max-width: 38rem;
  font-size: 15px;
  font-weight: 400;
  color: var(--uv-mute);
}

.section-head {
  margin-bottom: 40px;
}

.wrap {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--uv-ink);
  color: #fff;
  border-color: var(--uv-ink);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--ghost:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.pager {
  display: flex;
  gap: 8px;
}

.pager button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--uv-line);
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: inherit;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pager button:hover {
  border-color: currentColor;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
}

.cta-band .section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

/* —— Footer —— */
.site-footer {
  padding: 28px 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--uv-mute);
  border-top: 1px solid var(--uv-line);
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a:hover {
  color: var(--uv-ink);
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .section {
    padding: 64px 0;
  }

  .site-footer,
  .cta-band {
    flex-direction: column;
    text-align: center;
  }

  .cta-band {
    align-items: flex-start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
