@font-face {
  font-family: "TildaSans";
  src: url("../fonts/TildaSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TildaSans";
  src: url("../fonts/TildaSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TildaSans";
  src: url("../fonts/TildaSans-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TildaSans";
  src: url("../fonts/TildaSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f4f7f9;
  --surface-soft: #f8fafc;
  --ink: #111318;
  --muted: #6a7280;
  --line: #d8deea;
  --primary: #0056d3;
  --primary-dark: #003f9c;
  --footer: #121212;
  --footer-muted: #7d7d7d;
  --card-shadow: 0 22px 60px rgba(18, 36, 64, 0.08);
  --page-width: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "TildaSans", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-width: 320px;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  overflow: clip;
}

.container {
  width: min(var(--page-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 19, 24, 0.05);
}

.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(10, 14, 20, 0.5), rgba(10, 14, 20, 0));
  border-bottom: 0;
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.brand {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.site-header--overlay .brand,
.site-header--overlay .nav-link {
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: #444d5f;
}

.nav-link {
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary);
}

.site-header--overlay .nav-link:hover,
.site-header--overlay .nav-link.is-active {
  color: #fff;
  opacity: 0.8;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.button--ghost {
  background: transparent;
}

.site-header--overlay .button--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-home {
  padding: 110px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(420px, 690px);
  align-items: center;
  gap: 48px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(44px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 420px;
}

.hero-copy p {
  margin: 0;
  max-width: 360px;
  color: rgba(17, 19, 24, 0.45);
  font-size: 16px;
  line-height: 1.56;
}

.image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: #f2f5f9;
}

.image-card img {
  width: 100%;
  height: auto;
}

.section {
  padding: 34px 0;
}

.feature-block {
  display: grid;
  align-items: center;
  gap: 44px;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 420px);
  min-height: 420px;
}

.feature-block--reverse {
  grid-template-columns: minmax(280px, 420px) minmax(320px, 1fr);
}

.feature-media {
  position: relative;
}

.feature-copy h2 {
  margin: 0 0 14px;
  max-width: 340px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.feature-copy p {
  margin: 0;
  max-width: 360px;
  color: rgba(17, 19, 24, 0.45);
  font-size: 16px;
  line-height: 1.56;
}

.phone-showcase {
  position: relative;
  width: min(100%, 320px);
  margin: 0 auto;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  border-radius: 48px;
  box-shadow: 0 30px 60px rgba(20, 40, 80, 0.12);
}

.phone-slider {
  position: relative;
}

.phone-slide {
  display: none;
}

.phone-slide.is-active {
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(232, 232, 232, 0.95);
  color: #4b4f57;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.slider-arrow--prev {
  left: -26px;
}

.slider-arrow--next {
  right: -26px;
}

.services-section {
  padding: 120px 0 140px;
  background: linear-gradient(180deg, #f4f7f9 0%, #eef2f7 100%);
}

.section-heading {
  text-align: center;
  margin-bottom: 58px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 0 auto;
  max-width: 690px;
  color: rgba(17, 19, 24, 0.55);
  font-size: 18px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.service-card {
  min-height: 255px;
  padding: 34px 30px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.service-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 26px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.service-card p {
  margin: 0;
  color: rgba(17, 19, 24, 0.5);
  font-size: 15px;
  line-height: 1.6;
}

.trial-section {
  position: relative;
  padding: 110px 0 96px;
  background: linear-gradient(180deg, #eef3f9 0%, #f1f5f9 100%);
}

.trial-section::before,
.trial-section::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.trial-decor {
  position: absolute;
  opacity: 0.65;
  pointer-events: none;
}

.trial-decor--left {
  left: min(4vw, 42px);
  bottom: 24px;
  width: min(260px, 26vw);
}

.trial-decor--right {
  right: min(3vw, 34px);
  bottom: 16px;
  width: min(220px, 22vw);
  transform: scaleX(-1);
}

.trial-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.trial-inner h2 {
  margin: 0 0 10px;
  font-size: clamp(40px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.trial-inner p {
  margin: 0 0 32px;
  color: rgba(17, 19, 24, 0.42);
  font-size: 16px;
}

.trial-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
}

.trial-form input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border: 1px solid #b7c7df;
  border-right: 0;
  background: #f4f7f9;
  color: #111318;
}

.trial-form button {
  min-width: 152px;
  border-radius: 0;
}

.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 78px 0 58px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-brand {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.footer-meta,
.footer-list a,
.footer-list li,
.footer-contact a {
  color: var(--footer-muted);
  font-size: 14px;
  line-height: 1.8;
}

.footer-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d6d6d;
}

.footer-list,
.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.socials {
  display: flex;
  gap: 10px;
  margin: 16px 0 20px;
}

.socials a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #c2c7cf;
  font-size: 12px;
}

.inner-hero {
  position: relative;
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 140px 0 90px;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 20, 0.38);
}

.inner-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.inner-hero h1 {
  margin: 0;
  font-size: clamp(62px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.article-section {
  padding: 120px 0;
}

.article-section--tight {
  padding-top: 86px;
}

.article {
  width: min(760px, 100%);
  margin: 0 auto;
}

.lead {
  font-size: 22px;
  line-height: 1.52;
  color: #20242c;
  margin: 0 0 44px;
}

.content-block + .content-block {
  margin-top: 52px;
}

.content-block h2,
.content-block h3 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.content-block h3 {
  font-size: 24px;
}

.content-block p {
  margin: 0 0 16px;
  color: #4e5663;
  font-size: 17px;
  line-height: 1.74;
}

.content-block ul {
  margin: 0;
  padding-left: 22px;
  color: #20242c;
}

.content-block li {
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.74;
}

.content-block li strong {
  color: #111318;
}

.contact-grid {
  display: grid;
  gap: 38px;
}

.contact-card {
  padding: 0;
}

.contact-card h2 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.contact-card p,
.contact-card a,
.contact-card li {
  color: #4e5663;
  font-size: 17px;
  line-height: 1.8;
}

.contact-card a {
  color: #fd836c;
}

.contact-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.divider {
  height: 1px;
  background: rgba(17, 19, 24, 0.08);
  margin: 18px 0 12px;
}

.menu-toggle {
  display: none;
}

@media (max-width: 1120px) {
  .feature-block,
  .feature-block--reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .feature-block--reverse .feature-copy,
  .feature-block--reverse .feature-media {
    order: unset;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .hero-copy p {
    max-width: none;
  }

  .services-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .container {
    width: min(var(--page-width), calc(100% - 28px));
  }

  .header-inner {
    min-height: 76px;
  }

  .nav {
    position: fixed;
    inset: 76px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--card-shadow);
  }

  .site-header--overlay .nav {
    background: rgba(17, 19, 24, 0.94);
  }

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

  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
  }

  .site-header--overlay .menu-toggle {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
  }

  .header-actions .button {
    display: none;
  }

  .hero-home {
    padding-top: 96px;
  }

  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .trial-form {
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
    box-shadow: none;
  }

  .trial-form input {
    border-right: 1px solid #b7c7df;
  }

  .trial-form button {
    width: 100%;
  }

  .inner-hero h1 {
    font-size: clamp(44px, 11vw, 70px);
  }

  .article-section {
    padding: 86px 0;
  }

  .lead {
    font-size: 20px;
  }
}

@media (max-width: 560px) {
  .hero-copy h1,
  .feature-copy h2,
  .section-heading h2,
  .trial-inner h2 {
    font-size: 36px;
  }

  .feature-copy p,
  .hero-copy p,
  .section-heading p,
  .contact-card p,
  .contact-card a,
  .contact-card li,
  .content-block p,
  .content-block li {
    font-size: 15px;
  }

  .slider-arrow {
    width: 32px;
    height: 32px;
  }

  .slider-arrow--prev {
    left: -12px;
  }

  .slider-arrow--next {
    right: -12px;
  }

  .trial-section {
    padding-top: 92px;
  }
}
