:root {
  --ink: #1e2624;
  --muted: #5f6b67;
  --line: #d9ded9;
  --paper: #fbfcf8;
  --panel: #ffffff;
  --mint: #dff3e8;
  --green: #157a5a;
  --amber: #d48721;
  --red: #b44536;
  --charcoal: #26312f;
  --shadow: 0 18px 44px rgba(37, 44, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 60px);
  background: rgba(251, 252, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, var(--green) 0 45%, transparent 45%),
    linear-gradient(315deg, var(--amber) 0 45%, var(--charcoal) 45%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding: clamp(52px, 9vw, 96px) clamp(20px, 5vw, 76px) 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--charcoal);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--charcoal);
  color: white;
}

.button.secondary {
  background: transparent;
  color: var(--charcoal);
}

.fine-print {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.signal-panel {
  width: min(100%, 440px);
  justify-self: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  font-weight: 850;
  border-bottom: 1px solid var(--line);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(180, 69, 54, 0.12);
}

.signal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.signal-row strong {
  color: var(--ink);
  text-align: right;
}

.signal-row.warning strong {
  color: var(--amber);
}

.signal-row.danger strong {
  color: var(--red);
}

.sms-preview {
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  background: var(--mint);
}

.sms-preview p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
}

.sms-preview button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: white;
  font-weight: 850;
}

.problem-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 76px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.problem-band div {
  padding: 22px;
  background: white;
}

.problem-band strong,
.problem-band span {
  display: block;
}

.problem-band strong {
  margin-bottom: 8px;
  font-size: 17px;
}

.problem-band span {
  color: var(--muted);
}

.section,
.workflow-section,
.contact-section,
.boundary {
  padding: clamp(56px, 9vw, 96px) clamp(20px, 5vw, 76px);
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-header h2,
.split h2,
.boundary h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-header p,
.split p,
.boundary p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
}

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

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

.feature-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--mint);
  color: var(--green);
  font-weight: 900;
}

.feature-card h3,
.price-card h3 {
  margin: 18px 0 8px;
  font-size: 19px;
}

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

.workflow-section {
  background: #eef4ed;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.workflow li {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid #cfdbd0;
  border-radius: 8px;
  background: white;
}

.workflow span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--charcoal);
  color: white;
  font-weight: 900;
}

.workflow h3 {
  margin: 0 0 8px;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
}

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

.fit-list span {
  min-height: 54px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-weight: 800;
}

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

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

.price-card strong {
  display: block;
  margin: 8px 0 12px;
  font-size: 30px;
  line-height: 1.05;
}

.price-card.featured {
  border-color: rgba(21, 122, 90, 0.35);
  background: var(--mint);
}

.calculator {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(150px, 0.7fr)) minmax(180px, 0.8fr);
  gap: 14px;
  align-items: end;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.calculator h3,
.calculator p {
  margin: 0;
}

.calculator p {
  color: var(--muted);
  font-size: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input {
  min-height: 42px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
}

.calculator-result {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 6px;
  background: var(--charcoal);
  color: white;
}

.calculator-result span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.74);
}

.calculator-result strong {
  font-size: 22px;
}

.boundary {
  background: var(--charcoal);
  color: white;
}

.boundary p {
  max-width: 920px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
}

.contact-box {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 76px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

  .signal-panel {
    justify-self: stretch;
  }

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

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

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .problem-band,
  .feature-grid,
  .workflow,
  .pricing-grid,
  .fit-list,
  .calculator {
    grid-template-columns: 1fr;
  }

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

