:root {
  --pink: #d85d8f;
  --pink-deep: #b83f72;
  --yellow: #f8bf19;
  --lilac: #c6b3e6;
  --green: #1d6c55;
  --ink: #111111;
  --paper: #fffdf7;
  --line: #191919;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; }

.hero {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--yellow);
  border-bottom: 3px solid var(--line);
}
.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 5;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; }
.brand-mark { display: grid; place-items: center; width: 76px; height: 44px; padding: 3px 7px; overflow: hidden; border: 2px solid; border-radius: 15px; background: white; transform: rotate(-3deg); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav-link { font-weight: 750; text-underline-offset: 5px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.hero-copy { width: min(1180px, calc(100% - 40px)); margin: 92px auto 80px; position: relative; z-index: 3; }
.eyebrow { display: inline-block; margin: 0 0 18px; padding: 8px 14px; border: 2px solid; border-radius: 999px; background: white; font-size: 13px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { margin: 0; letter-spacing: -.055em; line-height: .87; text-transform: uppercase; }
h1 { max-width: 860px; font-size: clamp(62px, 9.5vw, 142px); font-weight: 950; }
h1 span { color: var(--pink); text-shadow: 3px 3px 0 var(--ink); -webkit-text-stroke: 2px var(--ink); }
.hero-subtitle { margin: 24px 0 0; font-size: clamp(28px, 4vw, 58px); font-weight: 900; letter-spacing: -.045em; text-transform: uppercase; }
.hero-text { max-width: 520px; margin: 24px 0 28px; font-size: 20px; line-height: 1.4; font-weight: 620; }
.button { display: inline-flex; gap: 20px; align-items: center; justify-content: center; min-height: 54px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 850; box-shadow: 4px 4px 0 var(--lilac); transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--lilac); }
.button:focus-visible, .nav-link:focus-visible, .brand:focus-visible { outline: 4px solid white; outline-offset: 4px; }
.button-dark { background: var(--ink); color: white; }
.hero-shape { position: absolute; z-index: -1; }
.hero-shape-one { width: 500px; height: 500px; right: -120px; top: 120px; border-radius: 44% 56% 63% 37% / 45% 35% 65% 55%; background: var(--pink); transform: rotate(16deg); }
.hero-shape-two { width: 230px; height: 230px; right: 250px; bottom: -96px; border: 3px solid var(--ink); border-radius: 50%; background: var(--lilac); }
.hero-dots { position: absolute; right: 36px; top: 38px; z-index: 2; width: 130px; display: grid; grid-template-columns: repeat(3, 16px); gap: 15px; transform: rotate(12deg); }
.hero-dots i { width: 14px; height: 14px; background: var(--ink); border-radius: 50%; }
.hero-sticker { position: absolute; right: max(40px, calc((100vw - 1180px) / 2)); top: 260px; z-index: 4; width: 220px; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; text-align: center; border: 3px solid var(--ink); border-radius: 46% 54% 42% 58% / 53% 43% 57% 47%; background: white; transform: rotate(7deg); box-shadow: 9px 9px 0 var(--ink); font-weight: 800; text-transform: uppercase; }
.hero-sticker strong { font-size: 39px; line-height: 1; color: var(--pink); }

.ranking-section { padding: 100px 20px 110px; background: var(--pink); }
.section-heading { width: min(760px, 100%); margin: 0 auto 44px; text-align: center; }
.eyebrow-dark { background: var(--ink); color: white; }
h2 { font-size: clamp(52px, 7vw, 96px); font-weight: 950; color: white; }
.section-heading > p:last-child { max-width: 620px; margin: 24px auto 0; color: white; font-size: 18px; line-height: 1.5; }
.ranking-grid { width: min(1080px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rank-card { overflow: hidden; border: 3px solid var(--line); border-radius: 28px; background: white; box-shadow: 7px 7px 0 var(--ink); }
.rank-card-top { padding: 22px 24px 18px; display: flex; align-items: end; justify-content: space-between; background: var(--yellow); border-bottom: 3px solid var(--line); }
.rank-card-top > div { display: flex; flex-direction: column; gap: 9px; }
.rank-card-top strong { font-size: 58px; line-height: .8; letter-spacing: -.06em; text-transform: uppercase; }
.rank-number { padding: 7px 10px; border: 2px solid; border-radius: 999px; background: white; font-size: 12px; font-weight: 850; }
.class-label { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.stand-follows { margin: 24px; min-height: 116px; display: grid; place-items: center; border: 2px dashed #9c9c9c; border-radius: 18px; color: #737373; font-size: 24px; font-weight: 850; }
.rank-meta { padding: 0 24px 22px; display: flex; justify-content: space-between; color: #555; font-size: 13px; font-weight: 700; }
.score-wrap { position: relative; min-height: 116px; padding: 20px 24px 18px; }
.score { display: block; margin-bottom: 17px; font-size: 50px; line-height: 1; letter-spacing: -.05em; }
.progress { height: 18px; overflow: hidden; border: 2px solid var(--ink); border-radius: 999px; background: #ececec; }
.progress span { display: block; height: 100%; border-right: 2px solid var(--ink); background: var(--pink); }
.over-hundred { position: absolute; right: 24px; top: 30px; padding: 6px 9px; border: 2px solid; border-radius: 999px; background: var(--yellow); font-size: 11px; font-weight: 850; }
.updated { width: max-content; max-width: 100%; margin: 30px auto 0; padding: 10px 15px; display: flex; align-items: center; gap: 9px; border: 2px solid var(--ink); border-radius: 999px; background: white; font-size: 13px; font-weight: 750; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px var(--lilac); }
.privacy-note { max-width: 660px; margin: 18px auto 0; color: white; font-size: 12px; line-height: 1.45; text-align: center; opacity: .86; }

.how-section { padding: 110px 20px; overflow: hidden; background: var(--yellow); border-bottom: 3px solid var(--ink); }
.how-grid { width: min(1100px, 100%); margin: 0 auto 55px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.how-intro h2 { color: var(--ink); font-size: clamp(52px, 7vw, 94px); }
.how-intro > p:last-child { max-width: 520px; font-size: 20px; line-height: 1.5; }
.formula-card { padding: 34px; display: grid; grid-template-columns: 1fr auto; gap: 13px 18px; align-items: center; border: 3px solid; border-radius: 32px; background: white; box-shadow: 9px 9px 0 var(--lilac); transform: rotate(1.5deg); font-size: 22px; font-weight: 750; }
.formula-card strong { font-size: 36px; }
.formula-card b { grid-column: 1 / -1; margin-top: 5px; padding: 14px; border: 2px solid; border-radius: 14px; background: var(--pink); color: white; text-align: center; font-size: 26px; }
.example-card { width: min(1100px, 100%); margin: 0 auto; padding: 28px; display: grid; grid-template-columns: 1fr auto 1fr auto 1.3fr; align-items: stretch; gap: 20px; border: 3px solid; border-radius: 30px; background: var(--ink); color: white; }
.example-part { min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid white; border-radius: 20px; text-align: center; }
.example-part strong { font-size: clamp(48px, 6vw, 76px); line-height: 1; letter-spacing: -.05em; }
.example-part span { margin-top: 8px; font-size: 14px; font-weight: 700; }
.example-symbol { align-self: center; color: var(--yellow); font-size: 48px; font-weight: 900; }
.example-result { border-color: var(--pink); background: var(--pink); transform: rotate(-2deg); }
.supporters { width: min(1000px, 100%); margin: 34px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.supporters span { padding: 9px 14px; border: 2px solid; border-radius: 999px; background: white; font-weight: 800; }

.prize-section { position: relative; min-height: 600px; padding: 100px max(20px, calc((100% - 1100px) / 2)); display: grid; grid-template-columns: .65fr 1.35fr; align-items: center; gap: 70px; overflow: hidden; background: var(--pink); color: white; }
.prize-burst { width: min(340px, 28vw); aspect-ratio: 1; display: grid; place-items: center; border: 4px solid var(--ink); background: var(--yellow); color: var(--ink); font-size: clamp(100px, 15vw, 190px); box-shadow: 12px 12px 0 var(--lilac); clip-path: polygon(50% 0%, 61% 24%, 85% 15%, 76% 39%, 100% 50%, 76% 61%, 85% 85%, 61% 76%, 50% 100%, 39% 76%, 15% 85%, 24% 61%, 0% 50%, 24% 39%, 15% 15%, 39% 24%); }
.prize-copy { position: relative; z-index: 2; }
.prize-copy h2 { max-width: 780px; font-size: clamp(50px, 7vw, 94px); }
.prize-copy > p:not(.eyebrow) { max-width: 720px; font-size: 20px; line-height: 1.55; }
.idea-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.idea-row span { padding: 10px 14px; border: 2px solid var(--ink); border-radius: 999px; background: white; color: var(--ink); font-weight: 800; }

.rules-section { padding: 110px 20px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; width: min(1120px, 100%); margin: 0 auto; }
.rules-heading h2 { color: var(--ink); font-size: clamp(54px, 7vw, 92px); }
.rules-heading > p:last-child { font-size: 18px; }
.faq-list { border-top: 3px solid var(--ink); }
details { border-bottom: 3px solid var(--ink); }
summary { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: 20px; font-weight: 850; }
summary::-webkit-details-marker { display: none; }
summary span { font-size: 30px; transition: transform .2s ease; }
details[open] summary span { transform: rotate(45deg); }
details p { margin: -4px 54px 24px 0; color: #444; font-size: 16px; line-height: 1.55; }
summary:focus-visible { outline: 4px solid var(--pink); outline-offset: 5px; }

.about-section { padding: 105px max(20px, calc((100% - 1100px) / 2)); display: grid; grid-template-columns: 320px 1fr; gap: 80px; align-items: center; background: var(--yellow); border-block: 3px solid var(--ink); }
.about-mark { width: 300px; aspect-ratio: 1; display: grid; place-items: center; padding: 28px 18px; border: 4px solid; border-radius: 57% 43% 51% 49% / 45% 58% 42% 55%; background: white; box-shadow: 11px 11px 0 var(--green); transform: rotate(-5deg); }
.about-mark img { width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.about-copy h2 { color: var(--ink); font-size: clamp(48px, 6vw, 82px); }
.about-copy > p:last-child { max-width: 700px; font-size: 20px; line-height: 1.55; }

.cta-section { position: relative; padding: 120px 20px; overflow: hidden; background: var(--ink); color: white; text-align: center; }
.cta-section > * { position: relative; z-index: 2; }
.cta-section h2 { font-size: clamp(56px, 8vw, 110px); }
.cta-section > p:not(.eyebrow) { max-width: 680px; margin: 25px auto 32px; font-size: 20px; line-height: 1.5; }
.button-yellow { background: var(--yellow); color: var(--ink); box-shadow: 5px 5px 0 var(--lilac); }
.email-link { display: block; width: max-content; margin: 22px auto 0; text-underline-offset: 5px; opacity: .8; }
.cta-shape { position: absolute; z-index: 0; width: 460px; height: 460px; right: -190px; top: -170px; border-radius: 50%; background: var(--pink); }
footer { min-height: 115px; padding: 24px max(20px, calc((100% - 1180px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 25px; background: white; font-weight: 750; }
footer p { margin: 0; text-align: center; }
footer > a:last-child { text-underline-offset: 4px; }

@media (max-width: 850px) {
  .hero { min-height: 780px; }
  .hero-copy { margin-top: 70px; }
  .hero-sticker { width: 154px; right: 24px; top: auto; bottom: 46px; }
  .hero-sticker strong { font-size: 29px; }
  .hero-shape-one { width: 360px; height: 360px; right: -180px; top: 260px; }
  .ranking-grid { grid-template-columns: 1fr; max-width: 560px; }
  .how-grid, .rules-section { grid-template-columns: 1fr; }
  .example-card { grid-template-columns: 1fr; }
  .example-symbol { transform: rotate(90deg); }
  .prize-section { grid-template-columns: 1fr; gap: 55px; text-align: center; }
  .prize-burst { width: 270px; margin: 0 auto; }
  .prize-copy h2, .prize-copy > p:not(.eyebrow) { margin-inline: auto; }
  .idea-row { justify-content: center; }
  .about-section { grid-template-columns: 1fr; gap: 55px; text-align: center; }
  .about-mark { width: 240px; margin: 0 auto; font-size: 130px; }
  .about-copy > p:last-child { margin-inline: auto; }
}

@media (max-width: 520px) {
  .hero { min-height: 700px; }
  .nav { width: calc(100% - 28px); padding-top: 16px; }
  .nav-link-secondary { display: none; }
  .nav-links { gap: 12px; }
  .hero-copy { width: calc(100% - 28px); margin-top: 64px; }
  h1 { font-size: clamp(51px, 17vw, 78px); }
  h1 span { text-shadow: 2px 2px 0 var(--ink); -webkit-text-stroke: 1.5px var(--ink); }
  .hero-subtitle { font-size: 26px; }
  .hero-text { font-size: 17px; max-width: 310px; }
  .hero-sticker { width: 130px; bottom: 30px; right: 18px; font-size: 11px; box-shadow: 6px 6px 0 var(--ink); }
  .hero-sticker strong { font-size: 24px; }
  .ranking-section { padding: 70px 14px 80px; }
  .rank-meta { flex-direction: column; gap: 5px; }
  .how-section { padding: 75px 14px; }
  .how-grid { gap: 35px; }
  .formula-card { padding: 24px 20px; font-size: 18px; }
  .formula-card strong { font-size: 28px; }
  .example-card { padding: 16px; }
  .example-part { min-height: 120px; }
  .prize-section, .rules-section, .about-section, .cta-section { padding-block: 80px; }
  .prize-burst { width: 210px; }
  .rules-section { gap: 40px; }
  summary { font-size: 17px; }
  .about-mark { width: 190px; font-size: 105px; }
  footer { flex-direction: column; padding-block: 34px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
