@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("/assets/nunito-sans-400.woff") format("woff");
}
@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("/assets/nunito-sans-600.woff") format("woff");
}
@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-weight: 800;
  font-display: swap; src: url("/assets/nunito-sans-800.woff") format("woff");
}
:root {
  color-scheme: light;
  --cream: #faf8f2;
  --ink: #282438;
  --purple: #6a52d8;
  --muted: #686275;
  --lilac: #eee9fb;
  --line: #ded9e8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0; color: var(--ink); background: var(--cream);
  font-family: "Nunito Sans", system-ui, sans-serif; font-size: 16px;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 7px; border-radius: 3px; }
a:hover { color: var(--purple); }
h1, h2, h3, p, figure { margin: 0; }
.page { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 10; left: 20px; top: -100px;
  padding: 12px 20px; background: var(--ink); color: var(--cream);
}
.skip-link:focus { top: 20px; }
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 25px; min-height: 110px;
}
.brand-link { display: block; width: 152px; }
.site-header nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 800; }
.site-header nav a { text-decoration: none; padding-block: 12px; }
.site-header nav span { display: inline-block; margin-left: 5px; font-size: 18px; }
.hero {
  display: grid; grid-template-columns: 1.35fr 1fr; align-items: center;
  gap: 52px; min-height: 505px; padding-block: 48px 70px;
}
.eyebrow {
  color: var(--muted); font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.hero .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.small-dot { width: 7px; height: 7px; background: var(--purple); border-radius: 50%; flex-shrink: 0; }
h1 { font-size: clamp(48px, 5.25vw, 70px); font-weight: 800; line-height: 1.06; letter-spacing: -.045em; }
h1 span { color: var(--purple); }
.intro { max-width: 395px; margin-top: 25px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-link { display: inline-flex; align-items: center; gap: 16px; margin-top: 27px; font-size: 14px; font-weight: 800; text-decoration: none; min-height: 44px; }
.hero-link span { color: var(--purple); font-size: 20px; }
.hero-art { display: grid; place-items: center; }
.hero-logo { width: min(100%, 392px); }
.games-section, .apps-section { padding-top: 35px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 27px; }
.section-heading h2 { margin-top: 9px; }
h2 { font-size: clamp(31px, 3vw, 39px); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.section-number { color: var(--purple); font-size: 13px; font-weight: 600; padding-bottom: 5px; }
.game-card {
  display: grid; grid-template-columns: .85fr 1.15fr; align-items: center;
  gap: 32px; border: 1px solid #e5deef; border-radius: 28px;
  padding: 40px; background: #fff;
}
.game-card + .game-card { margin-top: 40px; }
.game-card-smily {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, #ecfbf7, #fffdf5 48%, #f5effc);
}
.game-card-smily::before, .game-card-smily::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-repeat: no-repeat;
}
.game-card-smily::before {
  opacity: .32;
  background-image: url("/assets/smily-bubble/heart-bubble.webp"), url("/assets/smily-bubble/heart-bubble.webp");
  background-size: 240px 240px, 130px 130px;
  background-position: right -65px bottom 55px, left -55px top -45px;
}
.game-card-smily::after {
  opacity: .72;
  background-image: url("/assets/smily-bubble/pearl-bubble.webp"), url("/assets/smily-bubble/pearl-bubble.webp"), url("/assets/smily-bubble/pearl-bubble.webp"), url("/assets/smily-bubble/pearl-bubble.webp");
  background-size: 200px 200px, 135px 135px, 80px 80px, 52px 52px;
  background-position: right -45px top -40px, left -42px bottom -35px, left 48% top 34%, right 18% bottom -16px;
}
.game-card-smily .screenshot-stage { height: 480px; }
.game-card-smily .game-description { font-size: clamp(30px, 3.2vw, 41px); }
.game-worlds { color: var(--ink); font-weight: 600; }
.coming-note { color: var(--purple); font-size: 14px; font-weight: 800; }
.game-copy { padding: 8px 0 8px 8px; }
.status {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d5cdef;
  padding: 5px 12px; border-radius: 20px; color: var(--purple);
  font-size: 11px; font-weight: 800; background: #f8f5ff;
}
.status span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.game-identity { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.game-icon { width: 64px; height: 64px; border-radius: 15px; flex-shrink: 0; box-shadow: 0 5px 13px #28243814; }
.game-platform { color: var(--muted); font-size: 12px; margin-bottom: 3px; }
h3 { font-size: 28px; font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.game-description { margin-top: 28px; font-size: clamp(30px, 3.4vw, 43px); line-height: 1.12; font-weight: 800; letter-spacing: -.04em; }
.game-description span { color: var(--purple); }
.game-detail { max-width: 330px; margin-top: 18px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.duo-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px;
  padding: 11px 18px 12px 14px; color: var(--ink); border: 1px solid #c9c5d0;
  border-radius: 12px; line-height: 1.2;
}
.duo-badge > span { display: grid; gap: 2px; }
.badge-kicker { font-size: 10px; font-weight: 600; letter-spacing: .025em; }
.duo-badge strong { font-size: 19px; font-weight: 800; letter-spacing: -.025em; }
.game-download { margin-top: 25px; }
.app-store-link { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; }
.app-store-link:hover { background: var(--purple); color: #fff; }
.app-store-link:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.game-privacy-link { display: inline-block; margin-top: 2px; padding-block: 10px; font-size: 12px; color: var(--muted); }
.game-showcase { min-width: 0; padding-block: 6px; }
.showcase-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.showcase-heading .eyebrow { font-size: 9px; letter-spacing: .1em; }
.showcase-index { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.game-preview { margin-top: 15px; }
.screenshot-stage { height: 345px; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; }
.game-screenshot { grid-area: 1 / 1; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.game-preview figcaption { display: grid; gap: 3px; margin-top: 18px; text-align: center; }
.game-preview figcaption strong { color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: -.015em; }
.game-preview figcaption span { color: var(--muted); font-size: 11px; }
.device-switcher {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px;
  max-width: 366px; margin: 22px auto 0; padding: 5px;
  background: #f4f2f7; border: 1px solid #e9e5f0; border-radius: 18px;
}
.device-switcher[hidden], .preview-error[hidden] { display: none; }
.device-switcher button {
  display: grid; justify-items: center; align-content: center; gap: 5px;
  min-height: 64px; padding: 8px 3px; border: 1px solid transparent; border-radius: 13px;
  color: var(--muted); background: transparent; font: 600 10px/1.3 "Nunito Sans", system-ui, sans-serif;
  cursor: pointer; transition: color .15s, background .15s, box-shadow .15s;
}
.device-switcher button span { max-width: 100%; overflow-wrap: anywhere; }
.device-switcher button svg { width: 29px; height: 25px; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.device-switcher button:hover { color: var(--purple); background: #ebe6f7; }
.device-switcher button[aria-pressed="true"] { color: var(--purple); background: #fff; border-color: #e5def5; box-shadow: 0 2px 5px #2824380a; }
.device-switcher button:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.preview-note { margin-top: 13px; color: var(--muted); font-size: 10px; text-align: center; }
.preview-error { margin-top: 8px; color: var(--ink); font-size: 12px; text-align: center; }
.contact-section {
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  padding-block: 72px 63px;
}
.contact-section h2 { margin-top: 8px; }
.contact-link { font-size: clamp(17px, 2.1vw, 23px); font-weight: 600; text-decoration: none; padding-block: 12px; }
.contact-link span { color: var(--purple); padding-left: 13px; }
.site-footer {
  display: flex; justify-content: space-between; gap: 24px; padding-block: 23px 30px;
  border-top: 1px solid var(--line); font-size: 11px; color: var(--muted);
}
@media (max-width: 960px) {
  .page { width: calc(100% - 64px); }
  .hero { gap: 24px; min-height: 440px; }
  h1 { font-size: clamp(44px, 5.8vw, 59px); }
  .game-card { padding: 30px; gap: 26px; grid-template-columns: .9fr 1.1fr; }
  .game-copy { padding-left: 0; }
  .screenshot-stage { height: 310px; }
  .game-card-smily .screenshot-stage { height: 440px; }
  .game-description { font-size: 34px; }
  h3 { font-size: 27px; }
  .game-identity { gap: 14px; }
}
@media (max-width: 680px) {
  .game-card + .game-card { margin-top: 20px; }
  .page { width: calc(100% - 40px); }
  .site-header { padding-block: 19px; min-height: 85px; }
  .brand-link { width: 125px; }
  .site-header nav { gap: 19px; font-size: 12px; }
  .site-header nav span { display: none; }
  .hero { display: flex; flex-direction: column-reverse; gap: 22px; padding-block: 12px 45px; min-height: 0; }
  .hero-art { width: 100%; }
  .hero-logo { width: 245px; }
  .hero-copy { width: 100%; }
  .hero .eyebrow { margin-bottom: 19px; font-size: 10px; letter-spacing: .11em; }
  h1 { font-size: clamp(39px, 8.5vw, 56px); }
  .intro { font-size: 16px; max-width: 440px; margin-top: 19px; }
  .hero-link { margin-top: 16px; }
  .games-section { padding-top: 28px; }
  .section-heading { margin-bottom: 22px; }
  .game-card { grid-template-columns: 1fr; padding: 26px 20px; gap: 24px; border-radius: 22px; }
  .game-copy { padding: 0 4px; }
  .game-identity { margin-top: 23px; gap: 16px; }
  .game-icon { width: 60px; height: 60px; border-radius: 14px; }
  h3 { font-size: clamp(25px, 6vw, 31px); }
  .game-description { margin-top: 24px; font-size: 38px; }
  .game-detail { max-width: none; font-size: 15px; }
  .coming-note { margin-top: 19px; }
  .game-showcase { border-top: 1px solid var(--line); padding-top: 23px; }
  .screenshot-stage { height: clamp(250px, 75vw, 340px); }
  .game-card-smily .screenshot-stage { height: clamp(390px, 110vw, 480px); }
  .game-card-smily::before {
    background-size: 190px 190px, 110px 110px;
    background-position: right -80px bottom 60px, left -55px top -45px;
  }
  .game-card-smily::after {
    background-size: 145px 145px, 110px 110px, 64px 64px, 42px 42px;
    background-position: right -55px top -35px, left -42px bottom -25px, right -25px top 44%, left 25% bottom 0;
  }
  .game-preview { margin-top: 18px; }
  .game-preview figcaption { margin-top: 15px; }
  .duo-badge { margin-top: 23px; }
  .device-switcher { margin-top: 18px; }
  .contact-section { display: block; padding-block: 45px 37px; }
  .contact-link { display: inline-block; margin-top: 15px; font-size: 20px; }
  .site-footer { gap: 12px; font-size: 10px; flex-wrap: wrap; padding-block: 20px 26px; }
}
@media (max-width: 380px) {
  .game-description { font-size: 33px; }
  .showcase-heading .eyebrow { font-size: 8px; letter-spacing: .04em; }
  .game-identity { gap: 12px; }
  .game-icon { width: 52px; height: 52px; }
  .device-switcher { gap: 2px; padding: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .device-switcher button { transition: none; }
}


.policy { max-width: 760px; margin: 30px auto 64px; overflow-wrap: anywhere; }
.policy h1 { font-size: clamp(38px, 6vw, 60px); margin: 12px 0 18px; }
.policy .policy-date { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.policy p + p { margin-top: 16px; }
.policy section { margin-top: 34px; }
.policy h2 { font-size: 25px; margin-bottom: 14px; }
.policy a { color: var(--purple); }

/* Apps */
.apps-section { margin-top: 56px; }
.app-card {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center; gap: 28px; padding: 32px;
  border: 1px solid #ded8c8; border-radius: 24px; background: #fff7df;
}
.app-icon { width: 88px; border-radius: 20px; }
.app-detail { max-width: 510px; margin-top: 12px; color: var(--muted); font-size: 15px; }
.app-card-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.app-card .app-store-link { white-space: nowrap; }
.app-details-link { color: var(--ink); font-size: 14px; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.app-details-link:hover { color: var(--purple); }
.app-details-link:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
@media (max-width: 960px) {
  .app-card { grid-template-columns: 76px minmax(0, 1fr); gap: 20px 24px; }
  .app-card-actions { grid-column: 2; justify-self: start; }
}
@media (max-width: 680px) {
  .site-header { flex-wrap: wrap; gap: 8px 20px; }
  .site-header nav { flex-wrap: wrap; gap: 16px; }
  .apps-section { margin-top: 40px; padding-top: 28px; }
  .app-card { grid-template-columns: 60px minmax(0, 1fr); padding: 24px; gap: 20px; align-items: start; }
  .app-icon { border-radius: 14px; }
}
@media (max-width: 380px) {
  .app-card { grid-template-columns: 1fr; }
  .app-icon { width: 60px; }
  .app-card-actions { grid-column: 1; }
}
