/* ==========================================================================
   Utoappia — studio site
   Ink & paper palette with a vermilion seal accent. Light + dark.
   ========================================================================== */

:root {
  --paper: #f6f2ea;
  --paper-2: #efe9dd;
  --card: #fffdf8;
  --ink: #1b1a17;
  --ink-2: #4a463f;
  --ink-3: #7b756a;
  --line: rgba(27, 26, 23, .12);
  --line-strong: rgba(27, 26, 23, .22);
  --seal: #c23b22;
  --seal-ink: #a3301b;
  --teal: #1f6f73;
  --crimson: #8e1f2f;
  --gold: #b07a1c;
  --jade: #2f7a4f;
  --shadow-sm: 0 1px 2px rgba(40, 30, 10, .06), 0 2px 8px rgba(40, 30, 10, .05);
  --shadow-md: 0 2px 6px rgba(40, 30, 10, .06), 0 18px 40px -12px rgba(40, 30, 10, .18);
  --shadow-lg: 0 30px 70px -20px rgba(40, 30, 10, .35);
  --radius: 20px;
  --serif: "Fraunces", "Noto Serif TC", "Songti TC", Georgia, serif;
  --serif-cjk: "Noto Serif TC", "Songti TC", "Fraunces", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141311;
    --paper-2: #1b1a17;
    --card: #1f1d1a;
    --ink: #f1ece2;
    --ink-2: #c9c2b5;
    --ink-3: #8f887c;
    --line: rgba(241, 236, 226, .1);
    --line-strong: rgba(241, 236, 226, .2);
    --seal: #d9492e;
    --seal-ink: #ef6a4f;
    --teal: #4fb3b0;
    --crimson: #e06676;
    --gold: #e0ad4f;
    --jade: #5fbf86;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, .25), 0 18px 40px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, figure, dl, dd { margin: 0; }
:focus-visible { outline: 2.5px solid var(--seal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.cjk { font-family: var(--serif-cjk); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--seal-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.display {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5.4vw, 66px); line-height: 1.06; letter-spacing: -.01em;
  font-variation-settings: "opsz" 40;
}
.display em { font-style: italic; color: var(--seal); font-weight: 400; }
html[lang^="zh"] .display { font-family: var(--serif-cjk); font-weight: 700; letter-spacing: .02em; line-height: 1.18; font-size: clamp(38px, 5.6vw, 66px); }
html[lang^="zh"] .display em { font-style: normal; }
.h2 {
  font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 40;
  font-size: clamp(32px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -.02em;
}
html[lang^="zh"] .h2 { font-family: var(--serif-cjk); font-weight: 700; letter-spacing: .02em; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.01em; }
.h3.cjk { font-family: var(--serif-cjk); font-weight: 700; letter-spacing: .04em; }
.alt-name { font-size: .62em; font-weight: 500; color: var(--ink-3); margin-left: 6px; letter-spacing: .04em; white-space: nowrap; }
.alt-name.latin { font-family: var(--serif); font-style: italic; letter-spacing: 0; }
.lede { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink-2); max-width: 36em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: var(--shadow-md); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); background: transparent; height: 46px; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: #1b1a17; }

.store-row { display: flex; flex-wrap: wrap; gap: 10px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 16px 0 13px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--card);
  text-decoration: none; transition: border-color .2s, transform .2s;
}
.store-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.store-btn svg { width: 22px; height: 22px; flex: none; }
.store-btn span { display: flex; flex-direction: column; font: 600 15px/1.1 var(--sans); }
.store-btn small { font: 500 10.5px/1.2 var(--sans); color: var(--ink-3); letter-spacing: .02em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; }
.brand-name { font: 600 21px/1 var(--serif); letter-spacing: -.01em; }
.brand-zh { font: 500 14px/1 var(--serif-cjk); color: var(--ink-3); letter-spacing: .12em; padding-left: 10px; border-left: 1px solid var(--line-strong); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
  height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink-3);
  font: 600 13px/1 var(--sans);
}
.lang-toggle:hover { border-color: var(--ink); }
.lang-toggle .sep { opacity: .4; }
html:not([lang^="zh"]) [data-lang-opt="en"], html[lang^="zh"] [data-lang-opt="zh"] { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: -1px 0 auto 0; height: 100%;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 72% 40%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 70% at 72% 40%, #000 10%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }

.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 500px; width: 100%; justify-self: end; }
.tile {
  position: absolute; width: 30%; aspect-ratio: 1; border-radius: 24%;
  overflow: hidden; box-shadow: var(--shadow-lg); background: var(--card);
  animation: float 9s ease-in-out infinite;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.t1 { left: 4%;  top: 8%;  rotate: -8deg; animation-delay: -1s; }
.t2 { left: 37%; top: 0%;  width: 34%; rotate: 4deg; animation-delay: -4s; }
.t3 { right: 2%; top: 30%; width: 32%; rotate: 9deg; border-radius: 50%; background: transparent; animation-delay: -2s; }
.t4 { left: 12%; bottom: 8%; width: 32%; rotate: -5deg; border-radius: 50%; background: transparent; animation-delay: -6s; }
.t5 { right: 18%; bottom: 0%; width: 25%; rotate: 7deg; animation-delay: -3s; }
.owl { position: absolute; width: 30%; left: 38%; top: 38%; filter: drop-shadow(0 18px 24px rgba(40,30,10,.25)); animation: float 7s ease-in-out infinite; animation-delay: -2.5s; }
.seal-stamp {
  position: absolute; left: -1%; top: 42%; padding: 12px 9px; border-radius: 8px;
  writing-mode: vertical-rl; text-orientation: upright;
  font: 700 17px/1 var(--serif-cjk); color: #fff; background: var(--seal);
  rotate: -8deg; box-shadow: var(--shadow-md); letter-spacing: .14em;
  outline: 1.5px solid rgba(255, 255, 255, .55); outline-offset: -5px;
}
@keyframes float { 50% { transform: translateY(-10px); } }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats > div { padding: 22px 24px; display: flex; flex-direction: column-reverse; gap: 4px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats dt { font-size: 13.5px; color: var(--ink-3); }
.stats dd { font: 500 clamp(24px, 2.6vw, 32px)/1.1 var(--serif); letter-spacing: -.01em; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 72px; }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-lede { color: var(--ink-2); font-size: 18px; }

/* ---------- Apps ---------- */
.apps { padding: clamp(56px, 7vw, 88px) 0 clamp(72px, 10vw, 120px); }
.app {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
  padding: clamp(40px, 6vw, 72px) 0;
}
.app + .app { border-top: 1px solid var(--line); }
.app-flip .app-copy { order: 2; }
.app-copy { display: grid; gap: 18px; }
.app-copy > p:not(.app-tagline) { color: var(--ink-2); }
.app-title { display: flex; align-items: center; gap: 16px; }
.app-icon { width: 64px; height: 64px; border-radius: 15px; box-shadow: var(--shadow-sm); flex: none; }
.app-icon.round { border-radius: 50%; }
.app-icon-owl { object-fit: contain; box-shadow: none; background: color-mix(in srgb, var(--accent) 12%, var(--card)); padding: 6px; }
.app-kicker { font: 600 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.app-tagline { font: 400 italic clamp(19px, 1.8vw, 22px)/1.4 var(--serif); color: var(--ink); }
html[lang^="zh"] .app-tagline { font-style: normal; font-family: var(--serif-cjk); font-weight: 500; }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 15.5px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
@supports (mask: url("")) or (-webkit-mask: url("")) {
  .checks li::before { background: color-mix(in srgb, var(--accent) 16%, transparent); }
  .checks li::after {
    content: ""; position: absolute; left: 3px; top: 7px; width: 13px; height: 13px; background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  }
}
.app-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.app-visual {
  position: relative; border-radius: 28px; min-height: 460px;
  background: color-mix(in srgb, var(--accent) 9%, var(--paper-2));
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  overflow: hidden;
}

/* Board Game Coach grid */
.visual-games { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.game-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.game-grid a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 6px 10px; border-radius: 16px; background: var(--card); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.game-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.game-grid img { width: 58%; aspect-ratio: 1; border-radius: 22%; }
.game-grid span { font-size: 12px; font-weight: 500; text-align: center; line-height: 1.2; color: var(--ink-2); }
.game-grid .more a { justify-content: center; background: transparent; box-shadow: none; border: 1.5px dashed var(--line-strong); }
.game-grid .more b { font: 500 26px/1 var(--serif); color: var(--accent); }
.avail { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.game-grid .avail { position: absolute; top: 8px; right: 8px; }
.avail.both { background: var(--jade); box-shadow: 0 0 0 3px color-mix(in srgb, var(--jade) 20%, transparent); }
.avail.android { background: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent); }
.avail.soon { background: transparent; border: 1.5px solid var(--ink-3); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--ink-3); justify-content: center; }
.legend > span { display: inline-flex; align-items: center; gap: 7px; }

/* 心誠則靈 */
.visual-temple { display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 30%, #6d1424 0%, #3b0a14 70%); border: 0; }
.visual-temple .glow {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 92, .55), rgba(255, 140, 40, 0) 65%);
  animation: breathe 6s ease-in-out infinite;
}
.big-icon { position: relative; width: 44%; border-radius: 22%; box-shadow: 0 30px 60px -10px rgba(0,0,0,.6), 0 0 0 1px rgba(255,220,160,.2); }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px 8px 11px; border-radius: 999px;
  background: rgba(255, 246, 228, .1); border: 1px solid rgba(255, 220, 160, .22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fbe9c8; font-size: 13.5px; white-space: nowrap;
  animation: float 8s ease-in-out infinite;
}
.chip b { font-weight: 500; }
.c1 { left: 7%; top: 13%; } .c2 { right: 6%; top: 21%; animation-delay: -2s; }
.c3 { left: 4%; top: 58%; animation-delay: -4s; } .c4 { right: 5%; bottom: 20%; animation-delay: -1s; }
.c5 { left: 32%; bottom: 7%; animation-delay: -5s; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .8; } }

/* Chrono phones */
.visual-phones { display: flex; justify-content: center; align-items: center; padding: 40px 12px; }
.phone {
  width: 34%; max-width: 200px; aspect-ratio: 427 / 760;
  border-radius: 26px; padding: 6px; background: #111; box-shadow: var(--shadow-lg);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.p1 { rotate: -7deg; translate: 18% 6%; }
.p2 { position: relative; z-index: 2; width: 38%; }
.p3 { rotate: 7deg; translate: -18% 6%; }

/* 五運六氣 cycle */
.visual-cycle { display: grid; place-items: center; background: radial-gradient(90% 90% at 50% 50%, color-mix(in srgb, var(--jade) 16%, var(--paper-2)), var(--paper-2)); }
.ring { position: absolute; width: min(92%, 420px); aspect-ratio: 1; }
.ring-line { fill: none; stroke: color-mix(in srgb, var(--jade) 30%, transparent); stroke-width: 1; }
.ring-text { font: 700 22px var(--serif-cjk); fill: color-mix(in srgb, var(--jade) 75%, var(--ink)); letter-spacing: 2px; }
.ring-text.inner { font-size: 19px; fill: color-mix(in srgb, var(--gold) 85%, var(--ink)); }
.spin { transform-origin: 200px 200px; animation: spin 120s linear infinite; }
.spin.rev { animation-direction: reverse; animation-duration: 90s; }
@keyframes spin { to { transform: rotate(360deg); } }
.ring-icon { position: relative; width: min(42%, 190px); border-radius: 50%; box-shadow: var(--shadow-lg); }

/* ---------- Approach ---------- */
.approach { padding: clamp(72px, 10vw, 120px) 0; background: var(--paper-2); border-block: 1px solid var(--line); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar {
  display: grid; gap: 12px; align-content: start;
  padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
}
.pillar-glyph {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 24px; font-weight: 700; color: var(--seal); border: 1.5px solid var(--seal);
  margin-bottom: 6px;
}
.pillar h3 { font: 600 19px/1.3 var(--serif); }
html[lang^="zh"] .pillar h3 { font-family: var(--serif-cjk); }
.pillar p { font-size: 15px; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact { padding: clamp(72px, 10vw, 120px) 0; }
.contact-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 32px;
  background: radial-gradient(120% 140% at 0% 0%, #2a2620 0%, #151310 60%);
  color: #f3eee4; position: relative; overflow: hidden;
}
.contact-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 59, 34, .45), transparent 70%);
}
.contact-card > * { position: relative; z-index: 1; }
.contact-card > div:first-child { display: grid; gap: 16px; }
.contact-card p { color: #c9c1b2; }
.eyebrow.light { color: #ef8a6f; }
.contact-actions { display: grid; gap: 18px; justify-items: start; }
.contact-actions .btn-light { height: 54px; padding: 0 28px; font-size: 16px; }
.contact-stores { display: grid; gap: 8px; }
.contact-stores a { color: #e6dfd2; text-decoration: none; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 2px; justify-self: start; }
.contact-stores a:hover { border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 56px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { display: grid; gap: 14px; max-width: 300px; align-content: start; }
.footer-brand p { color: var(--ink-3); font-size: 15px; }
.footer-cols { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.footer-cols div { display: grid; gap: 10px; align-content: start; }
.footer-cols h4 { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.footer-cols a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.footer-cols a:hover { color: var(--seal-ink); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding: 22px 0 30px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.footer-base a { text-decoration: none; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 420px; }
  .app { grid-template-columns: 1fr; }
  .app-flip .app-copy { order: 0; }
  .app-visual { min-height: 400px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats > div { padding: 18px 14px; }
  .game-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .app-visual { min-height: 340px; border-radius: 22px; }
  .chip { font-size: 12px; padding: 6px 11px 6px 9px; }
  .pillars { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .seal-stamp { font-size: 13px; padding: 9px 7px; }
  .hero-cta .btn-primary { width: 100%; }
}
