:root {
  color-scheme: light;
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-soft: #eef5f2;
  --text: #1d1d1f;
  --muted: #5c6461;
  --line: #d9dedb;
  --teal: #0d9f90;
  --teal-dark: #08776d;
  --coral: #db7560;
  --ink: #1f2023;
  --blue: #2855d9;
  --shadow: 0 18px 45px rgba(31, 32, 35, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

.shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 222, 219, 0.85);
  background: rgba(247, 248, 246, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.nav a,
.footer-links a,
.lang-switch button,
.menu-button {
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.nav a {
  padding: 9px 11px;
  font-size: 14px;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active,
.footer-links a:hover,
.lang-switch button.active,
.lang-switch button:hover,
.menu-button:hover {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.lang-switch button {
  min-width: 44px;
  padding: 7px 9px;
  font-size: 13px;
}

.menu-button {
  display: none;
  padding: 8px 10px;
}

main {
  flex: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  padding: clamp(28px, 6vw, 72px) 0 42px;
}

.eyebrow {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(42px, 6vw, 78px);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 20px;
}

.lead {
  max-width: 740px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.62;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 750;
}

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

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(13, 159, 144, 0.12), rgba(219, 117, 96, 0.08)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: min(82%, 390px);
  height: auto;
  border-radius: 18px;
}

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

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-header p,
.page-intro {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

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

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

.card,
.policy-block,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(31, 32, 35, 0.04);
}

.card {
  padding: 22px;
}

.card .kicker,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
}

.card h3 {
  margin-top: 16px;
}

.card p,
.policy-block p,
.contact-panel p,
.legal-note p {
  color: var(--muted);
  line-height: 1.68;
}

.card ul,
.policy-block ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

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

.price {
  font-size: 34px;
  font-weight: 850;
  margin: 14px 0 4px;
}

.price small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.audit-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.audit-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--surface);
}

.audit-item strong {
  display: block;
  margin-bottom: 8px;
}

.audit-item span {
  color: var(--muted);
  line-height: 1.55;
}

.page-title {
  padding: 34px 0 28px;
}

.page-title h1 {
  max-width: 900px;
}

.meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.policy-stack {
  display: grid;
  gap: 16px;
}

.policy-block {
  padding: 24px;
}

.policy-block h2 {
  font-size: 26px;
}

.policy-block h3 {
  margin-top: 22px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px;
}

.contact-line {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.contact-line a {
  color: var(--teal-dark);
  font-weight: 800;
}

.legal-note {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(219, 117, 96, 0.4);
  border-radius: 8px;
  background: rgba(219, 117, 96, 0.08);
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.footer p {
  max-width: 520px;
  margin: 7px 0 0;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.footer-links a {
  padding: 8px 10px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto auto 1fr;
  }

  .menu-button {
    display: inline-flex;
    justify-self: start;
  }

  .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    white-space: normal;
  }

  .lang-switch {
    justify-self: end;
  }

  .hero,
  .grid,
  .grid.two,
  .pricing,
  .audit-strip,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .footer {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: start;
  }
}

@media (max-width: 560px) {
  main {
    width: min(100% - 24px, 1180px);
    padding-top: 24px;
  }

  .topbar {
    gap: 10px;
    padding: 12px;
  }

  .brand span {
    display: none;
  }

  .lang-switch button {
    min-width: 38px;
    padding: 7px;
  }

  h1 {
    font-size: 38px;
  }

  .card,
  .policy-block,
  .contact-panel {
    padding: 18px;
  }
}
