:root {
  color-scheme: light;
  font-family: Montserrat, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cream: #ecdbc3;
  --paper: #fbf4e6;
  --ink: #1a1208;
  --muted: #705538;
  --red: #e5182b;
  --red-dark: #a3101e;
  --blue: #0d0a6e;
  --gold: #e6c98c;
  --border: #c6ad84;
  background: var(--cream);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--cream);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(13, 10, 110, 0.025), rgba(13, 10, 110, 0.025)),
    repeating-linear-gradient(135deg, rgba(13, 10, 110, 0.035) 0 16px, transparent 16px 42px),
    var(--cream);
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  border-bottom: 1px solid rgba(112, 85, 56, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 4px 0 var(--red-dark);
}

.brand strong,
.brand small {
  display: block;
  text-transform: uppercase;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.status {
  border: 1px solid rgba(13, 10, 110, 0.12);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(251, 244, 230, 0.7);
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
}

main {
  min-height: calc(100vh - 198px);
  padding-block: clamp(48px, 9vw, 112px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: clamp(36px, 8vw, 112px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(44px, 7.4vw, 92px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

.lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: #493722;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 560;
  line-height: 1.58;
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.primary-action {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 12px;
  padding: 0 22px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--red-dark), 0 12px 24px rgba(163, 16, 30, 0.18);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.primary-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 0 var(--red-dark), 0 16px 28px rgba(163, 16, 30, 0.2);
}

.primary-action:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--red-dark);
}

.text-action {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-underline-offset: 4px;
}

.feature {
  position: relative;
  overflow: hidden;
  border: 1px solid #3c2814;
  border-radius: 22px;
  padding: clamp(24px, 4vw, 38px);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.13) 0 2px, transparent 2px 34px),
    linear-gradient(150deg, #80572f, #4a301b);
  color: #fff7e7;
  box-shadow: 0 18px 42px rgba(50, 30, 12, 0.24);
}

.feature__mark {
  position: relative;
  width: 112px;
  height: 112px;
  margin-bottom: 30px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
}

.feature__mark span {
  position: absolute;
  width: 27px;
  height: 27px;
  border-color: var(--gold);
  border-style: solid;
}

.feature__mark span:nth-child(1) {
  top: 11px;
  left: 11px;
  border-width: 3px 0 0 3px;
}

.feature__mark span:nth-child(2) {
  top: 11px;
  right: 11px;
  border-width: 3px 3px 0 0;
}

.feature__mark span:nth-child(3) {
  bottom: 11px;
  left: 11px;
  border-width: 0 0 3px 3px;
}

.feature__mark span:nth-child(4) {
  right: 11px;
  bottom: 11px;
  border-width: 0 3px 3px 0;
}

.feature__mark b {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--red);
  font-size: 28px;
  transform: translate(-50%, -50%);
}

.feature p {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 850;
  line-height: 1.08;
  text-wrap: balance;
}

.feature ul {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  border-top: 1px solid rgba(230, 201, 140, 0.28);
  padding: 22px 0 0;
  list-style: none;
}

.feature li {
  position: relative;
  padding-left: 20px;
  color: #ead7b7;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.feature li::before {
  position: absolute;
  top: 0.62em;
  left: 1px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  content: "";
  transform: rotate(45deg);
}

footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid rgba(112, 85, 56, 0.24);
  padding-block: 26px 34px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

footer p {
  margin: 0;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

footer a {
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid rgba(229, 24, 43, 0.42);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 620px);
  }

  .site-header {
    min-height: 78px;
  }

  .status {
    display: none;
  }

  main {
    min-height: auto;
    padding-block: 46px 58px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 68px);
  }

  .lead {
    margin-top: 22px;
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 28px;
  }

  .primary-action {
    width: 100%;
  }

  .feature {
    border-radius: 18px;
  }

  footer {
    flex-direction: column;
  }

  footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
