:root {
  --ink: #132238;
  --muted: #5d6b7c;
  --soft: #eef4f2;
  --surface: #ffffff;
  --surface-alt: #f7faf9;
  --line: #d9e3df;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --blue: #2563eb;
  --amber: #b7791f;
  --danger: #b42318;
  --shadow: 0 18px 38px rgba(19, 34, 56, 0.09);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-dark);
}

a:hover {
  color: var(--blue);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 227, 223, 0.75);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand), var(--blue));
  color: #fff;
  font-weight: 800;
}

.brand span:last-child {
  color: var(--brand-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: #304156;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 22px rgba(15, 118, 110, 0.22);
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.btn-light {
  background: #fff;
  color: var(--brand-dark);
}

.icon {
  font-weight: 900;
  line-height: 1;
}

.hero {
  padding: 76px 0 66px;
  background:
    radial-gradient(circle at 78% 16%, rgba(15, 118, 110, 0.12), transparent 34%),
    linear-gradient(180deg, #f8fbfa 0%, #ffffff 72%);
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  align-items: center;
  gap: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--brand-dark);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  max-width: 770px;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

h3 {
  font-size: 1.22rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 690px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.trust-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  color: #3d4f63;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check {
  color: var(--brand);
  font-weight: 900;
}

.dashboard-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fbfa;
  border-bottom: 1px solid var(--line);
  color: #526273;
  font-size: 0.86rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e6f4ef;
  color: var(--brand-dark);
  font-weight: 750;
}

section {
  padding: 76px 0;
}

.section-header {
  /*max-width: 760px;*/
  margin-bottom: 36px;
}

.section-header.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-header p,
.card p,
.step p,
.article-card p,
.pricing-card p,
.faq-item p,
.content-block p,
.quote-box p {
  color: var(--muted);
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.article-card,
.pricing-card,
.form-panel,
.quote-box,
.toc-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card,
.article-card,
.pricing-card {
  padding: 24px;
}

.card .kicker {
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card h3,
.pricing-card h3,
.article-card h3 {
  margin-bottom: 10px;
}

.soft-section {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.step {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  place-items: center;
  background: #e6f4ef;
  color: var(--brand-dark);
  border-radius: 50%;
  font-weight: 850;
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.comparison th,
.comparison td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison th {
  background: #edf5f2;
  color: #203348;
}

.comparison tr:last-child td {
  border-bottom: 0;
}

.cta-band {
  padding: 50px;
  color: #fff;
  background: linear-gradient(135deg, #17324d 0%, #0f766e 100%);
  border-radius: var(--radius);
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  max-width: 720px;
  margin-top: 12px;
  opacity: 0.9;
}

.cta-band .btn-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #6b7785;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #506175;
  text-decoration: none;
}

.page-hero {
  padding: 54px 0 58px;
  background: linear-gradient(180deg, #f8fbfa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  align-items: start;
}

.content-stack {
  display: grid;
  gap: 28px;
}

.content-block {
  display: grid;
  gap: 14px;
}

.content-block ul,
.toc-box ul,
.footer-links,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-block li,
.plain-list li {
  margin-top: 9px;
  color: #3d4f63;
}

.toc-box {
  position: sticky;
  top: 96px;
  padding: 20px;
}

.toc-box strong {
  display: block;
  margin-bottom: 12px;
}

.toc-box a {
  display: block;
  padding: 7px 0;
  color: #405268;
  text-decoration: none;
}

.quote-box {
  padding: 24px;
  background: #fbf8ef;
  border-color: #ead8a6;
}

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

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-card.featured {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.price-note {
  color: var(--brand-dark);
  font-weight: 850;
}

.pricing-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card .btn {
  margin-top: auto;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.form-section {
  background: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: start;
}

.form-panel {
  padding: 24px;
  box-shadow: var(--shadow);
}

.lead-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: #25384d;
  font-size: 0.93rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfdad6;
  border-radius: var(--radius);
  font: inherit;
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.form-status {
  min-height: 22px;
  color: var(--brand-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-hint {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  padding: 48px 0 28px;
  background: #132238;
  color: #d8e2df;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.7fr));
  gap: 28px;
}

.site-footer a {
  color: #d8e2df;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.footer-small {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #a9b8b4;
  font-size: 0.9rem;
}

.article-meta {
  margin-top: 16px;
  color: #697889;
  font-size: 0.95rem;
}

.article-card {
  display: grid;
  gap: 12px;
}

.article-card a {
  font-weight: 800;
  text-decoration: none;
}

.notice {
  padding: 14px 16px;
  color: #62450d;
  background: #fff7df;
  border: 1px solid #efd284;
  border-radius: var(--radius);
}

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

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

  .toc-box {
    position: static;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    min-height: 66px;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

  .hero,
  section {
    padding: 52px 0;
  }

  .page-hero {
    padding: 36px 0 42px;
  }

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

  .btn {
    width: 100%;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 30px 22px;
  }

  .comparison {
    display: block;
    overflow-x: auto;
  }

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