@font-face{font-family:"Pretendard JP";src:url('./text.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Pretendard JP";src:url('./text-medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Pretendard JP";src:url('./text-semibold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Pretendard JP";src:url('./text-bold.woff2') format('woff2');font-weight:700 900;font-style:normal;font-display:swap}
@font-face{font-family:TrainBrand;src:url('./brand.woff2') format('woff2');font-display:swap}
:root{--content-width:1280px;color:#182e29;background:#fff;font-family:"Pretendard JP",-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:16px;line-height:1.5;scroll-behavior:smooth;scrollbar-gutter:stable}*{box-sizing:border-box}body,h1,h2,h3,p,figure{margin:0}body{min-width:320px}a{color:inherit;text-underline-offset:4px}img{display:block;max-width:100%;height:auto}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid #2051ff;outline-offset:5px}.content-width{width:min(1280px,calc(100% - 64px));margin-inline:auto}.skip-link{position:fixed;top:-100px;left:20px;z-index:10000;background:#fff;padding:14px 20px}.skip-link:focus{top:15px}
.hero{position:relative;overflow:hidden;min-height:1060px;text-align:center;padding:148px 32px 96px;background:radial-gradient(circle,#e8d5a3 1.2px,transparent 1.5px) 0 0/30px 30px,#fff3d5}.hero-brand{display:flex;flex-direction:column;align-items:center;gap:20px;margin:0 auto 72px;max-width:100%}.hero-mark{width:150px;height:150px;object-fit:contain;transform:rotate(-5deg);filter:drop-shadow(4px 6px 0 #d7c29680);border-radius:30px}.hero-wordmark{font:400 clamp(64px,7.5vw,112px)/1.1 TrainBrand,"Pretendard JP",sans-serif;color:#214f45;letter-spacing:-.02em}.puzzle-badge{display:inline-block;padding:7px 23px 5px;background:#ff7276;color:#182e29;border:2px solid #182e29;border-radius:10px;box-shadow:3px 4px 0 #182e29;transform:rotate(-4deg);font:400 26px/1.1 TrainBrand,sans-serif;letter-spacing:.06em}.hero-content{max-width:960px;margin:auto}.hero-eyebrow{font-size:1.25rem;font-weight:600;margin-bottom:32px;color:#3c6254}.hero h1{font-size:clamp(2rem,4.6vw,4.25rem);font-weight:700;line-height:1.22;letter-spacing:-.025em;overflow-wrap:anywhere}.hero-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;margin:38px auto 30px}.store-pending,.video-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:12px 24px;border-radius:30px;font-size:1rem;line-height:1.5}.store-pending{border:1px dashed #9b8867;background:#fff9ed;color:#66553d}.video-link{background:#214f45;color:#fff;text-decoration:none;box-shadow:0 3px 0 #122f29}.video-link:hover{background:#173e35}.hero-description{max-width:660px;margin:auto;font-size:1.25rem;line-height:1.6;color:#3c6254}
.features{padding-top:98px}.features>h2{font-size:3rem;line-height:1.1;font-weight:600;letter-spacing:-.02em;margin-bottom:40px}.feature-list{display:grid;gap:48px}.feature-panel{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,400px);grid-template-rows:auto minmax(0,1fr);grid-template-areas:'copy visual' 'notes visual';column-gap:48px;row-gap:24px;min-height:680px;padding:88px 60px 80px;border-radius:24px;background:#faf3e7;overflow:hidden}.feature-panel:nth-child(2){background:#eef3e9}.feature-panel:nth-child(3){background:#fff0e8}.feature-copy{grid-area:copy;min-width:0;align-self:start}.feature-kicker{font-size:1.0625rem;line-height:1.5625rem;font-weight:600;margin-bottom:11px}.feature-copy h3{font-size:2rem;line-height:2.75rem;font-weight:700;word-break:keep-all}.feature-notes{grid-area:notes;margin:0;padding-left:20px;font-size:.9375rem;line-height:1.5rem;color:#667269;max-width:440px}.feature-visual{grid-area:visual;position:absolute;right:6.25%;bottom:0;width:31.25%;display:block;margin:0}.feature-screenshot{width:100%;height:auto;object-fit:contain;object-position:center bottom}.theme-example{min-width:0;display:flex;flex-direction:column;gap:12px}.theme-label{text-align:center;font-size:1rem;line-height:1.5rem;font-weight:600;color:#214f45}.theme-example .feature-screenshot{width:100%;height:auto}
.app-information{padding-bottom:64px}.closing{max-width:900px;margin:80px auto 0;text-align:center}.closing h2{font-size:1.75rem;line-height:1.4;font-weight:600;margin-bottom:12px}.closing p{font-size:1.25rem;line-height:1.6}.info-list{display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1fr) minmax(0,.7fr) minmax(0,1.3fr);gap:32px;margin:80px auto 0;max-width:1120px}.info-item{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;text-align:center}.info-item>strong{font-size:.875rem;line-height:1.25rem;font-weight:400;color:#8a8a8a}.info-item>span,.info-links a{font-size:1.125rem;line-height:1.6;font-weight:500}.info-links{display:flex;flex-wrap:wrap;justify-content:center;gap:0 12px}.info-links a{display:inline-flex;align-items:center;min-height:44px}.languages{display:flex;flex-wrap:wrap;gap:24px;justify-content:center;margin-top:40px}.languages a{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem}.languages [aria-current]{font-weight:700;text-decoration-thickness:2px}.list-arrow{position:relative;height:80px;border-top:1px solid #d5d1d1;margin-bottom:80px}.list-arrow>a{position:absolute;right:0;bottom:0;display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center}
@media(min-width:561px) and (max-width:980px){.hero{min-height:940px;padding-top:140px}.hero-brand{margin-bottom:64px}.hero h1{font-size:3rem}.feature-panel{grid-template-columns:minmax(0,1fr) minmax(0,36%);padding:48px 32px 40px;column-gap:24px;min-height:430px}.feature-copy h3{font-size:1.6875rem;line-height:1.4}.feature-notes{font-size:.875rem;line-height:1.5}.feature-visual{right:3%;width:35%}.info-list{gap:24px;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.content-width{width:calc(100% - 32px)}.hero{min-height:0;padding:112px 24px 56px}.hero-brand{gap:14px;margin-bottom:40px}.hero-mark{width:104px;height:104px;border-radius:22px}.hero-wordmark{font-size:clamp(2.6rem,12vw,4rem)}.puzzle-badge{font-size:1.25rem;padding:6px 18px}.hero-eyebrow{font-size:.875rem;line-height:1.375rem;margin-bottom:20px}.hero h1{font-size:1.75rem;line-height:2.25rem}.hero h1 br{display:none}.hero-actions{margin:24px auto 20px;gap:12px}.store-pending,.video-link{min-height:48px;padding:10px 18px;font-size:.875rem}.hero-description{font-size:.875rem;line-height:1.5rem}.features{padding-top:56px}.features>h2{font-size:1.75rem;line-height:2.25rem;margin-bottom:24px}.feature-list{gap:32px}.feature-panel{padding:32px 0 0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:'copy' 'notes' 'visual';gap:0;min-height:560px}.feature-copy{padding-inline:24px}.feature-copy h3{font-size:1.375rem;line-height:1.9375rem}.feature-copy h3 br{display:none}.feature-kicker{font-size:.875rem;line-height:1.375rem;margin-bottom:8px}.feature-notes{padding-inline:28px;font-size:.8125rem;line-height:1.25rem;max-width:none}.feature-visual{position:relative;inset:auto;width:100%;margin-top:24px;display:flex;justify-content:center;align-items:flex-end}.feature-screenshot{width:min(260px,calc(100% - 48px));height:auto}.closing{margin-top:52px}.closing h2{font-size:1.5rem;line-height:2rem}.closing p{font-size:.9375rem;line-height:1.5rem;text-align:left}.info-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:32px}.info-item{align-items:flex-start;text-align:left;gap:4px}.info-item>strong{font-size:.75rem;line-height:1.125rem}.info-item>span,.info-links a{font-size:.875rem;line-height:1.25rem}.info-links{justify-content:flex-start;gap:0 10px}.app-information{padding-bottom:40px}.list-arrow{margin-bottom:48px}}
/* The Train theme card grows to keep the complete game screens readable. */
html[data-train-landing] .hero h1:lang(ko),html[data-train-landing] .hero-description:lang(ko){word-break:keep-all;overflow-wrap:break-word}
html[data-train-landing] .feature-copy h3:lang(ja){word-break:normal;overflow-wrap:anywhere}
html[data-train-landing][data-landing-layout] body .feature-panel:not(.feature-panel--themes) .feature-visual{grid-area:auto;width:min(31.25%,300px)}
@media(min-width:561px) and (max-width:980px){html[data-train-landing][data-landing-layout] body .feature-panel:not(.feature-panel--themes) .feature-visual{width:min(35%,180px)}}
@media(max-width:560px){html[data-train-landing][data-landing-layout] body .feature-panel:not(.feature-panel--themes){height:auto!important;min-height:max(560px,35rem);max-height:none!important;grid-template-rows:auto auto auto}html[data-train-landing][data-landing-layout] body .feature-panel:not(.feature-panel--themes) .feature-visual{grid-area:visual;width:100%;padding:0 24px}html[data-train-landing][data-landing-layout] body .feature-panel:not(.feature-panel--themes) .feature-screenshot{width:min(260px,100%);height:auto;max-height:none}}
html[data-train-landing][data-landing-layout] body .feature-panel--themes{height:auto!important;min-height:680px;max-height:none!important;padding-top:64px!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto auto;grid-template-areas:'copy copy' 'notes notes' 'visual visual';row-gap:20px;padding-bottom:0}
html[data-train-landing][data-landing-layout] body .feature-panel--themes .feature-copy,html[data-train-landing][data-landing-layout] body .feature-panel--themes .feature-notes{max-width:none}
html[data-train-landing][data-landing-layout] body .feature-panel--themes .theme-comparison{grid-area:visual;position:relative;inset:auto;width:min(900px,100%);margin:12px auto 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;align-items:end;padding:0 28px;overflow:visible}
html[data-train-landing][data-landing-layout] body .feature-panel--themes .theme-example .feature-screenshot{display:block;width:100%;height:auto!important;aspect-ratio:1080/1776;max-height:none}
@media(max-width:980px) and (min-width:561px){html[data-train-landing][data-landing-layout] body .feature-panel--themes{padding-top:48px!important}}
@media(max-width:560px){html[data-train-landing][data-landing-layout] body .feature-panel--themes{padding-top:32px!important;min-height:0!important;row-gap:0}html[data-train-landing][data-landing-layout] body .feature-panel--themes .theme-comparison{grid-template-columns:minmax(0,1fr);width:100%;padding:0 24px 24px;gap:28px;margin-top:24px}html[data-train-landing][data-landing-layout] body .theme-example{width:min(340px,100%);margin:auto}html[data-train-landing][data-landing-layout] body .theme-example .feature-screenshot{width:100%;height:auto}.theme-label{font-size:1rem;line-height:1.5rem}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}.hero-mark{transform:none}}
.features,.feature-panel{scroll-margin-top:110px}
@media(max-width:560px){.features,.feature-panel{scroll-margin-top:88px}}


/* Numberlink text families and weight-specific fonts; keep each app's brand artwork. */
.hero-content{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR",sans-serif}
.hero-eyebrow{font-weight:700;line-height:1.35;letter-spacing:0}
.hero h1{font-weight:900;line-height:1.12;letter-spacing:0}
.hero-description{font-family:"Pretendard JP",-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR",sans-serif;font-weight:500;line-height:1.36;letter-spacing:-.427px}
.features>h2{font-weight:600}
.hero h1{font-size:68px}
.hero-description{max-width:551px;font-size:22px}
.app-information.content-width{width:min(1280px,calc(100% - 64px))}
@media(min-width:561px) and (max-width:980px){.hero h1{font-size:44px}.hero-description{font-size:19px}.app-information.content-width{width:calc(100% - 40px)}}
@media(max-width:560px){.hero h1{font-size:28px}.hero-description{font-size:14px}.app-information.content-width{width:calc(100% - 28px)}}

/* Approved Bridges/Pipes closing, facts and return navigation. */
.closing { width:min(900px,100%); margin:80px auto 0; text-align:center; }
.closing strong { display:block; margin:0 0 12px; color:#171717; font-family:"Pretendard JP",-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR",sans-serif; font-size:28px; font-weight:500; line-height:1.35; white-space:pre-line; }
.closing p { margin:0; color:#171717; text-align:center; font-family:"Pretendard JP",-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR",sans-serif; font-size:20px; font-style:normal; font-weight:500; line-height:144.5%; letter-spacing:-.004px; }

.list-arrow { position:relative; width:min(var(--content-width),calc(100% - 64px)); height:80px; margin:0 auto; border-top:1px solid #d5d1d1; }
.list-arrow__link { position:absolute; right:0; bottom:0; display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; color:#000; text-decoration:none; outline-offset:6px; }
.list-arrow__icon { display:block; width:40px; height:40px; }
html[data-landing-layout="pastel-v2"] .info-list {
  display:grid; grid-template-columns:117px minmax(62px,max-content) 108px 260px;
  column-gap:80px; row-gap:24px; align-items:start; justify-content:center;
  justify-items:stretch; width:100%; max-width:none; height:auto; min-height:60px;
  margin:103px auto 0; padding:0; color:#000; background:transparent;
  font-family:"Pretendard JP",-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR",sans-serif;
  font-synthesis:weight style small-caps; -webkit-font-smoothing:auto; text-rendering:optimizeLegibility;
}
html[data-landing-layout="pastel-v2"] .info-list .info-item {
  position:relative; display:flex; flex-direction:column; justify-content:flex-start;
  align-items:center; gap:8px; width:100%; min-width:0; max-width:none;
  height:auto; min-height:60px; margin:0; padding:0; text-align:center; grid-column:auto;
  contain:none; flex-basis:auto;
}
html[data-landing-layout="pastel-v2"] .info-list .info-item strong {
  display:block; width:auto; max-width:100%; height:20px; min-height:0;
  margin:0; padding:0; font:500 14px/20px "Pretendard JP",-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR",sans-serif;
  letter-spacing:.203px; word-spacing:normal; color:#8a8a8a;
  text-align:center; white-space:normal; font-feature-settings:normal;
}
html[data-landing-layout="pastel-v2"] .info-list .info-item > span,
html[data-landing-layout="pastel-v2"] .info-list .info-item .info-links a {
  display:block; width:auto; max-width:none; height:32px; min-height:0; margin:0; padding:0;
  font:500 24px/133.4% "Pretendard JP",-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR",sans-serif;
  letter-spacing:-.552px; word-spacing:normal; font-feature-settings:'ss10' on;
  color:#000; text-align:center; white-space:nowrap; word-break:keep-all; overflow-wrap:normal;
}
html[data-landing-layout="pastel-v2"] .info-list .info-item .info-language-name {
  display:inline; width:auto; height:auto; margin:0; padding:0;
  font:inherit; letter-spacing:inherit; color:inherit; white-space:nowrap;
}
html[data-landing-layout="pastel-v2"] .info-list .info-item .info-links {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:8px 16px; width:100%; max-width:100%; height:auto; min-height:0; margin:0; padding:0;
}
html[data-landing-layout="pastel-v2"] .info-list .info-item .info-links a {
  width:122px; color:#000; text-decoration-line:underline; text-decoration-style:solid;
  text-decoration-skip-ink:none; text-decoration-thickness:auto;
  text-underline-offset:auto; text-underline-position:from-font;
}
html[data-landing-layout="pastel-v2"] .info-list .info-item .info-links a:nth-child(n+3) { width:auto; }
html[data-landing-layout="pastel-v2"] .info-list .info-item:not(:last-child)::after {
  content:""; display:block; position:absolute; top:18px; left:calc(100% + 40px);
  width:1px; height:24px; background:#D5D1D1; transform:none;
}
html[data-landing-layout="pastel-v2"] .info-list .info-item:last-child::after { display:none; }
@media (max-width:980px) {
  html[data-landing-layout="pastel-v2"] .info-list {
    --info-fact-padding:20px; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:0;
    row-gap:24px; margin-top:103px;
  }
  html[data-landing-layout="pastel-v2"] .info-list .info-item:not(:last-child) { padding-inline:var(--info-fact-padding); }
  html[data-landing-layout="pastel-v2"] .info-list .info-item > span {
    width:100%; max-width:100%; height:auto; min-height:32px;
    white-space:normal; overflow-wrap:anywhere;
  }
  html[data-landing-layout="pastel-v2"] .info-list .info-item:last-child { grid-column:1/-1; justify-self:stretch; }
  html[data-landing-layout="pastel-v2"] .info-list .info-item:nth-of-type(-n+2)::after { left:calc(100% - .5px); }
  html[data-landing-layout="pastel-v2"] .info-list .info-item:nth-of-type(3)::after { display:none; }
}
@media (max-width:560px) {
  html[data-landing-layout="pastel-v2"] .info-list { --info-fact-padding:10px; row-gap:32px; margin-top:56px; }
  html[data-landing-layout="pastel-v2"] .info-list .info-item > span,
  html[data-landing-layout="pastel-v2"] .info-list .info-item .info-links a { font-size:20px; }
  html[data-landing-layout="pastel-v2"] .info-list .info-item .info-links a {
    display:inline-flex; align-items:center; width:auto; min-height:44px; touch-action:manipulation;
  }
}
@media (max-width:350px) {
  html[data-landing-layout="pastel-v2"] .info-list { --info-fact-padding:0px; }
}


.app-information{display:flow-root;padding-bottom:116px}
@media(max-width:980px){.app-information{padding-bottom:86px}.closing strong{font-size:26px}.closing p{font-size:19px}.list-arrow{width:calc(100% - 40px)}}
@media(max-width:560px){.app-information{padding-bottom:72px}.closing{margin-top:52px;padding:0 4px}.closing strong{font-size:24px}.closing p{font-size:16px;line-height:1.65}.list-arrow{width:calc(100% - 28px)}}

.hero-actions{font-weight:500}

.is-sequence-reveal-ready .sequence-reveal-item {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition: opacity 650ms cubic-bezier(.22, 1, .36, 1), transform 650ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--sequence-reveal-delay, 0ms);
}
.is-sequence-reveal-ready .sequence-reveal-group.is-sequence-resetting .sequence-reveal-item { transition: none; }
.is-sequence-reveal-ready .sequence-reveal-group.is-sequence-revealed.sequence-reveal-item,
.is-sequence-reveal-ready .sequence-reveal-group.is-sequence-revealed .sequence-reveal-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.is-sequence-reveal-ready .sequence-reveal-group:focus-within .sequence-reveal-item {
  opacity: 1;
  transform: none;
  transition: none;
}
.is-sequence-reveal-ready .store-button { translate: 0 0; }
.is-sequence-reveal-ready .store-button:hover,
.is-sequence-reveal-ready .store-button:focus-visible { translate: 0 -4px; }
.is-sequence-reveal-ready .store-button.sequence-reveal-item {
  transition: opacity 650ms cubic-bezier(.22, 1, .36, 1), transform 650ms cubic-bezier(.22, 1, .36, 1), translate 220ms cubic-bezier(.19, 1, .22, 1);
  transition-delay: var(--sequence-reveal-delay, 0ms), var(--sequence-reveal-delay, 0ms), 0ms;
}
@media (prefers-reduced-motion: reduce) {
  .is-sequence-reveal-ready .sequence-reveal-item { opacity: 1; transform: none; transition: none; }
  .store-button { translate: none; }
}
@media print {
  .is-sequence-reveal-ready .sequence-reveal-item { opacity: 1; transform: none; transition: none; }
}

/* Prepare in the document head; run exactly once, independently of JS/image load events. */
@keyframes puzzle-hero-enter {
 from { opacity:0; transform:translate3d(0,50px,0); }
 to { opacity:1; transform:translate3d(0,0,0); }
}
@media (prefers-reduced-motion:no-preference) {
 .hero-motion-ready .hero [data-hero-reveal] { animation:puzzle-hero-enter 650ms cubic-bezier(.22,1,.36,1) both; }
 .hero-motion-ready .hero [data-hero-reveal="kicker"] { animation-delay:120ms; }
 .hero-motion-ready .hero [data-hero-reveal="title"] { animation-delay:240ms; }
 .hero-motion-ready .hero [data-hero-reveal="actions"] { animation-delay:360ms; }
 .hero-motion-ready .hero [data-hero-reveal="description"] { animation-delay:480ms; }
 .hero-motion-ready .hero:focus-within [data-hero-reveal] { animation:none; }
}

/* Match Lotto’s tablet kicker scale in all three landing languages. */
@media (min-width:561px) and (max-width:980px) {
 .hero .hero-eyebrow { font-size:17px; line-height:1.35; }
}

/* Released store CTA; readiness is owned by site.json. */
.store-button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;min-width:180px;padding:12px 28px;border-radius:30px;background:#214f45;color:#fff;text-decoration:none;font-size:1rem;line-height:1.5;box-shadow:0 3px 0 #122f29}.store-button:hover{background:#173e35}
