@font-face {
  font-family: "Cal Sans";
  src: url("../fonts/cal-sans.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green-light: #00c2a2;
  --green: #00bfa0;
  --green-dark: #00836d;
  --white: #ffffff;
  --w: min(86vw, 720px, 66vh);
}

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

html {
  background-color: var(--green);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--green-light) 0%, var(--green) 62%, var(--green-dark) 100%);
  color: var(--white);
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.page {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(24px, 6vh, 64px) 16px;
  text-align: center;
}

.brand {
  position: relative;
  width: var(--w);
  aspect-ratio: 100 / 63.53;
  margin: 0;
}

.brand__logo {
  width: 100%;
}

.brand__popcorn {
  position: absolute;
  left: 32.67%;
  bottom: 0;
  width: 48.848%;
  transform: translate(-0.468%, 11.792%);
}

.title {
  position: relative;
  max-width: 100%;
  margin: calc(var(--w) * 0.028) 0 0;
  font-family: "Cal Sans", "Open Sans", system-ui, sans-serif;
  font-size: max(1.3rem, calc(var(--w) * 0.0575));
  font-weight: 400;
  line-height: 1.2;
  text-wrap: balance;
}

.text {
  max-width: 28em;
  margin: calc(var(--w) * 0.065) 0 0;
  font-size: clamp(0.95rem, calc(var(--w) * 0.028), 1.25rem);
  line-height: 1.45;
  text-wrap: balance;
}

.text a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
}

.text a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.text a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.icon {
  width: max(36px, calc(var(--w) * 0.087));
  margin-top: calc(var(--w) * 0.05);
}
