:root {
  color-scheme: light dark;
  --accent: #177e89;
  --ink: #172026;
  --muted: #5d6872;
  --paper: #f8faf9;
  --line: #d6dedc;
  --gold: #c4892d;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

main {
  margin-inline: auto;
  max-width: 1120px;
  padding: 36px 20px 56px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  min-height: 72vh;
}

.hero-copy {
  display: grid;
  gap: 16px;
}

.hero-copy p:first-child {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 78px);
  letter-spacing: 0;
  line-height: 0.95;
  max-width: 820px;
}

.hero-copy p:last-child,
.features p {
  color: var(--muted);
}

.preview {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(23, 32, 38, 0.14);
  display: grid;
  gap: 18px;
  padding: 18px;
}

.preview-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.preview-head span {
  background: #e8f2f1;
  border-radius: 999px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 9px;
}

.slider {
  display: grid;
  gap: 7px;
}

.slider::after {
  background: #e7ecea;
  border-radius: 999px;
  content: "";
  grid-row: 2;
  height: 7px;
}

.slider b {
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 999px;
  display: block;
  grid-row: 2;
  height: 7px;
  z-index: 1;
}

.preview-actions {
  display: grid;
  gap: 8px;
}

button {
  background: var(--accent);
  border: 0;
  border-radius: 7px;
  color: white;
  display: grid;
  font: inherit;
  font-weight: 800;
  gap: 2px;
  justify-items: start;
  min-height: 44px;
  padding: 7px 10px;
}

button span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 650;
}

.features {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 28px;
}

article {
  display: grid;
  gap: 8px;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 18px;
}

a {
  color: var(--accent);
  font-weight: 700;
}

.policy {
  max-width: 860px;
}

.policy header,
.policy section {
  display: grid;
  gap: 12px;
}

.policy header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.policy header > p:first-child {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.policy h1 {
  font-size: clamp(38px, 6vw, 64px);
}

code {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  h1 {
    font-size: 42px;
  }

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