@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/inter-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/inter-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/inter-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/inter-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter Tight';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/inter-tight-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter Tight';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/inter-tight-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter Tight';font-style:normal;font-display:swap;font-weight:800;src:url(/fonts/inter-tight-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Unbounded';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/unbounded-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Unbounded';font-style:normal;font-display:swap;font-weight:800;src:url(/fonts/unbounded-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Kosmo Max website. Tokens from Kosmo itself (public/app.css, light.css, kosmo/go.css, kosmo/maxnav.css):
   cinematic near-black, the Kosmo gradient (orange > coral > violet), the MAX gold edition gradient, Inter / Inter Tight /
   Unbounded. Dark is the default (Kosmo Max starts dark); the light theme is Kosmo's pearl light. */
:root, :root[data-theme="dark"] {
  --bg: #050506; --bg-raise: #0d0e12; --card: #14151b; --card-2: #191a22;
  --text: #f5f5f7; --muted: rgba(235, 235, 245, .7); --dim: rgba(235, 235, 245, .5);
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .16);
  --glass: rgba(40, 40, 46, .55); --glass-hi: rgba(70, 70, 78, .6);
  --hot: #ff3d5a; --hot-ink: #ff8a9c; --focus: #ff8a6b;
  --kosmo-grad: linear-gradient(135deg, #ff9a1f 0%, #ff3d5a 52%, #7b2ff7 100%);
  --max-grad: linear-gradient(135deg, #f7c948 0%, #ff9a1f 55%, #ff3d5a 100%);
  --pill-grad: linear-gradient(100deg, #ff3d5a, #ff7a45);
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .85);
  --alt: #0a0b0f;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f5f6fa; --bg-raise: #ffffff; --card: #ffffff; --card-2: #eceef4;
  --text: #15171d; --muted: rgba(21, 23, 29, .72); --dim: rgba(21, 23, 29, .56);
  --line: rgba(21, 23, 29, .09); --line-2: rgba(21, 23, 29, .16);
  --glass: rgba(255, 255, 255, .72); --glass-hi: rgba(255, 255, 255, .92);
  --hot: #e8173f; --hot-ink: #c40f33; --focus: #c40f33;
  --shadow: 0 30px 60px -32px rgba(30, 36, 60, .45);
  --alt: #eceef4;
  color-scheme: light;
}
:root {
  --display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wordmark: 'Unbounded', 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(16px, 4.2vw, 72px); --max: 1240px;
  --r: 14px; --r-lg: 22px; --ease: cubic-bezier(.22, .8, .24, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--ui); letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, .h3 { font-family: var(--display); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(40px, 6.4vw, 84px); }
h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 46px); }
h3, .h3 { font-weight: 700; font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); line-height: 1.55; max-width: 62ch; }
.narrow { max-width: 70ch; }
.eyebrow, .kicker { font: 700 13px/1.2 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--hot-ink); margin: 0 0 14px; }
:root[data-theme="light"] .kicker { color: var(--hot); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* ---- header */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand svg { width: 36px; height: 36px; border-radius: 9px; }
.wm { font: 800 19px/1 var(--wordmark); letter-spacing: .04em; white-space: nowrap; }
.wm-m { background: var(--max-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (forced-colors: active) { .wm-m, .grad { color: CanvasText; background: none; } }
.nav { margin-left: auto; }
.menu > summary { display: none; }
.menu summary, .langs summary { list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker, .langs summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 5px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); }
.menu { display: none; }
.nav-list a { display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border-radius: 999px; text-decoration: none; font: 600 14.5px/1 var(--ui); color: var(--muted); white-space: nowrap; transition: color .2s, background .2s; }
.nav-list a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }
.nav-list a[aria-current="page"] { color: #fff; background: var(--pill-grad); box-shadow: 0 10px 26px -10px rgba(255, 61, 90, .7); }
.tools { display: flex; align-items: center; gap: 8px; }
.langs { position: relative; }
.langs summary, .theme { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--glass); color: var(--text); font: 700 13px/1 var(--ui); letter-spacing: .06em; cursor: pointer; }
.langs ul { position: absolute; right: 0; top: 50px; min-width: 170px; list-style: none; margin: 0; padding: 8px; border-radius: 16px; border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--bg-raise) 96%, transparent); box-shadow: var(--shadow); }
.langs li a { display: flex; min-height: 44px; align-items: center; padding: 0 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.langs li a:hover, .langs li a[aria-current="true"] { background: color-mix(in srgb, var(--text) 8%, transparent); }
.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="light"] .i-sun, :root:not([data-theme="light"]) .i-moon { display: none; }

@media (max-width: 1199px) {
  .top-in { gap: 10px; }
  .nav { order: 3; margin-left: 0; }
  .tools { margin-left: auto; }
  .menu > summary { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); font: 700 14px/1 var(--ui); }
  .burger, .burger::before, .burger::after { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; position: relative; }
  .burger::before, .burger::after { content: ''; position: absolute; left: 0; }
  .burger::before { top: -5px; } .burger::after { top: 5px; }
  .nav-desk { display: none; }
  .menu { display: block; }
  .menu[open] > .nav-list { position: absolute; left: var(--gutter); right: var(--gutter); top: 64px; flex-direction: column; border-radius: 20px; padding: 10px;
    background: var(--bg-raise); box-shadow: var(--shadow); }
  .menu[open] .nav-list a { height: 48px; width: 100%; font-size: 16px; }
}
@media (max-width: 420px) { .menu-word { display: none; } .wm { font-size: 16px; } .brand { gap: 9px; } .brand svg { width: 32px; height: 32px; } }

/* ---- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; text-decoration: none;
  font: 700 16px/1 var(--ui); border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-hot { color: #fff; background: linear-gradient(100deg, #ff9a1f, #ff3d5a 55%, #7b2ff7); box-shadow: 0 16px 36px -14px rgba(255, 61, 90, .75); }
.btn-glass { color: var(--text); background: var(--glass); border-color: var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn-big { min-height: 60px; padding: 0 34px; font-size: 18px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---- hero (always cinematic dark, in both themes): the promise, then Kosmo Max itself */
.hero { position: relative; isolation: isolate; color: #f5f5f7; overflow: hidden;
  background: radial-gradient(70% 60% at 85% 0%, rgba(255, 61, 90, .28), transparent 65%), radial-gradient(60% 55% at 5% 20%, rgba(123, 47, 247, .26), transparent 65%),
              radial-gradient(50% 40% at 50% 100%, rgba(255, 154, 31, .16), transparent 70%), #050506;
  padding-bottom: clamp(48px, 7vw, 96px); }
.hero-in { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero h1 { max-width: 14ch; font-size: clamp(42px, 7vw, 96px); }
.hero h1 span { display: block; }
.grad { background: var(--kosmo-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero .lead { color: rgba(235, 235, 245, .8); }
.hero .eyebrow { color: #ffb08a; }
.hero .btn-glass { color: #f5f5f7; background: rgba(40, 40, 46, .55); border-color: rgba(255, 255, 255, .18); }
.shot-hero { border-color: rgba(255, 255, 255, .14); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .04), 0 0 120px -30px rgba(255, 61, 90, .45); }
:root[data-theme="light"] .shot-hero { box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 120px -30px rgba(255, 61, 90, .45); }
/* ---- sections */
.sec { padding: clamp(56px, 9vw, 120px) 0; }
.sec-alt { background: var(--alt); }
.phead { padding: clamp(56px, 9vw, 110px) 0 clamp(24px, 4vw, 48px); background: radial-gradient(80% 120% at 85% 0%, rgba(255, 61, 90, .14), transparent 60%), radial-gradient(60% 90% at 0% 100%, rgba(123, 47, 247, .12), transparent 60%); }
.phead h1 { font-size: clamp(40px, 5.6vw, 72px); }
.cards2, .cards3, .cards4 { display: grid; gap: 18px; margin-top: 36px; }
.cards2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.cards3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.cards4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin-top: 0; }
.card { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card .num { display: block; font: 800 15px/1 var(--wordmark); background: var(--kosmo-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; }
.dev svg { width: 40px; height: 40px; fill: none; stroke: var(--hot); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split.rev > :first-child { order: 0; } }
.wide { margin-top: clamp(28px, 4vw, 48px); }
.shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02); background: #0d0e12; }
:root[data-theme="light"] .shot { box-shadow: 0 34px 70px -36px rgba(30, 36, 60, .55); }
.shot img { width: 100%; }
.hi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: 32px; }
@media (max-width: 760px) { .hi { grid-template-columns: minmax(0, 1fr); } }
.hi-item a { display: block; text-decoration: none; }
.hi-item .shot { margin-bottom: 20px; transition: transform .35s var(--ease); }
.hi-item a:hover .shot { transform: translateY(-4px); }
.hi-item p:last-child { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .5em; width: 16px; height: 9px; border-left: 2.5px solid var(--hot); border-bottom: 2.5px solid var(--hot); transform: rotate(-45deg) translateY(-3px); }
.ticks.no li::before { width: 14px; height: 2.5px; border: 0; background: var(--hot); transform: none; top: .75em; }
.note { color: var(--dim); font-size: 15px; }
.cap { text-align: center; color: var(--dim); font-size: 15px; margin-top: 18px; }
.phones { display: flex; justify-content: center; gap: clamp(12px, 3vw, 28px); }
.phone { margin: 0; flex: 0 1 230px; border-radius: 34px; overflow: hidden; border: 6px solid #1a1b22; box-shadow: var(--shadow); background: #050506; }
.phones.three .phone { flex-basis: 260px; }
.phones .phone:nth-child(2) { transform: translateY(28px); }
.toc ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); text-decoration: none; font-weight: 600; font-size: 15px; }
.toc a:hover { background: var(--glass-hi); }
.narrow-block { max-width: 820px; }
.center { text-align: center; }
.center .btn { margin: 10px 0 8px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; }
.faq summary h2 { margin: 0; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 30px/1 var(--ui); color: var(--hot); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-bottom: 12px; }
.faq .note { margin-top: 28px; }
.links { padding-left: 20px; } .links li { margin: 6px 0; }
.legal h2 { margin-top: 1.6em; }
.band { background: radial-gradient(90% 140% at 100% 0%, rgba(255, 154, 31, .18), transparent 60%), radial-gradient(70% 120% at 0% 100%, rgba(123, 47, 247, .2), transparent 60%), var(--bg-raise); border-top: 1px solid var(--line); }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { margin-bottom: .25em; }
.band p { color: var(--muted); margin: 0; max-width: 60ch; }

/* ---- footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 15px; color: var(--muted); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: minmax(0, 1fr); } }
.foot-brand .brand { color: var(--text); margin-bottom: 16px; }
.foot-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.foot-links li { margin: 0 0 10px; break-inside: avoid; }
.foot-links a { text-decoration: none; } .foot-links a:hover { text-decoration: underline; }
.foot-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }
.foot-legal p { margin: 0 0 8px; }
