:root {
  --bg: #030713;
  --bg-soft: #071022;
  --surface: rgba(10, 19, 41, .78);
  --surface-strong: #0a1430;
  --line: rgba(118, 148, 255, .22);
  --line-strong: rgba(100, 136, 255, .46);
  --text: #f5f7ff;
  --muted: #a9b4cc;
  --blue: #4aa8ff;
  --violet: #8859ff;
  --pink: #d154ff;
  --cyan: #2ed7ff;
  --max: 1180px;
  --radius: 28px;
  --shadow: 0 30px 90px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% -10%, rgba(89, 56, 255, .17), transparent 35%),
    radial-gradient(circle at 15% 25%, rgba(42, 139, 255, .10), transparent 32%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(3, 7, 19, .80);
  backdrop-filter: blur(20px);
}
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 40px; height: 40px; border-radius: 14px; object-fit: contain; }
.brand span { font-size: 19px; }
.brand em { color: #aab4ca; font-style: normal; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #c5ccdc; font-size: 14px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.menu-toggle { display: none; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: white; border-radius: 12px; width: 44px; height: 44px; font-size: 21px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 750;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .2s ease, border-color .2s ease, filter .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: white;
  background: linear-gradient(110deg, #2e8cff, #6757ff 57%, #a04cff);
  box-shadow: 0 14px 40px rgba(83, 83, 255, .25);
}
.button.secondary { border-color: var(--line); background: rgba(255,255,255,.035); color: #f0f3fb; }
.button.disabled { opacity: .55; cursor: default; pointer-events: none; }

.eyebrow {
  color: #7eb0ff;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 12px;
}
.gradient-text { background: linear-gradient(100deg, var(--cyan), #6698ff 44%, var(--pink)); color: transparent; background-clip: text; -webkit-background-clip: text; }

.studio-hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.studio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,7,19,.99) 0%, rgba(3,7,19,.90) 38%, rgba(3,7,19,.28) 68%, rgba(3,7,19,.72) 100%),
    url('studio-bg.png') center/cover no-repeat;
  opacity: .95;
}
.studio-hero::after { content:""; position:absolute; inset:auto 0 0; height:200px; background:linear-gradient(transparent, var(--bg)); }
.hero-inner { position: relative; z-index: 2; padding: 96px 0 120px; max-width: 680px; }
.hero-inner h1 { margin: 16px 0 22px; max-width: 650px; font-size: clamp(48px, 7vw, 86px); line-height: .98; letter-spacing: -.055em; }
.hero-inner p { max-width: 610px; color: #c0c9dc; font-size: clamp(18px, 2vw, 22px); margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding: 100px 0; }
.section-tight { padding: 72px 0; }
.section-head { max-width: 800px; margin-bottom: 38px; }
.section-head h2 { margin: 10px 0 12px; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -.04em; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.featured-product {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(16, 28, 61, .95), rgba(4, 9, 22, .94));
  box-shadow: var(--shadow);
}
.featured-media { position: relative; aspect-ratio: 16/8.3; overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-media::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(4,9,22,.82), transparent 45%); }
.featured-copy { padding: 30px; display:grid; grid-template-columns: 1fr auto; align-items:end; gap:24px; }
.featured-copy h3 { margin:0 0 8px; font-size: 34px; letter-spacing:-.03em; }
.featured-copy p { margin:0; color:var(--muted); max-width:690px; }

.product-grid { display:grid; grid-template-columns: 1.5fr .8fr; gap:18px; }
.coming-card { border:1px solid var(--line); border-radius:28px; padding:34px; background:rgba(12,20,44,.60); display:flex; flex-direction:column; justify-content:center; min-height:240px; }
.coming-card .icon { width:58px; height:58px; display:grid; place-items:center; border-radius:18px; border:1px solid var(--line); color:#a283ff; font-size:28px; margin-bottom:22px; }
.coming-card h3 { margin:0 0 10px; font-size:26px; }
.coming-card p { margin:0; color:var(--muted); }

.values-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; }
.value-card { border:1px solid var(--line); border-radius:24px; padding:28px; background:linear-gradient(160deg, rgba(15,27,58,.68), rgba(5,10,24,.72)); }
.value-card strong { font-size:20px; display:block; margin-bottom:8px; }
.value-card p { margin:0; color:var(--muted); }
.value-icon { width:48px; height:48px; border-radius:15px; display:grid; place-items:center; margin-bottom:18px; background:rgba(68,134,255,.10); border:1px solid rgba(78,139,255,.25); font-size:23px; }

.product-hero { padding: 74px 0 60px; }
.product-hero-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap:48px; align-items:center; }
.product-hero h1 { margin:14px 0 20px; font-size:clamp(50px,7vw,86px); line-height:.98; letter-spacing:-.055em; }
.product-hero p { color:#bdc6d8; font-size:20px; max-width:580px; }
.product-logo-line { display:flex; align-items:center; gap:18px; margin-bottom:12px; }
.product-logo-line img { width:82px; height:82px; object-fit:contain; border-radius:24px; }
.hero-promo { border:1px solid var(--line-strong); border-radius:30px; overflow:hidden; box-shadow:0 30px 100px rgba(28,74,255,.20); }
.hero-promo img { width:100%; aspect-ratio:16/9; object-fit:cover; }

.feature-stack { display:flex; flex-direction:column; gap:34px; }
.feature-row { display:grid; grid-template-columns: .82fr 1.18fr; gap:34px; align-items:center; border:1px solid var(--line); border-radius:30px; padding:30px; background:linear-gradient(145deg, rgba(10,20,44,.72), rgba(4,8,20,.74)); overflow:hidden; }
.feature-row:nth-child(even) { grid-template-columns:1.18fr .82fr; }
.feature-row:nth-child(even) .feature-image { order:1; }
.feature-row:nth-child(even) .feature-copy-block { order:2; }
.feature-image { border-radius:22px; overflow:hidden; border:1px solid rgba(255,255,255,.06); background:#020510; }
.feature-image img { width:100%; aspect-ratio:16/9; object-fit:cover; }
.feature-image picture { display:block; }
.isolation-gallery { display:grid; grid-template-columns:1fr; gap:16px; align-items:start; }
.isolation-gallery .feature-image img { width:100%; height:auto; aspect-ratio:auto; object-fit:contain; display:block; }
.isolation-gallery .isolation-landscape { width:100%; }
.feature-copy-block { padding:12px 8px; }
.feature-number { width:40px; height:40px; display:grid; place-items:center; border-radius:50%; border:1px solid var(--line-strong); color:#9ec2ff; font-weight:800; margin-bottom:16px; }
.feature-copy-block h2 { margin:0 0 12px; font-size:clamp(34px,4.3vw,54px); letter-spacing:-.04em; line-height:1.02; }
.feature-copy-block h3 { margin:0 0 12px; font-size:21px; color:#c9d4e9; }
.feature-copy-block p { margin:0 0 14px; color:var(--muted); font-size:17px; }
.feature-copy-block ul { margin:16px 0 0; padding-left:20px; color:#c6d0e1; }
.feature-copy-block li + li { margin-top:8px; }

.callout { margin-top:36px; border:1px solid var(--line-strong); border-radius:28px; padding:34px; display:flex; align-items:center; justify-content:space-between; gap:30px; background:linear-gradient(100deg, rgba(21,60,138,.32), rgba(73,35,154,.24)); }
.callout h2 { margin:0 0 8px; font-size:32px; }
.callout p { margin:0; color:var(--muted); }

.policy-shell { display:grid; grid-template-columns: 260px minmax(0, 1fr); gap:42px; padding:64px 0 110px; }
.policy-toc { position:sticky; top:100px; align-self:start; border:1px solid var(--line); border-radius:20px; background:rgba(8,16,35,.72); padding:18px; max-height:calc(100vh - 130px); overflow:auto; }
.policy-toc strong { display:block; margin-bottom:10px; font-size:14px; color:#fff; }
.policy-toc a { display:block; padding:7px 10px; color:#9eabc3; font-size:13px; border-radius:9px; }
.policy-toc a:hover { background:rgba(255,255,255,.05); color:white; }
.policy-content { min-width:0; }
.policy-content .policy-head { padding:0 0 30px; border-bottom:1px solid var(--line); margin-bottom:36px; }
.policy-content h1 { margin:12px 0 12px; font-size:clamp(44px,6vw,72px); line-height:1; letter-spacing:-.045em; }
.policy-content h2 { margin:54px 0 18px; font-size:30px; letter-spacing:-.025em; scroll-margin-top:100px; }
.policy-content h3 { margin:28px 0 10px; font-size:21px; }
.policy-content p, .policy-content li { color:#b8c2d5; }
.policy-content ul { padding-left:24px; }
.policy-content strong { color:#eef2ff; }
.policy-date { display:inline-flex; padding:7px 11px; border:1px solid var(--line); border-radius:999px; font-size:13px; color:#b5c4de; background:rgba(255,255,255,.03); }

.site-footer { border-top:1px solid rgba(255,255,255,.07); padding:36px 0 48px; color:#99a5bb; }
.footer-grid { display:flex; align-items:center; justify-content:space-between; gap:22px; }
.footer-links { display:flex; flex-wrap:wrap; gap:20px; font-size:14px; }
.footer-links a:hover { color:white; }
.copyright { margin-top:24px; font-size:13px; color:#75829b; }

@media (max-width: 900px) {
  .product-grid, .product-hero-grid, .feature-row, .feature-row:nth-child(even), .policy-shell { grid-template-columns:1fr; }
  /* Mobile/tablet feature rhythm: every feature starts with its visual, then the explanation. */
  .feature-row .feature-image,
  .feature-row:nth-child(even) .feature-image { order:1; }
  .feature-row .feature-copy-block,
  .feature-row:nth-child(even) .feature-copy-block { order:2; }
  .values-grid { grid-template-columns:1fr; }
  .policy-toc { position:relative; top:auto; max-height:none; }
  .featured-copy { grid-template-columns:1fr; }
  .studio-hero { min-height:620px; }
  .studio-hero::before { background:linear-gradient(90deg, rgba(3,7,19,.98), rgba(3,7,19,.83) 60%, rgba(3,7,19,.58)), url('studio-bg.png') 68% center/cover no-repeat; }
}

@media (max-width: 720px) {
  .container { width:min(100% - 28px, var(--max)); }
  .nav { min-height:64px; }
  .brand { gap:9px; }
  .brand img { width:34px; height:34px; border-radius:11px; }
  .brand span { font-size:17px; }
  .nav-links { display:none; position:absolute; left:14px; right:14px; top:62px; padding:12px; border:1px solid var(--line); border-radius:16px; flex-direction:column; align-items:stretch; gap:2px; background:rgba(4,9,22,.98); box-shadow:var(--shadow); }
  .nav-links.open { display:flex; }
  .nav-links a { padding:11px 10px; border-radius:10px; }
  .menu-toggle { display:block; width:40px; height:40px; }

  .studio-hero { min-height:560px; }
  .hero-inner { padding:62px 0 86px; max-width:560px; }
  .hero-inner h1 { font-size:46px; margin:12px 0 18px; }
  .hero-inner p { font-size:17px; line-height:1.55; margin-bottom:24px; }
  .hero-actions { gap:10px; }
  .button { min-height:46px; padding:0 17px; font-size:14px; }

  .product-hero { padding:44px 0 36px; }
  .product-hero-grid { gap:24px; }
  .product-logo-line { gap:12px; margin-bottom:8px; }
  .product-logo-line img { width:54px; height:54px; border-radius:18px; }
  .product-hero h1 { font-size:46px; margin:10px 0 14px; }
  .product-hero p { font-size:17px; line-height:1.55; margin:0 0 20px; }
  .hero-promo { border-radius:22px; }

  .section { padding:54px 0; }
  .section-tight { padding:46px 0; }
  .section-head { margin-bottom:24px; }
  .section-head h2 { font-size:34px; margin:8px 0 9px; }
  .section-head p { font-size:16px; line-height:1.5; }
  .eyebrow { font-size:10px; letter-spacing:.18em; }

  .featured-media { aspect-ratio:16/9; }
  .feature-stack { gap:20px; }
  .feature-row,
  .feature-row:nth-child(even) { padding:14px; gap:16px; border-radius:22px; }
  .feature-image { border-radius:16px; }
  .feature-image img { aspect-ratio:16/9; }
  .isolation-gallery { order:1; grid-template-columns:1fr; gap:12px; }
  .isolation-gallery .isolation-landscape { width:100%; }
  .feature-copy-block { padding:0 2px 4px; }
  .feature-number { width:34px; height:34px; margin-bottom:10px; font-size:13px; }
  .feature-copy-block h2 { font-size:34px; margin:0 0 7px; }
  .feature-copy-block h3 { font-size:18px; line-height:1.35; margin:0 0 9px; }
  .feature-copy-block p { font-size:15px; line-height:1.52; margin:0 0 10px; }
  .feature-copy-block ul { margin:10px 0 0; padding-left:18px; font-size:15px; line-height:1.48; }
  .feature-copy-block li + li { margin-top:5px; }

  .callout { margin-top:24px; padding:22px; border-radius:22px; gap:18px; }
  .callout h2 { font-size:27px; }
  .callout p { font-size:15px; }
  .callout, .footer-grid { flex-direction:column; align-items:flex-start; }
  .site-footer { padding:28px 0 36px; }
}

@media (max-width: 430px) {
  .container { width:calc(100% - 24px); }
  .product-hero h1 { font-size:42px; }
  .section-head h2 { font-size:31px; }
  .feature-copy-block h2 { font-size:31px; }
  .feature-row, .feature-row:nth-child(even) { padding:12px; gap:14px; border-radius:20px; }
  .feature-image { border-radius:14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* v5: simplified public-facing Studio/product presentation */
.product-showcase-section { max-width: 1040px; }
.product-showcase-title {
  margin: 10px 0 24px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: -.04em;
}
.product-showcase {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: #020510;
  box-shadow: var(--shadow);
}
.product-showcase img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #eef4ff;
  font-size: 18px;
  font-weight: 800;
}
.text-link span { color: #68b8ff; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.about-simple {
  max-width: 760px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.about-simple h2 {
  margin: 10px 0 10px;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.about-simple p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 720px) {
  .product-showcase-title { margin-bottom: 18px; font-size: 36px; }
  .product-showcase { border-radius: 22px; }
  .text-link { margin-top: 15px; font-size: 16px; }
  .about-simple { padding-top: 26px; }
  .about-simple p { font-size: 16px; }
}
