/* 我靠PUA成董事長 — landing page v2. The Swipely heroine leads; the cast does the selling.
   Ink + paper bands, Swipely pink and highlighter yellow, hard offset shadows like the game's manga panels.
   Headings use one face per language so glyphs never mix: Noto Sans TC/KR 900 for zh/ko, Dela Gothic One for en/ja. */
:root {
  --ink: #17131d;
  --ink-2: #251d2e;
  --paper: #fbf7f0;
  --paper-2: #f1eadf;
  --pink: #ff2e88;
  --yellow: #ffd400;
  --blue: #4a6cff;
  --muted: #6a6170;
  --muted-dark: #b9afc2;
  --display: 'Noto Sans TC', 'Noto Sans JP', 'Noto Sans KR', sans-serif;
  --body: 'Noto Sans TC', 'Noto Sans JP', 'Noto Sans KR', system-ui, -apple-system, sans-serif;
  --frame: 3px solid var(--ink);
  --hard: 5px 5px 0 var(--ink);
  --gut-l: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
:lang(en) { --display: 'Dela Gothic One', 'Noto Sans TC', sans-serif; }
:lang(ja) { --display: 'Dela Gothic One', 'Noto Sans JP', sans-serif; --body: 'Noto Sans JP', 'Noto Sans TC', system-ui, sans-serif; }
:lang(ko) { --display: 'Noto Sans KR', sans-serif; --body: 'Noto Sans KR', 'Noto Sans TC', system-ui, sans-serif; word-break: keep-all; overflow-wrap: break-word; }

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--ink); font-family: var(--body); line-height: 1.7; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); padding: 6px 12px; border: var(--frame); }
.skip:focus { left: 8px; }
.wrap { position: relative; max-width: 1160px; margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
section { position: relative; padding-block: 80px; }
.h2, .logo, .final-h, .feat h3, .ind h3, .who b, .steps b, .stats b, .price b, .bubble, .shout, .brand span { font-family: var(--display); font-weight: 900; font-synthesis: none; letter-spacing: .01em; }

/* ---------- textures ---------- */
.paper { background: var(--paper); }
.ink { background: var(--ink); color: var(--paper); overflow: hidden; }
.dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(#ffffff10 1.2px, transparent 1.4px); background-size: 10px 10px; }
.burst-bg {
  position: absolute; inset: -30%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 68% 45%, color-mix(in srgb, var(--theme, #ff2e88) 20%, transparent) 0deg 5deg, transparent 5deg 14deg),
              radial-gradient(60% 60% at 68% 45%, color-mix(in srgb, var(--theme, #ff2e88) 35%, transparent), transparent 70%);
}

/* ---------- top bar ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; display: flex; align-items: center; gap: 10px; justify-content: space-between;
  padding: 10px var(--gut-r) 10px var(--gut-l); background: color-mix(in srgb, var(--ink) 92%, transparent); color: var(--paper);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 2px solid #ffffff14;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--ink); z-index: 60; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.brand span { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.langs { display: flex; gap: 4px; flex: none; }
.langs button { font-size: 12px; font-weight: 700; line-height: 1; cursor: pointer; padding: 7px 9px; border-radius: 999px; border: 1.5px solid #ffffff33; background: transparent; color: var(--paper); }
.langs button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--paper); overflow: hidden; padding-block: 0; }
.hero-inner { position: relative; max-width: 1160px; margin: 0 auto; padding: 40px var(--gut-r) 0 var(--gut-l); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; gap: 12px; min-height: min(760px, 92vh); }
.hero-copy { align-self: center; padding-block: 40px 80px; position: relative; z-index: 3; }
.kicker { display: inline-block; margin: 0 0 18px; padding: 4px 12px; background: var(--theme, var(--pink)); color: #fff; font-weight: 900; font-size: 14px; letter-spacing: .08em; transform: rotate(-2deg); }
.logo { margin: 0; font-size: clamp(48px, 7.4vw, 96px); line-height: 1.04; color: #fff; text-shadow: 5px 5px 0 var(--theme, var(--pink)); text-wrap: balance; }
.logo b { color: var(--yellow); font-weight: inherit; }
:lang(en) .logo { font-size: clamp(40px, 5.6vw, 72px); }
.tag { margin: 22px 0 30px; font-size: clamp(16px, 1.8vw, 20px); font-weight: 700; color: var(--muted-dark); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hero-price { margin: 0; font-size: 14px; color: var(--muted-dark); }

/* App Store badge — solid, never dashed; a small ribbon says "coming soon" until launch */
.store {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px 10px 16px; min-height: 60px;
  background: #000; color: #fff; text-decoration: none; border-radius: 14px; border: 2px solid #fff; box-shadow: 5px 5px 0 var(--theme, var(--pink));
  transition: transform .15s, box-shadow .15s;
}
.store:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--pink); }
.store-txt { display: flex; flex-direction: column; line-height: 1.1; }
.store-txt small { font-size: 12px; font-weight: 700; opacity: .85; }
.store-txt b { font-size: 22px; font-weight: 700; letter-spacing: -.01em; font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif; }
.store.soon { cursor: default; }
.store.soon:hover { transform: none; box-shadow: 5px 5px 0 var(--pink); }

.hero-art { position: relative; height: 100%; min-height: 560px; }
.hero-art img { position: absolute; bottom: 0; height: auto; }
.hero-art .crowd { width: 38%; filter: brightness(.62) saturate(.8); z-index: 1; }
.hero-art .c1 { left: -10%; bottom: -2%; z-index: 1; }
.hero-art .c2 { left: 8%; bottom: 12%; width: 33%; filter: brightness(.45) saturate(.7); }
.hero-art .c3 { right: 6%; bottom: 12%; width: 33%; filter: brightness(.45) saturate(.7); }
.hero-art .c4 { right: -12%; bottom: -2%; }
.hero-art .lead { left: 50%; transform: translateX(-50%); width: 72%; max-width: 620px; z-index: 2; filter: drop-shadow(0 0 0 #000) drop-shadow(10px 0 0 color-mix(in srgb, var(--theme) 60%, transparent)); }
.bubble {
  position: absolute; z-index: 4; left: 2%; top: 18%; padding: 12px 22px; background: var(--yellow); color: var(--ink);
  border: var(--frame); box-shadow: var(--hard); font-size: clamp(26px, 3.4vw, 44px); line-height: 1.1; white-space: nowrap; transform: rotate(-8deg);
  animation: shout-in .45s .35s cubic-bezier(.2, 1.6, .4, 1) both;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 34% 78%, 18% 100%, 22% 78%, 0 78%); padding-bottom: 26px;
}

@keyframes shout-in { from { opacity: 0; transform: rotate(-20deg) scale(.3); } }

/* ---------- section heads ---------- */
.eyebrow { margin: 0 0 8px; font-size: 14px; font-weight: 900; letter-spacing: .12em; color: var(--pink); }
.h2 { margin: 0; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.15; text-wrap: balance; }
:lang(en) .h2 { font-size: clamp(26px, 3.6vw, 44px); }
.lede { max-width: 640px; margin: 16px 0 0; font-size: 17px; color: var(--muted); }
.ink .lede { color: var(--muted-dark); }

/* ---------- career paths: company tabs + a manga page per company ---------- */
.career { overflow-x: clip; }
.co-tabs { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.co-tabs button {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; text-align: left; cursor: pointer;
  background: #fff; border: var(--frame); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .15s;
}
.co-tabs button:hover { transform: translate(-1px, -2px); }
.co-tabs img { width: 56px; height: 56px; border-radius: 50%; flex: none; background: var(--co); border: 2px solid var(--ink); }
.co-tabs span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.co-tabs small { font-size: 12px; font-weight: 700; color: var(--muted); }
.co-tabs b { font-size: 16px; font-weight: 900; }
.co-tabs button[aria-selected="true"] { background: var(--co); box-shadow: 5px 5px 0 var(--ink); transform: translate(-2px, -3px); }
.co-tabs button[aria-selected="true"] small { color: var(--ink); }
.co-desc { min-height: 3.4em; margin: 18px 0 0; max-width: 720px; font-size: 16px; color: var(--muted); }

.manga { margin-top: 18px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 300px 300px; gap: 12px; }
.pn { position: relative; border: 4px solid var(--ink); background: var(--ink); }
.pn1 { grid-column: 1 / 5; grid-row: 1 / 3; transform: rotate(-.6deg); }
.pn2 { grid-column: 5 / 9; grid-row: 1; transform: rotate(.5deg); }
.pn3 { grid-column: 9 / 13; grid-row: 1; transform: rotate(-.4deg); }
.pn4 { grid-column: 5 / 8; grid-row: 2; transform: rotate(-.5deg); }
.pn5 { grid-column: 8 / 13; grid-row: 2; transform: rotate(.6deg); }
.pn .bgi { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.75) contrast(1.05); }
.pn::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: radial-gradient(#00000038 1.3px, transparent 1.5px); background-size: 7px 7px; }
.pn5::after, .pn1::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .55;
  background: repeating-conic-gradient(from 0deg at 55% 40%, color-mix(in srgb, var(--co) 70%, transparent) 0deg 4deg, transparent 4deg 13deg); }
/* the figure is clipped on the sides and bottom only, so heads can break out over the top border */
.fig { position: absolute; inset: 0; z-index: 2; clip-path: inset(-22% 0 0 0); }
.fig img { position: absolute; left: 50%; top: -10%; height: 150%; width: auto; max-width: none; transform: translateX(-50%); }
.pn1 .fig img { height: 125%; top: -6%; }
.pn4 .fig img, .pn3 .fig img { left: 58%; }
.pn5 .fig img { left: 64%; height: 160%; }
.cap { position: absolute; z-index: 3; left: -4px; top: -4px; display: flex; align-items: stretch; border: 3px solid var(--ink); background: var(--yellow); font-weight: 900; line-height: 1.2; max-width: 80%; }
.cap i { font-style: normal; padding: 4px 8px; background: var(--ink); color: var(--yellow); font-size: 13px; display: flex; align-items: center; }
.cap b { padding: 4px 10px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn5 .cap b { background: var(--co); color: #fff; }
.say {
  position: absolute; z-index: 3; right: 10px; bottom: 14px; max-width: 58%; padding: 10px 14px; background: #fff; color: var(--ink);
  border: 3px solid var(--ink); border-radius: 22px; font-weight: 900; font-size: 15px; line-height: 1.35; box-shadow: 3px 3px 0 var(--ink);
}
.pn1 .say { right: auto; left: 12px; bottom: 18px; max-width: 70%; }
.pn5 .say { right: auto; left: 12px; }
.sfx { position: absolute; z-index: 3; right: 10px; top: 14px; font-family: var(--display); font-weight: 900; font-size: clamp(34px, 4vw, 56px); line-height: 1; color: var(--co); white-space: nowrap;
  -webkit-text-stroke: 0; text-shadow: 3px 3px 0 var(--ink), -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff; transform: rotate(10deg); }
.pn5 .sfx { right: auto; left: 40%; top: 10px; transform: rotate(-8deg); color: var(--yellow); }
.manga.swap .pn { animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.manga.swap .pn2 { animation-delay: .06s; } .manga.swap .pn3 { animation-delay: .12s; } .manga.swap .pn4 { animation-delay: .18s; } .manga.swap .pn5 { animation-delay: .24s; }
@keyframes pop { from { opacity: 0; scale: .92; } }

.stats { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stats li { padding: 16px 12px; background: #fff; border: var(--frame); box-shadow: var(--hard); text-align: center; }
.stats b { display: block; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; color: var(--pink); }
.stats span { font-size: 14px; font-weight: 700; }

/* ---------- cast ---------- */
.cast-grid { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.who {
  position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; padding: 0; text-align: left; cursor: pointer;
  background: #fff; color: var(--ink); border: var(--frame); border-color: #000; border-radius: 14px; overflow: hidden; box-shadow: 5px 5px 0 var(--c);
  transition: transform .15s, box-shadow .15s;
}
.who:hover { transform: translate(-2px, -3px) rotate(-1deg); box-shadow: 7px 8px 0 var(--c); }
.cast .lede { color: var(--muted); }
.pic { position: relative; display: block; aspect-ratio: 3 / 3.4; overflow: hidden; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--c) 40%, #fff), var(--c)); }
.pic img { position: absolute; inset: 0; width: 100%; height: auto; transform: translateY(-2%); transition: opacity .18s; }
.pic .mad { opacity: 0; }
.who.snap .pic .mad { opacity: 1; }
.who.snap .pic img:not(.mad) { opacity: 0; }
.who.snap { animation: shake .3s; }
@keyframes shake { 25% { translate: -4px 0; } 50% { translate: 4px 0; } 75% { translate: -2px 0; } }
.who b { display: block; padding: 10px 12px 2px; font-size: 18px; line-height: 1.25; }
.who q { display: block; padding: 0 12px 14px; font-size: 13px; line-height: 1.5; color: var(--muted); quotes: "「" "」"; }
:lang(en) .who q, :lang(ko) .who q { quotes: "\201C" "\201D"; }

/* ---------- features: a 2×2 manga page ---------- */
.fpage { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fp { position: relative; min-height: 300px; overflow: hidden; border: 4px solid #fff; background: radial-gradient(circle at 80% 40%, color-mix(in srgb, var(--c) 75%, #fff), var(--c) 45%, color-mix(in srgb, var(--c) 55%, #000)); }
.fp:nth-child(1) { transform: rotate(-.5deg); } .fp:nth-child(2) { transform: rotate(.4deg); } .fp:nth-child(3) { transform: rotate(.5deg); } .fp:nth-child(4) { transform: rotate(-.4deg); }
.fp::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 78% 40%, #ffffff30 0deg 4deg, transparent 4deg 12deg); }
.fp::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#00000030 1.3px, transparent 1.5px); background-size: 7px 7px; pointer-events: none; }
.fp-art { position: absolute; z-index: 1; right: -4%; top: 4%; width: 46%; height: auto; }
.fp-sfx { position: absolute; z-index: 2; right: 4%; top: 10px; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3vw, 40px); line-height: 1; color: #fff;
  text-shadow: 3px 3px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink); transform: rotate(-8deg); }
.fp-txt { position: relative; z-index: 2; width: 62%; margin: 22px; padding: 16px 18px; background: #fff; color: var(--ink); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.fp-txt h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.3; }
.fp-txt p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- screenshots ---------- */
.rail-wrap { position: relative; margin-top: 36px; }
.rail { list-style: none; margin: 0; padding: 8px max(var(--gut-l), calc((100vw - 1160px) / 2 + 16px)) 20px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail li { flex: none; width: min(62vw, 240px); scroll-snap-align: center; }
.rail figure { margin: 0; }
.phone { border: 3px solid var(--ink); border-radius: 30px; overflow: hidden; background: #000; box-shadow: var(--hard); }
.phone img { width: 100%; height: auto; }
.rail figcaption { margin-top: 12px; text-align: center; font-weight: 700; font-size: 14px; line-height: 1.4; }
.rail-btn { position: absolute; top: 42%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: var(--frame); background: var(--yellow); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.rail-btn.prev { left: max(8px, env(safe-area-inset-left, 0px)); }
.rail-btn.next { right: max(8px, env(safe-area-inset-right, 0px)); }
.rail-btn:disabled { opacity: 0; pointer-events: none; }
.alt { background: var(--paper-2); }
.shots-note { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- price + final ---------- */
.final { padding-block: 80px 0; }
.final .burst-bg { background: repeating-conic-gradient(from 0deg at 75% 60%, #ffd40022 0deg 5deg, transparent 5deg 14deg); }
.final-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: end; }
.final-copy { padding-bottom: 80px; }
.price-row { margin: 28px 0 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.price { padding: 18px 20px; background: var(--paper); color: var(--ink); border: var(--frame); border-color: #000; box-shadow: 5px 5px 0 var(--yellow); }
.price b { display: block; font-size: clamp(34px, 4.4vw, 50px); line-height: 1.1; color: var(--pink); }
.price span { font-size: 14px; font-weight: 700; }
.final-h { margin: 0 0 18px; font-size: clamp(26px, 3.4vw, 40px); color: var(--yellow); }
.price-note { margin: 18px 0 0; font-size: 13px; color: var(--muted-dark); }
.final-art { width: 100%; height: auto; max-width: 420px; justify-self: center; filter: drop-shadow(10px 0 0 #ffd40088); }

/* ---------- footer ---------- */
.foot { background: #0e0b12; color: var(--muted-dark); padding-block: 36px; font-size: 13px; text-align: center; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 14px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: #fff; }
.foot p { margin: 4px 0; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .cast-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .co-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-txt { width: 70%; }
}
@media (max-width: 760px) {
  section { padding-block: 60px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 24px; gap: 0; }
  .hero-copy { padding-block: 16px 20px; text-align: center; }
  .ctas { justify-content: center; flex-direction: column; }
  .hero-art { min-height: 0; height: auto; aspect-ratio: 1 / 1.12; }
  .hero-art .lead { width: 72%; }
  .bubble { top: 6%; left: 0; }
  .co-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .co-tabs button { flex-direction: column; text-align: center; padding: 8px 6px 10px; gap: 6px; }
  .co-tabs span { align-items: center; }
  .co-tabs small { display: none; }
  .co-tabs b { font-size: 11px; line-height: 1.2; }
  .co-tabs img { width: 46px; height: 46px; }
  .co-tabs button { border-width: 2px; box-shadow: 3px 3px 0 var(--ink); }
  .manga { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 360px 250px 250px; gap: 10px; }
  .pn1 { grid-column: 1 / 3; grid-row: 1; }
  .pn2 { grid-column: 1; grid-row: 2; } .pn3 { grid-column: 2; grid-row: 2; }
  .pn4 { grid-column: 1; grid-row: 3; } .pn5 { grid-column: 2; grid-row: 3; }
  .pn1 .fig img { height: 140%; left: 62%; }
  .say { font-size: 13px; padding: 7px 10px; max-width: 86%; right: 6px; bottom: 8px; border-radius: 16px; }
  .pn1 .say { max-width: 56%; }
  .pn5 .say { left: 6px; }
  .cap b { font-size: 12px; padding: 3px 6px; } .cap i { font-size: 11px; padding: 3px 6px; }
  .sfx { font-size: 30px; }
  .pn5 .sfx { left: 14%; top: 26px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .fpage { grid-template-columns: 1fr; }
  .fp { min-height: 0; }
  .fp-txt { width: auto; margin: 64px 38% 18px 16px; }
  .fp-art { width: 52%; top: auto; bottom: -30%; right: -8%; }
  .final-inner { grid-template-columns: 1fr; }
  .final-copy { padding-bottom: 0; text-align: center; }
  .final-art { max-width: 260px; }
  .price-row { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 480px) {
  .brand span { font-size: 14px; }
  .langs button { padding: 6px 7px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
