@font-face {
  font-family: "Baloo";
  src: url("assets/BalooBhaijaan2-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Baloo";
  src: url("assets/BalooBhaijaan2-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Baloo";
  src: url("assets/BalooBhaijaan2-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --cream: #f8f0df;
  --paper: #fffaf0;
  --red: #e82920;
  --dark-red: #bf1613;
  --orange: #ffab08;
  --ink: #17130f;
  --muted: #766b5f;
  --line: rgba(232, 41, 32, 0.16);
  --shadow: 0 24px 60px rgba(87, 48, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(255, 171, 8, 0.18),
      transparent 24rem
    ),
    radial-gradient(
      circle at 94% 18%,
      rgba(232, 41, 32, 0.1),
      transparent 28rem
    ),
    var(--cream);
  font-family: "Baloo", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: relative;
  z-index: 10;
  padding: 24px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: 230px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--red);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 10px 26px;
  border: 0;
  border-radius: 17px;
  color: white;
  background: linear-gradient(110deg, var(--orange), var(--red));
  box-shadow: 0 12px 28px rgba(232, 41, 32, 0.22);
  font:
    800 20px/1 "Baloo",
    sans-serif;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(232, 41, 32, 0.28);
}

.button.secondary {
  color: var(--red);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(232, 41, 32, 0.25);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 700px;
  padding: 50px 0 90px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 14px 5px;
  border: 1px solid rgba(232, 41, 32, 0.22);
  border-radius: 999px;
  color: var(--red);
  background: rgba(255, 255, 255, 0.45);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.04;
}

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(3.5rem, 7vw, 6.6rem);
  letter-spacing: -0.045em;
}

h1 span,
h2 span {
  color: var(--red);
}

.hero-copy p {
  max-width: 600px;
  margin: 0 0 30px;
  color: #4f463e;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.fine-print {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 590px;
}

.sunburst {
  position: absolute;
  width: min(540px, 95%);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
}

.sunburst::before {
  content: "";
  position: absolute;
  inset: -21%;
  background: repeating-conic-gradient(
    from -8deg,
    rgba(255, 171, 8, 0.23) 0deg 12deg,
    transparent 12deg 24deg
  );
  animation: turn 80s linear infinite;
}

.hero-rooster {
  position: relative;
  z-index: 2;
  width: min(410px, 82%);
  filter: drop-shadow(0 26px 24px rgba(69, 37, 13, 0.18));
}

.speech-bubble {
  position: absolute;
  z-index: 3;
  top: 9%;
  right: -1%;
  max-width: 195px;
  padding: 15px 18px 12px;
  border: 3px solid var(--ink);
  border-radius: 22px 22px 22px 4px;
  background: var(--paper);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  transform: rotate(4deg);
  box-shadow: 7px 8px 0 var(--orange);
}

@keyframes turn {
  to {
    transform: rotate(1turn);
  }
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 21px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: steps;
}

.step {
  position: relative;
  min-height: 285px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 10px 35px rgba(73, 40, 15, 0.06);
  counter-increment: steps;
}

.step::after {
  content: counter(steps);
  position: absolute;
  right: 16px;
  bottom: -40px;
  color: rgba(232, 41, 32, 0.08);
  font-size: 150px;
  font-weight: 800;
  line-height: 1;
}

.step-icon {
  /* display: grid; */
  display: none;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 50px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(145deg, var(--orange), var(--red));
  font-size: 26px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.step h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  font-size: 27px;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
}

.callout {
  position: relative;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 60px;
  padding: 60px 70px;
  overflow: hidden;
  border-radius: 36px;
  color: white;
  background: var(--red);
  box-shadow: var(--shadow);
}

.callout::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background: repeating-conic-gradient(
    from 0deg at 10% 100%,
    white 0 10deg,
    transparent 10deg 20deg
  );
}

.callout img,
.callout div {
  position: relative;
  z-index: 1;
}

.callout img {
  max-height: 410px;
  margin: -35px auto -110px;
}

.callout h2 {
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  letter-spacing: -0.04em;
}

.callout p {
  max-width: 560px;
  margin: 0 0 26px;
  font-size: 22px;
  opacity: 0.93;
}

.callout .button {
  color: var(--red);
  background: white;
  box-shadow: none;
}

.privacy-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  max-width: 850px;
  margin: 85px auto 0;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.44);
}

.privacy-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  color: var(--red);
  background: rgba(232, 41, 32, 0.1);
  font-size: 28px;
}

.privacy-strip h3,
.privacy-strip p {
  margin: 0;
}

.privacy-strip h3 {
  font-size: 23px;
}

.privacy-strip p {
  color: var(--muted);
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid rgba(23, 19, 15, 0.09);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--red);
}

/* Legal pages */
.legal-shell {
  padding: 55px 0 100px;
}

.legal-card {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin-bottom: 10px;
  color: var(--red);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.legal-card .updated {
  margin: 0 0 42px;
  color: var(--muted);
}

.legal-card h2 {
  margin: 38px 0 10px;
  font-size: 28px;
}

.legal-card p,
.legal-card li {
  color: #4f463e;
}

.legal-card ul {
  padding-left: 24px;
}

.legal-card a {
  color: var(--red);
  font-weight: 700;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    text-align: center;
  }

  .hero-copy p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    min-height: 560px;
    margin-top: 30px;
  }

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

  .step {
    min-height: 230px;
  }

  .step-icon {
    margin-bottom: 30px;
  }

  .callout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 50px 36px;
    text-align: center;
  }

  .callout img {
    max-height: 330px;
    margin: -10px auto -70px;
  }

  .callout p {
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 18px 0;
  }

  .brand {
    width: 170px;
  }

  .nav-links > a:not(.button) {
    display: none;
  }

  .nav .button {
    min-height: 44px;
    padding: 8px 15px;
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 55px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-art {
    min-height: 430px;
  }

  .speech-bubble {
    top: 5%;
    right: 0;
    max-width: 145px;
    font-size: 15px;
  }

  .section {
    padding: 70px 0;
  }

  .privacy-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .privacy-icon {
    margin: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sunburst::before {
    animation: none;
  }

  .button {
    transition: none;
  }
}
