:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-muted: #eef2f7;
  --text: #18212f;
  --muted: #617086;
  --line: #d9e0ea;
  --primary: #1f7a5a;
  --primary-dark: #14553f;
  --accent: #7a4bff;
  --warning: #8a4b00;
  --warning-bg: #fff3d8;
  --shadow: 0 18px 50px rgba(24, 33, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
}

.topbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.topbar-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 14px 20px;
}

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
}

.brand img {
  border-radius: 8px;
  height: 34px;
  width: 34px;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.hero {
  background:
    linear-gradient(125deg, rgba(31, 122, 90, 0.94), rgba(24, 33, 47, 0.94)),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.26), transparent 32%);
  color: #ffffff;
}

.hero-inner {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  margin: 0 auto;
  max-width: 1120px;
  min-height: 540px;
  padding: 74px 20px 64px;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(38px, 6vw, 72px);
  max-width: 760px;
}

.lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  margin: 22px 0 0;
  max-width: 680px;
}

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

.hero-tariffs {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 8px 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 24px;
  max-width: 620px;
  padding: 14px 16px;
}

.hero-tariffs span {
  color: rgba(255, 255, 255, 0.84);
}

.hero-tariffs strong {
  color: #ffffff;
  font-size: 18px;
  white-space: nowrap;
}

.button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 8px;
  color: var(--primary-dark);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
}

.button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.hero-panel {
  align-self: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-frame {
  background: #101722;
  border-radius: 8px;
  margin: 24px auto;
  max-width: 360px;
  overflow: hidden;
  padding: 14px;
}

.phone-screen {
  background: #f7f9fc;
  border-radius: 8px;
  color: var(--text);
  min-height: 420px;
  padding: 18px;
}

.screen-header {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.screen-header img {
  border-radius: 8px;
  height: 42px;
  width: 42px;
}

.screen-title {
  font-weight: 850;
}

.screen-subtitle {
  color: var(--muted);
  font-size: 13px;
}

.order-preview {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 12px;
  padding: 14px;
}

.order-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 8px 0;
}

.order-label {
  color: var(--muted);
  font-size: 13px;
}

.order-value {
  font-weight: 800;
  text-align: right;
}

.status-pill {
  background: #e7f6ef;
  border-radius: 999px;
  color: var(--primary-dark);
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
}

.section {
  margin: 0 auto;
  max-width: 1120px;
  padding: 58px 20px;
}

.section.compact {
  padding-top: 36px;
}

.section h2 {
  font-size: 34px;
  margin-bottom: 18px;
}

.section-intro {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 28px;
  max-width: 820px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  margin: 0;
}

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

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.price-card strong {
  display: block;
  font-size: 22px;
  margin-bottom: 6px;
}

.price {
  color: var(--primary-dark);
  font-size: 32px;
  font-weight: 900;
  margin: 14px 0 8px;
}

.price-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 16px 0;
  overflow: hidden;
}

.price-list div {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 14px;
}

.price-list div + div {
  border-top: 1px solid var(--line);
}

.price-list span {
  color: #334155;
}

.price-list strong {
  color: var(--primary-dark);
  font-size: 18px;
  margin: 0;
  white-space: nowrap;
}

.tariff-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 18px 0 26px;
  overflow: hidden;
}

.tariff-row {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(150px, 1fr) minmax(110px, 0.6fr) minmax(190px, 1.3fr);
  padding: 16px 18px;
}

.tariff-row + .tariff-row {
  border-top: 1px solid var(--line);
}

.tariff-head {
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tariff-row strong {
  color: var(--primary-dark);
}

.muted {
  color: var(--muted);
}

.details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.detail-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 240px minmax(0, 1fr);
  padding: 16px 20px;
}

.detail-row + .detail-row {
  border-top: 1px solid var(--line);
}

.detail-row dt {
  color: var(--muted);
  font-weight: 750;
  margin: 0;
}

.detail-row dd {
  margin: 0;
}

.notice {
  background: var(--warning-bg);
  border: 1px solid #ffd27a;
  border-radius: 8px;
  color: var(--warning);
  margin-top: 18px;
  padding: 14px 16px;
}

.legal-text {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.legal-text h2 {
  font-size: 28px;
  margin: 28px 0 12px;
}

.legal-text h2:first-child {
  margin-top: 0;
}

.legal-text p,
.legal-text li {
  color: #334155;
}

.legal-text ul {
  padding-left: 22px;
}

.footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 32px;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 24px 20px;
}

.footer a {
  color: #ffffff;
}

@media (max-width: 860px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

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

  .detail-row {
    grid-template-columns: 1fr;
  }

  .tariff-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 42px 16px;
  }

  .hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .phone-frame {
    margin: 10px auto 0;
  }

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