:root{
  --bg0:#070B14;
  --bg1:#0B1224;
  --surface:#0F1A33;
  --surface2:#0B142B;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.08);
  --border:rgba(255,255,255,.12);
  --text:#EAF0FF;
  --muted:#B9C5E8;
  --subtle:#8FA3D8;
  --primary:#2BE7C4;
  --primary2:#4DA8FF;
  --danger:#FF5C7C;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 26px;
  --max: 1180px;
  --ring: 0 0 0 4px rgba(43,231,196,.22);
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1100px 600px at 20% -20%, rgba(77,168,255,.22), transparent 60%),
    radial-gradient(900px 520px at 80% -10%, rgba(43,231,196,.18), transparent 55%),
    radial-gradient(800px 480px at 30% 110%, rgba(255,92,124,.11), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  min-height:100vh;
}

img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
button,input,select,textarea{font:inherit}
::selection{background:rgba(43,231,196,.25)}

.container{width:min(var(--max), calc(100% - 2rem)); margin-inline:auto}
.section{padding:72px 0}
.section.sm{padding:52px 0}

.skip-link{
  position:absolute; left:-999px; top:10px;
  background:#fff; color:#000; padding:10px 12px; border-radius:12px;
  z-index:9999;
}
.skip-link:focus{left:10px}

.topbar{
  background:rgba(255,255,255,.04);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(12px);
}
.topbar-inner{
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  padding:10px 0;
  font-size:14px;
}
.topbar a{color:var(--muted)}
.topbar a:hover{color:#fff}
.pills{display:flex; gap:10px; flex-wrap:wrap}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(255,255,255,.03);
}

.header{
  position:sticky; top:0; z-index:200;
  background:rgba(7,11,20,.66);
  backdrop-filter: blur(14px);
  border-bottom:1px solid rgba(255,255,255,.10);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:10px}
.brand-mark{
  width:40px; height:40px; border-radius:50%;
  background: radial-gradient(18px 18px at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,.0)),
              linear-gradient(160deg, rgba(43,231,196,.95), rgba(77,168,255,.95));
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  position:relative;
}
.brand-mark:after{
  content:"K";
  position:absolute; inset:0;
  display:grid; place-items:center;
  font-weight:800;
  color:#06101f;
}
.brand-name{display:flex; flex-direction:column; line-height:1.05}
.brand-name strong{letter-spacing:.2px}
.brand-name span{color:var(--subtle); font-size:13px}

.nav-links{
  display:flex; align-items:center; gap:18px;
}
.nav-links > a, .nav-links > button{
  padding:10px 10px;
  color:var(--muted);
  border-radius:12px;
  border:1px solid transparent;
  background:transparent;
  cursor:pointer;
}
.nav-links > a:hover, .nav-links > button:hover{
  color:#fff;
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.10);
}

.nav-actions{display:flex; align-items:center; gap:12px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  cursor:pointer;
}
.btn:hover{transform: translateY(-1px); background:rgba(255,255,255,.09); border-color:rgba(255,255,255,.22)}
.btn:focus-visible{outline:none; box-shadow: var(--ring), 0 10px 26px rgba(0,0,0,.22)}
.btn.primary{
  background: linear-gradient(135deg, rgba(43,231,196,.95), rgba(77,168,255,.95));
  border-color: rgba(255,255,255,.18);
  color:#06101f;
  font-weight:700;
}
.btn.primary:hover{background: linear-gradient(135deg, rgba(43,231,196,1), rgba(77,168,255,1))}
.btn.ghost{
  background:transparent;
  border-color: rgba(255,255,255,.18);
  color:#fff;
}

.menu-btn{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#fff;
}
.menu-btn:focus-visible{outline:none; box-shadow:var(--ring)}
.menu-icon{width:18px; height:18px; position:relative}
.menu-icon span{
  position:absolute; left:0; right:0; height:2px; background:#fff; border-radius:99px;
  transition: transform .18s ease, top .18s ease, opacity .18s ease;
}
.menu-icon span:nth-child(1){top:3px}
.menu-icon span:nth-child(2){top:8px}
.menu-icon span:nth-child(3){top:13px}
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(1){top:8px; transform:rotate(45deg)}
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2){opacity:0}
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(3){top:8px; transform:rotate(-45deg)}

.dropdown{position:relative}
.dropdown-menu{
  position:absolute; top:48px; right:0;
  width:280px;
  background:rgba(12,20,43,.92);
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  box-shadow: var(--shadow);
  padding:10px;
  display:none;
}
.dropdown-menu a{
  display:flex; flex-direction:column; gap:4px;
  padding:12px 12px;
  border-radius:14px;
  color:var(--muted);
}
.dropdown-menu a:hover{background:rgba(255,255,255,.06); color:#fff}
.dropdown-menu small{color:var(--subtle)}
.dropdown.open .dropdown-menu{display:block}

.mobile-drawer{
  display:none;
  border-top:1px solid rgba(255,255,255,.10);
  padding:12px 0 18px;
}
.mobile-drawer a{
  display:flex; justify-content:space-between; align-items:center;
  padding:12px 10px;
  border-radius:14px;
  color:var(--muted);
}
.mobile-drawer a:hover{background:rgba(255,255,255,.05); color:#fff}

.hero{
  padding:64px 0 10px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap:28px;
  align-items:center;
}
.badges{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:16px}
.badge{
  display:inline-flex; gap:8px; align-items:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.03);
  color:var(--muted);
  font-size:14px;
}
h1{
  font-size: clamp(34px, 4.2vw, 54px);
  line-height:1.05;
  margin:0 0 14px;
  letter-spacing:-.02em;
}
.lead{
  font-size:18px;
  line-height:1.6;
  color:var(--muted);
  margin:0 0 22px;
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap}
.hero-card{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-media{
  aspect-ratio: 4 / 3;
  position:relative;
}
.hero-media picture, .hero-media img{width:100%; height:100%; object-fit:cover}
.hero-media:after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(7,11,20,.0), rgba(7,11,20,.65));
}
.hero-card .meta{
  padding:16px 16px 18px;
  display:grid; gap:10px;
}
.meta-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.meta-item{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:12px;
}
.meta-item b{display:block; margin-bottom:4px}
.meta-item span{color:var(--muted); font-size:14px}

.kicker{
  color:var(--primary);
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:12px;
}
.h2{
  font-size: clamp(24px, 2.8vw, 36px);
  margin:10px 0 14px;
  letter-spacing:-.01em;
}
.p{
  color:var(--muted);
  line-height:1.7;
  margin:0;
}
.grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}
.grid-2{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:18px;
}
.card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
  padding:18px;
}
.card h3{margin:10px 0 10px; font-size:18px}
.card p{margin:0; color:var(--muted); line-height:1.6}
.icon{
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(140deg, rgba(43,231,196,.18), rgba(77,168,255,.18));
  display:grid; place-items:center;
}
.icon svg{width:20px; height:20px; fill:none; stroke:#EAF0FF; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
  align-items:center;
}
.media{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  position:relative;
}
.media img{width:100%; height:100%; object-fit:cover}
.media:after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(600px 220px at 20% 20%, rgba(43,231,196,.16), transparent 55%),
              linear-gradient(180deg, rgba(7,11,20,.05), rgba(7,11,20,.55));
  pointer-events:none;
}
.list{
  margin:14px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.list li{
  display:flex; gap:10px; align-items:flex-start;
  color:var(--muted);
  line-height:1.6;
}
.tick{
  width:18px; height:18px; flex:0 0 18px;
  border-radius:6px;
  background:rgba(43,231,196,.18);
  border:1px solid rgba(43,231,196,.32);
  display:grid; place-items:center;
  margin-top:2px;
}
.tick svg{width:12px; height:12px; stroke:var(--primary); stroke-width:2.2; fill:none}

.notice{
  display:flex; gap:12px; align-items:flex-start;
  padding:14px 14px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color:var(--muted);
}
.notice strong{color:#fff}
.notice small{display:block; margin-top:6px; color:var(--subtle)}
.notice .dot{
  width:10px; height:10px; border-radius:99px; margin-top:6px;
  background:rgba(77,168,255,.9);
  box-shadow: 0 0 0 5px rgba(77,168,255,.18);
  flex:0 0 10px;
}

.page-hero{
  padding:56px 0 26px;
}
.breadcrumbs{color:var(--subtle); font-size:14px}
.page-title{
  font-size: clamp(28px, 3.2vw, 44px);
  margin:12px 0 10px;
  letter-spacing:-.02em;
}
.page-sub{color:var(--muted); line-height:1.6; max-width:70ch}

.table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
}
.table th,.table td{
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
  text-align:left;
  color:var(--muted);
}
.table th{color:#fff; background:rgba(255,255,255,.04)}
.table tr:last-child td{border-bottom:none}

.form{
  display:grid; gap:12px;
  padding:18px;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}
.field{
  display:grid; gap:6px;
}
label{font-weight:700; font-size:14px}
.hint{color:var(--subtle); font-size:13px; line-height:1.35}
input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(7,11,20,.35);
  color:#fff;
  outline:none;
}
textarea{min-height:140px; resize:vertical}
input:focus,select:focus,textarea:focus{box-shadow: var(--ring); border-color: rgba(43,231,196,.35)}
.inline{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.form .actions{display:flex; gap:12px; flex-wrap:wrap; align-items:center}
.smallprint{color:var(--subtle); font-size:13px; line-height:1.5}
.success, .error{
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}
.success{border-color: rgba(51,209,142,.35)}
.error{border-color: rgba(255,92,124,.35)}
.visually-hidden{
  position:absolute !important; height:1px; width:1px; overflow:hidden;
  clip:rect(1px,1px,1px,1px); white-space:nowrap;
}

.accordion{display:grid; gap:10px}
.accordion button{
  width:100%;
  text-align:left;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color:#fff;
  cursor:pointer;
}
.accordion button:hover{background: rgba(255,255,255,.06)}
.accordion button:focus-visible{outline:none; box-shadow:var(--ring)}
.panel{
  padding:0 14px 14px;
  color:var(--muted);
  line-height:1.7;
  display:none;
}
.item.open .panel{display:block}

.footer{
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(7,11,20,.55);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.25fr .9fr .9fr;
  gap:18px;
  padding:36px 0;
}
.footer h4{margin:0 0 10px; font-size:15px}
.footer a{color:var(--muted)}
.footer a:hover{color:#fff}
.footer p{color:var(--muted); margin:0; line-height:1.6}
.footer .fine{
  padding:14px 0 24px;
  border-top:1px solid rgba(255,255,255,.10);
  color:var(--subtle);
  font-size:13px;
  display:flex; gap:10px; justify-content:space-between; flex-wrap:wrap;
}
.chip{
  display:inline-flex; gap:8px; align-items:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color:var(--muted);
  font-size:13px;
}

.cookie-banner{
  position:fixed; left:0; right:0; bottom:0;
  padding:14px 0;
  background: rgba(10,16,33,.82);
  border-top:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  z-index:999;
  display:none;
}
.cookie-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:center;
}
.cookie-inner p{margin:0; color:var(--muted); line-height:1.55}
.cookie-actions{display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap}
.cookie-actions .btn{box-shadow:none}

.modal-backdrop{
  position:fixed; inset:0;
  background: rgba(0,0,0,.55);
  display:none;
  z-index:999;
}
.modal{
  width:min(720px, calc(100% - 2rem));
  margin: 10vh auto 0;
  background: rgba(12,20,43,.96);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal header{
  padding:16px 16px;
  display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.modal header h3{margin:0; font-size:18px}
.modal main{padding:16px 16px}
.pref{
  display:grid; gap:12px;
}
.pref-row{
  display:flex; gap:12px; align-items:flex-start; justify-content:space-between;
  padding:14px 14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.pref-row p{margin:0; color:var(--muted); line-height:1.55}
.toggle{
  display:inline-flex; align-items:center; gap:10px;
  white-space:nowrap;
  user-select:none;
}
.switch{
  width:46px; height:28px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.08);
  position:relative;
  flex:0 0 46px;
}
.switch::after{
  content:"";
  width:22px; height:22px;
  border-radius:50%;
  background:#fff;
  position:absolute; top:2px; left:2px;
  transition:left .15s ease, background .15s ease;
}
input[type=\"checkbox\"].switch-input{display:none}
input[type=\"checkbox\"].switch-input:checked + .switch{background: rgba(43,231,196,.28); border-color: rgba(43,231,196,.45)}
input[type=\"checkbox\"].switch-input:checked + .switch::after{left:22px; background: #06101f}
input[type=\"checkbox\"].switch-input:disabled + .switch{opacity:.6}
.modal footer{
  padding:14px 16px;
  border-top:1px solid rgba(255,255,255,.10);
  display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap;
}

.reveal{opacity:0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease}
.reveal.in{opacity:1; transform: translateY(0)}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1; transform:none; transition:none}
  .btn{transition:none}
}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr; gap:18px}
  .split{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .cookie-inner{grid-template-columns:1fr}
  .cookie-actions{justify-content:flex-start}
  .inline{grid-template-columns:1fr}
  .nav-links{display:none}
  .menu-btn{display:inline-flex; align-items:center; justify-content:center}
  .mobile-drawer{display:none}
  .mobile-drawer.open{display:block}
}


/* Inline UI icons (topbar, badges, chips) */
.pill svg, .badge svg, .chip svg{
  width:16px; height:16px;
  fill:none; stroke:currentColor; stroke-width:1.8;
  stroke-linecap:round; stroke-linejoin:round;
  flex:0 0 16px;
}
