:root {
  color-scheme: dark;
  --bg: #030910;
  --bg-2: #06111d;
  --surface: #0b1725;
  --surface-2: #102238;
  --surface-3: #142b46;
  --line: #24577f;
  --line-strong: #2e8ee0;
  --text: #f5f8fc;
  --muted: #9daec2;
  --blue: #1594ff;
  --blue-2: #0754d9;
  --cyan: #35c7ff;
  --violet: #7b5cff;
  --pink: #f34aba;
  --orange: #ff7a2e;
  --warning: #ffd447;
  --danger: #ff6679;
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 480px at 76% -90px, rgba(21,148,255,.15), transparent 62%),
    radial-gradient(700px 420px at 5% 28%, rgba(77,77,255,.08), transparent 66%),
    linear-gradient(180deg, #02070d 0%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute; left: 12px; top: -70px; z-index: 1000;
  padding: 10px 14px; border-radius: 10px; background: white; color: black;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(109, 173, 226, .14);
  background: rgba(3, 9, 16, .86);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(calc(100% - 36px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; font-weight: 750; letter-spacing: -.01em; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy small { margin-top: 5px; color: #6f8da9; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 11px 15px; border: 1px solid transparent; border-radius: 999px;
  color: #afbed0; font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
  transition: .2s ease;
}
.nav a:hover, .nav a:focus-visible { color: white; border-color: rgba(60,150,227,.35); background: rgba(25,92,145,.10); outline: none; }
.nav a[aria-current="page"] { color: #fff; border-color: rgba(48,146,231,.68); background: rgba(21,116,202,.13); }

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

.hero { padding: 88px 0 46px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  color: #79bfff; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue)); }
.eyebrow::after { content: ""; width: 24px; height: 1px; background: linear-gradient(90deg, var(--blue), transparent); }
.hero h1 { margin: 0 auto; max-width: 900px; font-size: clamp(42px, 7vw, 76px); line-height: .98; letter-spacing: -.05em; }
.hero h1 span { color: #63baff; }
.hero p { max-width: 760px; margin: 24px auto 0; color: var(--muted); font-size: clamp(17px, 2.3vw, 20px); line-height: 1.65; }

.catalog { padding: 24px 0 100px; }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; align-items: stretch; }
.app-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(56, 135, 198, .44);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(20,43,70,.82), rgba(9,21,34,.96));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.025);
  transition: transform .22s ease, border-color .22s ease;
}
.app-card:hover { transform: translateY(-3px); border-color: rgba(65,165,247,.78); }
.app-card::before {
  content: ""; position: absolute; inset: -180px -160px auto auto; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16,130,255,.13), transparent 67%); pointer-events: none;
}
.card-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; }
.app-icon { width: 94px; height: 94px; flex: 0 0 auto; filter: drop-shadow(0 14px 26px rgba(0,0,0,.30)); }
.app-icon img { width: 100%; height: 100%; object-fit: contain; }
.card-title h2 { margin: 0; font-size: 31px; letter-spacing: -.035em; }
.card-title p { margin: 8px 0 0; color: #70baff; font-weight: 750; font-size: 14px; }
.card-copy { position: relative; z-index: 2; margin: 24px 0 0; color: #b6c3d2; line-height: 1.65; font-size: 16px; }
.chips { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { padding: 8px 11px; border-radius: 999px; border: 1px solid rgba(55,130,190,.34); background: rgba(5,17,29,.58); color: #abc0d4; font-size: 12px; font-weight: 700; }

.work-card { min-height: 600px; }
.work-card .visual-stack { position: relative; z-index: 1; height: 240px; margin: 22px 0 -5px; }
.screen {
  position: absolute; bottom: -50px; width: 128px; height: 274px; object-fit: cover; object-position: top;
  border-radius: 20px; border: 1px solid rgba(80,158,219,.32); box-shadow: 0 20px 35px rgba(0,0,0,.42);
}
.screen.s1 { left: 6%; transform: rotate(-8deg); }
.screen.s2 { left: 35%; z-index: 3; width: 138px; transform: translateY(-14px); }
.screen.s3 { right: 6%; transform: rotate(8deg); }

.fit-visual, .task-visual {
  position: relative; z-index: 1; height: 210px; margin: 22px 0 2px; border-radius: 22px;
  border: 1px solid rgba(52,125,184,.24); background: rgba(2,9,15,.47); overflow: hidden;
  display: grid; place-items: center;
}
.fit-visual::before, .task-visual::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(41,133,255,.18), rgba(121,52,224,.07) 48%, transparent 70%);
}
.fit-visual img, .task-visual img { position: relative; width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 20px 38px rgba(0,0,0,.36)); }
.external-label, .wip-label {
  position: absolute; left: 18px; bottom: 16px; z-index: 3; padding: 7px 10px; border-radius: 999px;
  background: rgba(4,12,21,.78); border: 1px solid rgba(78,151,210,.28); color: #a5c3dc; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}

.card-actions { position: relative; z-index: 4; display: flex; align-items: center; gap: 12px; margin-top: 25px; }
.btn {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 20px; border-radius: 999px; border: 1px solid rgba(43,139,221,.78);
  color: #f7fbff; font-size: 14px; font-weight: 800; letter-spacing: .01em;
}
.btn-primary { background: linear-gradient(180deg, #31b4ff 0%, #116cf0 43%, #0645c2 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 26px rgba(0,86,223,.24); border-color: rgba(74,174,255,.9); }
.btn-primary:hover, .btn-primary:focus-visible { filter: brightness(1.08); outline: none; }
.btn-secondary { background: rgba(6,18,31,.42); color: #50aaff; }
.btn-secondary:hover, .btn-secondary:focus-visible { background: rgba(10,45,75,.38); outline: none; }
.btn svg { width: 16px; height: 16px; }

.section { padding: 92px 0; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head h2 { margin: 0; font-size: clamp(34px, 4.5vw, 52px); letter-spacing: -.045em; }
.section-head p { margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }

.product-hero { padding: 72px 0 62px; }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px,.9fr); gap: 55px; align-items: center; }
.product-icon { width: 116px; height: 116px; margin-bottom: 24px; }
.product-hero h1 { margin: 0; font-size: clamp(46px, 6vw, 76px); letter-spacing: -.05em; line-height: 1; }
.product-hero .tagline { margin-top: 18px; color: #6cb9ff; font-size: 21px; font-weight: 750; }
.product-hero .lead { max-width: 680px; margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.product-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-device {
  position: relative; min-height: 500px; display: grid; place-items: center;
}
.hero-device::before { content:""; position:absolute; width: 450px; height:450px; border-radius:50%; background:radial-gradient(circle, rgba(28,133,255,.19), transparent 68%); }
.hero-device img { position: relative; width: 245px; max-height: 510px; object-fit: cover; object-position: top; border-radius: 32px; border: 1px solid rgba(72,153,215,.42); box-shadow: 0 38px 75px rgba(0,0,0,.52); }

.feature-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.feature-card { padding: 24px; min-height: 170px; border-radius: var(--radius-md); border:1px solid rgba(49,124,183,.36); background:linear-gradient(180deg, rgba(16,34,56,.78), rgba(8,19,31,.9)); }
.feature-card h3 { margin:0; font-size:20px; }
.feature-card p { margin:11px 0 0; color:var(--muted); line-height:1.58; font-size:14px; }

.gallery { display:flex; gap:18px; overflow-x:auto; padding: 10px 4px 28px; scroll-snap-type:x mandatory; scrollbar-color:#1a5d94 transparent; }
.gallery figure { flex:0 0 250px; margin:0; scroll-snap-align:start; }
.gallery img { width:100%; height:520px; object-fit:cover; object-position:top; border-radius:27px; border:1px solid rgba(62,142,204,.42); box-shadow: 0 20px 55px rgba(0,0,0,.35); }
.gallery figcaption { margin-top:11px; color:#7f96ad; text-align:center; font-size:12px; }

.info-grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:18px; }
.info-card { padding:26px; border-radius:var(--radius-md); background:rgba(10,23,37,.84); border:1px solid rgba(52,128,188,.34); }
.info-card h3 { margin:0 0 14px; font-size:20px; }
.info-card p, .info-card li { color:var(--muted); line-height:1.65; }
.info-card ul { margin:0; padding-left:20px; }

.legal { padding: 64px 0 100px; }
.legal-shell { max-width: 840px; margin:0 auto; padding:42px; border-radius:var(--radius-lg); border:1px solid rgba(50,127,186,.34); background:linear-gradient(180deg, rgba(15,31,50,.84), rgba(7,17,28,.94)); box-shadow:var(--shadow); }
.legal-shell h1 { font-size:clamp(38px,6vw,58px); letter-spacing:-.045em; margin:0; }
.legal-shell .updated { margin-top:12px; color:#7fa1bd; font-size:14px; }
.legal-shell h2 { margin:38px 0 10px; font-size:23px; }
.legal-shell p, .legal-shell li { color:#b4c1cf; line-height:1.76; }
.legal-shell a { color:#58aeff; text-decoration:underline; text-decoration-color:rgba(88,174,255,.35); text-underline-offset:3px; }

.wip { min-height: calc(100vh - 77px); display:grid; place-items:center; padding:70px 0; }
.wip-card { width:min(calc(100% - 36px), 720px); text-align:center; padding:54px 34px; border-radius:34px; border:1px solid rgba(63,142,204,.40); background:linear-gradient(180deg, rgba(17,36,59,.86), rgba(6,17,28,.96)); box-shadow:var(--shadow); }
.wip-card img { width:160px; height:160px; margin:0 auto 26px; object-fit:contain; }
.wip-card h1 { margin:0; font-size:clamp(42px,7vw,64px); letter-spacing:-.05em; }
.wip-card p { max-width:520px; margin:18px auto 28px; color:var(--muted); line-height:1.65; font-size:17px; }

.site-footer { border-top:1px solid rgba(96,159,211,.13); background:#02070c; }
.footer-inner { width:min(calc(100% - 36px), var(--max)); min-height:110px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.footer-brand { color:#8194a8; font-size:13px; }
.footer-links { display:flex; flex-wrap:wrap; gap:18px; color:#8da2b8; font-size:13px; }
.footer-links a:hover, .footer-links a:focus-visible { color:white; outline:none; }

@media (max-width: 860px) {
  .header-inner { min-height: 70px; }
  .brand-copy small { display:none; }
  .nav a { padding:9px 10px; font-size:11px; }
  .catalog-grid, .product-hero-grid, .feature-grid, .info-grid { grid-template-columns:1fr; }
  .product-hero-grid { gap:10px; }
  .hero-device { min-height:440px; }
  .feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .container, .header-inner, .footer-inner { width:min(calc(100% - 24px), var(--max)); }
  .site-header { position:static; }
  .header-inner { min-height:auto; padding:14px 0; align-items:flex-start; flex-direction:column; gap:12px; }
  .brand img { width:42px; height:42px; }
  .nav { width:100%; overflow-x:auto; padding-bottom:2px; }
  .nav a { flex:0 0 auto; }
  .hero { padding:58px 0 26px; }
  .hero h1 { font-size:46px; }
  .catalog { padding-bottom:64px; }
  .app-card { padding:22px; min-height:auto; }
  .card-top { align-items:flex-start; }
  .app-icon { width:76px; height:76px; }
  .card-title h2 { font-size:26px; }
  .work-card .visual-stack { height:205px; }
  .screen { width:104px; height:222px; }
  .screen.s2 { width:112px; }
  .fit-visual, .task-visual { height:180px; }
  .feature-grid { grid-template-columns:1fr; }
  .product-hero { padding:48px 0 30px; }
  .product-icon { width:96px; height:96px; }
  .hero-device { min-height:385px; }
  .hero-device img { width:205px; max-height:430px; }
  .gallery figure { flex-basis:210px; }
  .gallery img { height:438px; }
  .section { padding:66px 0; }
  .legal-shell { padding:28px 22px; border-radius:24px; }
  .footer-inner { padding:26px 0; min-height:auto; flex-direction:column; align-items:flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior:auto !important; transition:none !important; }
}
