﻿:root {
  --bg: #e6edf6;
  --bg-soft: #dde7f3;
  --surface: #f7fbff;
  --text: #102843;
  --muted: #475f7e;
  --line: rgba(16, 40, 67, 0.18);
  --accent: #1a4f88;
  --primary: #f5ad2f;
  --primary-dark: #dc9419;
  --shadow: 0 14px 36px rgba(14, 33, 54, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, #f2f6fc 0%, #e7eef7 45%, #dce6f2 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.background-shape {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  z-index: -1;
}

.background-shape-1 {
  top: -200px;
  left: -120px;
  background: #89b3e0;
}

.background-shape-2 {
  bottom: -220px;
  right: -120px;
  background: #ffdca0;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(240, 246, 253, 0.95);
  backdrop-filter: blur(10px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: auto;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(19, 62, 112, 0.16);
  border-radius: 10px;
  padding: 3px;
}

.brand-text {
  color: #133e70;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.96rem;
}

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

.kicker {
  margin: 0 0 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  color: #60799b;
}

h1,
h2,
h3 {
  margin: 0;
  color: #153f72;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.14rem;
}

.lead {
  margin: 16px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.13rem);
  line-height: 1.65;
}

.hero {
  padding: 50px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.hero-visual {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-tars {
  width: min(230px, 78%);
  filter: drop-shadow(0 12px 22px rgba(17, 38, 62, 0.2));
}

.hero-tars-secondary {
  position: absolute;
  right: 5%;
  bottom: -8px;
  width: min(160px, 50%);
  filter: drop-shadow(0 10px 18px rgba(17, 38, 62, 0.16));
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary,
.header-btn {
  color: #18273b;
  background: linear-gradient(180deg, #ffd988, var(--primary));
  border: 1px solid #ecb953;
  box-shadow: 0 10px 18px rgba(245, 173, 47, 0.28);
}

.btn-primary:hover,
.header-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #ffe09a, var(--primary-dark));
}

.btn-outline {
  color: #153f72;
  border: 1px solid rgba(21, 63, 114, 0.3);
  background: #f8fbff;
}

.btn-outline:hover {
  transform: translateY(-1px);
  border-color: rgba(21, 63, 114, 0.5);
}

.header-btn {
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.header-btn-outline {
  color: #1a3f6d;
  background: #f4f8fd;
  border: 1px solid rgba(26, 63, 109, 0.3);
  box-shadow: none;
}

.header-btn-outline:hover {
  transform: translateY(-1px);
  background: #eef4fb;
}

.section {
  padding: 34px 0;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.function-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.function-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.function-card li + li {
  margin-top: 8px;
}

.functions-cta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, #edf4fc, #e3edf8);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
}

.functions-cta img {
  width: 86px;
  height: auto;
}

.section-audience {
  padding-bottom: 56px;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.audience-grid p {
  margin: 12px 0 20px;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.64;
}

.audience-visual {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.audience-visual img {
  width: 100%;
  height: auto;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .hero-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 220px;
  }

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

@media (max-width: 640px) {
  .header-inner {
    min-height: 72px;
  }

  .brand-logo {
    width: 40px;
    padding: 2px;
  }

  .brand-text {
    font-size: 0.79rem;
  }

  .header-actions {
    gap: 6px;
  }

  .header-btn {
    font-size: 0.62rem;
    padding: 8px 10px;
    letter-spacing: 0.02em;
  }

  .hero {
    padding-top: 30px;
  }

  h1 {
    font-size: clamp(1.65rem, 9vw, 2.2rem);
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 190px;
  }

  .hero-tars {
    width: min(170px, 58%);
  }

  .hero-tars-secondary {
    width: min(120px, 40%);
    right: 3%;
  }

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

  .functions-cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .functions-cta img {
    width: 74px;
  }

  .audience-visual {
    grid-template-columns: 1fr 1fr;
  }

  .audience-visual img:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 140px;
  }
}
