:root {
  color-scheme: light;
  --ink: #0b1220;
  --green: #21a366;
  --muted: #536179;
  --line: #d7e0ea;
  --soft: #f6f9fc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: white;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(32px, 7vh, 72px) 0;
}

.hero {
  min-height: min(760px, calc(100vh - 64px));
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(520px, 1.15fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.brand-icon {
  display: block;
  border-radius: 16px;
}

h1 {
  margin: 22px 0 14px;
  font-size: clamp(54px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
}

.button {
  width: fit-content;
  display: inline-flex;
  margin-top: 28px;
  padding: 13px 18px;
  border-radius: 10px;
  color: white;
  background: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.preview {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--soft);
}

.browser-bar {
  height: 60px;
  display: grid;
  grid-template-columns: repeat(3, 12px) 1fr;
  gap: 8px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 2px solid var(--ink);
  background: white;
}

.browser-bar span {
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.browser-bar strong {
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
}

.table-wrap {
  position: relative;
  padding: 42px;
}

.select-border {
  position: absolute;
  inset: 30px;
  border: 4px solid var(--green);
  border-radius: 14px;
  pointer-events: none;
}

.table {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: white;
}

.table > * {
  min-width: 0;
  padding: 14px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table > :nth-child(4n) {
  border-right: 0;
}

.table b {
  color: white;
  background: var(--green);
}

.table > :nth-last-child(-n + 4) {
  border-bottom: 0;
}

.drawer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-top: 2px solid var(--ink);
  background: white;
}

.drawer div {
  display: grid;
  gap: 4px;
}

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

.badge {
  padding: 8px 10px;
  border: 2px solid var(--green);
  border-radius: 8px;
  color: var(--green) !important;
  font-weight: 900;
}

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

article {
  padding-top: 18px;
  border-top: 2px solid var(--line);
}

article strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

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

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

  .hero {
    min-height: 0;
  }

  .preview {
    max-width: 680px;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 24px, 1120px);
    padding: 24px 0;
  }

  .table-wrap {
    padding: 24px;
  }

  .select-border {
    inset: 14px;
    border-width: 3px;
  }

  .browser-bar strong {
    display: none;
  }

  .table {
    font-size: 12px;
  }

  .table > * {
    padding: 10px 8px;
  }
}
