@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/manrope-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: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/manrope-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; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/space-grotesk-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: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/space-grotesk-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 {
  --ink: #0b0d0c;
  --acid: #d8ff43;
  --white: #ffffff;
  --muted: #636963;
  --line: rgba(11, 13, 12, .17);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 16px/1.5 Manrope, system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }

.page {
  width: 100%;
  max-width: 1180px;
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0 clamp(20px, 3vw, 42px);
}

header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  display: block;
  width: clamp(132px, 12vw, 178px);
  height: auto;
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.langs { display: flex; gap: 3px; }
.langs a {
  color: var(--muted);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -.02em;
  padding: 9px 10px;
  text-decoration: none;
}
.langs a.active { color: var(--ink); }
.login-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font: 400 1rem Manrope, system-ui, sans-serif;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.login-link::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #f1ff9b 0 14%, #d8ff43 38%, #a8d20b 68%, #739400 100%);
  box-shadow: inset -1px -1px 2px rgba(65, 88, 0, .32), 0 1px 2px rgba(91, 121, 0, .16);
}
.login-link:hover { color: var(--muted); }
.langs a:focus-visible,
.login-link:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 0 34px;
}
.copy {
  width: 80%;
  align-self: center;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
h1 {
  width: 100%;
  font-family: "Space Grotesk", Manrope, system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -.055em;
  font-weight: 600;
  color: #454a46;
  text-align: center;
  white-space: nowrap;
  margin: 0 0 30px;
}

.strengths {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px 20px;
}
.item {
  grid-column: span 2;
  min-height: 0;
  padding: 0;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -.025em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
}
.item::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #f1ff9b 0 14%, #d8ff43 38%, #a8d20b 68%, #739400 100%);
  box-shadow: inset -1px -1px 2px rgba(65, 88, 0, .32), 0 1px 2px rgba(91, 121, 0, .16);
}
.proposal-button {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-family: "Space Grotesk", Manrope, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.025em;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.proposal-button:hover {
  background: var(--acid);
  color: var(--ink);
  transform: translateY(-2px);
}
.proposal-button:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

.visual {
  position: relative;
  width: 80%;
  height: auto;
  aspect-ratio: 1.75 / 1;
  align-self: center;
  background: #fff;
  overflow: hidden;
  margin: 0;
}
.visual img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
  background: #fff;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.visual:hover img { transform: scale(1.025); }

/* Animated hero (hero.js): full content width; the image stays as fallback until the canvas draws */
.visual[data-hero="animated"] {
  width: 100%;
  aspect-ratio: 3.25 / 1; /* same proportions at every width, so the funnel keeps its angle */
  max-height: clamp(220px, calc(100svh - 380px), 440px);
}
.visual[data-hero="animated"] img { object-fit: contain; transform: none; }
.visual.is-animated img { visibility: hidden; }
.visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-toggle {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  cursor: pointer;
  opacity: .45;
  transition: opacity .2s ease;
}
.hero-toggle:hover,
.hero-toggle:focus-visible { opacity: 1; }
.hero-toggle:focus-visible { outline: 3px solid var(--acid); outline-offset: 2px; }
/* pause icon: two bars; play icon: triangle */
.hero-toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-inline: 3px solid var(--ink);
  box-sizing: border-box;
}
.hero-toggle[aria-pressed="true"]::before {
  width: 0;
  height: 0;
  margin-left: 1px;
  border-block: 5px solid transparent;
  border-inline: 8px solid var(--ink);
  border-right-width: 0;
}

.contact {
  display: grid;
  /* equal side columns keep the phone exactly centred */
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 24px 0 26px;
  align-items: baseline;
}
.contact-company {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact strong {
  font-size: 1rem;
  letter-spacing: -.02em;
}
.contact address {
  font-style: normal;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.35;
}
.contact > a,
.contact .map-link {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.02em;
  text-decoration: none;
  justify-self: center;
}
.contact > a:last-child { justify-self: end; }
.contact .map-link { display: inline-block; font-size: inherit; color: inherit; }
.contact a:hover { background: var(--acid); color: var(--ink); }

@media (min-width: 921px) {
  main {
    justify-content: space-evenly;
    gap: 0;
    padding-block: 0;
  }
  .copy { display: contents; }
  .visual,
  .strengths {
    width: min(80%, max(470px, calc(150svh - 680px)));
    align-self: center;
  }
  h1,
  .proposal-button { margin-block: 0; }
}

@media (max-width: 920px) {
  main { padding-top: 24px; }
  .visual,
  .copy { width: 90%; }
  h1 { margin-bottom: 30px; }
  .strengths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
  }
  .item { grid-column: span 1; }
}
@media (max-width: 620px) {
  .page { padding-inline: 14px; }
  header { height: 72px; }
  .brand img { width: 132px; }
  main { padding: 28px 0 48px; gap: 10px; }
  h1 {
    font-size: clamp(.95rem, 5vw, 1.38rem);
    letter-spacing: -.06em;
    margin-bottom: 28px;
  }
  .strengths {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .item { grid-column: 1; font-size: 1rem; }
  .proposal-button {
    width: 100%;
    margin-top: 28px;
  }
  .visual,
  .copy {
    width: 100%;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 17px;
    padding-bottom: 28px;
    justify-items: center;
    text-align: center;
  }
  .contact-company { align-items: center; }
  .contact > a:last-child { justify-self: center; }
  .visual[data-hero="animated"] { aspect-ratio: 2 / 1; max-height: none; }
}
@media (max-width: 520px) {
  header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: 8px;
  }
  .brand img { width: 116px; }
  .header-actions { display: contents; }
  .langs a { padding: 6px 4px; font-size: .9rem; }
  .login-link { grid-column: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .visual img { transition: none; }
}
