:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #211f1b;
  background: #f5f3ee;
  --surface: #fffcf6;
  --accent: #994025;
  --line: #d8d3c9;
  --muted: #625c53;
}

* { box-sizing: border-box; }

body { margin: 0; }

h1, h2, p { margin: 0; }

.wrap {
  width: min(100% - 4rem, 72rem);
  margin-inline: auto;
}

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

.identity {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9375rem;
  font-weight: 700;
}

.mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: .425rem;
  color: #fff8f1;
  background: var(--accent);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.header-link {
  display: grid;
  align-items: center;
  min-height: 2.75rem;
  color: var(--accent);
  font-size: .9375rem;
  font-weight: 700;
  text-underline-offset: .28em;
}

.header-link:hover { color: #642916; }

.header-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: .25rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  align-items: center;
  gap: clamp(1.375rem, 5vw, 5.5rem);
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
}

h1 {
  font-size: clamp(2.6rem, 5.35vw, 5.125rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.062em;
}

h1 span { color: var(--accent); }

.hero-copy p {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1.55;
}

strong { color: #211f1b; }

.illustration {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(14rem, 25vw, 21rem);
  overflow: hidden;
  border: 1px solid #debaaa;
  border-radius: .625rem;
  background:
    linear-gradient(90deg, #a84d321c 1px, transparent 1px) center / 1.625rem 1.625rem,
    linear-gradient(#a84d321c 1px, transparent 1px) center / 1.625rem 1.625rem,
    #f0dcd1;
}

.illustration::before {
  position: absolute;
  z-index: -1;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid #a84d3257;
  border-radius: 50%;
  box-shadow:
    0 0 0 1.375rem #f0dcd1a0,
    0 0 0 calc(1.375rem + 1px) #a84d3240;
  content: "";
}

.browser-card {
  width: min(68%, 15rem);
  overflow: hidden;
  border: 1px solid #ad735e;
  border-radius: .625rem;
  background: var(--surface);
  box-shadow: .5rem .625rem 0 #b3684b3d, 0 .875rem 2rem #5227181a;
  text-align: center;
  transform: rotate(-6deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: .3rem;
  height: 1.65rem;
  padding-inline: .6rem;
  border-bottom: 1px solid #e5c9ba;
  background: #fbebe2;
}

.browser-bar i {
  width: .31rem;
  height: .31rem;
  border-radius: 50%;
  background: #ae705a;
}

.browser-warning {
  display: grid;
  place-items: center;
  width: clamp(2.75rem, 5vw, 4.125rem);
  aspect-ratio: 1;
  margin: clamp(.75rem, 2vw, 1.25rem) auto .55rem;
  border: 1px solid #d7a28c;
  border-radius: 50%;
  background: #f8e6dd;
  color: var(--accent);
  font: 700 clamp(1.85rem, 3.5vw, 2.85rem) / 1 Georgia, serif;
}

.browser-address {
  display: inline-block;
  margin-bottom: clamp(.75rem, 2vw, 1.25rem);
  font: 700 clamp(1rem, 1.8vw, 1.375rem) / 1.25 ui-monospace, monospace;
  letter-spacing: -.035em;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.detail {
  padding: clamp(1.25rem, 3vw, 2.125rem);
  border: 1px solid var(--line);
  border-radius: .625rem;
  background: var(--surface);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.detail h2 {
  margin-bottom: .75rem;
  font-size: clamp(1.2rem, 2.2vw, 1.625rem);
  line-height: 1.18;
  letter-spacing: -.028em;
  text-wrap: balance;
}

.detail p { color: var(--muted); }

.detail p + p { margin-top: .625rem; }

.actions {
  scroll-margin-top: 1rem;
  border-color: #e2c5b7;
  background: #fbebe2;
}

.actions:target { outline: 2px solid var(--accent); }

.actions ul {
  margin: 0;
  padding-left: 1.125rem;
}

.actions li + li { margin-top: .3rem; }

.actions li::marker { color: var(--accent); }

.site-footer {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-block: 1.125rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

@media (max-width: 49rem) {
  .wrap { width: min(100% - 2.5rem, 38rem); }
  .site-header { min-height: 4.25rem; }
  .hero { grid-template-columns: 1fr; }
  .desktop-break { display: none; }
  h1 { font-size: clamp(2.15rem, 7.9vw, 4rem); }
  .hero-copy p { margin-top: 1rem; }
  .illustration { min-height: 13rem; }
  .details { grid-template-columns: 1fr; gap: .75rem; }
}

@media (max-width: 23rem) {
  .wrap { width: calc(100% - 2rem); }
}
