
:root{
  --bg:#090b10; --bg2:#0f1420; --panel:#101622; --panel2:#131b29; --line:rgba(255,255,255,.1);
  --text:#f4f7fb; --muted:#a7b0bf; --teal:#26e4c1; --teal2:#74ffe6; --lime:#b8ff4f; --violet:#7e6eff;
  --gold:#e5a71b; --radius:28px; --shadow:0 30px 80px rgba(0,0,0,.26);
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{
  margin:0; color:var(--text); font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif; line-height:1.55;
  background:
    radial-gradient(circle at 90% 0%,rgba(79,99,255,.10),transparent 26%),
    radial-gradient(circle at 0% 35%,rgba(38,228,193,.08),transparent 25%),
    var(--bg);
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none}
img{display:block; width:100%; height:auto}
button{font:inherit}
.shell{width:min(1180px,calc(100% - 36px)); margin:auto}
.skip-link{position:fixed; top:-100px; left:10px; background:#fff; color:#000; padding:10px 12px; border-radius:8px; z-index:1000}
.skip-link:focus{top:10px}
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:50; height:74px; background:rgba(9,11,16,.72);
  backdrop-filter:blur(18px); border-bottom:1px solid transparent; transition:.2s ease;
}
.site-header.scrolled{background:rgba(9,11,16,.92); border-bottom-color:var(--line)}
.nav-row{height:100%; display:flex; align-items:center; justify-content:space-between; gap:24px}
.brand{display:inline-flex; align-items:center; gap:12px}
.brand-symbol{width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:linear-gradient(145deg,#202737,#0d1118); border:1px solid rgba(255,255,255,.14)}
.brand-symbol span{width:22px; height:22px; border-radius:8px; display:grid; place-items:center; background:linear-gradient(145deg,var(--teal),var(--lime)); color:#07100d; font-weight:900; font-size:12px}
.brand-text{display:flex; flex-direction:column; line-height:.95}
.brand-text strong{font-size:15px; font-weight:900; letter-spacing:.01em}
.brand-text small{margin-top:5px; color:#92a0b6; font-size:8px; font-weight:800; letter-spacing:.38em}
.site-nav{display:flex; align-items:center; gap:24px}
.site-nav a{font-size:14px; color:#c8d0dc; font-weight:600}
.site-nav a:hover{color:#fff}
.lang-button{border:1px solid var(--line); background:rgba(255,255,255,.04); color:#fff; padding:8px 11px; border-radius:10px; font-weight:800; font-size:11px; cursor:pointer}
.menu-button{display:none; width:42px; height:42px; border:0; background:none; padding:10px; cursor:pointer}
.menu-button span{display:block; height:2px; background:#fff; margin:7px 0; border-radius:2px}

.hero{padding:150px 0 60px; min-height:100svh; display:flex; align-items:center}
.hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center}
.eyebrow{display:inline-block; padding:8px 12px; border-radius:999px; border:1px solid var(--line); background:rgba(255,255,255,.03); color:#bfd2d9; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase}
h1,h2,h3{margin:0; line-height:.98; letter-spacing:-.045em}
h1{font-size:clamp(52px,7vw,96px); margin-top:22px}
h2{font-size:clamp(38px,5vw,66px)}
.accent{background:linear-gradient(90deg,#fff 0,var(--violet) 36%,var(--teal) 72%,var(--lime) 100%); -webkit-background-clip:text; background-clip:text; color:transparent}
.hero-lead{margin:24px 0 0; max-width:680px; color:var(--muted); font-size:clamp(17px,1.7vw,21px); line-height:1.7}
.hero-actions,.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:32px}
.button{min-height:52px; padding:0 20px; border-radius:14px; border:1px solid var(--line); display:inline-flex; align-items:center; justify-content:center; font-weight:800; font-size:14px}
.button-primary{background:#f4f7fb; color:#0a0d12; border-color:#f4f7fb}
.button-primary:hover{transform:translateY(-2px)}
.button-quiet{background:rgba(255,255,255,.03)}
.button-quiet:hover{background:rgba(255,255,255,.07)}
.hero-meta{display:flex; align-items:center; gap:10px; margin-top:40px; color:#677286; font-size:10px; font-weight:900; letter-spacing:.16em}
.hero-meta i{width:4px; height:4px; border-radius:50%; background:var(--teal)}

.phone-stack{position:relative; min-height:620px}
.phone-card{
  position:absolute; overflow:hidden; border-radius:32px; border:1px solid rgba(255,255,255,.09); background:#0e1320;
  box-shadow:var(--shadow);
}
.phone-card img{width:100%; height:100%; object-fit:cover}
.phone-card.large{width:270px; height:560px; left:10px; top:10px; transform:rotate(-6deg)}
.phone-card.mid{width:250px; height:520px; right:10px; top:70px; transform:rotate(6deg)}
.phone-card.small{width:210px; height:440px; left:150px; bottom:0; transform:rotate(2deg)}

.section{padding:98px 0}
.section-heading{display:grid; grid-template-columns:1.1fr .9fr; gap:44px; align-items:end; margin-bottom:42px}
.kicker{display:block; margin-bottom:12px; color:var(--teal); font-size:11px; font-weight:900; letter-spacing:.16em; text-transform:uppercase}
.section-heading p, .product-copy p, .contact-card p{color:var(--muted); font-size:16px; line-height:1.75}
.project-grid{display:grid; grid-template-columns:1fr 1fr; gap:22px}
.project-card{
  border:1px solid var(--line); border-radius:28px; padding:16px; background:linear-gradient(155deg,rgba(255,255,255,.05),rgba(255,255,255,.018));
  box-shadow:var(--shadow);
}
.project-top{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px}
.project-kind, .status{
  display:inline-flex; align-items:center; gap:8px; padding:7px 10px; border:1px solid rgba(255,255,255,.08); border-radius:10px;
  background:rgba(255,255,255,.03); font-size:10px; font-weight:900; letter-spacing:.12em; color:#d6dde7
}
.status{font-size:9px; color:#bdc5d3}
.status i{width:7px; height:7px; border-radius:50%; background:#ffb152}
.status.live i{background:var(--lime); box-shadow:0 0 12px rgba(184,255,79,.65)}
.project-gallery.duo{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.project-gallery img{
  aspect-ratio:9/16; object-fit:cover; object-position:top center; border-radius:20px; border:1px solid rgba(255,255,255,.08); background:#0d1320
}
.project-body{padding:24px 6px 8px}
.project-body h3{font-size:34px}
.project-body p{min-height:72px}
.tags{display:flex; gap:8px; flex-wrap:wrap}
.tags span{padding:6px 9px; border-radius:999px; border:1px solid var(--line); color:#8f9cad; font-size:10px; font-weight:800}
.project-link{display:inline-flex; align-items:center; gap:10px; margin-top:20px; color:var(--teal); font-weight:800}
.project-link:hover{color:#fff}

.product-grid{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center}
.product-grid.reverse{grid-template-columns:1fr 1fr}
.product-section.alt{background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,0))}
.lead{font-size:18px !important; color:#d8e0ea !important}
.feature-list{padding-left:22px; color:#c5cfdb; line-height:1.8}
.gallery-three{display:grid; grid-template-columns:repeat(2,1fr); gap:14px}
.gallery-three figure{margin:0; border:1px solid var(--line); border-radius:24px; overflow:hidden; background:rgba(255,255,255,.02)}
.gallery-three img{aspect-ratio:9/16; object-fit:cover; object-position:top center}
.gallery-three figcaption{padding:10px 12px; color:#c7d1dc; font-size:12px; font-weight:700}
.gallery-three figure:first-child:nth-last-child(3){grid-column:1}
.gallery-three figure:last-child:nth-child(3){grid-column:1 / span 2; max-width:50%; justify-self:center}

.legal-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.legal-card{
  border:1px solid var(--line); border-radius:18px; padding:20px; min-height:118px;
  background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.015));
  display:flex; flex-direction:column; justify-content:space-between
}
.legal-card strong{font-size:16px}
.legal-card span{color:#97a4b6; font-size:13px}
.legal-card:hover{border-color:rgba(38,228,193,.5); transform:translateY(-2px)}

.contact-card{
  display:flex; justify-content:space-between; align-items:end; gap:32px;
  border:1px solid var(--line); border-radius:28px; padding:42px; background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.015))
}
.email-link{display:inline-flex; color:var(--teal); font-weight:800; font-size:20px}
.mini-meta{margin-top:12px; display:flex; flex-direction:column; gap:6px; color:#95a0b1; font-size:13px}

.site-footer{padding:48px 0 40px; border-top:1px solid var(--line)}
.footer-grid{display:grid; grid-template-columns:1fr 1fr 1fr; gap:30px}
.footer-tag{margin:16px 0 0; color:#758296; font-size:10px; font-weight:900; letter-spacing:.16em}
.footer-links{display:flex; flex-direction:column; gap:10px}
.footer-links a{color:#c2ccd7; font-size:13px}
.footer-meta{display:flex; flex-direction:column; align-items:flex-end; gap:6px; color:#7e8a9d; font-size:11px}

.inner-main{padding:142px 0 86px; min-height:calc(100vh - 160px)}
.inner-card{
  max-width:930px; border:1px solid var(--line); border-radius:28px;
  padding:44px; background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.015))
}
.inner-card h1{font-size:clamp(44px,6vw,74px); margin:10px 0 18px}
.inner-card h2{font-size:26px; margin:34px 0 12px}
.inner-card p, .inner-card li{color:#aeb7c5; font-size:15px; line-height:1.75}
.inner-card ul{padding-left:22px}
.back-link{display:inline-flex; gap:8px; align-items:center; color:#bac5d3; font-size:12px; font-weight:800; margin-bottom:20px}
.updated{color:#738094; font-size:12px; margin-top:0}

.reveal{opacity:0; transform:translateY(16px); transition:opacity .7s ease, transform .7s ease}
.reveal.in-view{opacity:1; transform:none}
.delay-1{transition-delay:.12s}
:focus-visible{outline:2px solid var(--teal); outline-offset:3px; border-radius:8px}

@media (max-width: 1020px){
  .hero{min-height:auto}
  .hero-grid, .section-heading, .project-grid, .product-grid, .footer-grid{grid-template-columns:1fr}
  .phone-stack{min-height:560px}
  .project-grid{display:grid}
  .contact-card{flex-direction:column; align-items:flex-start}
  .footer-meta{align-items:flex-start}
  .legal-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 700px){
  .shell{width:min(1180px,calc(100% - 24px))}
  .site-header{height:68px}
  .menu-button{display:block}
  .site-nav{
    position:absolute; left:10px; right:10px; top:76px; padding:14px; border:1px solid var(--line); border-radius:18px;
    background:rgba(10,13,19,.96); display:flex; flex-direction:column; align-items:stretch; gap:5px;
    opacity:0; transform:translateY(-8px); pointer-events:none; transition:.2s
  }
  .site-nav.open{opacity:1; transform:none; pointer-events:auto}
  .site-nav a, .lang-button{padding:12px; border-radius:10px}
  .lang-button{text-align:left}
  .hero{padding-top:118px; padding-bottom:36px}
  h1{font-size:52px}
  .phone-stack{min-height:440px}
  .phone-card.large{width:185px; height:385px}
  .phone-card.mid{width:170px; height:355px; top:50px}
  .phone-card.small{width:145px; height:300px; left:90px}
  .section{padding:72px 0}
  .project-gallery.duo{grid-template-columns:1fr 1fr}
  .gallery-three{grid-template-columns:1fr 1fr}
  .legal-grid{grid-template-columns:1fr}
  .gallery-three figure:last-child:nth-child(3){grid-column:auto; max-width:none; justify-self:stretch}
  .inner-main{padding-top:116px}
  .inner-card{padding:28px}
}


/* v4 — cleaner top presentation */
.hero-grid-clean{
  grid-template-columns:1.08fr .92fr;
  gap:64px;
}
.studio-showcase{
  min-height:520px;
  border:1px solid var(--line);
  border-radius:34px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 70% 25%,rgba(126,110,255,.18),transparent 28%),
    radial-gradient(circle at 26% 76%,rgba(38,228,193,.12),transparent 30%),
    linear-gradient(145deg,#111722,#0c1119);
  box-shadow:var(--shadow);
}
.showcase-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(135deg,#000 0 55%,transparent 95%);
}
.showcase-brand{
  position:absolute;
  left:50%;
  top:46%;
  transform:translate(-50%,-50%);
  display:flex;
  align-items:center;
  gap:18px;
  z-index:2;
}
.showcase-logo{
  width:108px;
  height:108px;
  border-radius:30px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,var(--teal),var(--lime));
  color:#07100d;
  font-size:54px;
  font-weight:950;
  box-shadow:0 0 70px rgba(38,228,193,.12);
}
.showcase-brand strong{
  display:block;
  font-size:31px;
  line-height:1;
  letter-spacing:.06em;
}
.showcase-brand span{
  display:block;
  color:#8692a5;
  font-size:10px;
  font-weight:900;
  letter-spacing:.42em;
  margin-top:9px;
}
.showcase-line{
  position:absolute;
  border:1px solid rgba(255,255,255,.1);
  border-radius:50%;
  left:50%;
  top:46%;
  transform:translate(-50%,-50%);
}
.line-a{width:290px;height:290px}
.line-b{width:410px;height:410px}
.showcase-chip{
  position:absolute;
  padding:8px 11px;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(12,16,23,.8);
  backdrop-filter:blur(8px);
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
}
.chip-one{left:12%;top:22%}
.chip-two{right:10%;top:34%}
.chip-three{left:18%;bottom:20%}
.showcase-copy{
  position:absolute;
  left:28px;
  right:28px;
  bottom:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:#6d798c;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
}
.showcase-copy i{
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--teal);
}
.studio-intro{
  padding-top:56px;
}
.studio-pillars{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.pillar{
  min-height:220px;
  border:1px solid var(--line);
  border-radius:22px;
  padding:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
}
.pillar>span{
  display:block;
  color:#536074;
  font-size:11px;
  font-weight:900;
  margin-bottom:44px;
}
.pillar strong{
  display:block;
  font-size:18px;
  margin-bottom:10px;
}
.pillar p{
  margin:0;
  color:#909daf;
  font-size:13px;
  line-height:1.65;
}
.projects-overview{
  padding-top:66px;
}
.overview-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.overview-card{
  min-height:220px;
  border:1px solid var(--line);
  border-radius:26px;
  padding:28px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:22px;
  align-items:center;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015));
  transition:.22s ease;
}
.overview-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,255,255,.18);
}
.overview-icon{
  width:76px;
  height:76px;
  border-radius:22px;
  display:grid;
  place-items:center;
  font-weight:950;
  font-size:24px;
  flex:0 0 auto;
}
.af-icon{
  background:linear-gradient(145deg,var(--teal),var(--teal2));
  color:#07120f;
}
.astro-icon{
  background:linear-gradient(145deg,#ffbd38,#e58b1b);
  color:#151007;
}
.overview-type{
  display:block;
  color:#758297;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
  margin-bottom:9px;
}
.overview-copy h3{
  font-size:32px;
}
.overview-copy p{
  margin:10px 0 0;
  color:#9ba7b8;
  font-size:14px;
  line-height:1.65;
  max-width:430px;
}
.overview-arrow{
  font-size:26px;
  color:#6c788b;
  transition:.2s;
}
.overview-card:hover .overview-arrow{
  transform:translateX(4px);
  color:#fff;
}

/* Product sections — screenshots are intentionally only here */
.product-section{
  border-top:1px solid rgba(255,255,255,.04);
}
.product-section .gallery-three{
  align-items:start;
}
.product-section .gallery-three figure{
  box-shadow:0 22px 58px rgba(0,0,0,.22);
}
.product-section .gallery-three img{
  background:#09101a;
}
#aiformnote .kicker{color:var(--teal)}
#astroquarry .kicker{color:#f4ad2f}

@media (max-width:1020px){
  .hero-grid-clean{grid-template-columns:1fr;gap:40px}
  .studio-showcase{min-height:440px}
  .studio-pillars{grid-template-columns:1fr 1fr}
  .overview-grid{grid-template-columns:1fr}
}
@media (max-width:700px){
  .studio-showcase{min-height:350px;border-radius:26px}
  .showcase-logo{width:82px;height:82px;border-radius:24px;font-size:40px}
  .showcase-brand strong{font-size:23px}
  .line-a{width:210px;height:210px}
  .line-b{width:300px;height:300px}
  .chip-one{left:7%;top:18%}
  .chip-two{right:6%;top:31%}
  .chip-three{left:10%;bottom:23%}
  .studio-pillars{grid-template-columns:1fr}
  .pillar{min-height:170px}
  .pillar>span{margin-bottom:28px}
  .overview-card{
    grid-template-columns:auto 1fr;
    min-height:190px;
    padding:22px;
  }
  .overview-arrow{
    display:none;
  }
  .overview-icon{width:62px;height:62px;border-radius:18px}
  .overview-copy h3{font-size:27px}
}


/* =========================================================
   V5 — studio-first redesign
   Inspired by clean product/game studio sites:
   strong typography, restrained navigation, project-led layout.
   ========================================================= */

.home-v5{
  --studio-bg:#080a0f;
  --studio-panel:#0d1119;
  --studio-line:rgba(255,255,255,.10);
  --studio-soft:#949eac;
  --studio-teal:#27dfc0;
  --studio-yellow:#f1b129;
  background:
    radial-gradient(circle at 78% 5%,rgba(87,74,255,.10),transparent 25%),
    radial-gradient(circle at 7% 45%,rgba(39,223,192,.055),transparent 24%),
    var(--studio-bg);
}

.home-v5 .site-header{
  background:rgba(8,10,15,.70);
}
.home-v5 .site-header.scrolled{
  background:rgba(8,10,15,.94);
}
.home-v5 .brand-text strong{
  letter-spacing:.035em;
}
.home-v5 .brand-text small{
  letter-spacing:.36em;
}

.hero-studio{
  padding:145px 0 72px;
  min-height:100svh;
  display:flex;
  align-items:center;
}
.hero-studio-grid{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:70px;
  align-items:center;
}
.studio-overline{
  display:block;
  color:#778295;
  font-size:10px;
  font-weight:900;
  letter-spacing:.2em;
  margin-bottom:24px;
}
.studio-title{
  margin:0;
  line-height:.83;
  letter-spacing:-.065em;
}
.studio-title>span{
  display:block;
  font-size:clamp(70px,8.5vw,128px);
  font-weight:900;
}
.studio-title>strong{
  display:block;
  font-size:clamp(70px,8.5vw,128px);
  font-weight:900;
  color:transparent;
  -webkit-text-stroke:1px rgba(255,255,255,.34);
}
.studio-tagline{
  display:flex;
  align-items:center;
  gap:13px;
  margin:27px 0 0;
  color:#f4f7fb;
  font-size:13px;
  font-weight:950;
  letter-spacing:.22em;
}
.studio-tagline i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--studio-teal);
  box-shadow:0 0 18px rgba(39,223,192,.55);
}
.studio-lead{
  max-width:620px;
  margin-top:24px;
  font-size:18px;
}

.studio-art{
  min-height:555px;
  position:relative;
  overflow:hidden;
  border-radius:34px;
  border:1px solid var(--studio-line);
  background:
    radial-gradient(circle at 75% 18%,rgba(125,107,255,.18),transparent 24%),
    radial-gradient(circle at 20% 80%,rgba(39,223,192,.12),transparent 24%),
    linear-gradient(145deg,#10151f,#0a0d13);
  box-shadow:0 34px 90px rgba(0,0,0,.28);
}
.art-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.032) 1px,transparent 1px);
  background-size:46px 46px;
  mask-image:linear-gradient(145deg,#000 0 63%,transparent 96%);
}
.art-number{
  position:absolute;
  right:-9px;
  top:17px;
  font-size:clamp(92px,11vw,156px);
  font-weight:950;
  letter-spacing:-.09em;
  color:rgba(255,255,255,.025);
}
.art-center{
  position:absolute;
  left:50%;
  top:48%;
  transform:translate(-50%,-50%);
}
.art-center-mark{
  width:128px;
  height:128px;
  display:grid;
  place-items:center;
  border-radius:36px;
  background:linear-gradient(145deg,var(--studio-teal),#b6ff55);
  color:#07110e;
  font-size:62px;
  font-weight:950;
  transform:rotate(7deg);
  box-shadow:0 0 0 18px rgba(255,255,255,.025),0 0 80px rgba(39,223,192,.13);
}
.art-block{
  position:absolute;
  min-width:145px;
  padding:16px 17px;
  border:1px solid var(--studio-line);
  border-radius:16px;
  background:rgba(11,14,21,.72);
  backdrop-filter:blur(14px);
}
.art-block span{
  display:block;
  color:#606c80;
  font-size:9px;
  font-weight:900;
}
.art-block strong{
  display:block;
  margin-top:8px;
  font-size:20px;
}
.art-block small{
  display:block;
  margin-top:2px;
  color:#6f7a8b;
  font-size:7px;
  letter-spacing:.1em;
}
.art-apps{left:8%;top:16%}
.art-games{right:7%;bottom:19%}
.art-footer{
  position:absolute;
  left:24px;
  right:24px;
  bottom:23px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:11px;
  color:#657185;
  font-size:8px;
  font-weight:900;
  letter-spacing:.18em;
}
.art-footer i{
  width:4px;height:4px;border-radius:50%;background:var(--studio-teal);
}

.studio-strip{
  border-top:1px solid var(--studio-line);
  border-bottom:1px solid var(--studio-line);
  overflow:hidden;
  white-space:nowrap;
}
.strip-track{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  color:#798598;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
}
.strip-track i{
  width:4px;height:4px;border-radius:50%;background:#384355;
}

.work-section{
  padding-top:112px;
}
.work-list{
  border-top:1px solid var(--studio-line);
}
.work-row{
  display:grid;
  grid-template-columns:80px 1fr 1.2fr 40px;
  gap:25px;
  align-items:center;
  min-height:150px;
  border-bottom:1px solid var(--studio-line);
  transition:.22s ease;
}
.work-row:hover{
  padding-left:10px;
}
.work-index{
  color:#536075;
  font-size:11px;
  font-weight:900;
}
.work-name small{
  display:block;
  color:#687589;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
  margin-bottom:5px;
}
.work-name strong{
  font-size:32px;
  letter-spacing:-.035em;
}
.work-row p{
  margin:0;
  color:#8d99aa;
  font-size:14px;
  line-height:1.65;
  max-width:450px;
}
.work-arrow{
  font-size:24px;
  color:#5d697b;
  transition:.2s;
}
.work-row:hover .work-arrow{
  color:#fff;
  transform:translate(3px,3px);
}

.studio-section{
  border-top:1px solid rgba(255,255,255,.035);
}
.studio-layout{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:90px;
}
.studio-story{
  max-width:680px;
}
.studio-story-lead{
  margin:0;
  color:#e2e7ee;
  font-size:clamp(21px,2vw,27px);
  line-height:1.5;
}
.studio-story>p:not(.studio-story-lead){
  color:#929dad;
  font-size:15px;
  line-height:1.75;
  margin-top:25px;
}
.studio-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-top:42px;
  border-top:1px solid var(--studio-line);
  border-left:1px solid var(--studio-line);
}
.studio-stats>div{
  min-height:120px;
  padding:18px;
  border-right:1px solid var(--studio-line);
  border-bottom:1px solid var(--studio-line);
}
.studio-stats strong{
  display:block;
  font-size:32px;
  letter-spacing:-.05em;
}
.studio-stats span{
  display:block;
  margin-top:20px;
  color:#6f7b8d;
  font-size:10px;
}

.product-detail{
  border-top:1px solid rgba(255,255,255,.045);
}
.product-dark{
  background:linear-gradient(180deg,rgba(255,255,255,.015),rgba(255,255,255,0));
}
.product-heading{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:end;
  margin-bottom:42px;
}
.product-index{
  display:block;
  color:#69768a;
  font-size:10px;
  font-weight:900;
  letter-spacing:.16em;
  margin-bottom:12px;
}
.product-heading h2{
  font-size:clamp(54px,6vw,84px);
}
.product-intro p{
  margin:0;
  color:#a0abb9;
  font-size:16px;
  line-height:1.75;
  max-width:560px;
}
.product-intro .tags{
  margin-top:20px;
}
.product-intro .cta-row{
  margin-top:24px;
}

.screenshot-gallery{
  display:grid;
  gap:14px;
  width:100%;
}
.app-gallery{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.game-gallery{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.screenshot-gallery figure{
  margin:0;
  min-width:0;
  border:1px solid var(--studio-line);
  border-radius:24px;
  overflow:hidden;
  background:#0c111a;
  box-shadow:0 22px 52px rgba(0,0,0,.20);
}
.screenshot-gallery img{
  width:100%;
  aspect-ratio:9/18;
  object-fit:cover;
  object-position:top center;
  background:#09101a;
}
.screenshot-gallery figcaption{
  min-height:46px;
  padding:12px 14px;
  display:flex;
  align-items:center;
  gap:10px;
  border-top:1px solid var(--studio-line);
  color:#ccd3dd;
  font-size:11px;
  font-weight:800;
}
.screenshot-gallery figcaption span{
  color:#536074;
  font-size:9px;
}

.contact-clean{
  max-width:860px;
}
.contact-clean h2{
  margin-top:0;
}
.contact-clean>p{
  color:#8f9cad;
  margin:16px 0 30px;
}
.contact-mail{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
  padding:18px 0;
  border-top:1px solid var(--studio-line);
  border-bottom:1px solid var(--studio-line);
  font-size:clamp(22px,3vw,36px);
  font-weight:800;
  letter-spacing:-.035em;
}
.contact-mail span{
  color:var(--studio-teal);
  font-size:23px;
}

.legal-footer{
  padding:44px 0 28px;
  border-top:1px solid var(--studio-line);
}
.footer-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:40px;
}
.legal-footer .footer-links{
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:18px;
}
.legal-footer .footer-links a{
  color:#8e99a9;
  font-size:11px;
}
.legal-line{
  margin-top:36px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.065);
  display:flex;
  flex-wrap:wrap;
  gap:8px 22px;
  color:#5f6b7d;
  font-size:9px;
  line-height:1.6;
}

@media (max-width:1020px){
  .hero-studio-grid{
    grid-template-columns:1fr;
    gap:44px;
  }
  .studio-art{
    min-height:430px;
  }
  .work-row{
    grid-template-columns:60px 1fr 40px;
  }
  .work-row p{
    grid-column:2/3;
    padding-bottom:22px;
  }
  .work-arrow{
    grid-column:3;
    grid-row:1/3;
  }
  .studio-layout,
  .product-heading{
    grid-template-columns:1fr;
    gap:35px;
  }
  .app-gallery{
    grid-template-columns:repeat(2,1fr);
  }
  .game-gallery{
    grid-template-columns:repeat(3,1fr);
  }
}

@media (max-width:700px){
  .hero-studio{
    padding-top:112px;
    min-height:auto;
  }
  .studio-title>span,
  .studio-title>strong{
    font-size:clamp(58px,19vw,88px);
  }
  .studio-art{
    min-height:335px;
    border-radius:25px;
  }
  .art-center-mark{
    width:86px;height:86px;border-radius:25px;font-size:42px;
  }
  .art-block{
    min-width:115px;
    padding:12px;
  }
  .art-block strong{
    font-size:16px;
  }
  .art-apps{left:5%;top:13%}
  .art-games{right:5%;bottom:19%}
  .strip-track{
    justify-content:flex-start;
    padding-left:18px;
    gap:18px;
    overflow:hidden;
  }
  .work-row{
    grid-template-columns:42px 1fr 28px;
    gap:13px;
    min-height:142px;
  }
  .work-name strong{
    font-size:26px;
  }
  .work-row p{
    font-size:12px;
  }
  .studio-stats{
    grid-template-columns:1fr;
  }

  /* gallery is one clean horizontal row on mobile */
  .app-gallery,
  .game-gallery{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:9px;
    scrollbar-width:thin;
  }
  .screenshot-gallery figure{
    flex:0 0 72vw;
    max-width:280px;
    scroll-snap-align:start;
  }
  .screenshot-gallery img{
    aspect-ratio:9/18;
  }
  .product-heading h2{
    font-size:52px;
  }
  .contact-mail{
    font-size:20px;
    word-break:break-word;
  }
  .footer-top{
    flex-direction:column;
  }
  .legal-footer .footer-links{
    justify-content:flex-start;
  }
}


/* V7 product subpages */
.product-page-v7 .site-header{position:fixed}
.product-page-hero{
  padding:150px 0 86px;
  min-height:88svh;
  display:flex;
  align-items:center;
}
.product-page-hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:68px;
  align-items:center;
}
.astro-title{
  font-size:clamp(66px,8vw,118px);
  letter-spacing:-.065em;
}
.astro-subtitle{
  margin:18px 0 0;
  color:#f0b131;
  font-size:clamp(18px,2vw,27px);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.astro-hero-card{
  min-height:520px;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  border-radius:34px;
  background:
    radial-gradient(circle at 50% 46%,rgba(235,167,28,.12),transparent 25%),
    radial-gradient(circle at 80% 15%,rgba(122,92,255,.13),transparent 28%),
    linear-gradient(145deg,#14121b,#090c12);
  box-shadow:0 34px 90px rgba(0,0,0,.28);
}
.astro-orbit{
  position:absolute;
  left:50%;
  top:48%;
  transform:translate(-50%,-50%);
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
}
.orbit-one{width:255px;height:255px}
.orbit-two{width:390px;height:390px}
.astro-pickaxe{
  position:absolute;
  left:50%;
  top:35%;
  transform:translate(-50%,-50%);
  font-size:88px;
  filter:drop-shadow(0 20px 30px rgba(0,0,0,.3));
}
.astro-word{
  position:absolute;
  left:50%;
  top:53%;
  transform:translateX(-50%);
  font-size:58px;
  font-weight:950;
  letter-spacing:-.06em;
}
.astro-word.quarry{
  top:64%;
  color:#f0b131;
}
.astro-chips{
  position:absolute;
  left:20px;
  right:20px;
  bottom:22px;
  display:flex;
  justify-content:center;
  gap:8px;
}
.astro-chips span{
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background:rgba(255,255,255,.025);
  color:#798599;
  font-size:8px;
  font-weight:900;
  letter-spacing:.14em;
}
.astro-gallery-v7{
  max-width:930px;
  margin-inline:auto;
}
.astro-features{
  border-top:1px solid rgba(255,255,255,.045);
}
@media (max-width:1020px){
  .product-page-hero-grid{grid-template-columns:1fr}
  .astro-hero-card{min-height:430px}
}
@media (max-width:700px){
  .product-page-hero{padding-top:116px;min-height:auto}
  .astro-hero-card{min-height:340px;border-radius:25px}
  .astro-pickaxe{font-size:62px}
  .astro-word{font-size:42px}
}


/* V8 product galleries + Astro core loop */
.product-gallery-section{border-top:1px solid rgba(255,255,255,.04);padding-top:96px}
.home-product-gallery{margin-top:48px;padding-top:28px;border-top:1px solid var(--studio-line)}
.home-product-gallery+.home-product-gallery{margin-top:72px}
.home-gallery-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}
.home-gallery-head small{display:block;color:#657185;font-size:9px;font-weight:900;letter-spacing:.15em;margin-bottom:7px}
.home-gallery-head h3{margin:0;font-size:clamp(30px,4vw,48px);letter-spacing:-.045em}
.home-gallery-head>a{color:#9ba6b6;font-size:12px;font-weight:800;border-bottom:1px solid rgba(255,255,255,.14);padding-bottom:4px}
.home-gallery-head>a:hover{color:#fff}
.astro-loop-section{border-top:1px solid rgba(255,255,255,.045)}
.astro-loop-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--studio-line);border-left:1px solid var(--studio-line);margin-top:42px}
.astro-loop-grid article{min-height:190px;padding:24px;border-right:1px solid var(--studio-line);border-bottom:1px solid var(--studio-line)}
.astro-loop-grid span{display:block;color:#657185;font-size:10px;font-weight:900;letter-spacing:.14em}
.astro-loop-grid strong{display:block;margin-top:42px;font-size:18px;letter-spacing:.05em}
.astro-loop-grid p{margin:12px 0 0;color:#8e99aa;font-size:13px;line-height:1.6}
.fair-play-card{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;margin-top:54px;padding:34px;border:1px solid rgba(240,177,49,.22);border-radius:28px;background:linear-gradient(135deg,rgba(240,177,49,.06),rgba(255,255,255,.018))}
.fair-play-card h3{font-size:clamp(27px,3vw,40px);line-height:1.08;margin:8px 0 0;letter-spacing:-.04em}
.fair-play-card ul{margin:0;padding-left:20px;color:#aab3bf;line-height:1.75}
.legal-divider{border:0;border-top:1px solid var(--studio-line);margin:40px 0}
@media(max-width:1020px){.astro-loop-grid{grid-template-columns:repeat(2,1fr)}.fair-play-card{grid-template-columns:1fr;gap:28px}}
@media(max-width:700px){.product-gallery-section{padding-top:72px}.home-gallery-head{align-items:flex-start;flex-direction:column}.home-product-gallery+.home-product-gallery{margin-top:56px}.astro-loop-grid{grid-template-columns:1fr}.astro-loop-grid article{min-height:150px}.astro-loop-grid strong{margin-top:24px}.fair-play-card{padding:24px;border-radius:22px}}

.home-gallery-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap}
.home-gallery-actions a{color:#9ba6b6;font-size:12px;font-weight:800;border-bottom:1px solid rgba(255,255,255,.14);padding-bottom:4px;text-decoration:none}
.home-gallery-actions a:hover{color:#fff}
@media(max-width:700px){.home-gallery-actions{justify-content:flex-start;gap:14px}}


/* v23 — Dino POOP! product page */
.dino-page{--dino-green:#69b95b;--dino-green-light:#8bd779;--dino-cream:#fff4c2;--dino-brown:#7a4b2a}
.dino-hero{background:linear-gradient(180deg,#d7f3ff 0%,#eefaff 54%,#fff9dc 100%);color:#24343a;overflow:hidden}
.dino-hero .studio-overline,.dino-hero .hero-meta{color:#53717a}
.dino-hero .hero-meta i{background:var(--dino-green)}
.dino-hero .hero-lead{color:#526b72}
.dino-hero .button-primary{background:var(--dino-green);border-color:var(--dino-green);color:#fff}
.dino-hero .button-primary:hover{background:#5aa84e;border-color:#5aa84e}
.dino-hero .button-quiet{color:#36555d;border-color:rgba(54,85,93,.25);background:rgba(255,255,255,.58)}
.dino-hero-grid{display:grid;grid-template-columns:1fr .9fr;gap:64px;align-items:center}
.dino-title{color:#263238;margin-bottom:12px}
.dino-title strong{color:var(--dino-green)}
.dino-subtitle{font-size:clamp(22px,2.6vw,34px);font-weight:850;letter-spacing:-.025em;color:#3f5c64;margin:0 0 20px}
.dino-hero-card{min-height:520px;border:1px solid rgba(79,131,143,.18);border-radius:38px;position:relative;overflow:hidden;display:grid;place-items:center;background:linear-gradient(180deg,#aee7ff 0%,#e8f9ff 55%,#fff4c2 55%,#ffe9a4 100%);box-shadow:0 28px 80px rgba(54,94,104,.18)}
.dino-hero-card:after{content:"";position:absolute;left:-5%;right:-5%;bottom:-12%;height:38%;border-radius:50%;background:#8bd779;box-shadow:0 -8px 0 #69b95b}
.dino-hero-card img{position:relative;z-index:3;width:min(43%,240px);height:auto;filter:drop-shadow(0 18px 24px rgba(58,88,70,.16));transform:translateY(-34px)}
.dino-card-title{position:absolute;z-index:4;left:0;right:0;top:58%;text-align:center;font-size:52px;font-weight:950;letter-spacing:-.04em;color:#263238;text-shadow:0 3px 0 rgba(255,255,255,.7)}
.dino-card-title strong{color:#7a4b2a}
.dino-card-chips{position:absolute;z-index:4;bottom:32px;left:24px;right:24px;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.dino-card-chips span{background:rgba(255,255,255,.86);color:#486a50;border:1px solid rgba(75,118,75,.2);border-radius:999px;padding:7px 10px;font-size:9px;font-weight:950;letter-spacing:.12em}
.dino-sun{position:absolute;width:120px;height:120px;border-radius:50%;right:38px;top:34px;background:#ffe673;box-shadow:0 0 0 16px rgba(255,230,115,.28)}
.dino-cloud{position:absolute;width:130px;height:44px;border-radius:999px;background:rgba(255,255,255,.88)}
.dino-cloud:before,.dino-cloud:after{content:"";position:absolute;border-radius:50%;background:inherit}.dino-cloud:before{width:54px;height:54px;left:18px;bottom:8px}.dino-cloud:after{width:70px;height:70px;right:18px;bottom:5px}.cloud-a{left:-26px;top:84px}.cloud-b{right:-40px;top:210px;transform:scale(.72)}
.dino-game-section{background:#fffdf3;color:#293b40}
.dino-game-section .section-heading p,.dino-progress-section .product-copy p,.dino-parent-section .section-heading p{color:#64777d}
.dino-feature-grid,.dino-parent-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.dino-feature-grid article,.dino-parent-grid article{min-height:210px;border:1px solid rgba(91,130,103,.18);border-radius:24px;padding:24px;background:#fff;box-shadow:0 18px 50px rgba(74,108,82,.08)}
.dino-feature-grid article>span{display:block;color:#9ab6a0;font-size:11px;font-weight:950;margin-bottom:40px}
.dino-feature-grid strong,.dino-parent-grid strong{display:block;color:#3b7246;font-size:19px;margin-bottom:10px}
.dino-feature-grid p,.dino-parent-grid p{margin:0;color:#64777d;font-size:13px;line-height:1.65}
.dino-progress-section{background:linear-gradient(180deg,#e9f9ff,#f7fff0);color:#2d4147}
.dino-progress-section .kicker,.dino-game-section .kicker,.dino-parent-section .kicker{color:#5c9e5b}
.dino-progress-section h2,.dino-game-section h2,.dino-parent-section h2{color:#263238}
.dino-progress-section .feature-list{color:#526970}
.dino-score-card{display:grid;gap:14px}
.score-bubble{border:1px solid rgba(83,129,91,.19);border-radius:28px;padding:24px;background:#fff;display:grid;grid-template-columns:100px 1fr auto;align-items:center;gap:20px;box-shadow:0 16px 40px rgba(69,112,78,.08)}
.score-bubble small{font-weight:950;letter-spacing:.13em;color:#7c9b83}.score-bubble strong{font-size:30px;color:#4f9550}.score-bubble span{font-size:12px;color:#7a8e93;text-align:right}
.dino-parent-section{background:#fff9dc;color:#293b40}
.dino-parent-grid article{background:rgba(255,255,255,.76)}
.dino-privacy-card h2{scroll-margin-top:100px}
.dino-work-row .work-name small{color:#72bf66}
@media(max-width:1020px){.dino-hero-grid{grid-template-columns:1fr}.dino-hero-card{min-height:440px}.dino-feature-grid,.dino-parent-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.dino-hero-card{min-height:380px;border-radius:28px}.dino-card-title{font-size:42px;top:57%}.dino-hero-card img{width:45%;transform:translateY(-32px)}.dino-feature-grid,.dino-parent-grid{grid-template-columns:1fr}.score-bubble{grid-template-columns:70px 1fr;gap:12px}.score-bubble span{grid-column:1 / -1;text-align:left}.dino-sun{width:86px;height:86px;right:24px;top:26px}}

/* V29 — AIFormNote Studio main hero artwork */
.home-v5 .hero-studio-grid{
  grid-template-columns:.74fr 1.26fr;
  gap:48px;
}
.studio-main-visual{
  margin:0;
  position:relative;
  overflow:hidden;
  border-radius:34px;
  border:1px solid var(--studio-line);
  background:#080a0f;
  box-shadow:0 34px 90px rgba(0,0,0,.32);
}
.studio-main-visual img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1672/941;
  object-fit:cover;
}
@media (max-width:1020px){
  .home-v5 .hero-studio-grid{grid-template-columns:1fr;gap:40px}
  .studio-main-visual{border-radius:28px}
}
@media (max-width:700px){
  .studio-main-visual{border-radius:22px}
}

/* V30 — unified studio UI + CZ/EN/DE localization shell */
.locale-switch{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  background:rgba(255,255,255,.035);
}
.locale-switch a{
  min-width:34px;
  height:30px;
  padding:0 8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  color:#8793a5;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.05em;
}
.locale-switch a:hover{color:#fff;background:rgba(255,255,255,.055)}
.locale-switch a.active{
  color:#06110f;
  background:linear-gradient(135deg,var(--teal),var(--teal2));
  box-shadow:0 6px 18px rgba(38,228,193,.16);
}
.product-nav-name{
  display:none;
  color:#718095;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* Shared product structure */
.product-v30{--product-accent:var(--teal)}
.product-v30 .kicker{color:var(--product-accent)}
.product-v30 .button-primary{
  background:var(--product-accent);
  border-color:var(--product-accent);
  color:#07100d;
}
.product-hero-v30{
  min-height:82svh;
  padding:146px 0 84px;
  display:flex;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.055);
  background:
    radial-gradient(circle at 78% 22%,color-mix(in srgb,var(--product-accent) 14%,transparent),transparent 29%),
    linear-gradient(180deg,rgba(255,255,255,.015),transparent 64%);
}
.product-hero-grid-v30{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(380px,1.1fr);
  gap:62px;
  align-items:center;
}
.product-hero-v30 h1{
  margin:15px 0 0;
  font-size:clamp(58px,7.5vw,108px);
  line-height:.92;
  letter-spacing:-.065em;
}
.product-lead-v30{
  max-width:760px;
  margin:24px 0 0;
  color:#a9b3c0;
  font-size:clamp(16px,1.65vw,20px);
  line-height:1.7;
}
.product-meta-v30{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:28px;
}
.product-meta-v30 span{
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:999px;
  color:#7d899b;
  background:rgba(255,255,255,.025);
  font-size:9px;
  font-weight:900;
  letter-spacing:.11em;
}
.product-media-v30{
  min-height:440px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  border-radius:32px;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
  box-shadow:0 30px 80px rgba(0,0,0,.25);
}
.product-media-v30>img{
  width:100%;
  height:100%;
  max-height:560px;
  object-fit:cover;
}
.feature-grid-v30{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}
.feature-grid-v30 article{
  min-height:220px;
  padding:26px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:linear-gradient(145deg,rgba(255,255,255,.028),rgba(255,255,255,.008));
}
.feature-grid-v30 small{
  display:block;
  color:#677589;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}
.feature-grid-v30 h3{
  margin:45px 0 10px;
  font-size:24px;
  letter-spacing:-.035em;
}
.feature-grid-v30 p{
  margin:0;
  color:#929dad;
  font-size:13px;
  line-height:1.65;
}
.product-section-v30{
  border-top:1px solid rgba(255,255,255,.045);
}
.product-section-v30 h2{max-width:900px}
.unified-list{
  max-width:850px;
  margin:30px 0 0;
  padding-left:22px;
  color:#aab4c1;
  line-height:1.85;
}
.product-cta-v30{
  border-top:1px solid rgba(255,255,255,.05);
  background:linear-gradient(180deg,rgba(255,255,255,.012),transparent);
}
.vector-orbit-v30{
  width:min(68%,360px);
  aspect-ratio:1;
  position:relative;
  display:grid;
  place-items:center;
}
.vector-core-v30{
  position:absolute;
  width:40%;
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#fff 0 2%,#a89cff 8%,#39287c 40%,#080b12 72%);
  box-shadow:0 0 70px rgba(126,110,255,.34);
}
.vector-ring-v30{
  position:absolute;
  width:100%;
  height:42%;
  border:2px solid color-mix(in srgb,var(--product-accent) 75%,white);
  border-radius:50%;
  transform:rotate(-18deg);
  box-shadow:0 0 28px color-mix(in srgb,var(--product-accent) 35%,transparent);
}
.vector-ring-v30.r2{width:72%;height:28%;transform:rotate(28deg)}
.vector-orbit-v30 strong{position:relative;z-index:2;font-size:88px;font-weight:950;color:#fff;letter-spacing:-.08em}

.vector-screen-gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:34px;
}
.vector-shot-v30{
  padding:24px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  background:linear-gradient(150deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
  box-shadow:0 22px 62px rgba(0,0,0,.18);
}
.vector-shot-v30 small{
  display:block;
  color:#78859a;
  font-size:9px;
  font-weight:900;
  letter-spacing:.13em;
}
.vector-shot-v30 h3{
  margin:14px 0 0;
  font-size:24px;
  letter-spacing:-.035em;
}
.vector-shot-v30 p{
  margin:16px 0 0;
  color:#98a3b3;
  font-size:13px;
  line-height:1.7;
}
.vector-shot-stage{
  position:relative;
  min-height:210px;
  margin-top:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  overflow:hidden;
  background:radial-gradient(circle at 50% 15%,rgba(126,110,255,.16),transparent 36%),linear-gradient(180deg,#121523,#090b12 72%);
}
.hud-pill{
  position:absolute;
  left:14px;
  top:14px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  color:#d9e0ee;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}
.node-row{
  position:absolute;
  left:16px;
  right:16px;
  top:62px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.node{
  width:16px;height:16px;border-radius:50%;display:block;
  border:2px solid rgba(255,255,255,.45); background:rgba(255,255,255,.08);
  box-shadow:0 0 0 6px rgba(255,255,255,.015);
}
.node.active{background:#7e6eff; border-color:#c5bcff; box-shadow:0 0 20px rgba(126,110,255,.45)}
.node.boss{background:#ff7bc8; border-color:#ffd5ef}
.path-line{position:absolute;left:24px;right:24px;top:69px;height:2px;background:linear-gradient(90deg,rgba(126,110,255,.65),rgba(255,255,255,.2))}
.vector-ship{
  position:absolute;
  width:54px;height:28px;
  border-radius:18px 18px 8px 8px;
  background:linear-gradient(90deg,#d8dfff,#7e6eff 55%,#3d2d91);
  box-shadow:0 0 22px rgba(126,110,255,.45);
}
.vector-ship::before,.vector-ship::after{content:'';position:absolute;top:9px;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;}
.vector-ship::before{left:-8px;border-right:10px solid #e6ebff;}
.vector-ship::after{right:-8px;border-left:10px solid #8e7fff;}
.ship-center{left:50%;bottom:40px;transform:translateX(-50%)}
.ship-left{left:26px;bottom:46px;transform:rotate(8deg)}
.ship-right{right:26px;top:78px;transform:rotate(188deg)}
.enemy{filter:hue-rotate(130deg) saturate(1.2)}
.energy-shot{position:absolute;left:92px;top:126px;width:88px;height:4px;border-radius:999px;background:linear-gradient(90deg,rgba(255,255,255,0),#7e6eff,#d7d2ff);box-shadow:0 0 16px rgba(126,110,255,.6)}
.arena-ring{position:absolute;inset:auto 20px 18px;top:58px;border:1px solid rgba(126,110,255,.22);border-radius:24px}
.split-line{position:absolute;left:50%;top:0;bottom:0;width:1px;background:rgba(255,255,255,.11)}
.control-pad{position:absolute;bottom:16px;display:flex;gap:8px}
.control-pad.left{left:16px}
.control-pad.right{right:16px}
.control-pad b{display:block;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.11)}
.ship-local-left{left:70px;top:82px;transform:rotate(18deg)}
.ship-local-right{right:70px;top:82px;transform:rotate(198deg)}
.stage-local{background:radial-gradient(circle at 28% 35%,rgba(126,110,255,.18),transparent 28%),radial-gradient(circle at 72% 35%,rgba(255,123,200,.16),transparent 28%),linear-gradient(180deg,#121523,#090b12 72%)}

/* Unified legal pages preserve their existing content and URLs */
.legal-page-v30 .inner-main{padding-top:126px}
.unified-legal-card{
  max-width:980px;
  background:linear-gradient(155deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
  box-shadow:0 24px 70px rgba(0,0,0,.18);
}
.unified-legal-card h2{scroll-margin-top:100px}
.unified-legal-card code{
  padding:.15em .38em;
  border:1px solid rgba(255,255,255,.09);
  border-radius:6px;
  background:rgba(255,255,255,.04);
  color:#dfe8f2;
}
.unified-legal-card a:not(.back-link){color:var(--teal);text-decoration:underline;text-decoration-color:rgba(38,228,193,.35);text-underline-offset:3px}

/* Shared showcase on studio home */
.unified-showcase{border-top:1px solid rgba(255,255,255,.045)}
.unified-showcase-grid{
  display:grid;
  grid-template-columns:1.45fr .775fr .775fr;
  gap:14px;
}
.showcase-card{
  margin:0;
  overflow:hidden;
  border:1px solid var(--studio-line,rgba(255,255,255,.08));
  border-radius:24px;
  background:#0a0d13;
  box-shadow:0 20px 50px rgba(0,0,0,.18);
}
.showcase-card img{width:100%;height:100%;min-height:300px;object-fit:cover}
.showcase-card.large img{object-position:center}

/* Bring legacy product pages into the same studio shell */
.unified-product .site-header,
.legal-page-v30 .site-header{background:rgba(7,10,14,.94)}
.unified-product .legal-footer,
.legal-page-v30 .legal-footer{background:#080a0f}
.unified-product .footer-top,
.legal-page-v30 .footer-top{align-items:center}

@media(max-width:1120px){
  .site-nav{gap:16px}
  .site-nav>a{font-size:12px}
  .product-hero-grid-v30{grid-template-columns:1fr;gap:38px}
  .product-media-v30{min-height:380px}
  .feature-grid-v30{grid-template-columns:repeat(2,1fr)}
  .unified-showcase-grid{grid-template-columns:1fr 1fr}
  .showcase-card.large{grid-column:1/-1}
}
@media(max-width:700px){
  .site-nav .locale-switch{margin:8px 8px 4px;width:max-content}
  .product-nav-name{display:none}
  .product-hero-v30{min-height:auto;padding:112px 0 64px}
  .product-hero-v30 h1{font-size:clamp(48px,15vw,70px)}
  .product-media-v30{min-height:280px;border-radius:24px}
  .feature-grid-v30{grid-template-columns:1fr}
  .feature-grid-v30 article{min-height:160px;padding:22px}
  .feature-grid-v30 h3{margin-top:26px}
  .vector-shot-v30{padding:20px}
  .vector-shot-stage{min-height:190px}
  .unified-showcase-grid{grid-template-columns:1fr}
  .showcase-card.large{grid-column:auto}
  .showcase-card img{min-height:0;height:auto}
  .unified-legal-card{padding:26px 22px;border-radius:22px}
  .unified-legal-card h1{font-size:clamp(38px,12vw,56px)}
}

/* V30 legal layout used by localized AstroQuarry / VECTORWELL documents */
.legal-hero-v30{padding:132px 0 36px;border-bottom:1px solid rgba(255,255,255,.045)}
.legal-shell-v30{width:min(930px,calc(100% - 36px));margin-inline:auto}
.legal-hero-v30 h1{margin-top:12px;font-size:clamp(42px,6vw,72px)}
.legal-date{margin:18px 0 0;color:#6f7c8f;font-size:12px}
.legal-lead{margin:24px 0 0;color:#b0bac7;font-size:17px;line-height:1.75}
.legal-content-v30{padding-top:42px}
.legal-card-v30{padding:28px 0;border-bottom:1px solid rgba(255,255,255,.07)}
.legal-card-v30:first-child{padding-top:0}
.legal-card-v30 h2{font-size:26px;margin:0 0 12px;letter-spacing:-.035em}
.legal-card-v30 p,.legal-card-v30 li{color:#aeb8c5;font-size:15px;line-height:1.75}
.legal-card-v30 ul{padding-left:22px}
.legal-card-v30 a{color:var(--teal);text-decoration:underline;text-decoration-color:rgba(38,228,193,.35);text-underline-offset:3px}
.error-v30{min-height:100svh;display:grid;place-items:center;padding:90px 24px;text-align:center}
.error-v30>div{width:min(640px,100%);padding:42px;border:1px solid var(--line);border-radius:28px;background:rgba(255,255,255,.025)}
.error-v30 h1{font-size:clamp(44px,8vw,82px);margin:8px 0 16px}
.error-v30 p{color:#8995a6}
@media(max-width:700px){.legal-shell-v30{width:min(930px,calc(100% - 24px))}.legal-hero-v30{padding-top:108px}.legal-content-v30{padding-top:26px}.legal-card-v30{padding:22px 0}}

/* V45: narrow-screen legal/document reflow hardening. Scoped to existing legal/inner pages only. */
.legal-page-v30 h1,.legal-page-v30 h2,.legal-page-v30 p,.legal-page-v30 li,.legal-page-v30 strong,.legal-page-v30 a,
.inner-card h1,.inner-card h2,.inner-card p,.inner-card li,.inner-card strong,.inner-card a,
.unified-page h1{overflow-wrap:anywhere;word-break:normal;min-width:0}
