:root {
  color-scheme: light;
  --paper: #f2eadc;
  --paper-light: #fbf5ea;
  --forest: #16251e;
  --forest-soft: #203229;
  --ink: #0e110f;
  --orange: #ff7a1a;
  --orange-dark: #c95611;
  --white: #fffaf0;
  --muted: #585146;
  --line: #0e110f;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--forest);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, var(--forest) 0 66vh, var(--paper) 66vh 100%),
    radial-gradient(circle at 20% 15%, rgba(255, 122, 26, 0.12), transparent 17rem);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.13;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-position: 0 0, 9px 13px;
  background-size: 23px 29px, 31px 37px;
}

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

a:focus-visible {
  outline: 4px solid var(--orange);
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(242, 234, 220, 0.96);
  border-bottom: 4px solid var(--line);
}

.brand,
.header-link,
.button {
  font-weight: 900;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.02em;
  justify-self: start;
}

.flag-mark {
  position: relative;
  width: 4.2rem;
  height: 2.55rem;
  display: block;
  border: 3px solid var(--line);
  background:
    repeating-linear-gradient(
      180deg,
      #f7f1e5 0 0.19rem,
      #f7f1e5 0.19rem 0.38rem,
      #b73424 0.38rem 0.57rem,
      #b73424 0.57rem 0.76rem
    );
  box-shadow: 4px 4px 0 var(--line);
  transform: rotate(-2deg);
}

.flag-mark::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 1.85rem;
  height: 1.36rem;
  background: #213d5f;
}

.flag-mark span {
  position: absolute;
  left: 0.28rem;
  top: 0.22rem;
  width: 1.28rem;
  height: 0.86rem;
  z-index: 1;
  opacity: 0.92;
  background-image: radial-gradient(circle, #f7f1e5 1px, transparent 1.4px);
  background-size: 0.32rem 0.28rem;
}

.header-link,
.button {
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  background: var(--orange);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--line);
}

.header-link {
  min-height: 2.45rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.78rem;
  justify-self: end;
}

.hero {
  min-height: calc(100svh - 4.4rem);
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 3rem 1rem 3.25rem;
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 122, 26, 0.18), transparent 16rem),
    linear-gradient(145deg, var(--forest-soft), var(--forest));
  border-bottom: 4px solid var(--line);
}

.hero-copy {
  max-width: 48rem;
  position: relative;
  z-index: 2;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  line-height: 0.89;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  font-size: 3.95rem;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

h2 {
  font-size: 2.45rem;
}

h3 {
  font-size: 1.18rem;
}

.tagline {
  width: fit-content;
  max-width: 100%;
  margin: 1rem 0 0;
  border: 4px solid var(--line);
  padding: 0.45rem 0.65rem;
  background: #ffb55d;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-1.4deg);
}

.intro,
.steps p,
.contact p {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.65;
}

.intro {
  max-width: 36rem;
  margin: 1.35rem 0 1.5rem;
  color: rgba(255, 250, 240, 0.82);
}

.button {
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--line);
}

.steps,
.contact {
  padding: 3rem 1rem;
}

.steps {
  display: grid;
  gap: 1.7rem;
  background: var(--paper-light);
  border-bottom: 4px solid var(--line);
}

.step-grid {
  display: grid;
  gap: 0.9rem;
}

.step-grid article {
  border: 4px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--line);
}

.step-grid span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--orange-dark);
  font-weight: 900;
}

.step-grid p {
  margin-bottom: 0;
}

.contact {
  background: linear-gradient(135deg, var(--forest-soft), var(--forest));
  color: var(--white);
}

.contact p {
  color: rgba(255, 250, 240, 0.72);
}

.button-dark {
  background: var(--orange);
}

.site-footer {
  padding: 1.15rem 1rem;
  background: var(--ink);
  color: rgba(255, 250, 240, 0.75);
  text-align: center;
  border-top: 4px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

@media (min-width: 720px) {
  .site-header,
  .hero,
  .steps,
  .contact,
  .site-footer {
    padding-inline: 2rem;
  }

  h1 {
    font-size: 5.9rem;
  }

  h2 {
    font-size: 3.4rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .steps {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }

  .step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .site-header,
  .hero,
  .steps,
  .contact,
  .site-footer {
    padding-inline: 3rem;
  }

  h1 {
    font-size: 7.6rem;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 0.95rem;
  }

  .flag-mark {
    width: 3.55rem;
    height: 2.2rem;
    box-shadow: 3px 3px 0 var(--line);
  }

  .flag-mark::before {
    width: 1.55rem;
    height: 1.15rem;
  }

  .flag-mark span {
    left: 0.23rem;
    top: 0.18rem;
    width: 1.06rem;
    height: 0.74rem;
    background-size: 0.28rem 0.24rem;
  }

  .header-link {
    box-shadow: 3px 3px 0 var(--line);
    padding-inline: 0.6rem;
    font-size: 0.72rem;
  }

  h1 {
    font-size: 3.25rem;
  }

}

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