/* Futura New — локальные шрифты сайта */

@font-face {
  font-family: 'Futura New Demi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/FuturaNewDemi-Reg.woff2) format('woff2');
}

@font-face {
  font-family: 'Futura New Light';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/FuturaNewLight-Reg.woff2) format('woff2');
}

@font-face {
  font-family: 'Futura New Book';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/FuturaNewBook-Reg.woff2) format('woff2');
}

@font-face {
  font-family: 'Futura New Book Oblique';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/FuturaNewBook-Obl.woff2) format('woff2');
}

@font-face {
  font-family: 'Helvetica Neue';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/HelveticaNeue-Medium.woff2) format('woff2');
}

:root {
  --font-heading: 'Futura New Demi', sans-serif;
  --font-body: 'Futura New Light', sans-serif;
  --font-hero: 'Futura New Book', sans-serif;
  --font-button: 'Futura New Book', sans-serif;
  --size-heading: 62px;
  --size-body: 18px;
  --grid-pad: clamp(16px, 4vw, 72px);
  --grid-gap: clamp(16px, 2vw, 32px);
}

body {
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.55;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-size: var(--size-heading);
  line-height: 1.1;
}

p, li, a, input, textarea, label {
  font-size: var(--size-body);
}

button,
.nav-cta,
input[type="submit"],
input[type="button"] {
  font-family: var(--font-button) !important;
  font-size: 18px !important;
  font-weight: 400;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  font-size: 62px;
}

.legal-content p,
.legal-content li,
.legal-content .legal-date,
.legal-content .back-link,
.legal-content .cookie-table,
.legal-content .cookie-table th,
.legal-content .cookie-table td {
  font-size: 18px;
}

.case-card__title {
  font-family: 'Futura New Book', sans-serif !important;
  font-weight: 400 !important;
  font-size: 22px !important;
  line-height: 1.25;
}

button.hero-cta-btn {
  --hcb-bg: #fff;
  --hcb-bg-hover: var(--hcb-bg);
  --hcb-text: #0E0E1F;
  --hcb-blur: none;
  --hcb-border: none;
  --hcb-shadow: 0 8px 24px rgba(14,14,31,0.12);
  --hcb-outline: rgba(14,14,31,0.35);
  font-family: 'Futura New Book Oblique', sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  border: var(--hcb-border);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.25s ease;
  background: var(--hcb-bg);
  color: var(--hcb-text);
  backdrop-filter: var(--hcb-blur);
  -webkit-backdrop-filter: var(--hcb-blur);
  box-shadow: var(--hcb-shadow);
}

/* Hover fill lives on its own layer so it can crossfade in via opacity —
   `background` can't be transitioned between a solid color and a gradient. */
button.hero-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: var(--hcb-bg-hover);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

button.hero-cta-btn:hover::before {
  opacity: 1;
}

button.hero-cta-btn:active {
  transform: scale(0.97);
}

button.hero-cta-btn:focus-visible {
  outline: 2px solid var(--hcb-outline);
  outline-offset: 3px;
}

.hero-cta-btn__fx {
  position: absolute;
  inset: -20px;
  pointer-events: none;
  z-index: 1;
}

.hero-cta-btn__fx canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-cta-btn__label {
  position: relative;
  z-index: 2;
}

.hero-cta-btn__arrow {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
