:root {
  --red: #e31820;
  --red-dark: #b70f18;
  --ink: #161616;
  --muted: #666a73;
  --soft: #f7f7f8;
  --line: #ececef;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(20, 20, 20, .08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

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

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

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -.035em;
  font-size: 1.2rem;
  line-height: 1;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.logo-word {
  color: var(--ink);
}

.launch-pill,
.button {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 750;
}

.launch-pill {
  padding: 10px 16px;
  color: var(--red-dark);
  background: #fff0f1;
  font-size: .92rem;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  padding: 46px 0 78px;
}

.hero-copy {
  max-width: 560px;
  padding-right: 40px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 18ch;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 5.8vw, 5rem);
  line-height: 0.92;
  letter-spacing: -.05em;
}

.hero-text {
  max-width: 590px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  line-height: 1.6;
}

.belief-line {
  margin: 22px 0 0;
  color: var(--red-dark);
  font-weight: 800;
  font-size: 1.08rem;
}

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

.button {
  padding: 12px 20px;
  color: var(--red-dark);
  background: #fff0f1;
  font-size: .92rem;
  cursor: default;
}

.supporting-text {
  color: var(--muted);
  font-weight: 650;
}

.hero-art {
    min-height: 620px;
    position: relative;
}

.mobile-band {
  display: none;
}

@media (max-width: 860px) {
  .mobile-band {
    display: block;
    height: 150px;
    width: 100vw;
    margin: 0 0 10px calc(50% - 50vw);
    background: var(--red) url("../assets/revilicious-pattern-on-red.svg") center / cover no-repeat;
    border-radius: 0 0 50% 50% / 0 0 60px 60px;
    box-shadow: 0 24px 44px rgba(227, 24, 32, .16);
  }
}

.pattern-panel {
    position: absolute;
    inset: 0 -90px 0 auto;
    width: min(700px, 138%);
    height: 100%;
    filter: drop-shadow(0 36px 80px rgba(227, 24, 32, .20));
}

.how-it-works {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.step-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 999px;
  color: var(--red-dark);
  background: #fff0f1;
  font-weight: 850;
  font-size: 1.1rem;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  letter-spacing: -.025em;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.benefits {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefit-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 18px;
  color: #fff;
  background: var(--red);
}

.icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  letter-spacing: -.025em;
}

.benefit-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.local {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  margin-bottom: 84px;
  padding: 48px;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, #fff4f5, #fff 55%);
  border: 1px solid #ffe1e4;
}

.local p:last-child {
  margin: 0;
  align-self: end;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: .95rem;
}

.footer-meta a {
  color: var(--red-dark);
  font-weight: 700;
}

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

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

  .launch-pill {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 62px;
  }

  .hero-art {
    display: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .benefits {
    padding: 62px 0;
  }

  .how-it-works {
    padding: 62px 0;
  }

  .local {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px;
    margin-bottom: 58px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .optional-card {
    display: none;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.7rem, 14vw, 4.1rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .benefit-card {
    padding: 24px;
  }

  .local {
    padding: 24px;
  }
}