:root {
  --bg: #ffffff;
  --surface: #f5f7fa;
  --text: #20333f;
  --text-muted: #647683;
  --brand: #193b38;
  --line: #e8edf1;
  --accent: #087f74;
  --accent-text: #076e64;
  --accent-soft: #e7f4ef;
  --on-accent: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.top,
.hero,
.foot {
  width: min(100% - 4rem, 68rem);
  margin-inline: auto;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  min-height: 6rem;
  border-bottom: 1px solid var(--line);
}

.brand,
.preview__brand {
  color: var(--brand);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.link {
  color: var(--accent-text);
  font-size: 0.875rem;
  font-weight: 600;
  text-underline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3rem, 9vw, 8rem);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.title {
  margin: 0;
  color: var(--brand);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

.lead {
  margin: 0;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.65;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.cta:hover {
  background: var(--accent-text);
}

.hero__note {
  margin: -0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.preview {
  min-width: 0;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--accent-soft);
}

.preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.preview__brand {
  font-size: 1.25rem;
}

.preview__status {
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  background: var(--bg);
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 600;
}

.preview__title {
  margin: 0;
  color: var(--brand);
  font-size: 1.5rem;
  line-height: 1.3;
}

.preview__muted,
.preview__caption {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.preview__muted {
  margin: 0.5rem 0 1.5rem;
}

.preview__items {
  margin: 0;
}

.preview__items > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid #c6ddd5;
  font-size: 0.875rem;
}

.preview__items dt span {
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.preview__items dd {
  margin: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.preview__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1.5rem;
  color: var(--brand);
}

.preview__total strong {
  font-size: 1.75rem;
  font-variant-numeric: tabular-nums;
}

.preview__caption {
  margin: 2rem 0 0;
  font-size: 0.75rem;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.75rem;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .top,
  .hero,
  .foot {
    width: calc(100% - 2rem);
  }

  .top {
    min-height: 5rem;
  }

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

  .preview {
    padding: 1.5rem;
  }

  .foot {
    flex-wrap: wrap;
  }
}
