@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/poppins-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/poppins-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/poppins-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/poppins-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/poppins-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/poppins-bolditalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "ABeeZee";
  src: url("../fonts/ABeeZee-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "ABeeZee";
  src: url("../fonts/ABeeZee-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DynaPuff";
  src: url("../fonts/DynaPuff-VariableFont_wdth,wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-stretch: 75% 125%;
  font-display: swap;
}

:root {
  --red: #ba2c17;
  --orange: #ef9e43;
  --blue: #168ec8;
  --green: #79b936;
  --yellow: #fcbf00;
  --brown: #a06318;
  --dark_red: #bc000c;
  --dark_orange: #c14000;
  --dark_blue: #5380b2;
  --dark_green: #3c7c00;
  --dark_yellow: #e8aa00;
  --darker_red: #700000;
  --darker_orange: #943100;
  --darker_blue: #355a93;
  --darker_green: #275700;
  --darker_yellow: #b98100;
  --glass: rgba(255, 255, 255, 0.28);
  --glass-strong: rgba(255, 255, 255, 0.46);
  --shadow: 0 20px 60px rgba(27, 20, 12, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  color: #27231f;
  background-color: #8ebce5;
  background-image: linear-gradient(
    146deg,
    rgba(142, 188, 229, 1) 0%,
    rgba(175, 199, 10, 0.12) 55%,
    rgba(251, 216, 138, 0.2) 100%
  );
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0.02) 45%,
    rgba(0, 0, 0, 0.03)
  );
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: none;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: clamp(1rem, 2.4vw, 2.5rem) clamp(1rem, 3vw, 2.5rem)
    clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  align-content: center;
}

.sidebar-stage {
  width: min(100%, 760px);
  display: grid;
  gap: 1.25rem;
  margin-inline: auto;
}

.side-layout {
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(180px, 320px);
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
}

.content-stack {
  display: grid;
  gap: 1.25rem;
}

.hero-card,
.content-card,
.footer-card {
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  
  text-align: center;
}

.brand-mark {
  width: min(440px, 76vw);
  max-width: 440px;
  height: auto;
  flex: 0 0 auto;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
}

.hero-copy {
  min-width: 0;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.35rem;
  font-family: "ABeeZee", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(58, 43, 25, 0.75);
}

.hero-card h1 {
  margin: 0 0 0.6rem;
  font-family: "DynaPuff", sans-serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #2e2218;
}

.lead {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.7;
}

.content-card {
  padding: clamp(1.25rem, 2.4vw, 1.9rem);
  text-align: center;
}

.content-card--feature {
  background: var(--glass-strong);
}

.content-card h2 {
  margin: 0 0 0.9rem;
  font-family: "ABeeZee", sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.15;
}

.address-lines,
.phone {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--darker_red);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: var(--dark_red);
  transform: translateY(-1px);
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.legal-list a,
.download-links a {
  text-decoration: none;
  font-weight: 600;
  color: #a11e0d;
}

.legal-list a:hover,
.download-links a:hover,
.legal-list a:focus-visible,
.download-links a:focus-visible {
  color: #000;
}

.footer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  text-align: center;
}

.clown-figure {
  justify-self: center;
  align-self: center;
  width: min(100%, 307px);
  margin: 0;
  pointer-events: none;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.16));
}

.clown-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-card p {
  margin: 0;
}

.download-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

@media (max-width: 1024px) {
  .side-layout {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .sidebar-stage {
    width: min(100%, 820px);
  }

  .clown-figure {
    width: min(56vw, 307px);
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
  }

  .page-shell {
    padding-top: 0.9rem;
    padding-bottom: 1.25rem;
  }

  .hero-card {
    flex-direction: column;
  }

  .brand-mark {
    width: min(360px, 90vw);
  }
}

@media (max-width: 560px) {
  .sidebar-stage {
    width: 100%;
  }

  .clown-figure {
    width: min(72vw, 307px);
  }
}
