:root {
  --accent: #e53935;
  --accent-dark: #b71c1c;
  --accent-soft: #fff3f2;
  --bg: #f6f8fb;
  --card: #ffffff;
  --ink: #172033;
  --muted: #5f6f86;
  --line: rgba(23, 32, 51, 0.12);
  --shadow: 0 24px 70px rgba(23, 32, 51, 0.15);
  --shadow-soft: 0 16px 36px rgba(23, 32, 51, 0.1);
  --radius: 28px;
  --wrap: min(1120px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.page-shell {
  overflow: hidden;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin: 0 auto;
  min-height: 72px;
  padding: 12px 0;
  width: var(--wrap);
}

.site-logo {
  align-items: center;
  display: inline-flex;
  min-width: 132px;
  text-decoration: none;
}

.site-logo img {
  height: auto;
  max-width: 160px;
}

.site-menu {
  display: none;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.site-menu a:hover,
.site-menu a.is-active {
  color: var(--accent);
}

.site-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.btn,
.site-form button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.02em;
  min-height: 44px;
  padding: 12px 18px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.site-form button:hover {
  transform: translateY(-1px);
}

.btn-primary,
.site-form button {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 14px 28px rgba(229, 57, 53, 0.28);
  color: #ffffff;
}

.btn-ghost {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-link {
  display: none;
}

.hero {
  background:
    radial-gradient(circle at 80% 18%, rgba(229, 57, 53, 0.18), transparent 28%),
    radial-gradient(circle at 10% 10%, rgba(183, 28, 28, 0.12), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f7f9fc 52%, #edf2f7 100%);
  padding: 34px 0 52px;
}

.hero-grid,
.split-grid {
  display: grid;
  gap: 24px;
  margin: 0 auto;
  width: var(--wrap);
}

.hero-card,
.visual-card,
.panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.eyebrow {
  color: var(--accent);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  font-family: Montserrat, Inter, Arial, sans-serif;
  margin: 0;
}

h1 {
  font-size: clamp(34px, 9vw, 52px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

h2 {
  font-size: clamp(28px, 8vw, 46px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

h3 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

h4 {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.lead,
.section-lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 16px 0 0;
}

.hero-actions,
.chip-row,
.module-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip-row span,
.module-links a {
  background: rgba(229, 57, 53, 0.1);
  border: 1px solid rgba(229, 57, 53, 0.2);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 12px;
  text-decoration: none;
}

.visual-card {
  overflow: hidden;
  padding: 14px;
}

.screen-top {
  align-items: center;
  display: flex;
  gap: 7px;
  margin-bottom: 12px;
}

.screen-top span {
  background: #d9e1ec;
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.screen-top span:first-child {
  background: var(--accent);
}

.visual-card img {
  background: #f8fafc;
  border-radius: 20px;
  margin: 0 auto;
  width: 100%;
}

.section {
  padding: 54px 0;
}

.section.white {
  background: #ffffff;
}

.section.red {
  background:
    radial-gradient(circle at 0 20%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #ffffff;
}

.wrap {
  margin: 0 auto;
  width: var(--wrap);
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.cards {
  margin-top: 24px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  padding: 20px;
}

.card.accent {
  background: var(--ink);
  color: #ffffff;
}

.card-number {
  color: var(--accent);
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.55;
}

.card.accent p,
.card.accent li {
  color: rgba(255, 255, 255, 0.78);
}

.card p {
  margin: 12px 0 0;
}

.check-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.check-list li {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  line-height: 1.45;
}

.check-list li::before {
  color: var(--accent);
  content: "✓";
  font-weight: 900;
  line-height: 1.3;
}

.feature-section {
  border-top: 1px solid var(--line);
  padding: 46px 0;
}

.feature-section:first-child {
  border-top: 0;
}

.feature-title {
  align-items: flex-start;
  display: grid;
  gap: 12px;
}

.feature-title h2 {
  color: var(--accent-dark);
}

.feature-columns {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.feature-group h3 {
  color: var(--accent-dark);
  font-size: 20px;
}

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

.function-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: #ffffff;
  display: flex;
  font-weight: 900;
  justify-content: center;
  min-height: 86px;
  padding: 18px;
  text-align: center;
  text-decoration: none;
}

.segment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.segment-list li {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 12px;
}

.site-form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.site-form h2,
.site-form h3 {
  font-size: 18px;
}

.site-form p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin: 8px 0 14px;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.formStyle {
  display: none !important;
}

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

.site-form input,
.site-form select,
.site-form textarea {
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font: 700 14px Inter, Arial, sans-serif;
  min-height: 46px;
  outline: none;
  padding: 12px 14px;
  width: 100%;
}

.site-form textarea {
  min-height: 130px;
  resize: vertical;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  border-color: rgba(229, 57, 53, 0.68);
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.12);
}

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

.form-message {
  border-radius: 14px;
  display: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  margin-top: 12px;
  padding: 12px;
}

.form-message.is-success {
  background: #e8f7ef;
  color: #136b3a;
  display: block;
}

.form-message.is-error {
  background: #fff0ef;
  color: #a11d19;
  display: block;
}

.contact-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.contact-list li {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
  padding: 16px;
}

.cta-panel {
  align-items: start;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: #ffffff;
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: 24px;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin: 12px 0 0;
}

.footer {
  background: #111827;
  color: #ffffff;
  padding: 32px 0;
  text-align: center;
}

.footer img {
  margin: 0 auto 14px;
  max-width: 150px;
}

.footer p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  margin: 0;
}

.cookie-banner {
  background: rgba(17, 24, 39, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  bottom: 16px;
  box-shadow: var(--shadow);
  color: #ffffff;
  display: none;
  left: 16px;
  max-width: 520px;
  padding: 16px;
  position: fixed;
  right: 16px;
  z-index: 80;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 12px;
}

.cookie-banner button {
  background: #ffffff;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  min-height: 38px;
  padding: 10px 16px;
}

@media (min-width: 560px) {
  :root {
    --wrap: min(1120px, calc(100% - 48px));
  }

  .grid.two,
  .feature-columns,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid .full,
  .form-grid button {
    grid-column: 1 / -1;
  }
}

@media (min-width: 760px) {
  .site-menu,
  .btn-link {
    display: flex;
  }

  .hero {
    padding: 54px 0 70px;
  }

  .grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .function-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cookie-banner {
    left: auto;
    right: 24px;
  }
}

@media (min-width: 1020px) {
  h1 {
    font-size: clamp(46px, 4.2vw, 58px);
  }

  .hero-grid,
  .split-grid {
    align-items: center;
    gap: 34px;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .hero-card,
  .visual-card,
  .panel {
    padding: 34px;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    align-items: end;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cta-panel {
    align-items: center;
    grid-template-columns: 1.1fr 0.9fr;
    padding: 34px;
  }
}

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