/* Shared visual layer: existing artwork stays unchanged and fully visible. */
:root {
  --surface: #101d31;
  --muted: #acbbd0;
  --line: #26364f;
  --blue: #48b4ff;
  --radius: 20px;
  --shadow: 0 24px 60px #0005, inset 0 1px 0 #ffffff0a;
}
body { background: radial-gradient(ellipse 100% 550px at 50% 0%, #12365b66, transparent), var(--bg); }
html { scroll-padding-top: 112px; }
h1,h2,h3 { font-weight: 700; }
.container { width: min(1240px, calc(100% - 96px)); }
.site-header { position: sticky; top: 0; background: #070e1ce8; backdrop-filter: blur(18px); border-color: #30426066; box-shadow: 0 5px 28px #0002; }
.header-inner { min-height: 92px; }
.brand img { border-radius: 12px; box-shadow: 0 0 24px #008aff12; }
.main-nav { font-weight: 600; gap: 32px; }
.main-nav > a { padding-block: 12px; }
.main-nav .nav-contact { gap: 14px; margin-left: 12px; padding: 11px 18px; border: 1px solid #384c69; border-radius: 10px; background: linear-gradient(135deg,#192b43,#101c2f); box-shadow: inset 0 1px 0 #ffffff0a; }
.button { min-height: 54px; padding: 15px 23px; border-radius: 10px; font-size: 14px; font-weight: 700; transition: background .2s, transform .2s, box-shadow .2s; }
.button-primary { background: linear-gradient(145deg,#71d0ff,#329bfa); border-color: #97daff66; box-shadow: 0 7px 22px #008cff25, inset 0 1px 0 #ffffff66; }
.button-primary:hover { background: linear-gradient(145deg,#a0e0ff,#58b2ff); box-shadow: 0 10px 30px #008cff44; }
.text-link { min-height: 44px; font-weight: 600; }
.section-label { color: #8ca8c9; font-size: 11px; }
.section-heading h2 { font-size: clamp(32px,3.5vw,44px); }

/* Larger, framed banner with light around it rather than a tint over it. */
.hero-stage { position: relative; isolation: isolate; background: radial-gradient(ellipse at 76% 43%,#154f8799,transparent 65%),linear-gradient(125deg,#0d203a66,transparent 65%); }
.hero-stage::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg,transparent,#31558080,transparent); }
.home-hero { grid-template-columns: .85fr 1.15fr; gap: 44px; padding-block: 98px; }
.hero-copy h1 { font-size: clamp(52px,5.3vw,78px); line-height: 1.05; }
.hero-copy > p { max-width: 440px; }
.hero-art { position: relative; padding: 8px; border-radius: 24px; background: linear-gradient(135deg,#75bcff50,#183c6444 55%,#53b9ff44); border: 1px solid #69afff30; box-shadow: 0 30px 70px #0008, 0 0 75px #1688ff18; transform: rotate(-2deg); }
.hero-art img { border-radius: 16px; }
.hero-baseline { border-top: 0; padding-block: 26px; }
.work-section { padding-block: 64px 94px; }
.product-filters { padding: 5px; border: 1px solid var(--line); background: #0b1425; border-radius: 12px; box-shadow: inset 0 2px 6px #0003; }
.filter { min-height: 44px; padding: 10px 16px; font-weight: 600; border-radius: 8px; }
.filter span { font-size: 10px; opacity: .75; }
.filter.active { border-color: #405777; background: linear-gradient(135deg,#223852,#17273c); box-shadow: 0 3px 9px #0004,inset 0 1px 0 #ffffff0a; }
.product-grid { gap: 28px; align-items: stretch; }
.product-card { min-width: 0; background: linear-gradient(145deg,#132239,#0c1628); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s,border-color .25s,box-shadow .25s; }
.product-card-link { height: 100%; padding: 9px; border-radius: inherit; }
.product-card-link:focus-visible { outline-offset: 4px; }
.product-card .product-visual { height: 308px; border-radius: 16px; }
.card-content { padding: 23px 20px 21px; }
.card-heading { margin-top: 0; }
.card-heading h3 { font-size: 28px; }
.card-arrow { width: 42px; height: 42px; color: var(--product-accent); border-color: #3d5370; background: #17273d; flex-shrink: 0; transition: transform .25s,background .25s; }
.card-arrow svg { width: 19px; height: 19px; }
.card-meta { flex-wrap: wrap; font-size: 11px; }
.product-card p { font-size: 15px; line-height: 1.7; margin-top: 12px; }
.product-card-link:hover .product-visual { transform: none; box-shadow: none; }
.visual-blockguard { background: radial-gradient(ellipse at 5% 10%,#225a83,transparent 68%),linear-gradient(135deg,#163750,#0c1d31); border-color: #365d7d; }
.visual-pupboard { background: radial-gradient(ellipse at 0% 0%,#fffef1,transparent 65%),linear-gradient(145deg,#e3efdf,#b7d6c5); border-color: #d9e6d4; }
.visual-icon { box-shadow: 0 8px 20px #0003; }
.screen-frame { box-shadow: 0 18px 34px #0008,0 0 0 1px #6d91b74d; }
.pupboard-poster { box-shadow: 0 18px 35px #133e3844; }
.visual-spin-cycle { border-color: #374f69; }
.visual-cat-tower-chaos { border-color: #5b345f; }
.art-caption { font-size: 10px; border: 1px solid #ffffff20; }
@media(hover:hover) {
  .product-card:hover { transform: translateY(-6px); border-color: var(--product-accent); box-shadow: 0 30px 65px #0007,inset 0 1px 0 #ffffff16; }
  .product-card:hover .card-arrow { transform: rotate(45deg); background: #263d58; }
}
.studio-section { border-color: #35567b; background: radial-gradient(ellipse at 8% 80%,#163e6877,transparent 55%),linear-gradient(130deg,#0e1d32,#0b1525); }
.studio-inner { padding-block: 86px; }
.studio-inner h2 { font-size: clamp(42px,4.5vw,60px); }
.studio-copy { padding-left: 35px; border-left: 1px solid #415d7e; }
.studio-lead { font-size: 28px; font-weight: 600; }
.studio-copy > p:not(.studio-lead) { font-size: 16px; }
.contact-section { padding-block: 76px; }
.contact-inner { padding: 48px; border: 1px solid #304c71; border-radius: 22px; background: radial-gradient(ellipse at 100% 0%,#16446d66,transparent 65%),linear-gradient(135deg,#162840,#0e1b2d); box-shadow: var(--shadow); }
.contact-inner p { font-size: 15px; }
.contact-email { gap: 25px; font-size: clamp(16px,1.8vw,24px); white-space: normal; border-color: #5087b8; }
.contact-email span { overflow-wrap: anywhere; }
.site-footer { background: #050b16; }
.footer-bottom { color: #96a7bf; font-size: 12px; }

/* Product pages share the same depth and typography. */
.product-identity .app-icon { box-shadow: 0 10px 25px #0005; }
.product-description { font-size: 17px; }
.product-hero-media { padding: 9px 9px 0; border-radius: 23px; background: linear-gradient(135deg,#233650,#121c30); border: 1px solid #3a4e6a; box-shadow: var(--shadow); }
.product-hero-media .product-visual { height: 390px; }
.media-caption { font-size: 11px; padding: 14px 10px 16px; margin-top: 0; }
.feature-list { gap: 24px; }
.feature-item { padding: 25px; border-top: 2px solid #3f8bc6; border-radius: 0 0 14px 14px; background: linear-gradient(180deg,#122239,#0c162700); }
.feature-item h3 { font-size: 22px; }
.feature-item p { font-size: 15px; }
.product-note { font-size: 13px; }
.screenshot-gallery img { border-color: #46546c; box-shadow: 0 15px 38px #0005; }
.screenshot-gallery figcaption { font-size: 12px; }
.product-support-section { border: 1px solid #324b6b; border-radius: 20px; background: linear-gradient(135deg,#162840,#0e1b2d); padding: 38px; box-shadow: var(--shadow); }
.product-support-section p { font-size: 15px; }
.support-links { min-width: 0; }
.support-links a { overflow-wrap: anywhere; }
.more-product { border-radius: 14px; background: linear-gradient(135deg,#17263d,#101b2d); box-shadow: 0 6px 20px #0003; transition: border-color .2s,transform .2s; }
.more-product:hover { transform: translateY(-3px); }
.more-product small { font-size: 11px; }

/* Editorial privacy layout; policy wording remains unchanged. */
.privacy-page { max-width: 1240px; }
.privacy-header { position: relative; padding: 42px; border: 1px solid #365473; border-radius: 22px; background: radial-gradient(ellipse at 95% 0%,#213d6855,transparent 65%),linear-gradient(135deg,#172b45,#101c31); box-shadow: var(--shadow); }
.privacy-header .section-label { padding-right: 100px; }
.privacy-game-icon { position: absolute; top: 35px; right: 36px; width: 80px; height: 80px; border-radius: 18px; box-shadow: 0 10px 30px #0005; }
.privacy-date { font-size: 13px; }
.privacy-intro { max-width: 820px; }
.privacy-layout { display: grid; grid-template-columns: 285px minmax(0,1fr); align-items: start; gap: 52px; margin-top: 40px; }
.privacy-contents { position: sticky; top: 120px; max-height: calc(100svh - 144px); overflow-y: auto; padding: 24px; margin-top: 0; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg,#14233a,#0e192b); box-shadow: 0 12px 30px #0003; }
.privacy-contents ol { display: block; font-size: 13px; }
.privacy-contents li { padding-left: 3px; margin-top: 9px; }
.privacy-contents li::marker { color: #668cb7; font-size: 11px; }
.privacy-contents a { display: block; padding-block: 4px; line-height: 1.6; }
.privacy-body { min-width: 0; max-width: 800px; }
.privacy-body section { padding-block: 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.privacy-body section:first-child { padding-top: 3px; }
.privacy-body h2 { font-size: 26px; margin-bottom: 18px; }
.privacy-body p { font-size: 16px; color: #b9c8dc; }
.privacy-body p:last-child { margin-bottom: 0; }
.privacy-links .text-link { font-size: 14px; }
.privacy-body > .button { margin-top: 32px; }

@media(max-width:1100px) {
  .container { width: calc(100% - 64px); }
  .home-hero { gap: 30px; padding-block: 78px; }
  .hero-copy h1 { font-size: clamp(46px,5.4vw,60px); letter-spacing: -2.7px; }
  .product-card .product-visual { height: 280px; }
  .contact-inner { padding: 36px; gap: 28px; }
  .contact-inner h2 { font-size: 38px; }
  .contact-email { gap: 14px; font-size: 20px; }
  .product-hero-media .product-visual { height: 345px; }
  .feature-item { padding: 22px 18px; }
  .feature-list { gap: 18px; }
  .privacy-layout { grid-template-columns: 245px minmax(0,1fr); gap: 35px; }
  .privacy-contents { padding: 21px; }
}
@media(max-width:820px) {
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 82px; }
  .main-nav { gap: 20px; font-size: 12px; }
  .main-nav .nav-contact { margin-left: 0; padding: 10px 13px; }
  .home-hero { grid-template-columns: 1fr; padding-block: 60px 45px; gap: 40px; }
  .hero-copy h1 { font-size: 68px; }
  .hero-copy > p { max-width: 520px; font-size: 17px; }
  .hero-art { max-width: 660px; width: 100%; transform: none; }
  .hero-baseline { font-size: 11px; padding-block: 22px; }
  .work-section { padding-block: 45px 65px; }
  .product-grid { gap: 22px; }
  .product-card .product-visual { height: 250px; }
  .card-content { padding: 18px 13px; }
  .card-heading h3 { font-size: 24px; }
  .card-arrow { width: 36px; height: 36px; }
  .product-card p { font-size: 14px; }
  .studio-inner { gap: 30px; padding-block: 65px; }
  .studio-inner h2 { font-size: 44px; }
  .studio-copy { padding-left: 24px; }
  .studio-lead { font-size: 24px; }
  .studio-copy > p:not(.studio-lead) { font-size: 15px; }
  .contact-inner { gap: 25px; }
  .contact-email { font-size: 25px; }
  .product-hero-media { max-width: 650px; width: 100%; }
  .product-hero-media .product-visual { height: 370px; }
  .feature-item { padding: 24px; }
  .product-support-section { padding: 32px; }
  .privacy-layout { grid-template-columns: 1fr; gap: 30px; }
  .privacy-contents { position: static; max-height: none; overflow-y: visible; padding: 26px; }
  .privacy-contents ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
  .privacy-header { padding: 34px; }
  .privacy-header h1 { font-size: 52px; }
}
@media(max-width:600px) {
  html { scroll-padding-top: 92px; }
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 76px; }
  .brand img { width: 44px; height: 44px; }
  .brand > span { font-size: 22px; }
  .brand-sub { font-size: 8px; letter-spacing: 2.9px; }
  .menu-toggle { display: flex; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 1px solid #3a506e; border-radius: 10px; background: linear-gradient(135deg,#1b2d45,#102037); }
  .menu-toggle > span { display: block; width: 19px; height: 2px; background: var(--text); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; left: 0; top: 100%; width: 100%; padding: 14px 18px 20px; flex-direction: column; align-items: stretch; gap: 4px; background: #0d192b; border-bottom: 1px solid #3d5575; box-shadow: 0 18px 30px #0006; font-size: 15px; }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 14px 12px; border-radius: 8px; }
  .main-nav .nav-contact { justify-content: space-between; margin-top: 4px; padding: 14px 12px; }
  .home-hero { padding-block: 43px 30px; gap: 31px; }
  .hero-copy h1 { font-size: clamp(40px,11.5vw,65px); letter-spacing: -2.3px; }
  .hero-copy > p { font-size: 16px; margin-top: 23px; line-height: 1.75; }
  .hero-actions { margin-top: 26px; gap: 12px 18px; }
  .hero-actions .button { font-size: 14px; padding: 14px 19px; }
  .hero-actions .text-link { font-size: 13px; }
  .hero-art { padding: 6px; border-radius: 17px; box-shadow: 0 20px 40px #0007; }
  .hero-art img { border-radius: 10px; }
  .hero-baseline { flex-direction: column; gap: 5px; font-size: 11px; padding-block: 21px; }
  .work-section { padding-block: 34px 48px; }
  .section-label { font-size: 10px; margin-bottom: 12px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 23px; margin-bottom: 25px; }
  .section-heading h2 { font-size: 33px; letter-spacing: -1.1px; }
  .product-filters { width: 100%; }
  .filter { flex: 1; justify-content: center; padding: 10px 8px; }
  .product-grid { grid-template-columns: 1fr; gap: 25px; }
  .product-card-link { padding: 7px; }
  .product-card .product-visual { height: clamp(240px,66vw,330px); border-radius: 13px; }
  .card-content { padding: 19px 14px 20px; }
  .card-heading h3 { font-size: 27px; }
  .card-meta { font-size: 10px; }
  .product-card p { font-size: 15px; }
  .visual-copy strong { font-size: clamp(24px,7vw,33px); }
  .studio-inner { grid-template-columns: 1fr; gap: 30px; padding-block: 50px; }
  .studio-inner h2 { font-size: 42px; }
  .studio-copy { padding-left: 22px; }
  .contact-section { padding-block: 45px; }
  .contact-inner { padding: 28px 24px; border-radius: 18px; gap: 20px; }
  .contact-inner h2 { font-size: 34px; }
  .contact-inner p { font-size: 15px; margin-top: 18px; }
  .contact-email { font-size: clamp(15px,4.8vw,23px); gap: 14px; width: 100%; }
  .footer-bottom { font-size: 11px; }
  .product-identity .app-icon { box-shadow: 0 10px 25px #0005; }
  .product-copy > h2 { font-size: clamp(38px,10.8vw,54px); }
  .product-description { font-size: 16px; line-height: 1.8; }
  .product-copy .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .product-copy .hero-actions .text-link { justify-content: center; }
  .product-hero-media { padding: 7px 7px 0; border-radius: 18px; }
  .product-hero-media .product-visual { height: clamp(270px,76vw,360px); border-radius: 12px; }
  .media-caption { font-size: 11px; padding: 12px 8px 13px; }
  .feature-item { grid-template-columns: 24px 1fr; gap: 0 14px; padding: 22px 18px; }
  .feature-item h3 { font-size: 21px; }
  .feature-item p { font-size: 15px; }
  .product-note { font-size: 12px; }
  .screenshot-gallery figcaption { font-size: 11px; }
  .product-support-section { padding: 27px 24px; }
  .product-support-section p { font-size: 15px; }
  .support-links .text-link { font-size: 13px; }
  .privacy-page { padding-block: 20px 55px; }
  .privacy-header { padding: 26px 23px; border-radius: 18px; }
  .privacy-header h1 { font-size: 43px; }
  .privacy-header .section-label { padding-right: 0; max-width: calc(100% - 75px); min-height: 35px; }
  .privacy-game-icon { top: 22px; right: 23px; width: 58px; height: 58px; border-radius: 13px; }
  .privacy-intro { font-size: 16px; line-height: 1.8; margin-top: 21px; }
  .privacy-date { font-size: 12px; margin-top: 16px; }
  .privacy-layout { gap: 28px; margin-top: 25px; }
  .privacy-contents { padding: 23px; }
  .privacy-contents ol { grid-template-columns: 1fr; font-size: 14px; }
  .privacy-contents a { min-height: 44px; display: flex; align-items: center; padding-block: 7px; }
  .privacy-contents li { margin-top: 0; }
  .privacy-body h2 { font-size: 24px; }
  .privacy-body p { font-size: 16px; line-height: 1.85; }
  .privacy-body section { padding-block: 27px; scroll-margin-top: 16px; }
  .privacy-body > .button { width: 100%; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .main-nav { display: flex; position: static; flex-basis: 100%; padding: 0; border: 0; background: transparent; box-shadow: none; }
  html:not(.js) .site-header { position: relative; }
}
@media(max-width:360px) {
  .card-content { padding-inline: 10px; }
  .card-heading h3 { font-size: 24px; }
  .hero-actions > .button { width: 100%; }
  .privacy-header h1 { font-size: 37px; }
  .contact-inner,.product-support-section { padding-inline: 20px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; animation: none !important; }
}
