:root {
  --bg: #eef3f0;
  --ink: #101714;
  --muted: #607169;
  --line: #cfd9d4;
  --panel: #ffffff;
  --green: #008c74;
  --blue: #1a65d6;
  --amber: #edb436;
  --shadow: 0 28px 90px rgba(16, 23, 20, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16, 23, 20, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 23, 20, 0.04) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.page {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 54px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brand,
.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.ghost-link {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

.hero-copy,
.signal-board,
.steps article,
.about-section,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(26px, 5vw, 52px);
}

.kicker {
  margin: 0 0 14px;
  color: var(--green);
  font: 900 12px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 12vw, 150px);
  line-height: 0.82;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin: 24px 0 28px;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
}

.primary-button {
  background: var(--ink);
  color: #fff;
}

.secondary-button {
  border: 1px solid var(--line);
  background: #fff;
}

.signal-board {
  position: relative;
  display: grid;
  min-height: 420px;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: end;
  overflow: hidden;
  padding: 18px;
  background:
    radial-gradient(circle at 70% 18%, rgba(237, 180, 54, 0.32), transparent 30%),
    linear-gradient(135deg, #0f1714, #20392f);
}

.route-line {
  position: absolute;
  inset: 0;
}

.route-line span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 8px rgba(237, 180, 54, 0.12);
}

.route-line span:nth-child(1) { left: 18%; top: 24%; }
.route-line span:nth-child(2) { left: 56%; top: 16%; background: #80dec9; }
.route-line span:nth-child(3) { left: 72%; top: 48%; }
.route-line span:nth-child(4) { left: 34%; top: 66%; background: #80dec9; }

.metric {
  position: relative;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(10px);
}

.metric.wide {
  grid-column: 1 / -1;
}

.metric span {
  display: block;
  margin-bottom: 8px;
  color: #c4d4cf;
  font-size: 13px;
}

.metric strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 28px;
}

.tariffs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.tariff {
  display: grid;
  min-height: 116px;
  align-content: space-between;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  transition: transform 160ms ease, border-color 160ms ease;
}

.tariff:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}

.tariff.featured {
  border-left-color: var(--amber);
}

.tariff.custom {
  border-left-color: var(--blue);
}

.tariff span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.tariff strong {
  font-size: clamp(22px, 2.4vw, 30px);
}

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

.steps article {
  padding: 20px;
  box-shadow: none;
}

.steps span {
  color: var(--blue);
  font: 900 13px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

h2 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 18px;
  margin-top: 18px;
  padding: 22px;
  box-shadow: none;
}

.about-section h2,
.legal-card h1 {
  margin: 0;
}

.about-section p,
.legal-card p {
  color: var(--muted);
  line-height: 1.6;
}

.legal-links,
.contact-grid {
  display: grid;
  gap: 10px;
}

.legal-links a,
.contact-card {
  display: grid;
  min-height: 58px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  font-weight: 850;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
}

.legal-card {
  padding: clamp(24px, 5vw, 52px);
}

.legal-card h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.92;
}

.legal-card h2 {
  margin-top: 28px;
  font-size: 24px;
}

.legal-card a {
  color: var(--blue);
  font-weight: 850;
}

.doc-date {
  margin-top: 34px;
  font-size: 14px;
}

.contact-card span {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-card strong {
  overflow-wrap: anywhere;
  font-size: 24px;
}

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

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

@media (max-width: 620px) {
  .tariffs {
    grid-template-columns: 1fr 1fr;
  }

  .signal-board {
    min-height: 360px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .topbar {
    align-items: flex-start;
  }

  .topbar-actions {
    flex-direction: column;
  }
}
