/* Astral Edge Studios — 2026 redesign */
:root {
  --night: #0A0F2C;
  --night-2: #131A45;
  --ink: #10163A;
  --muted: #586086;
  --paper: #F4F6FC;
  --white: #FFFFFF;
  --line: #DCE1EF;
  --indigo: #3F5EF0;
  --indigo-deep: #2E49D6;
  --indigo-soft: #E8EDFF;
  --mint: #10B981;
  --star: #C9CEFF;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  color: var(--white);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--night);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 999px; color: rgba(255,255,255,0.78); transition: color .2s, background .2s; }
.nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,0.12); }
.nav .nav-cta { background: var(--white); color: var(--ink); margin-left: 8px; }
.nav .nav-cta:hover { background: var(--indigo-soft); color: var(--ink); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,0.2); color: var(--white); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .25s, background .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 16px;
  padding: 15px 26px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, background .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--indigo); color: var(--white); box-shadow: 0 10px 30px -10px rgba(63,94,240,.7); }
.btn-primary:hover { background: var(--indigo-deep); }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--night-2); }
.btn-line { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.link { font-weight: 700; color: var(--indigo); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s; padding-bottom: 2px; }
.link:hover { background-size: 100% 2px; }

/* ---------- Night (dark) sections ---------- */
.night {
  background-color: var(--night);
  background-image:
    radial-gradient(1px 1px at 12% 22%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 68%, rgba(201,206,255,.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 46% 14%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 82%, rgba(201,206,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 30%, var(--star) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 90% 60%, rgba(201,206,255,.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 88%, rgba(201,206,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 54% 48%, rgba(201,206,255,.5) 50%, transparent 51%),
    radial-gradient(900px 520px at 85% 10%, rgba(63,94,240,.30), transparent 60%);
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 84px); font-weight: 800; letter-spacing: -0.035em; max-width: 12ch; }
.hero .lede { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.76); max-width: 52ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.hero-facts span { font-size: 14px; color: rgba(255,255,255,.6); }

/* Orbit ring behind phone */
.stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.stage::before, .stage::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(201,206,255,.22);
  width: 520px; height: 520px; left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.stage::after { width: 380px; height: 380px; border-style: solid; border-color: rgba(201,206,255,.12); }
.orbit-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 6px rgba(16,185,129,.18); left: 50%; top: 50%; offset-path: circle(260px at 0 0); animation: orbit 26s linear infinite; }
@keyframes orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* Phone mock with live app shelf */
.phone {
  position: relative; z-index: 2; width: 290px; aspect-ratio: 9 / 19;
  border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #2A3170, #10163A 60%);
  box-shadow: 0 40px 80px -24px rgba(0,0,0,.7), inset 0 0 0 1.5px rgba(255,255,255,.14);
}
.phone-screen {
  height: 100%; border-radius: 34px; overflow: hidden; position: relative;
  background: radial-gradient(120% 80% at 20% 0%, #4F6BFF 0%, #2A3A9E 45%, #121848 100%);
  padding: 46px 18px 18px; display: flex; flex-direction: column;
}
.phone-screen::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 999px; background: #05071A; }
.phone-time { position: absolute; top: 14px; left: 26px; font-size: 13px; font-weight: 700; }
.phone-greet { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.15; margin: 10px 4px 20px; }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 10px; }
.app-grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; font-size: 10px; font-weight: 600; color: rgba(255,255,255,.9); text-align: center; line-height: 1.2; }
.app-grid img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; box-shadow: 0 6px 14px -6px rgba(0,0,0,.6); transition: transform .2s; }
.app-grid a:hover img { transform: translateY(-2px) scale(1.04); }
.phone-dock { margin-top: auto; background: rgba(255,255,255,.14); border-radius: 22px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; backdrop-filter: blur(8px); }
.phone-dock .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.phone-dock p { font-size: 12px; line-height: 1.35; }
.phone-dock strong { display: block; font-size: 13px; }
.float-card {
  position: absolute; z-index: 3; background: var(--white); color: var(--ink); border-radius: 18px;
  padding: 14px 16px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.55); font-size: 13px; line-height: 1.35;
}
.float-card strong { display: block; font-family: var(--display); font-size: 20px; }
.float-web { left: -12%; bottom: 4%; width: 210px; }
.float-web .bar { display: flex; gap: 5px; margin-bottom: 10px; }
.float-web .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.float-web .bar i:first-child { background: #FF6B6B; } .float-web .bar i:nth-child(2) { background: #FFC24B; } .float-web .bar i:nth-child(3) { background: var(--mint); }
.lh-row { display: flex; gap: 8px; margin-top: 8px; }
.lh { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #0A7A55; background: conic-gradient(var(--mint) var(--p), #E3F7EF 0); position: relative; }
.lh::before { content: ""; position: absolute; inset: 4px; background: var(--white); border-radius: 50%; }
.lh b { position: relative; }
.float-store { right: -4%; top: 12%; display: flex; align-items: center; gap: 12px; }
.float-store .star { color: #F5A524; font-size: 14px; letter-spacing: 1px; }

/* Entrance — one orchestrated moment */
[data-enter] { opacity: 0; transform: translateY(18px); animation: enter .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes enter { to { opacity: 1; transform: none; } }

/* ---------- Generic sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(34px, 4.4vw, 56px); max-width: 16ch; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 48ch; }
.white { background: var(--white); }

/* Services split */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc {
  position: relative; border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 44px); overflow: hidden;
  display: flex; flex-direction: column; gap: 18px; text-decoration: none; min-height: 520px;
  transition: transform .25s ease;
}
.svc:hover { transform: translateY(-2px); }
.svc h3 { font-size: clamp(28px, 3vw, 38px); }
.svc p { font-size: 17px; max-width: 42ch; }
.svc ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc li { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.svc-web { background: var(--indigo); color: var(--white); }
.svc-web li { background: rgba(255,255,255,.14); }
.svc-app { background: var(--night); color: var(--white); }
.svc-app li { background: rgba(255,255,255,.1); }
.svc .more { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.svc .more svg { transition: transform .2s; }
.svc:hover .more svg { transform: translateX(4px); }

.mini-browser { margin-top: 8px; background: var(--white); color: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0,0,0,.5); }
.mini-browser .top { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #EEF0F8; }
.mini-browser .top i { width: 9px; height: 9px; border-radius: 50%; background: #CDD2E4; }
.mini-browser .top span { margin-left: 10px; font-size: 11px; color: var(--muted); background: var(--white); border-radius: 6px; padding: 3px 10px; flex: 1; }
.mini-browser .body { padding: 18px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: center; }
.mini-browser .ln { height: 10px; border-radius: 6px; background: #E4E7F2; margin-bottom: 8px; }
.mini-browser .ln.h { height: 16px; background: var(--ink); width: 85%; }
.mini-browser .ln.s { width: 60%; }
.mini-browser .pill { display: inline-block; height: 22px; width: 90px; border-radius: 999px; background: var(--indigo); margin-top: 6px; }
.mini-browser .img { aspect-ratio: 4/3; border-radius: 10px; background: linear-gradient(135deg, #C7D2FF, #8399FF 60%, #3F5EF0); }

.mini-phones { margin-top: 8px; display: flex; gap: 14px; align-items: flex-end; }
.mini-phone { width: 120px; aspect-ratio: 9/18; border-radius: 22px; padding: 6px; background: #1F2760; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.mini-phone .scr { height: 100%; border-radius: 17px; background: var(--white); padding: 18px 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.mini-phone .scr .ln { height: 7px; border-radius: 4px; background: #E4E7F2; }
.mini-phone .scr .ln.h { height: 11px; background: var(--ink); width: 70%; }
.mini-phone .scr .tile { border-radius: 8px; background: var(--indigo-soft); flex: 1; }
.mini-phone .scr .tile.m { background: #D7F5EA; }
.mini-phone .scr .tab { height: 18px; border-radius: 6px; background: var(--ink); }
.mini-phone.tall { width: 132px; }

.svc-strip {
  grid-column: 1 / -1; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px) clamp(28px, 3.5vw, 44px);
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; text-decoration: none;
  transition: transform .25s ease, border-color .25s;
}
.svc-strip:hover { transform: translateY(-2px); border-color: var(--ink); }
.svc-strip h3 { font-size: 24px; }
.svc-strip p { color: var(--muted); margin-top: 6px; max-width: 60ch; }
.gp-mark { width: 56px; height: 56px; border-radius: 16px; background: var(--paper); display: grid; place-items: center; }

/* Apps shelf */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.app-card {
  display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; padding: 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; text-decoration: none;
  transition: transform .2s ease, border-color .2s, box-shadow .2s;
}
.app-card:hover { transform: translateY(-2px); border-color: #BFC6DD; box-shadow: 0 18px 40px -26px rgba(16,22,58,.45); }
.app-card img { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; }
.app-card h3 { font-family: var(--body); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.app-card p { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.app-card .cat { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--indigo); }
.shelf-foot { margin-top: 32px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* Saylio feature */
.feature {
  margin-top: 24px; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; overflow: hidden; position: relative;
}
.feature h3 { font-size: clamp(30px, 3.6vw, 46px); }
.feature p { margin-top: 14px; color: rgba(255,255,255,.75); max-width: 46ch; }
.feature .actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.speech { display: flex; flex-direction: column; gap: 12px; }
.bubble { align-self: flex-start; background: rgba(255,255,255,.1); border-radius: 18px 18px 18px 6px; padding: 14px 18px; font-size: 16px; max-width: 34ch; }
.bubble.out { align-self: flex-end; background: var(--white); color: var(--ink); border-radius: 18px 18px 6px 18px; }
.bubble small { display: block; font-size: 12px; opacity: .6; margin-bottom: 4px; font-weight: 700; }
.wave { display: flex; gap: 3px; align-items: center; height: 22px; }
.wave i { width: 3px; border-radius: 3px; background: var(--mint); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .2s; } .wave i:nth-child(4) { animation-delay: .3s; } .wave i:nth-child(5) { animation-delay: .4s; } .wave i:nth-child(6) { animation-delay: .5s; } .wave i:nth-child(7) { animation-delay: .6s; }
@keyframes wave { 0%, 100% { height: 6px; } 50% { height: 22px; } }

/* Process — a real sequence */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1.5px solid var(--ink); }
.step { padding: 28px 28px 0 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--indigo); display: block; margin-bottom: 18px; }
.step h3 { font-size: 24px; }
.step p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.step .time { display: block; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--ink); }

/* Stack */
.stack { display: flex; flex-wrap: wrap; gap: 10px; }
.stack span { padding: 12px 20px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.stack-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stack-groups h3 { font-family: var(--body); font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 14px; letter-spacing: 0; }

/* CTA band */
.cta { border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta h2 { font-size: clamp(34px, 4.6vw, 60px); max-width: 16ch; }
.cta p { margin-top: 16px; color: rgba(255,255,255,.72); max-width: 50ch; font-size: 18px; }
.cta .actions { display: flex; flex-direction: column; gap: 12px; }

/* Page hero (inner pages) */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); }
.page-hero h1 { font-size: clamp(42px, 6vw, 76px); font-weight: 800; letter-spacing: -0.035em; max-width: 16ch; }
.page-hero p { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.75); max-width: 56ch; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.crumbs a:hover { color: var(--white); }

/* Service detail blocks */
.detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.detail:first-child { border-top: 0; }
.detail h2 { font-size: clamp(32px, 4vw, 50px); }
.detail .intro { color: var(--muted); font-size: 18px; margin-top: 18px; max-width: 42ch; }
.detail .intro + .btn { margin-top: 28px; }
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.offer h3 { font-family: var(--body); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; display: flex; gap: 10px; align-items: center; }
.offer h3 svg { flex: none; color: var(--indigo); }
.offer p { color: var(--muted); margin-top: 8px; font-size: 16px; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 0; font-family: var(--display); font-weight: 700; font-size: 21px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 68ch; }

/* About */
.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); }
.story h2 { font-size: clamp(32px, 4vw, 50px); }
.story .text p { font-size: 19px; color: #2B3256; }
.story .text p + p { margin-top: 20px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 32px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.value h3 { font-size: 24px; }
.value p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.big-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.big-stats div { border-top: 1.5px solid rgba(255,255,255,.25); padding-top: 20px; }
.big-stats strong { font-family: var(--display); font-size: clamp(48px, 6vw, 80px); font-weight: 800; letter-spacing: -0.04em; display: block; line-height: 1; }
.big-stats span { display: block; margin-top: 10px; color: rgba(255,255,255,.7); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.form-card h2 { font-size: 32px; }
.form-card > p { color: var(--muted); margin-top: 8px; }
.form { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 700; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--indigo); background: var(--white); }
.field textarea { min-height: 150px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 700; transition: all .15s; background: var(--white); }
.chips input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--indigo); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.form-status { grid-column: 1 / -1; font-size: 15px; font-weight: 600; color: #0A7A55; min-height: 1em; }
.side { display: flex; flex-direction: column; gap: 16px; }
.side-card { border-radius: 22px; padding: 28px; background: var(--white); border: 1px solid var(--line); }
.side-card h3 { font-family: var(--body); font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.side-card a.mail { display: block; font-family: var(--display); font-size: 20px; font-weight: 700; text-decoration: none; margin-top: 8px; overflow-wrap: anywhere; }
.side-card a.mail { font-size: 18px; }
.side-card a.mail:hover { color: var(--indigo); }
.side-card p { margin-top: 8px; }
.side-card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.side-card li + li { margin-top: 6px; }
.side-card.dark { background: var(--night); color: var(--white); border-color: transparent; }
.side-card.dark h3 { color: rgba(255,255,255,.6); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.72); padding: 72px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid .brand { color: var(--white); }
.foot-grid .tag { margin-top: 16px; max-width: 34ch; }
.foot-grid h4 { font-family: var(--body); font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 16px; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { text-decoration: none; transition: color .2s; }
.foot-grid a:hover { color: var(--white); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.5); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { min-height: 520px; }
  .float-web { left: 4%; }
  .float-store { right: 4%; }
  .services { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(n+3) { margin-top: 32px; border-top: 1px solid var(--line); }
  .feature, .detail, .story, .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--night); padding: 16px var(--gutter) 24px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.6); border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: 17px; padding: 12px 14px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .section-head { grid-template-columns: 1fr; }
  .svc-strip { grid-template-columns: 1fr; }
  .values, .big-stats, .stack-groups { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stage { min-height: 470px; }
  .stage::before { width: 360px; height: 360px; }
  .stage::after { width: 280px; height: 280px; }
  .orbit-dot { offset-path: circle(180px at 0 0); }
  .phone { width: 250px; }
  .app-grid img { width: 44px; height: 44px; border-radius: 12px; }
  .float-web { display: none; }
  .float-store { right: 0; top: 4%; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .step + .step { margin-top: 28px; border-top: 1px solid var(--line); }
  .form { grid-template-columns: 1fr; }
  .mini-phones .mini-phone:nth-child(3) { display: none; }
  .mini-browser .body { grid-template-columns: 1fr; }
  .mini-browser .img { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-facts { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-enter] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Mobile polish */
@media (max-width: 1024px) {
  .orbit-dot { display: none; }
}
@media (max-width: 560px) {
  .shelf { gap: 10px; }
  .app-card { grid-template-columns: 56px 1fr; gap: 14px; padding: 14px; border-radius: 18px; }
  .app-card img { width: 56px; height: 56px; border-radius: 14px; }
  .app-card h3 { font-size: 15px; }
  .app-card p { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .app-card .cat { margin-top: 4px; }
  .foot-grid ul { gap: 2px; }
  .foot-grid ul a { display: inline-block; padding: 8px 0; }
  .foot-bottom a { display: inline-block; padding: 8px 0; }
  .shelf-foot .link { padding: 10px 0; }
}

/* ---------- Studio policy pages ---------- */
.policy-hero { padding-bottom: 0; }
.policy-hero h1 { max-width: 18ch; }
.policy-hero p:not(.crumbs) { margin-top: 14px; font-size: 16px; color: rgba(255,255,255,.65); }
.policy-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 40px; }
.policy-tabs a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 14px 20px; border-radius: 14px 14px 0 0; color: rgba(255,255,255,.72); transition: color .2s, background .2s; }
.policy-tabs a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.policy-tabs a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.policy-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(72px, 9vw, 120px); align-items: start; }
.policy-toc { position: sticky; top: 96px; }
.policy-toc summary { font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 12px; list-style: none; }
.policy-toc summary::-webkit-details-marker { display: none; }
.policy-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.policy-toc a { display: block; text-decoration: none; font-size: 14.5px; line-height: 1.35; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); transition: color .2s, border-color .2s; }
.policy-toc a:hover, .policy-toc a.on { color: var(--indigo); border-left-color: var(--indigo); }
.policy { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--text, #2B3256); overflow-wrap: anywhere; }
.policy h2 { font-size: clamp(24px, 2.4vw, 30px); color: var(--ink); margin: 52px 0 14px; scroll-margin-top: 96px; }
.policy h2:first-child { margin-top: 0; }
.policy h3 { font-family: var(--body); font-size: 18px; font-weight: 800; color: var(--ink); margin: 28px 0 8px; letter-spacing: -0.01em; }
.policy p { margin: 0 0 16px; }
.policy ul, .policy ol { margin: 0 0 18px; padding-left: 22px; }
.policy li { margin: 6px 0; padding-left: 4px; }
.policy li::marker { color: var(--indigo); font-weight: 700; }
.policy a { color: var(--indigo); font-weight: 600; text-underline-offset: 3px; }
.policy a:hover { color: var(--indigo-deep); }
.policy strong { color: var(--ink); }
@media (max-width: 1024px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
  .policy-toc summary { cursor: pointer; margin: 0; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--ink); }
  .policy-toc summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo); transform: rotate(45deg) translate(-2px,-2px); transition: transform .2s; }
  .policy-toc[open] summary::after { transform: rotate(225deg) translate(-2px,-2px); }
  .policy-toc ol { border-left: 0; padding-bottom: 16px; }
  .policy-toc a { padding: 6px 0; margin: 0; border: 0; }
}
@media (max-width: 560px) {
  .policy-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 28px; }
  .policy-tabs a { padding: 12px 8px; font-size: 14px; text-align: center; border-radius: 12px 12px 0 0; }
  .policy { font-size: 16px; }
}
