:root {
  color: #172a42;
  background: #f7f9fc;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  line-height: 1.55;
  --text-muted: #46586a;
  --rule: #dce4ed;
  --inset: clamp(1.25rem, 5vw, 3rem);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid #ba3b28;
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wrap {
  width: min(calc(100% - 2 * var(--inset)), 69rem);
  margin-inline: auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--rule);
}

.header-content,
.wordmark,
nav {
  display: flex;
  align-items: center;
}

.header-content {
  min-height: 4.5rem;
  justify-content: space-between;
  gap: 0.75rem;
}

.wordmark,
nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 650;
  text-decoration: none;
}

.wordmark {
  gap: 0.625rem;
  white-space: nowrap;
}

.wordmark img {
  border-radius: 0.6rem;
}

nav {
  gap: clamp(0.75rem, 3vw, 2rem);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

h1, h2, p {
  margin: 0;
}

h1, h2 {
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 750;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 720;
}

.hero p {
  max-width: 34ch;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
}

.primary-link {
  display: inline-flex;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.75rem;
  padding: 0.75rem 1.125rem;
  border-radius: 999px;
  background: #172a42;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.primary-link:hover {
  background: #284b6e;
}

.hero-image, .setup-image {
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 3rem) 1rem;
  border-radius: clamp(1.25rem, 3vw, 2.25rem);
}

.hero-image {
  background: radial-gradient(circle at 70% 27%, #ffe1d3, transparent 56%), #dceaf8;
}

.phone {
  width: min(100%, 14.5rem);
  border: 0.375rem solid #172a42;
  border-radius: clamp(1.25rem, 4vw, 1.9rem);
  box-shadow: 0 1.25rem 3rem rgb(22 46 74 / 24%);
}

.designs {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  border-block: 1px solid var(--rule);
  background: #fff;
}

.design-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 0;
}

.design-list div {
  padding-top: 0.875rem;
  border-top: 2px solid var(--rule);
}

dt {
  font-size: 1.125rem;
  font-weight: 700;
}

dd {
  margin: 0.375rem 0 0;
  color: var(--text-muted);
}

.setup {
  display: grid;
  grid-template-areas: "preview copy";
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 6rem);
  padding-block: clamp(3rem, 8vw, 6rem);
}

.setup-copy {
  grid-area: copy;
}

.setup-image {
  grid-area: preview;
  background: #ebe2da;
}

.setup ol {
  display: grid;
  gap: 1rem;
  max-width: 48ch;
  margin: 1.5rem 0 0;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.setup li {
  padding-left: 0.375rem;
}

.setup li::marker, strong {
  color: #172a42;
  font-weight: 650;
}

@media (max-width: 46rem) {
  .hero, .setup {
    grid-template-columns: minmax(0, 1fr);
  }

  .setup {
    grid-template-areas: "copy" "preview";
  }

  .design-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 22rem) {
  .design-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
