/* Self-hosted so the page never falls back to a system font. */
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url("assets/fonts/fredoka-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url("assets/fonts/fredoka-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --black: #000000;
  /* Sampled straight from the illustration so the panels and artwork match exactly. */
  --blue: #0575f3;
  --gold-shine: linear-gradient(
    180deg,
    #fff3bd 0%,
    #ffd451 30%,
    #f8ab00 54%,
    #e08f00 70%,
    #ffd451 88%,
    #fff3bd 100%
  );
  --frame: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  background: var(--black);
  padding: var(--frame);
  font-family: "Fredoka", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

.stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - (var(--frame) * 2));
  background: var(--blue);
}

.visual {
  background: var(--blue);
  overflow: hidden;
}

.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep the hand and phone anchored; any cropping happens in the empty top area. */
  object-position: 50% 100%;
  display: block;
}

.content {
  background: var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 44px);
  padding: clamp(24px, 3.2vw, 58px);
  min-width: 0;
}

.headline {
  display: flex;
  flex-direction: column;
  gap: 0.06em;
  max-width: 100%;
  text-transform: uppercase;
  /* Sized so the longest line always clears the panel padding at any viewport. */
  font-size: clamp(26px, min(4.7vw, 10.5vh), 86px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

/* Each line carries the full light-to-dark-to-light sweep, so the gold reads as metallic. */
.headline span {
  display: block;
  background: var(--gold-shine);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0.025em 0.02em rgba(0, 32, 82, 0.45));
}

.headline .strong {
  font-weight: 700;
}

.headline .light {
  font-weight: 600;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(200px, 19vw, 300px);
  padding: clamp(16px, 1.9vw, 26px) clamp(32px, 3vw, 48px);
  background: var(--black);
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(17px, 1.55vw, 26px);
  letter-spacing: 0.08em;
  border: 3px solid var(--black);
  border-radius: 999px;
  box-shadow: 0 6px 0 rgba(20, 16, 10, 0.35);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}

.cta:hover,
.cta:focus-visible {
  background: #ffc42e;
  color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 9px 0 rgba(20, 16, 10, 0.35);
}

.cta:active {
  transform: translateY(0);
  box-shadow: 0 3px 0 rgba(20, 16, 10, 0.35);
}

@media (max-width: 900px) {
  .stage {
    grid-template-columns: 1fr;
  }

  .visual {
    height: 44vh;
  }

  .content {
    align-items: flex-start;
    gap: 32px;
    padding: 32px 24px 48px;
  }

  .headline {
    font-size: clamp(30px, 9vw, 58px);
  }

  .cta {
    width: 100%;
    font-size: 16px;
    padding: 18px 32px;
  }
}
