:root {
  --bg: #eff5f6;
  --surface: #ffffff;
  --surface-soft: #f7fbfb;
  --ink: #132638;
  --muted: #60727f;
  --line: #d7e2e8;
  --brand: #0f8a72;
  --brand-dark: #0e6a58;
  --hero-a: #173244;
  --hero-b: #13584f;
  --hero-c: #0e7860;
  --panel: rgba(255, 255, 255, 0.07);
  --shadow: 0 20px 54px rgba(14, 39, 54, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(16, 120, 97, 0.14), transparent 24%),
    radial-gradient(circle at top left, rgba(23, 50, 68, 0.08), transparent 26%),
    linear-gradient(180deg, #edf4f6 0%, #f7fbfc 100%);
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 56px;
}

.hero-shell {
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--hero-a) 0%, var(--hero-b) 55%, var(--hero-c) 100%);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}

.brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(8, 20, 29, 0.25);
}

.brand-name {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: auto;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.94);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 4px 0 rgba(8, 30, 42, 0.34),
    0 12px 24px rgba(7, 20, 29, 0.2);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.topnav a:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 5px 0 rgba(8, 30, 42, 0.34),
    0 16px 28px rgba(7, 20, 29, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.12) 100%);
}

.hero-intro {
  display: grid;
  gap: 20px;
  justify-items: center;
  padding: 34px 12px 20px;
}

.hero-title {
  margin: 0;
  color: #fff;
  text-align: center;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-subtitle {
  margin: 0;
  max-width: 860px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.section-head-center {
  text-align: center;
}

.hero-offers {
  width: min(940px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
}

.offer-card {
  min-height: 220px;
  padding: 28px 30px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  box-shadow: 0 14px 28px rgba(8, 25, 33, 0.14);
}

.offer-link {
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.offer-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(8, 25, 33, 0.2);
  filter: brightness(1.01);
}

.offer-card-primary {
  color: #fff;
  background: linear-gradient(160deg, #0f8a72 0%, #0c6a59 100%);
}

.offer-card-light {
  color: var(--hero-a);
  background: rgba(255, 255, 255, 0.98);
}

.offer-kicker {
  margin: 0;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
}

.offer-price {
  margin-top: 18px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: clamp(42px, 4.8vw, 66px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.03em;
  max-width: 100%;
}

.offer-period {
  margin: 10px 0 0;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  justify-content: center;
}

.section {
  margin-top: 22px;
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 38, 53, 0.05);
}

.section-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.section-grid-intro {
  align-items: stretch;
}

.section-head {
  margin-bottom: 20px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
}

.eyebrow-light {
  color: rgba(215, 255, 244, 0.92);
}

.section-head h2,
.card h2,
.cta-banner h2 {
  margin: 0;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
}

.problem-highlight {
  max-width: 980px;
  margin: 26px auto 0;
  text-align: center;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  color: var(--ink);
}

.card h3,
.step-card h3,
.faq-card h3 {
  margin: 0 0 10px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 24px;
  line-height: 1.15;
}

.lead,
.card p,
.step-card p,
.faq-card p,
.connect-note {
  font-size: 18px;
  line-height: 1.62;
  color: var(--muted);
}

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

.card-wide {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.check-list,
.bullet-list {
  margin: 18px 0 0;
  padding-left: 24px;
  display: grid;
  gap: 10px;
  font-size: 18px;
  line-height: 1.55;
}

.steps-grid,
.connect-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

.pricing-section .section-head {
  margin-bottom: 24px;
}

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

.step-card,
.connect-card,
.faq-card {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}

.step-num,
.connect-num {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(15, 138, 114, 0.12);
  color: var(--brand-dark);
  font-size: 20px;
  font-weight: 900;
}

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

.problem-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.compare-label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-label-bad {
  color: #8d2c2c;
  background: #fce8e8;
}

.compare-label-good {
  color: #0e6a58;
  background: #ddf5ee;
}

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

.connect-card p {
  margin: 0;
}

.pricing-copy {
  display: grid;
  gap: 10px;
}

.pricing-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.62;
  color: var(--muted);
}

.pricing-actions {
  margin-top: 20px;
  display: flex;
}

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

.cta-banner {
  background: linear-gradient(160deg, var(--hero-a) 0%, var(--hero-c) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-color: rgba(255, 255, 255, 0.08);
}

.cta-banner h2 {
  color: #fff;
}

.cta-banner > :first-child {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.cta-actions {
  display: flex;
  align-items: center;
}

.site-footer {
  margin-top: 22px;
  padding: 28px 30px;
  border-radius: 28px;
  background: linear-gradient(160deg, #132a3a 0%, #0f5d53 100%);
  box-shadow: 0 18px 40px rgba(15, 39, 54, 0.14);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: start;
}

.site-footer-brand strong {
  display: block;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 28px;
  line-height: 1.1;
  color: #fff;
}

.site-footer-brand p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.55;
}

.site-footer-copy {
  font-size: 15px;
}

.site-footer-links {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.site-footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: opacity .18s ease, border-color .18s ease;
}

.site-footer-links a:hover {
  opacity: .88;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  text-align: center;
  position: relative;
  cursor: pointer;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -7px 12px rgba(19, 38, 56, 0.14),
    0 10px 20px rgba(8, 25, 33, 0.2),
    0 3px 0 rgba(13, 36, 48, 0.18);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 48%, #e6edf2 100%);
  color: var(--hero-a);
  border: 1px solid rgba(19, 38, 56, 0.22);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 -8px 14px rgba(19, 38, 56, 0.16),
    0 14px 26px rgba(8, 25, 33, 0.24),
    0 4px 0 rgba(13, 36, 48, 0.18);
  filter: brightness(1.01);
}

.btn:active,
.topnav a:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 4px 10px rgba(8, 25, 33, 0.14),
    inset 0 -2px 4px rgba(255, 255, 255, 0.4),
    0 6px 12px rgba(8, 25, 33, 0.16),
    0 1px 0 rgba(13, 36, 48, 0.16);
}

@media (max-width: 980px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

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

  .topnav {
    width: 100%;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .topnav a {
    min-width: 0;
    padding: 0 10px;
    font-size: 14px;
  }

  .hero-title {
    font-size: clamp(34px, 6vw, 52px);
  }

  .hero-title span {
    white-space: normal;
  }

  .hero-offers,
  .section-grid,
  .problem-grid,
  .steps-grid,
  .connect-grid,
  .faq-list,
  .site-footer-grid,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    display: grid;
  }
}

@media (max-width: 640px) {
  .page {
    width: calc(100% - 20px);
    padding-top: 10px;
  }

  .hero-shell,
  .section,
  .card,
  .step-card,
  .connect-card,
  .faq-card {
    border-radius: 22px;
  }

  .hero-intro {
    padding: 22px 4px 10px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .btn {
    min-height: 52px;
    padding: 0 22px;
    width: 100%;
    max-width: 320px;
  }

  .offer-card {
    min-height: 190px;
    padding: 22px 22px;
  }

  .offer-kicker {
    font-size: 20px;
  }

  .offer-price {
    font-size: 40px;
  }

  .offer-period {
    font-size: 19px;
  }

  .section {
    padding: 24px;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 12mm;
  }

  html,
  body {
    width: 980px !important;
    min-width: 980px !important;
    background: #fff;
    color: #000;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .page {
    width: 980px !important;
    min-width: 980px !important;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .hero-shell,
  .section,
  .card,
  .step-card,
  .connect-card,
  .faq-card {
    box-shadow: none;
  }

  .hero-shell {
    background: #fff;
    border: 1px solid #cfd8dd;
    padding: 12px;
  }

  .topbar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .brand,
  .brand-name,
  .topnav a,
  .hero-title,
  .hero-subtitle,
  .section-head h2,
  .card h2,
  .card h3,
  .step-card h3,
  .faq-card h3,
  .lead,
  .card p,
  .step-card p,
  .faq-card p,
  .connect-note,
  .check-list,
  .bullet-list {
    color: #000;
  }

  .topnav {
    display: flex !important;
    grid-template-columns: none !important;
    width: auto !important;
    gap: 8px;
    margin-left: auto;
  }

  .topnav a {
    min-height: 32px;
    padding: 0 8px;
    border: 1px solid #cfd8dd;
    background: #fff;
    font-size: 11px;
  }

  .hero-intro {
    padding: 18px 0 8px;
    gap: 12px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.08;
  }

  .hero-title span {
    white-space: normal;
  }

  .hero-subtitle {
    max-width: none;
    font-size: 14px;
    line-height: 1.4;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .section,
  .hero-offers {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .section {
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
  }

  .section-grid,
  .problem-grid,
  .steps-grid,
  .connect-grid,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hero-offers {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

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

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

  .offer-card {
    min-height: 120px;
    padding: 12px;
    border: 1px solid #cfd8dd;
    border-radius: 16px;
    color: #000;
    background: #fff;
  }

  .card,
  .step-card,
  .connect-card,
  .faq-card {
    padding: 16px;
    overflow: hidden;
  }

  .check-list,
  .bullet-list,
  .step-card p,
  .faq-card p,
  .card p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .offer-kicker {
    font-size: 15px;
  }

  .offer-price {
    margin-top: 10px;
    font-size: 34px;
  }

  .offer-period {
    font-size: 15px;
    margin-top: 6px;
  }

  .btn {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #cfd8dd;
    background: #fff;
    color: #000;
  }

  .cta-banner {
    background: #fff;
    color: #000;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
}
