@font-face { font-family: "Grotesk"; src: url(/fonts/grotesk.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #07070a; --bg2: #0d0c10; --card: #131116; --card2: #19161c; --line: #2a2328;
  --text: #f3eee9; --muted: #a49a98; --dim: #6f6567;
  --red: #ff2d3f; --red2: #c9142a; --gold: #f2c46d; --green: #3ddc84;
  --r: 18px;
  --font: "Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Hiragino Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.wrap.narrow { width: min(640px, 100% - 32px); }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; font: 600 15px/1 var(--font);
  color: #fff; background: linear-gradient(180deg, var(--red), var(--red2)); padding: 15px 22px; border-radius: 999px;
  box-shadow: 0 10px 30px -10px rgba(255, 45, 63, .65), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .18s ease, opacity .18s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 18px 28px; font-size: 17px; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px #4a3d43; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 14px max(16px, calc((100% - 1120px) / 2));
  background: linear-gradient(180deg, rgba(7,7,10,.85), rgba(7,7,10,0)); }
.nav nav { display: flex; gap: 10px; align-items: center; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; letter-spacing: -.02em; font-size: 18px; }
.brand.small { font-size: 15px; }
.mark { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff6b78, var(--red) 45%, #8d0b1c); display: grid; place-items: center; box-shadow: 0 0 18px rgba(255,45,63,.5); }
.mark i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg); }
.x-link { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); background: rgba(19,17,22,.6); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-bg img { object-position: 70% 50%; animation: zoomIn 2.4s cubic-bezier(.2,.7,.2,1) both; }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,7,10,.96) 0%, rgba(7,7,10,.82) 38%, rgba(7,7,10,.25) 70%, rgba(7,7,10,.5) 100%),
              linear-gradient(0deg, var(--bg) 0%, rgba(7,7,10,0) 30%); }
.kanji { position: absolute; right: max(16px, calc((100% - 1120px) / 2)); top: 50%; transform: translateY(-50%); writing-mode: vertical-rl;
  font: 700 clamp(64px, 11vw, 150px)/1 "Hiragino Mincho ProN", "Yu Mincho", serif; color: rgba(255,45,63,.22); letter-spacing: .1em; z-index: -1;
  animation: fadeUp 1.4s .5s ease both; }
.hero-in { width: min(1120px, 100% - 32px); margin: 0 auto; padding: 110px 0 70px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  padding: 8px 14px; border-radius: 999px; background: rgba(242,196,109,.08); box-shadow: inset 0 0 0 1px rgba(242,196,109,.25); animation: fadeUp .7s .1s both; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); position: relative; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red); animation: ping 1.6s ease-out infinite; }
h1 { font-size: clamp(54px, 10vw, 128px); margin: 22px 0 18px; }
h1 .line { display: block; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
h1 .line + .line { animation-delay: .12s; }
.red { color: var(--red); text-shadow: 0 0 40px rgba(255,45,63,.35); }
.lead { font-size: clamp(17px, 2vw, 21px); color: #d9d0cc; max-width: 30ch; animation: fadeUp .8s .3s both; }
.pay { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 16px; animation: fadeUp .8s .4s both; }
.pay-amt { font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: -.03em; color: var(--gold); text-shadow: 0 0 30px rgba(242,196,109,.25); }
.pay-per { font-size: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 30px; animation: fadeUp .8s .5s both; }
.pills li { font-size: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(19,17,22,.7); box-shadow: inset 0 0 0 1px var(--line); color: #e3dad6; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; animation: fadeUp .8s .6s both; }
.count { color: var(--muted); font-size: 14px; }
.count b { color: var(--text); }

/* sections */
section.roles, section.how, section.apply { padding: clamp(70px, 10vw, 120px) 0; }
.eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
h2 { font-size: clamp(32px, 5vw, 54px); margin-bottom: 36px; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.role { position: relative; padding: 24px; border-radius: var(--r); background: linear-gradient(180deg, var(--card2), var(--card)); box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden; transition: transform .25s ease; }
.role:hover { transform: translateY(-4px); }
.role::before { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,45,63,.22), transparent 70%); }
.role .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,45,63,.1); color: var(--red); margin-bottom: 18px; }
.role h3 { font-size: 21px; margin-bottom: 8px; }
.role p { color: var(--muted); font-size: 15px; }
.how { background: var(--bg2); border-block: 1px solid #16131a; }
.how-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.how-grid li { padding: 26px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.how-grid .n { font-size: 14px; color: var(--gold); font-weight: 700; letter-spacing: .1em; }
.how-grid h3 { font-size: 22px; margin: 14px 0 8px; }
.how-grid p { color: var(--muted); }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* flow */
.apply { position: relative; overflow: hidden; overflow: clip; }
.apply::before { content: ""; position: absolute; left: 50%; top: 60px; width: min(520px, 100vw); height: min(520px, 100vw); transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,45,63,.16), transparent 65%); z-index: -1; pointer-events: none; }
.flow, .board { border-radius: 24px; background: linear-gradient(180deg, #17141a, #100e12); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,.8); padding: 26px; }
.prog { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.prog-msg { font-weight: 600; font-size: 15px; color: var(--gold); }
.bar { flex: 1; max-width: 220px; height: 6px; border-radius: 99px; background: #241e24; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red2), var(--red), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 0; margin-bottom: 4px; }
.chip { font-size: 12px; padding: 5px 10px; border-radius: 99px; background: rgba(61,220,132,.08); color: var(--green); box-shadow: inset 0 0 0 1px rgba(61,220,132,.25); animation: pop .35s ease both; }
.chip.last { box-shadow: inset 0 0 0 1px rgba(61,220,132,.6), 0 0 16px rgba(61,220,132,.3); }
.card { margin-top: 14px; animation: cardIn .45s cubic-bezier(.2,.8,.2,1) both; }
.card.out { animation: cardOut .25s ease both; }
.card-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,45,63,.1); color: var(--red); margin-bottom: 18px; }
.card h3 { font-size: 26px; margin-bottom: 8px; }
.card p.sub { color: var(--muted); margin-bottom: 20px; }
.card .btn { width: 100%; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.field small { color: var(--dim); font-size: 12px; float: right; }
.inp { display: flex; align-items: center; border-radius: 14px; background: #0b0a0d; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.inp:focus-within { box-shadow: inset 0 0 0 1px var(--red), 0 0 0 4px rgba(255,45,63,.12); }
.inp b { padding-left: 16px; color: var(--dim); font-weight: 500; }
.inp input, .inp textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 16px/1.4 var(--font); padding: 15px 16px; resize: none; }
.inp b + input { padding-left: 4px; }
.role-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.role-pick button { font: 500 14px/1 var(--font); color: #e3dad6; background: #0b0a0d; border: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 11px 14px; border-radius: 99px; cursor: pointer; transition: transform .15s; }
.role-pick button:active { transform: scale(.96); }
.role-pick button[aria-pressed="true"] { color: #fff; background: rgba(255,45,63,.16); box-shadow: inset 0 0 0 1px var(--red); }
.err { color: #ff7a85; font-size: 14px; min-height: 20px; margin: -4px 0 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* board */
.board-top { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.seal { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: #fff; background: radial-gradient(circle at 35% 30%, #ff6b78, var(--red) 50%, #8d0b1c); box-shadow: 0 0 28px rgba(255,45,63,.45); }
.board-k { font-size: 13px; color: var(--green); letter-spacing: .1em; text-transform: uppercase; }
.board-h { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.board-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px; }
.board-dl div { padding: 14px; border-radius: 14px; background: #0b0a0d; box-shadow: inset 0 0 0 1px var(--line); }
.board-dl dt { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.board-dl dd { margin: 4px 0 0; font-weight: 600; font-size: 17px; word-break: break-word; }
.tag { display: inline-block; font-size: 13px; padding: 4px 10px; border-radius: 99px; color: var(--gold); background: rgba(242,196,109,.1); box-shadow: inset 0 0 0 1px rgba(242,196,109,.3); }
.board-note { color: var(--muted); margin-bottom: 18px; }

/* footer */
.foot { padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); border-top: 1px solid #16131a; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

/* thank-you overlay */
.thanks { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(5,5,7,.97); overflow: hidden; padding: 16px; animation: fade .35s ease both; }
.burst { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.th-sun { position: absolute; width: min(90vw, 620px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,45,63,.55) 0%, rgba(201,20,42,.25) 40%, transparent 68%);
  animation: sunIn 1.2s cubic-bezier(.2,.8,.2,1) both; }
.th-rings i { position: absolute; left: 50%; top: 50%; width: 240px; height: 240px; margin: -120px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(242,196,109,.6); opacity: 0; animation: ring 1.6s cubic-bezier(.2,.7,.3,1) forwards; }
.th-rings i:nth-child(2) { animation-delay: .18s; box-shadow: inset 0 0 0 2px rgba(255,45,63,.6); }
.th-rings i:nth-child(3) { animation-delay: .36s; }
.th-in { position: relative; text-align: center; max-width: 560px; }
.th-check { position: relative; width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff6b78, var(--red) 50%, #8d0b1c);
  box-shadow: 0 0 50px rgba(255,45,63,.55); animation: checkIn .7s .15s cubic-bezier(.3,1.6,.5,1) both; }
.th-check i { position: absolute; height: 9px; border-radius: 9px; background: #fff; transform-origin: 0 50%; }
.th-check .a { left: 25px; top: 50px; width: 24px; transform: rotate(45deg) scaleX(0); animation: drawA .25s .6s ease-out forwards; }
.th-check .b { left: 39px; top: 64px; width: 42px; transform: rotate(-50deg) scaleX(0); animation: drawB .3s .82s ease-out forwards; }
.th-k { color: var(--gold); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; animation: fadeUp .6s .5s both; }
.th-h { font-size: clamp(34px, 7vw, 58px); margin: 14px 0 14px; }
.th-h span { display: inline-block; animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.th-h span:nth-child(1) { animation-delay: .6s; } .th-h span:nth-child(2) { animation-delay: .72s; } .th-h span:nth-child(3) { animation-delay: .84s; color: var(--red); }
.th-p { color: #d9d0cc; font-size: 18px; animation: fadeUp .7s 1s both; }
.th-pos { display: inline-flex; align-items: baseline; gap: 12px; margin: 22px 0 6px; padding: 12px 22px; border-radius: 99px; background: rgba(242,196,109,.08); box-shadow: inset 0 0 0 1px rgba(242,196,109,.3); animation: fadeUp .7s 1.1s both; }
.th-pos span { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.th-pos b { color: var(--gold); font-size: 30px; letter-spacing: -.02em; }
.stamp { position: absolute; right: -6px; top: -26px; font-weight: 700; font-size: 20px; letter-spacing: .2em; color: var(--red); padding: 8px 14px; border-radius: 8px;
  box-shadow: inset 0 0 0 3px var(--red); opacity: 0; transform: rotate(-14deg) scale(3); animation: stamp .45s 1.45s cubic-bezier(.5,0,.6,1.4) forwards; }
.th-btns { display: flex; gap: 10px; justify-content: center; margin-top: 26px; flex-wrap: wrap; animation: fadeUp .7s 1.5s both; }
.shake { animation: shake .4s 1.85s ease both; }

/* rays + kanji behind the thank-you */
.th-rays { position: absolute; width: 160vmax; height: 160vmax; left: 50%; top: 50%; margin: -80vmax 0 0 -80vmax; opacity: 0;
  background: repeating-conic-gradient(from 0deg, rgba(255,45,63,.10) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 55%); mask: radial-gradient(circle, #000 0%, transparent 55%);
  animation: raysIn 1.2s .2s ease forwards, spin 40s linear infinite; }
.th-kanji { position: absolute; font: 700 min(46vw, 360px)/1 "Hiragino Mincho ProN", "Yu Mincho", serif; color: rgba(255,45,63,.07); letter-spacing: .05em; animation: kanjiIn 1.6s .3s cubic-bezier(.2,.8,.2,1) both; pointer-events: none; }
@keyframes raysIn { to { opacity: 1 } }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes kanjiIn { from { opacity: 0; transform: scale(1.4) } }

/* keyframes (transform + opacity only) */
@keyframes fade { from { opacity: 0 } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px) } }
@keyframes rise { from { opacity: 0; transform: translateY(50%) } }
@keyframes zoomIn { from { transform: scale(1.12); opacity: .2 } }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0 } }
@keyframes pop { from { opacity: 0; transform: scale(.7) } }
@keyframes cardIn { from { opacity: 0; transform: translateX(30px) } }
@keyframes cardOut { to { opacity: 0; transform: translateX(-30px) } }
@keyframes sunIn { from { opacity: 0; transform: scale(.2) } }
@keyframes ring { 0% { opacity: .9; transform: scale(.3) } 100% { opacity: 0; transform: scale(3.2) } }
@keyframes checkIn { from { opacity: 0; transform: scale(0) rotate(-90deg) } }
@keyframes drawA { to { transform: rotate(45deg) scaleX(1) } }
@keyframes drawB { to { transform: rotate(-50deg) scaleX(1) } }
@keyframes stamp { to { opacity: 1; transform: rotate(-14deg) scale(1) } }
@keyframes shake { 20% { transform: translate(-6px, 3px) } 40% { transform: translate(5px, -4px) } 60% { transform: translate(-4px, 2px) } 80% { transform: translate(3px, -1px) } }

.offscreen .dot::after { animation-play-state: paused; }

@media (max-width: 860px) {
  .role-grid, .how-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .role-grid, .how-grid { grid-template-columns: 1fr; }
  .hero { align-items: flex-end; }
  .hero-in { padding: 100px 0 48px; }
  .hero-bg img { object-position: 62% 30%; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(7,7,10,.9) 45%, rgba(7,7,10,.35) 75%, rgba(7,7,10,.6) 100%); }
  .kanji { top: 120px; transform: none; font-size: 64px; }
  .btn-lg { width: 100%; }
  .cta-row { gap: 12px; }
  .flow, .board { padding: 20px; }
  .board-dl { grid-template-columns: 1fr; }
  .stamp { right: 50%; margin-right: -84px; top: -40px; font-size: 16px; }
  .prog { flex-direction: column; align-items: stretch; gap: 10px; }
  .bar { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
.nav .brand, .foot a, .foot .brand { min-height: 40px; display: inline-flex; align-items: center; }
