:root {
  color-scheme: light;
  --ink: #12201d;
  --muted: #5d6f69;
  --line: #dbe5e1;
  --paper: #ffffff;
  --wash: #f3f7f5;
  --green: #13795b;
  --green-2: #0f5f4a;
  --amber: #d89522;
  --teal: #0d8190;
  --slate: #20312d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-2);
  font-size: 19px;
  font-weight: 900;
}

.nav {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a.active {
  background: var(--green);
  color: #fff;
}

.contact,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 800;
}

.contact,
.primary {
  background: var(--green);
  color: #fff;
}

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

.hero,
.workspace,
.split {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: 44px 0 64px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.lead,
.section-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.hero-panel,
.table-card,
.cards article,
.phone {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(25, 47, 41, 0.12);
}

.hero-panel {
  border-radius: 8px;
  overflow: hidden;
}

.panel-head {
  display: flex;
  gap: 7px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: #edf4f1;
}

.panel-head span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #9fb3ad;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.metrics article {
  padding: 28px;
  background: #fff;
}

.metrics strong {
  display: block;
  font-size: 34px;
  color: var(--green-2);
}

.metrics span,
.activity-list span,
.ticket small {
  display: block;
  color: var(--muted);
}

.activity-list {
  padding: 18px;
}

.activity-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.activity-list div:last-child {
  border-bottom: 0;
}

.workspace,
.split {
  padding: 78px 0;
}

.cards {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

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

.cards article {
  min-height: 230px;
  border-radius: 8px;
  padding: 26px;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #e5f4ef;
  color: var(--green);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
}

.phone {
  border-radius: 28px;
  padding: 22px;
  background: #182723;
}

.phone-top {
  width: 78px;
  height: 8px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #6f827c;
}

.ticket {
  padding: 18px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #fff;
}

.ticket span {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 5px 9px;
  background: #e8f2ef;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.ticket.urgent span {
  background: #fff2d7;
  color: #9a620b;
}

.table-card {
  margin-top: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 1fr 0.8fr 1fr;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row.head {
  background: #20312d;
  color: #fff;
  font-weight: 900;
}

.status {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 900;
}

.status.due {
  background: #fff2d7;
  color: #8a5b10;
}

.status.paid {
  background: #def4ea;
  color: #13795b;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer a {
  color: var(--green);
  font-weight: 800;
}

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

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .split,
  .cards.three {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .table-card {
    overflow-x: auto;
  }

  .table-row {
    min-width: 760px;
  }
}
