:root {
  --ink: #10283a;
  --muted: #64798a;
  --green: #075b47;
  --mint: #75d7c0;
  --paper: #f4f7f8;
  --line: #dce7e9;
  --white: #fff;
  --sand: #f6efe2;
  --mobax-night: #0b1020;
  --mobax-blue: #2587fa;
  --mobax-cyan: #30bff2;
  --mobax-purple: #8b5cf6;
  --mobax-violet: #6d2bea;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 800; letter-spacing: -.025em; }
.brand-symbol { width: 42px; height: 30px; object-fit: contain; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 650; }
.nav-links a:hover { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 14px; color: white; background: var(--ink); text-decoration: none; font-weight: 800; border: 0; }
.button.secondary { color: var(--ink); background: white; border: 1px solid var(--line); }
.button-gradient { color: white !important; background: linear-gradient(120deg, #0872f4, #8b5cf6); box-shadow: 0 12px 32px rgba(37,135,250,.22); }
.eyebrow { margin: 0 0 14px; color: #397f88; font-size: .82rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; letter-spacing: -.045em; line-height: 1.04; }
h1 { font-size: clamp(3rem, 8vw, 6.7rem); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 18px; }
h3 { font-size: 1.4rem; }
.lead { max-width: 700px; margin: 0; color: var(--muted); font-size: clamp(1.12rem, 2.3vw, 1.4rem); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; }
.text-link { padding: 14px 6px; color: inherit; text-decoration: none; font-weight: 750; }
.section { padding: 94px 0; }
.section.white { background: white; }
.section-head { max-width: 760px; margin-bottom: 46px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.card.tint { background: #eaf7f3; }
.card p { margin: 0; color: var(--muted); }
.number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 32px; border-radius: 12px; color: white; background: var(--green); font-weight: 850; }

/* Mobax Studios */
.studio-page { background: var(--mobax-night); }
.nav-dark { position: relative; z-index: 10; color: white; }
.nav-dark .nav-links a { color: #aebbd3; }
.nav-dark .nav-links a:hover { color: white; }
.studio-hero { position: relative; overflow: hidden; padding: 90px 0 128px; color: white; }
.studio-hero::before { content: ""; position: absolute; width: 640px; height: 640px; left: -320px; top: -250px; border-radius: 50%; background: rgba(37,135,250,.18); filter: blur(80px); }
.studio-hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -300px; bottom: -350px; border-radius: 50%; background: rgba(139,92,246,.2); filter: blur(90px); }
.studio-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.studio-eyebrow { color: #79d4ff; }
.studio-copy h1 { max-width: 760px; font-size: clamp(3.5rem, 7vw, 6.8rem); }
.gradient-text { color: #65c9ff; background: linear-gradient(110deg, #30bff2 5%, #2587fa 50%, #b96bfa 95%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.studio-lead { color: #aebbd3; }
.brand-stage { position: relative; min-height: 520px; display: grid; place-items: center; }
.brand-glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: linear-gradient(135deg, rgba(38,159,255,.45), rgba(139,92,246,.42)); filter: blur(65px); }
.brand-panel { position: relative; z-index: 2; width: min(420px, 88%); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 42px; background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.025)); box-shadow: 0 42px 90px rgba(0,0,0,.35); backdrop-filter: blur(22px); }
.brand-panel img { width: 76%; }
.brand-panel span { color: #b9c5da; font-size: .8rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.orbit { position: absolute; border: 1px solid rgba(117,191,255,.18); border-radius: 50%; }
.orbit-one { width: 480px; height: 480px; }
.orbit-two { width: 570px; height: 300px; transform: rotate(-24deg); }
.studio-light { background: #f7f8fc; }
.principle-card { min-height: 285px; box-shadow: 0 16px 45px rgba(11,16,32,.06); }
.principle-card.featured { color: white; border-color: transparent; background: linear-gradient(145deg, #14203b, #12162e); box-shadow: 0 24px 58px rgba(28,45,90,.22); }
.principle-card.featured p { color: #b9c5da; }
.gradient-number { background: linear-gradient(135deg, var(--mobax-blue), var(--mobax-purple)); }
.product-section { overflow: hidden; background: white; }
.product-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; align-items: center; }
.product-title { display: flex; align-items: center; gap: 22px; margin-bottom: 30px; }
.product-title h2 { margin: 0 0 3px; }
.product-title p { margin: 0; color: var(--muted); font-weight: 700; }
.product-preview { position: relative; min-height: 600px; display: grid; place-items: center; }
.product-preview::before { content: ""; position: absolute; inset: 8% 0 3%; border-radius: 48px; background: linear-gradient(145deg, #e0f5ef, #e8f1f5); }
.phone { position: relative; width: min(350px, 82%); border: 10px solid #152c3c; border-radius: 45px; box-shadow: 0 30px 70px rgba(16,40,58,.2); overflow: hidden; background: white; }
.phone img { display: block; width: 100%; }
.studio-footer { color: #aebbd3; border-top: 1px solid rgba(255,255,255,.1); background: var(--mobax-night); }
.footer-brand { color: white; }

/* Outright product and legal pages */
.app-hero { padding: 70px 0 36px; }
.app-badge { display: flex; align-items: center; gap: 20px; margin-bottom: 36px; }
.app-icon { width: 82px; height: 82px; border-radius: 20px; box-shadow: 0 14px 32px rgba(6,80,61,.16); }
.feature-showcase { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 54px; }
.screen { overflow: hidden; border-radius: 24px; box-shadow: 0 18px 48px rgba(16,40,58,.12); background: white; }
.screen img { display: block; width: 100%; }
.legal { width: min(800px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 110px; }
.legal h1 { font-size: clamp(2.8rem, 7vw, 5.3rem); }
.legal h2 { margin-top: 52px; font-size: 1.75rem; }
.legal p, .legal li { color: #506777; }
.legal li + li { margin-top: 8px; }
.notice { padding: 20px 22px; border-left: 4px solid var(--mint); border-radius: 0 14px 14px 0; background: #eaf7f3; }
.faq { display: grid; gap: 14px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; background: white; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq details p { margin-bottom: 0; }
.support-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 28px; margin: 34px 0 56px; border-radius: 22px; background: var(--ink); color: white; }
.support-card p { color: #bed0da; margin: 4px 0 0; }
footer:not(.studio-footer) { border-top: 1px solid var(--line); background: white; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 36px 0; color: var(--muted); font-size: .94rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; }

@media (max-width: 800px) {
  .nav-links a:not(.button) { display: none; }
  .studio-hero { padding: 58px 0 84px; }
  .studio-hero-grid, .product-grid, .grid-3, .feature-showcase { grid-template-columns: 1fr; }
  .brand-stage { min-height: 390px; margin-top: 22px; }
  .brand-panel { width: min(350px, 88%); border-radius: 32px; }
  .orbit-one { width: 380px; height: 380px; }
  .orbit-two { width: 420px; height: 230px; }
  .product-grid { gap: 34px; }
  .product-preview { min-height: 520px; }
  .feature-showcase { max-width: 390px; margin-left: auto; margin-right: auto; }
  .support-card { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 470px) {
  .shell { width: min(100% - 28px, 1120px); }
  .brand span { font-size: .96rem; }
  .nav { min-height: 72px; }
  .nav .button { min-height: 44px; padding: 0 16px; }
  .studio-copy h1 { font-size: 3.25rem; }
  .brand-stage { min-height: 330px; }
  .orbit { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
