:root {
  --color-lemon-peel: #f5f5e3;
  --color-midnight-ink: #000000;
  --color-buttercup: #f4d748;
  --gutter: clamp(24px, calc(12.49px + 2.951vw), 55px);
  --radius-default: 17.1429px;
  --radius-pill: 428.571px;
  --border: 1px solid var(--color-midnight-ink);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-lemon-peel);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-lemon-peel);
  color: var(--color-midnight-ink);
  font-family: "Nohemi", Arial, sans-serif;
  font-weight: 400;
  line-height: 1;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  width: 100%;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-lemon-peel);
}

.brand,
.nav-links a,
.footer-brand {
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 21px;
}

.hero {
  width: 100%;
  padding: 62px var(--gutter) 0;
  text-align: center;
}

.hero h1 {
  margin: 0 auto;
  max-width: 10.86em;
  font-size: clamp(61px, calc(37.97px + 5.905vw), 123px);
  line-height: 1;
  letter-spacing: clamp(-5px, calc(-1.43px - 0.248vw), -2.4px);
  font-weight: 400;
}

.hero p {
  margin: 24px auto 0;
  max-width: min(92.5vw, 1332px);
  font-size: clamp(22px, calc(20.51px + 0.381vw), 26px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
}

.pill {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: var(--border);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-midnight-ink);
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-action {
  margin-top: 24px;
}

.showcase {
  width: calc(100% - (var(--gutter) * 2));
  min-height: 520px;
  margin: 102px var(--gutter) 0;
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.904fr);
  gap: 55px;
  align-items: center;
  background: var(--color-buttercup);
  border: var(--border);
  border-radius: var(--radius-default);
}

.sketch-card {
  position: relative;
  width: 100%;
  aspect-ratio: 611 / 408;
  min-height: 260px;
  background: var(--color-lemon-peel);
  border: var(--border);
  border-radius: var(--radius-default);
}

.sketch-dot {
  position: absolute;
  left: 4.09%;
  width: 14px;
  height: 14px;
  border: var(--border);
  border-radius: 50%;
}

.dot-one {
  top: 7.84%;
}

.dot-two {
  top: 21.32%;
}

.dot-three {
  top: 34.8%;
}

.sketch-line {
  position: absolute;
  left: 71.6%;
  top: 37.25%;
  width: 94px;
  height: 2px;
  background: var(--color-midnight-ink);
  transform: rotate(-52deg);
  transform-origin: center;
}

.sketch-pill {
  position: absolute;
  left: 68%;
  top: 56.6%;
  width: 164px;
  height: 78px;
  border: var(--border);
  border-radius: var(--radius-pill);
  transform: rotate(-14deg);
}

.showcase h2 {
  margin: 0;
  max-width: 8.7em;
  font-size: clamp(43px, calc(35.2px + 2vw), 64px);
  line-height: 1;
  letter-spacing: -2px;
  font-weight: 400;
}

.showcase p {
  margin: 24px 0 0;
  max-width: 22em;
  font-size: clamp(22px, calc(20.51px + 0.381vw), 26px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
}

.notes {
  width: calc(100% - (var(--gutter) * 2));
  margin: 86px var(--gutter) 0;
}

.note-row {
  min-height: 113px;
  padding: 25px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.809fr) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
  border-top: var(--border);
}

.note-row:last-child {
  min-height: 128px;
  border-bottom: var(--border);
}

.note-row h2 {
  margin: 0;
  font-size: clamp(43px, calc(35.2px + 2vw), 64px);
  line-height: 1;
  letter-spacing: -2px;
  font-weight: 400;
}

.note-row p {
  margin: 0;
  max-width: 27em;
  font-size: clamp(22px, calc(20.51px + 0.381vw), 26px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
}

.site-footer {
  position: relative;
  width: calc(100% - (var(--gutter) * 2));
  min-height: 334px;
  margin: 86px var(--gutter) 55px;
  padding: 56px;
  border: var(--border);
  border-radius: var(--radius-default);
  background: var(--color-lemon-peel);
}

.site-footer h2 {
  margin: 0;
  max-width: 9.12em;
  font-size: clamp(54px, calc(42.11px + 3.048vw), 86px);
  line-height: 1;
  letter-spacing: -3px;
  font-weight: 400;
}

.footer-bottom {
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-width: 900px) {
  .site-header {
    padding: 24px 40px;
  }

  .hero {
    padding: 78px 40px 0;
  }

  .hero h1 {
    line-height: 0.95;
    max-width: 8.5em;
  }

  .hero p {
    max-width: 690px;
  }

  .showcase {
    width: calc(100% - 80px);
    min-height: 0;
    margin: 86px 40px 0;
    padding: 40px;
    display: block;
  }

  .sketch-card {
    aspect-ratio: auto;
    height: 336px;
    min-height: 0;
  }

  .showcase h2 {
    margin-top: 40px;
    max-width: 586px;
  }

  .showcase p {
    max-width: 610px;
  }

  .notes {
    width: calc(100% - 80px);
    margin: 86px 40px 0;
  }

  .note-row {
    min-height: 0;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
    gap: 32px;
    padding: 24px 0;
  }

  .site-footer {
    width: calc(100% - 80px);
    min-height: 360px;
    margin: 86px 40px 40px;
    padding: 40px;
  }

  .site-footer h2 {
    line-height: 0.95;
    max-width: 540px;
  }

  .footer-bottom {
    left: 40px;
    right: 40px;
    bottom: 40px;
  }

  .footer-actions {
    gap: 14px;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 24px;
  }

  .site-header {
    padding: 24px;
  }

  .nav-links {
    gap: 14px;
  }

  .brand,
  .nav-links a,
  .footer-brand,
  .pill {
    font-size: clamp(20px, 6.667vw, 26px);
  }

  .hero {
    padding: 56px 24px 0;
  }

  .hero h1 {
    max-width: 342px;
    line-height: 0.95;
  }

  .hero p {
    max-width: 332px;
    letter-spacing: -0.4px;
  }

  .pill {
    min-height: 54px;
    padding: 0 20px;
  }

  .showcase {
    width: calc(100% - 48px);
    margin: 86px 24px 0;
    padding: 24px;
  }

  .sketch-card {
    height: 242px;
  }

  .sketch-dot {
    width: 12px;
    height: 12px;
  }

  .sketch-line {
    left: auto;
    right: 62px;
    top: 82px;
    width: 74px;
  }

  .sketch-pill {
    left: auto;
    right: 19px;
    top: auto;
    bottom: 47px;
    width: 104px;
    height: 52px;
  }

  .showcase h2 {
    margin-top: 32px;
    letter-spacing: -1.6px;
    line-height: 0.96;
  }

  .showcase p {
    margin-top: 22px;
    letter-spacing: -0.3px;
  }

  .notes {
    width: calc(100% - 48px);
    margin: 86px 24px 0;
  }

  .note-row {
    display: block;
    padding: 24px 0 25px;
  }

  .note-row h2 {
    letter-spacing: -1.4px;
  }

  .note-row p {
    margin-top: 18px;
    letter-spacing: -0.3px;
  }

  .site-footer {
    width: calc(100% - 48px);
    min-height: 0;
    margin: 86px 24px 24px;
    padding: 32px 24px 24px;
  }

  .site-footer h2 {
    line-height: 0.95;
    letter-spacing: -2px;
  }

  .footer-bottom {
    position: static;
    display: block;
    margin-top: 44px;
  }

  .footer-actions {
    margin-top: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
