/* PINWORLD — site styles. No scripts are allowed by the CSP, so every effect here is pure CSS. */

/* Display fonts (SIL OFL 1.1): Nunito for Latin, Jua for Hangul. Subset by tools/build.py. */
@font-face { font-family: "PW Display"; src: url("/assets/fonts/nunito-black.woff") format("woff"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20A9, U+20AC, U+2122, U+2212; }
@font-face { font-family: "PW Display"; src: url("/assets/fonts/jua.woff") format("woff"); font-weight: 100 900; font-display: swap; unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-D7A3, U+D7B0-D7FF; }
@font-face { font-family: "PW Round"; src: url("/assets/fonts/nunito-extrabold.woff") format("woff"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20A9, U+20AC, U+2122, U+2212; }
@font-face { font-family: "PW Round"; src: url("/assets/fonts/jua.woff") format("woff"); font-weight: 100 900; font-display: swap; unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-D7A3, U+D7B0-D7FF; }

:root {
  color-scheme: light;
  --bg: #fbf7ff;
  --surface: #ffffff;
  --ink: #1d1442;
  --muted: #5e5880;
  --line: #ece5f8;
  --night: #0f0a2c;
  --night-2: #1d1258;
  --pink: #ff4fa3;
  --violet: #8b5cf6;
  --sky: #38bdf8;
  --sun: #ffc93c;
  --mint: #2dd4a7;
  --grad-text: linear-gradient(100deg, #ffd76a 0%, #ff8fc2 38%, #c4a5ff 70%, #7dd3fc 100%);
  --grad-brand: linear-gradient(110deg, #ff4fa3 0%, #a855f7 50%, #38bdf8 100%);
  --grad-button: linear-gradient(110deg, #ffb340 0%, #ff4fa3 55%, #a855f7 100%);
  --radius-l: 32px;
  --radius-m: 22px;
  --shadow-card: 0 24px 60px -30px rgba(52, 24, 120, .38), 0 2px 6px rgba(52, 24, 120, .05);
  --font-display: "PW Display", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-round: "PW Round", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-text: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--font-text);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; border-radius: 6px; }
:where(.site-header, .hero, .contact-panel, .site-footer, .missing) :focus-visible { outline-color: var(--sun); }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.7; }
:lang(ko) :is(p, h1, h2, h3, li, dd) { word-break: keep-all; overflow-wrap: anywhere; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; transform: translateY(-200%); z-index: 100; background: var(--sun); color: var(--night); padding: 12px 18px; border-radius: 12px; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 10, 44, .74); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; justify-self: start; gap: 11px; width: fit-content; text-decoration: none; font-family: var(--font-display); font-size: 22px; letter-spacing: .06em; }
.brand-mark { position: relative; display: inline-block; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 10px; background: var(--grad-brand); box-shadow: 0 6px 18px rgba(255, 79, 163, .45); }
.brand-mark::before { content: ""; position: absolute; top: 10.5px; left: 10.5px; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: -6px 0 0 -1px #fff8, 6px 0 0 -1px #fff8, 0 -6px 0 -1px #fff8, 0 6px 0 -1px #fff8; }
.main-nav { display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); font-family: var(--font-round); }
.main-nav a { padding: 9px 18px; border-radius: 999px; text-decoration: none; color: #e9e6ff; font-size: 15px; white-space: nowrap; transition: background .2s, color .2s; }
.main-nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.language-nav { justify-self: end; display: flex; align-items: center; gap: 2px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 4px; font-family: var(--font-round); }
.language-nav a { display: grid; place-items: center; min-width: 44px; min-height: 34px; padding-inline: 10px; border-radius: 999px; text-decoration: none; color: #d9d6f2; font-size: 13px; }
.language-nav a:hover { color: #fff; }
.language-nav a[aria-current="page"] { background: #fff; color: var(--night); }

/* ---------- Shared bits ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; width: fit-content; padding: 8px 15px; border-radius: 999px; background: #f0e8ff; color: #7c3aed; font-family: var(--font-round); font-size: 13px; letter-spacing: .12em; line-height: 1.2; }
.eyebrow-dark { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #ffe3a3; }
:lang(ko) .eyebrow { letter-spacing: .04em; }
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(45, 212, 167, .7); }
.gradient-text { background: var(--grad-text); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; width: fit-content; padding: 12px 26px; border: 0; border-radius: 999px; font-family: var(--font-round); font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: translate .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .25s; }
.button span { font-size: 18px; line-height: 1; }
.button:hover { translate: 0 -2px; }
.button-glow { background: var(--grad-button); color: #fff; box-shadow: 0 12px 30px -8px rgba(255, 79, 163, .65), inset 0 1px 0 rgba(255, 255, 255, .35); }
.button-glow:hover { box-shadow: 0 18px 40px -8px rgba(255, 79, 163, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.button-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.button-ghost:hover { background: rgba(255, 255, 255, .16); }
.button-store { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -12px rgba(29, 20, 66, .7); }
.button-store:hover { background: #2e2266; }
.play-symbol { width: 13px; height: 15px; background: conic-gradient(from 45deg at 32% 50%, #ffda71 0 25%, #ff819a 0 43%, #86c9ff 0 74%, #70dfbb 0); clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.blob-1 { width: 560px; height: 560px; top: -220px; left: -160px; background: #ff4fa3; }
.blob-2 { width: 640px; height: 640px; top: 8%; right: -220px; background: #7c3aed; opacity: .6; }
.blob-3 { width: 460px; height: 460px; bottom: -260px; left: 38%; background: #0ea5e9; opacity: .45; }
.stars { position: absolute; inset: 0; opacity: .8; background-image:
  radial-gradient(1.6px 1.6px at 8% 22%, #fff 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 18% 68%, #fff 50%, transparent 51%),
  radial-gradient(2px 2px at 27% 12%, #ffe6a8 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 36% 84%, #fff 50%, transparent 51%),
  radial-gradient(1.6px 1.6px at 47% 30%, #fff 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 58% 8%, #fff 50%, transparent 51%),
  radial-gradient(2px 2px at 66% 58%, #c9b6ff 50%, transparent 51%),
  radial-gradient(1.4px 1.4px at 74% 20%, #fff 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 83% 76%, #fff 50%, transparent 51%),
  radial-gradient(1.8px 1.8px at 92% 40%, #ffe6a8 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 96% 90%, #fff 50%, transparent 51%),
  radial-gradient(1.4px 1.4px at 4% 92%, #fff 50%, transparent 51%); }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); }
.hero-inner { position: relative; min-height: min(760px, calc(100svh - 76px)); padding-block: 72px 110px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 4vw, 64px); }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin-block: 26px 22px; font-family: var(--font-display); font-weight: 900; font-size: clamp(54px, 7vw, 104px); line-height: 1.02; letter-spacing: -.035em; }
:lang(ko) .hero h1 { line-height: 1.12; letter-spacing: -.01em; }
.hero-line { display: block; }
.hero-description { max-width: 30rem; color: #dcd8f5; font-size: clamp(17px, 1.45vw, 20px); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-app-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; font-family: var(--font-round); }
.hero-app-pills a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #f1eeff; font-size: 13px; letter-spacing: .04em; text-decoration: none; transition: background .2s, translate .25s; }
.hero-app-pills a:hover { background: rgba(255, 255, 255, .15); translate: 0 -2px; }
.hero-app-pills img { width: 32px; height: 32px; border-radius: 10px; background: #fff; }

.hero-stage { position: relative; width: 100%; max-width: 600px; justify-self: center; aspect-ratio: 1 / 1.02; }
.stage-glow { position: absolute; inset: 12% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 143, 194, .55), rgba(139, 92, 246, .25) 45%, transparent 70%); filter: blur(10px); }
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .2); }
.orbit-1 { inset: 6%; }
.orbit-2 { inset: 20%; border-style: solid; border-color: rgba(255, 255, 255, .1); }
.orbit-1::before, .orbit-2::before { content: ""; position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 16px 4px rgba(255, 201, 60, .7); }
.orbit-2::before { left: auto; right: -5px; top: 30%; width: 10px; height: 10px; background: var(--sky); box-shadow: 0 0 16px 4px rgba(56, 189, 248, .7); }
.stage-card { position: absolute; left: 0; top: 22%; width: 64%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .3); box-shadow: 0 30px 70px -20px rgba(5, 2, 25, .8); rotate: -8deg; }
.stage-card picture, .stage-card img { width: 100%; height: 100%; }
.stage-card img { object-fit: cover; object-position: 50% 55%; }
.phone { position: relative; padding: 9px; border-radius: 40px; background: linear-gradient(160deg, #3a2f74, #120c33); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .18), 0 40px 80px -24px rgba(5, 2, 25, .85); }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; z-index: 1; width: 26%; height: 5%; max-height: 22px; translate: -50% 0; border-radius: 999px; background: #0b0722; }
.phone img { width: 100%; aspect-ratio: 432 / 846; object-fit: cover; object-position: top; border-radius: 32px; background: #fff; }
.hero-phone { position: absolute; right: 9%; top: 3%; width: 39%; rotate: 6deg; }
.float-icon { position: absolute; width: 17%; border-radius: 24%; border: 3px solid rgba(255, 255, 255, .9); background: #fff; box-shadow: 0 18px 40px -12px rgba(5, 2, 25, .8); }
.float-icon-1 { right: -1%; top: 44%; }
.float-icon-2 { left: 6%; top: 6%; width: 14%; }
.float-icon-3 { left: 52%; bottom: 3%; width: 14%; }
.stage-mascot { position: absolute; width: 23%; filter: drop-shadow(0 16px 22px rgba(5, 2, 25, .55)); }
.stage-mascot-1 { left: 2%; bottom: 4%; }
.stage-mascot-2 { right: 2%; bottom: 0; width: 25%; }
.stage-mascot-3 { left: 32%; top: 0; width: 17%; }
.spark { position: absolute; color: var(--sun); font-size: 26px; line-height: 1; text-shadow: 0 0 14px rgba(255, 201, 60, .9); }
.spark-1 { left: 26%; top: 14%; }
.spark-2 { right: 4%; top: 18%; font-size: 18px; color: #ffb3d6; }
.spark-3 { left: 44%; bottom: 20%; font-size: 16px; color: #a5f3fc; }
.spark-4 { left: 0; top: 56%; font-size: 20px; }

/* ---------- Ticker ---------- */
.ticker-wrap { position: relative; z-index: 3; overflow: hidden; padding-block: 26px; margin-block: -26px; background: linear-gradient(var(--night) 50%, var(--bg) 50%); }
.ticker { width: 112%; margin-left: -6%; padding-block: 18px; background: var(--grad-brand); rotate: -2deg; box-shadow: 0 18px 40px -18px rgba(168, 85, 247, .7); }
.ticker-track { display: flex; width: max-content; }
.ticker-group { display: flex; flex: none; }
.ticker-group span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; color: #fff; font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); letter-spacing: .02em; white-space: nowrap; }
.ticker-group span::after { content: "✦"; color: var(--sun); font-size: .8em; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(80px, 10vw, 140px); }
.section-intro { display: grid; justify-items: center; max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section h2 { margin-block: 18px 14px; font-family: var(--font-display); font-weight: 900; font-size: clamp(38px, 5.2vw, 66px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
:lang(ko) .section h2 { letter-spacing: -.005em; line-height: 1.16; }
.section-intro > p:last-child, .about-head > p:last-child { color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); text-wrap: pretty; }

/* ---------- App cards ---------- */
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.app-card { --accent: #8b5cf6; --accent-2: #4f46e5; --accent-soft: #f3efff; position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-card); transition: translate .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.app-card:hover { translate: 0 -6px; box-shadow: 0 40px 80px -36px rgba(80, 40, 170, .5), 0 2px 6px rgba(52, 24, 120, .05); }
.theme-brain { --accent: #ff3d97; --accent-2: #9b51f5; --accent-soft: #fff0f7; }
.theme-tales { --accent: #8b5cf6; --accent-2: #4f46e5; --accent-soft: #f3efff; }
.theme-kidoku { --accent: #0ea5e9; --accent-2: #2563eb; --accent-soft: #e9f7ff; }
.app-card.is-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); }

.app-art { position: relative; overflow: hidden; aspect-ratio: 2.05; }
.app-art img { transition: scale .6s cubic-bezier(.2, .8, .2, 1); }
.app-card:hover .app-art.banner img { scale: 1.04; }
.app-art.covers { display: flex; align-items: center; justify-content: center; gap: 3%; background: radial-gradient(ellipse at 50% 110%, #8a5bb8, #2c1f55 60%, #1a1238); }
.app-art.covers img { position: relative; z-index: 1; width: 24%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255, 248, 224, .55); box-shadow: 0 14px 28px rgba(10, 6, 30, .6); }
.app-art.covers img:nth-of-type(1) { transform: translateY(10%) rotate(-10deg); }
.app-art.covers img:nth-of-type(2) { transform: translateY(-2%); z-index: 2; }
.app-art.covers img:nth-of-type(3) { transform: translateY(10%) rotate(10deg); }
.app-card:hover .app-art.covers img:nth-of-type(1) { transform: translate(-8%, 6%) rotate(-14deg); }
.app-card:hover .app-art.covers img:nth-of-type(2) { transform: translateY(-8%) scale(1.05); }
.app-card:hover .app-art.covers img:nth-of-type(3) { transform: translate(8%, 6%) rotate(14deg); }
.app-art.covers img { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.art-moon { position: absolute; top: 12%; right: 9%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: #ffe7a3; box-shadow: 0 0 40px 10px rgba(255, 220, 140, .45); }
.art-moon::after { content: ""; position: absolute; inset: -8% -8% 18% 22%; border-radius: 50%; background: #2c1f55; }
.art-stars { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 12% 20%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 30% 10%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 70% 18%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 84% 46%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 8% 60%, #fff 50%, transparent 51%); opacity: .8; }
.app-art.banner { background: #189bdf; }
.app-art.banner img { width: 100%; height: 100%; object-fit: cover; }

.app-art.phones { aspect-ratio: auto; min-height: 560px; display: grid; place-items: center; background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .45), transparent 40%), radial-gradient(circle at 85% 85%, rgba(56, 189, 248, .55), transparent 45%), linear-gradient(140deg, #ff5fa8 0%, #b35cf6 55%, #6d7bff 100%); }
.art-ring { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .35); }
.art-ring::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.phone-fan { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; padding-block: 48px; }
.phone-fan .phone { width: 31%; max-width: 210px; flex: none; padding: 7px; border-radius: 30px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .5), 0 30px 60px -20px rgba(40, 10, 90, .7); transition: rotate .5s cubic-bezier(.2, .8, .2, 1), translate .5s cubic-bezier(.2, .8, .2, 1); }
.phone-fan .phone img { border-radius: 24px; }
.phone-fan .phone::before { top: 11px; height: 4.5%; }
.phone-fan .phone-1 { rotate: -11deg; translate: 18% 8%; }
.phone-fan .phone-2 { z-index: 2; width: 35%; max-width: 236px; }
.phone-fan .phone-3 { rotate: 11deg; translate: -18% 8%; }
.app-card:hover .phone-fan .phone-1 { rotate: -15deg; translate: 8% 6%; }
.app-card:hover .phone-fan .phone-3 { rotate: 15deg; translate: -8% 6%; }
.art-mascot { position: absolute; z-index: 3; width: 21%; max-width: 140px; filter: drop-shadow(0 14px 18px rgba(60, 10, 90, .45)); }
.art-mascot-1 { left: 3%; bottom: 4%; }
.art-mascot-2 { right: 3%; top: 6%; width: 19%; }
.art-mascot-3 { right: 6%; bottom: 3%; width: 16%; }

.card-body { display: flex; flex: 1; flex-direction: column; padding: 32px 34px 30px; }
.is-featured .card-body { justify-content: center; padding: clamp(32px, 4.5vw, 60px); }
.app-identity { position: relative; display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.app-identity img { width: 64px; height: 64px; flex: 0 0 auto; border-radius: 18px; box-shadow: 0 10px 22px -10px rgba(40, 20, 90, .55); }
.app-identity h3 { font-family: var(--font-display); font-weight: 900; font-size: 24px; line-height: 1.15; letter-spacing: -.01em; }
.app-identity p { margin-top: 4px; color: var(--accent); font-family: var(--font-round); font-size: 13px; letter-spacing: .08em; line-height: 1.3; }
.badge-new { align-self: flex-start; margin-left: auto; padding: 6px 12px; border-radius: 999px; background: var(--grad-button); color: #fff; font-family: var(--font-round); font-size: 12px; letter-spacing: .12em; box-shadow: 0 8px 18px -6px rgba(255, 79, 163, .7); }
.app-headline { font-family: var(--font-display); font-weight: 900; font-size: clamp(21px, 2vw, 26px); line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; }
:lang(ko) .app-headline { letter-spacing: 0; }
.is-featured .app-headline { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.app-description { margin-top: 12px; color: var(--muted); font-size: 16px; text-wrap: pretty; }
.is-featured .app-description { font-size: 17px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; font-family: var(--font-round); }
.tag-list li { padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent); font-size: 14px; line-height: 1.2; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; font-family: var(--font-round); }
.stat-row li { display: grid; gap: 2px; padding: 14px 10px; border-radius: 18px; background: var(--accent-soft); text-align: center; }
.stat-row strong { font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-row span { color: var(--muted); font-size: 13px; }
.card-actions { margin-top: auto; padding-top: 26px; }
.is-featured .card-actions { margin-top: 0; }
.coming-soon { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 24px; border-radius: 999px; border: 2px dashed color-mix(in srgb, var(--accent) 50%, transparent); background: var(--accent-soft); color: var(--accent-2); font-family: var(--font-round); font-size: 16px; line-height: 1.2; }
.cs-dot { position: relative; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--accent); }
.cs-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); opacity: .5; }
.policy-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin: 18px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); list-style: none; }
.policy-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); font-size: 14px; }
.policy-links a:hover { color: var(--accent); }

/* ---------- About ---------- */
.about { overflow: hidden; background: linear-gradient(180deg, var(--bg), #f3ecff 60%, var(--bg)); }
.about-blob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(90px); opacity: .45; pointer-events: none; }
.about-blob-1 { width: 420px; height: 420px; top: 10%; left: -160px; background: #ffb3d6; }
.about-blob-2 { width: 480px; height: 480px; bottom: 26%; right: -200px; background: #bfdbfe; }
.about .wrap { position: relative; z-index: 1; }
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.about-head { position: sticky; top: 120px; }
.about-head > p:last-child { max-width: 30rem; }
.value-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.value-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; padding: 28px 30px; border-radius: var(--radius-m); background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-card); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: translate .35s cubic-bezier(.2, .8, .2, 1); }
.value-card:hover { translate: 6px 0; }
.value-icon { grid-row: span 2; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; font-size: 28px; line-height: 1; }
.value-card:nth-child(1) .value-icon { background: linear-gradient(140deg, #ffe1ef, #ffc2de); }
.value-card:nth-child(2) .value-icon { background: linear-gradient(140deg, #e3f4ff, #bfe6ff); }
.value-card:nth-child(3) .value-icon { background: linear-gradient(140deg, #fff3cf, #ffe08a); }
.value-card h3 { align-self: end; font-family: var(--font-display); font-weight: 900; font-size: 21px; line-height: 1.3; }
.value-card p { color: var(--muted); font-size: 15.5px; }

.company-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.company-intro h3 { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
.mascot-parade { display: flex; margin-top: 26px; }
.mascot-parade img { width: 22%; max-width: 88px; margin-right: -4%; filter: drop-shadow(0 10px 14px rgba(60, 20, 120, .22)); }
.mascot-parade img:nth-child(odd) { translate: 0 -8px; }
.company-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; font-family: var(--font-round); }
.company-list div { display: grid; gap: 4px; padding-block: 15px; border-bottom: 1px solid var(--line); }
.company-list dt { color: #8b5cf6; font-size: 13px; letter-spacing: .06em; }
.company-list dd { margin: 0; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.company-list a:hover { color: var(--pink); }

/* ---------- Contact ---------- */
.contact { padding-top: clamp(40px, 5vw, 80px); }
.contact-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(32px, 5.5vw, 76px); border-radius: 40px; background: var(--night); color: #fff; box-shadow: 0 50px 100px -50px rgba(29, 18, 88, .9); }
.contact-panel .blob-1 { width: 460px; height: 460px; top: -200px; left: -140px; }
.contact-panel .blob-2 { width: 520px; height: 520px; top: auto; bottom: -260px; right: -160px; }
.contact-info h2 { color: #fff; }
.contact-lead { color: #dcd8f5; font-size: 18px; max-width: 30rem; }
.contact-email { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; width: fit-content; max-width: 100%; margin-top: 30px; padding: 18px 24px; border-radius: 24px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 26px); text-decoration: none; overflow-wrap: anywhere; transition: background .25s, translate .25s; }
.contact-email:hover { background: rgba(255, 255, 255, .15); translate: 0 -2px; }
.contact-email-label { flex-basis: 100%; color: #ffe3a3; font-family: var(--font-round); font-size: 12px; letter-spacing: .14em; }
.contact-email-arrow { color: #ff9fcb; }
.contact-tips { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; color: #cfcaef; font-size: 15px; line-height: 1.6; }
.contact-tips li { position: relative; padding-left: 28px; }
.contact-tips li::before { content: "✦"; position: absolute; left: 4px; top: 0; color: var(--sun); }
.quick-label { margin-top: 28px; color: #a9a3d6; font-size: 13px; letter-spacing: .08em; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; font-family: var(--font-round); }
.quick-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: 14px; text-decoration: none; transition: background .2s; }
.quick-links a:hover { background: rgba(255, 255, 255, .2); }
.contact-form { align-self: start; display: grid; gap: 10px; padding: clamp(24px, 3vw, 36px); border-radius: 30px; background: #fff; color: var(--ink); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.contact-form h3 { margin-bottom: 8px; font-family: var(--font-display); font-weight: 900; font-size: 26px; }
.contact-form label { margin-top: 8px; font-family: var(--font-round); font-size: 14px; color: #6d28d9; letter-spacing: .03em; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border-right: 2.5px solid var(--violet); border-bottom: 2.5px solid var(--violet); translate: 0 -70%; rotate: 45deg; pointer-events: none; }
.contact-form .optional { color: var(--muted); font-size: 12.5px; letter-spacing: 0; }
.contact-form input { width: 100%; min-height: 54px; padding: 14px 18px; border: 2px solid var(--line); border-radius: 18px; background: #faf7ff; color: var(--ink); font: 16px/1.4 var(--font-text); transition: border-color .2s, box-shadow .2s, background .2s; }
.contact-form input:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 5px rgba(139, 92, 246, .18); }
.contact-form ::placeholder { color: #a39fbd; opacity: 1; }
.form-status { display: grid; gap: 8px; margin-top: 6px; padding: 18px 20px; border-radius: 20px; background: linear-gradient(140deg, #f3ecff, #ffeef7); border: 1px solid #e6dafd; font-size: 14.5px; line-height: 1.6; }
.form-status[hidden] { display: none; }
.form-status-title { color: #6d28d9; font-family: var(--font-round); font-size: 16px; }
.form-status a { color: #6d28d9; font-weight: 700; overflow-wrap: anywhere; }
.form-status-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.status-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 2px solid #d9c8fb; border-radius: 999px; background: #fff; color: #5b21b6 !important; font-family: var(--font-round); font-size: 14px; font-weight: 400 !important; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.status-button:hover { background: #f5efff; border-color: var(--violet); }
.form-copy-result { color: #047857; font-size: 13.5px; }
.form-copy-result:empty { display: none; }
.contact-form select, .contact-form textarea { width: 100%; padding: 14px 18px; border: 2px solid var(--line); border-radius: 18px; background: #faf7ff; color: var(--ink); font: 16px/1.6 var(--font-text); transition: border-color .2s, box-shadow .2s, background .2s; }
.contact-form select { appearance: none; padding-right: 48px; min-height: 54px; cursor: pointer; }
.contact-form textarea { resize: vertical; min-height: 200px; }
.contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 5px rgba(139, 92, 246, .18); }
.contact-form .button { width: 100%; margin-top: 12px; }
.form-note { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--night); color: #d9d5f3; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad-brand); }
.footer-top { display: grid; grid-template-columns: 1.3fr .9fr 1.5fr .8fr; gap: 40px; padding-block: 64px 40px; }
.footer-brand .wordmark { color: #fff; }
.footer-brand p { margin-top: 16px; color: #aaa4d4; font-size: 15px; }
.footer-email { display: inline-flex; margin-top: 14px; color: #fff; font-size: 15px; }
.footer-email:hover, .footer-col a:hover { color: #ff9fcb; }
.footer-title { margin-bottom: 14px; color: #fff; font-family: var(--font-round); font-size: 14px; letter-spacing: .1em; }
.footer-col ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 34px; text-decoration: none; }
.footer-policies li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.footer-app { flex-basis: 100%; margin-top: 4px; color: #8f88c0; font-size: 12px; letter-spacing: .08em; }
.footer-policies a { min-height: 30px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 24px 30px; border-top: 1px solid rgba(255, 255, 255, .1); color: #8f88c0; font-size: 13px; }
.footer-bottom p { line-height: 1.6; }
.footer-bottom small { font-size: 13px; }

/* ---------- Legal pages ---------- */
.legal-header { grid-template-columns: 1fr auto; }
.legal-body { background: linear-gradient(180deg, #f3ecff, var(--bg) 420px); }
.legal-main { padding-block: 48px 20px; }
.legal-copy { max-width: 860px; padding: clamp(28px, 5vw, 60px); border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow-wrap: anywhere; }
.legal-copy h1 { margin-block: 18px 26px; font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 5vw, 46px); line-height: 1.2; letter-spacing: -.02em; }
.legal-copy h2 { margin-block: 30px 8px; font-family: var(--font-display); font-weight: 900; font-size: 20px; }
.legal-copy p { margin-bottom: 14px; color: #3b3560; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #f0e8ff; color: #6d28d9; font-size: 14px; font-weight: 700; text-decoration: none; }
.back-link:hover { background: #e4d6ff; }
.legal-body .site-footer { margin-top: 48px; }

/* ---------- 404 ---------- */
.missing { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; display: grid; align-items: center; padding-block: 60px; background: var(--night); color: #fff; }
.missing-inner { display: grid; justify-items: center; text-align: center; }
.missing-mascot { width: 140px; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .5)); }
.missing-code { margin-top: 10px; font-family: var(--font-display); font-size: clamp(80px, 14vw, 160px); line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.missing h1 { margin-block: 10px 14px; font-family: var(--font-display); font-size: clamp(26px, 4vw, 40px); line-height: 1.25; }
.missing p { color: #dcd8f5; }
.missing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

/* ---------- Motion (decorative only; content is always visible without it) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .blob { animation: drift 16s ease-in-out infinite alternate; }
  .blob-2 { animation-duration: 20s; animation-delay: -6s; }
  .blob-3 { animation-duration: 18s; animation-delay: -11s; }
  .stars { animation: twinkle 3.6s ease-in-out infinite alternate; }
  .gradient-text { animation: shimmer 6s ease-in-out infinite alternate; }
  .pulse-dot { animation: pulse 2s ease-out infinite; }
  .cs-dot::after { animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
  .orbit-1 { animation: spin 50s linear infinite; }
  .orbit-2 { animation: spin 34s linear infinite reverse; }
  .hero-phone { animation: bob 6s ease-in-out infinite; }
  .stage-card { animation: bob 7s ease-in-out -2s infinite; }
  .float-icon, .stage-mascot, .art-mascot { animation: bob 5s ease-in-out infinite; }
  .float-icon-2, .stage-mascot-2, .art-mascot-2 { animation-duration: 6.5s; animation-delay: -1.5s; }
  .float-icon-3, .stage-mascot-3, .art-mascot-3 { animation-duration: 5.8s; animation-delay: -3s; }
  .spark { animation: sparkle 2.4s ease-in-out infinite; }
  .spark-2 { animation-delay: -.8s; } .spark-3 { animation-delay: -1.6s; } .spark-4 { animation-delay: -1.1s; }
  .ticker-track { animation: marquee 38s linear infinite; }
  .mascot-parade img { animation: hop 2.8s ease-in-out infinite; }
  .mascot-parade img:nth-child(2) { animation-delay: -.5s; } .mascot-parade img:nth-child(3) { animation-delay: -1s; }
  .mascot-parade img:nth-child(4) { animation-delay: -1.5s; } .mascot-parade img:nth-child(5) { animation-delay: -2s; }
  .missing-mascot { animation: bob 4s ease-in-out infinite; }
  .hero-copy > * { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; } .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .hero-stage { animation: pop 1.1s cubic-bezier(.2, .8, .2, 1) .15s both; }

  @supports (animation-timeline: view()) {
    .reveal { animation: reveal-up linear both; animation-timeline: view(); animation-range: entry 0% cover 24%; }
  }
}

@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.15); } }
@keyframes twinkle { from { opacity: .35; } to { opacity: .9; } }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(45, 212, 167, .7); } 100% { box-shadow: 0 0 0 12px rgba(45, 212, 167, 0); } }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } }
@keyframes sparkle { 0%, 100% { opacity: .35; transform: scale(.7) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes reveal-up { from { opacity: 0; transform: translateY(56px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .wrap { width: calc(100% - 48px); }
  .main-nav a { padding-inline: 13px; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 56px 96px; min-height: 0; }
  .hero-copy { max-width: 680px; }
  .hero-stage { max-width: 560px; }
  .app-card.is-featured { grid-template-columns: 1fr; }
  .is-featured .app-art { order: -1; }
  .app-art.phones { min-height: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 0 12px; padding-top: 10px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; justify-self: start; margin-block: 8px 12px; overflow-x: auto; max-width: 100%; }
  .site-header { position: relative; }
  .app-grid, .about-grid, .company-card, .contact-panel { grid-template-columns: 1fr; }
  .about-head { position: static; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .wordmark { font-size: 19px; }
  .main-nav { gap: 2px; }
  .main-nav a { padding: 9px 12px; font-size: 14px; }
  .hero-inner { padding-block: 40px 80px; gap: 36px; }
  .hero h1 { font-size: clamp(46px, 13.5vw, 64px); margin-block: 20px 16px; }
  .hero-actions .button { flex: 1 1 auto; }
  .hero-app-pills { gap: 8px; }
  .hero-app-pills a { font-size: 12px; padding-right: 12px; }
  .card-body { padding: 24px 22px 22px; }
  .app-identity img { width: 56px; height: 56px; border-radius: 16px; }
  .app-identity h3 { font-size: 21px; }
  .phone-fan { padding-block: 36px; }
  .value-card { grid-template-columns: 1fr; padding: 24px; }
  .value-icon { grid-row: auto; width: 54px; height: 54px; }
  .company-list { grid-template-columns: 1fr; }
  .contact-panel { border-radius: 30px; padding: 28px 20px; }
  .contact-form { padding: 22px 18px; border-radius: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-block: 48px 28px; }
  .legal-copy { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
