@font-face {
  font-family: "Baloo 2";
  src: url("assets/baloo-2-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #faf7e9;
  --ink: #183e34;
  --berry: #ac2444;
  --line: #c5d0b8;
  --display: "Baloo 2", ui-rounded, system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
.wrap { width: min(calc(100% - 64px), 1120px); margin-inline: auto; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid #d17800; outline-offset: 5px; }
.topbar, nav, footer, footer div, .brand, .play { display: flex; align-items: center; }
.topbar, footer { justify-content: space-between; }
.topbar { min-height: 77px; border-bottom: 1px solid var(--line); }
.brand { gap: 9px; font: 700 28px/1 var(--display); letter-spacing: -.05em; }
.brand-mark { color: var(--berry); font: 700 40px/.8 system-ui, sans-serif; }
nav, footer div { gap: 26px; }
nav a, footer a { font-size: .92rem; font-weight: 600; text-decoration: none; }
nav a:hover, footer a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.05fr .85fr; align-items: center; gap: clamp(24px, 5vw, 78px); padding-block: clamp(36px, 4vw, 66px); }
.intro { padding-block: 12px; }
h1, h2 { margin: 0; font-family: var(--display); }
h1 { font-size: clamp(4.6rem, 7.6vw, 7.6rem); line-height: .90; letter-spacing: -.055em; }
h1 span { color: var(--berry); }
p { margin: 0; }
.intro p { margin-block: 26px 30px; max-width: 27em; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.play { width: fit-content; min-height: 52px; gap: 13px; padding: 12px 25px; border-radius: 999px; background: var(--ink); color: white; font-weight: 700; text-decoration: none; }
.play:hover { background: #285746; }
.play-symbol { border-left: 12px solid #d6f998; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.key-art { background: #a8dded; border-radius: 44% 44% 24px 24px / 22% 22% 24px 24px; overflow: hidden; }
.key-art img { display: block; width: 100%; height: auto; aspect-ratio: 0.9; object-fit: cover; object-position: center 40%; }
.how { background: #e8edd5; border-block: 1px solid var(--line); }
.how-inner { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: clamp(32px, 7vw, 98px); padding-block: 43px; }
h2 { font-size: clamp(2.1rem, 3.2vw, 3.1rem); line-height: 1.1; letter-spacing: -.04em; }
.how p { max-width: 37em; margin-top: 10px; }
.example { display: flex; gap: 8px; width: min(100%, 326px); margin-inline: auto; padding: 11px; background: #476549; border-radius: 29px; box-shadow: 0 5px 0 #294b39; transform: rotate(-3deg); }
.example span { flex: 1; min-width: 0; background: #fff9e6; border-radius: 20px; box-shadow: inset 0 3px 0 #d2d2ae; }
.example img { display: block; width: 100%; height: auto; padding: 10%; aspect-ratio: 1; object-fit: contain; }
footer { gap: 16px; padding-block: 25px; }
footer > span { font: 700 20px/1 var(--display); }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .topbar { min-height: 64px; }
  .brand { font-size: 23px; }
  .brand-mark { font-size: 31px; }
  nav, footer div { gap: 15px; }
  nav a, footer a { font-size: .83rem; }
  .hero { grid-template-columns: 1fr; justify-items: center; gap: 28px; padding-block: 36px; }
  .intro { text-align: center; padding: 0; }
  h1 { font-size: clamp(4rem, 12vw, 6rem); }
  .intro p { margin: 16px auto 20px; }
  .play { margin-inline: auto; }
  .key-art { width: min(100%, 390px); }
  .key-art img { aspect-ratio: .98; object-position: center 37%; }
  .how-inner { grid-template-columns: 1fr; gap: 26px; padding-block: 35px; text-align: center; }
  .how p { margin-inline: auto; }
  .example { max-width: 242px; }
}
@media (max-width: 370px) {
  footer { align-items: flex-start; }
  footer div { display: grid; gap: 4px; }
}
