/* KANZ Hosting - website
   Colours, type and art come from the brand package (03_Colors_Type/tokens.css, Kanz Cut, 04_Illustrations). */

@font-face { font-family: "Kanz Cut"; font-weight: 500; font-display: swap; src: url("../assets/fonts/KanzCut-Medium.woff2") format("woff2"); }
@font-face { font-family: "Kanz Cut"; font-weight: 700; font-display: swap; src: url("../assets/fonts/KanzCut-Bold.woff2") format("woff2"); }
@font-face { font-family: "Kanz Cut"; font-weight: 900; font-display: swap; src: url("../assets/fonts/KanzCut-Black.woff2") format("woff2"); }

:root {
  --ink: #021A2E; --navy-900: #022A47; --navy: #03395F; --navy-500: #0B4A76; --navy-300: #17618F;
  --blue-800: #0E5BA3; --blue-600: #1A7ED6; --blue: #289DF3; --blue-200: #7CC8FB;
  --mint-800: #1E9684; --mint-600: #36C4AC; --mint: #5AEACF; --mint-200: #B8F8EC;
  --frost: #DCEFFB; --white: #FFFFFF;
  --text: #B4CBDD; --muted: #86A4BC;
  --line: rgba(40, 157, 243, .16); --line-2: rgba(40, 157, 243, .28);
  --wrap: 1240px; --gut: 28px;
  --font: "Kanz Cut", "Segoe UI", Tahoma, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 500 17px/1.75 var(--font); overflow-x: hidden; }
html[lang="en"] body { line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
.px { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--mint); color: var(--ink); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; position: relative; }
.center { text-align: center; }

/* ------------------------------------------------------------------ type */
.display { font-weight: 900; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.18; color: var(--white); letter-spacing: 0; text-shadow: 2px 5px 0 var(--blue-800); }
html[lang="en"] .display { text-transform: uppercase; line-height: 1.02; letter-spacing: -.01em; }
.display--sm { font-size: clamp(30px, 4vw, 48px); }
/* hero heading: the Secrets Host layout (plain white, two short lines) in the KANZ face, Kanz Cut */
.hero .display { font-family: var(--font); font-weight: 900; font-size: clamp(30px, 3.7vw, 50px); color: #F2F8FD; text-shadow: none; text-wrap: balance; }
html[lang="ar"] .hero .display { line-height: 1.26; }
html[lang="en"] .hero .display { text-transform: none; line-height: 1.12; }
.h2 { font-weight: 900; font-size: clamp(27px, 3.2vw, 40px); line-height: 1.3; color: var(--frost); }
html[lang="en"] .h2 { line-height: 1.15; }
.h3, h3 { font-weight: 700; font-size: 20px; line-height: 1.4; color: var(--frost); }
.lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 34em; }
.sub { margin-top: 10px; color: var(--muted); }
.note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 9px 24px 13px; font-weight: 700; font-size: 16px; line-height: 1.2;
  border: 0; border-radius: 3px; color: var(--white); background: var(--blue-600); box-shadow: inset 0 -4px 0 var(--blue-800); transition: background .15s, transform .08s, box-shadow .08s; white-space: nowrap; }
.btn:hover { background: var(--blue); }
.btn:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 var(--blue-800); }
.btn--mint { background: var(--mint); color: var(--ink); box-shadow: inset 0 -4px 0 var(--mint-800); }
.btn--mint:hover { background: var(--mint-200); }
.btn--mint:active { box-shadow: inset 0 -2px 0 var(--mint-800); }
.btn--ghost { background: rgba(40, 157, 243, .08); color: var(--frost); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -4px 0 rgba(40, 157, 243, .22); }
.btn--ghost:hover { background: rgba(40, 157, 243, .18); }
.btn--sm { min-height: 40px; padding: 6px 16px 10px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 11px 32px 15px; font-size: 18px; }
.btn--full { width: 100%; }

/* text links inside copy */
.plans__note a, .faq details p a, .steps__go { color: var(--mint); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.plans__note a:hover, .faq details p a:hover, .steps__go:hover { color: var(--mint-200); }

/* ------------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(2, 26, 46, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.nav__logo img { height: 40px; width: auto; }
.nav__logo .logo-ar { height: 46px; }
.logo-en { display: none; }
html[lang="en"] .logo-ar { display: none; }
html[lang="en"] .logo-en { display: block; }
.nav__menu { display: flex; gap: 26px; margin-inline-start: 12px; flex: 1; font-size: 15px; color: var(--frost); }
.nav__menu a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav__menu a:hover { color: var(--mint); border-color: var(--mint); }
.nav__menu .nav__ext { display: none; }
.nav__act { display: flex; align-items: center; gap: 10px; }
.lang { background: none; border: 1px solid var(--line-2); color: var(--frost); min-width: 44px; height: 40px; border-radius: 3px; font-weight: 700; font-size: 14px; }
.lang:hover { border-color: var(--mint); color: var(--mint); }
.nav__burger { display: none; background: none; border: 1px solid var(--line-2); width: 44px; height: 40px; border-radius: 3px; padding: 10px; margin-inline-start: auto; }
.nav__burger span { display: block; height: 2px; background: var(--frost); margin: 3px 0; }

/* ----------------------------------------------------- page frame + rules */
.page { position: relative; }
.page > section { padding-block: clamp(56px, 7vw, 96px); position: relative; }

.card, .plan, .feat, .mini, .way, .tile3, .ram__box, .acc__b, .faq details, .community__in, .pay-card {
  background: radial-gradient(120% 90% at 50% -10%, rgba(40, 157, 243, .16), transparent 62%), linear-gradient(180deg, rgba(3, 57, 95, .62), rgba(2, 42, 71, .62));
  border: 1px solid var(--line-2); border-radius: 4px; }

/* ------------------------------------------------------------------ hero */
.hero { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 72px) !important; overflow: hidden;
  background: url("../assets/gem-hollow.svg") no-repeat; background-size: auto 92%; background-position: left max(2vw, calc(50% - 620px)) center; }
html[lang="en"] .hero { background-position: right max(2vw, calc(50% - 620px)) center; }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 32px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 7px; border: 1px solid var(--line-2); border-radius: 3px; background: rgba(40, 157, 243, .08); color: var(--frost); font-size: 14px; margin-bottom: 22px; }
.hero .lead { margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; font-size: 15px; color: var(--frost); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 8px; height: 8px; background: var(--mint); transform: rotate(45deg); flex: none; }
.hero__art img { width: min(100%, 600px); margin-inline: auto; }
.float { animation: float 5s steps(8) infinite alternate; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-16px); } }

/* ----------------------------------------------------------------- plans */
.plans { background: linear-gradient(180deg, rgba(3, 57, 95, .28), transparent 50%); }
html[lang="ar"] .display, html[lang="ar"] .h2 { line-height: 1.46; }   /* room for shadda and dots when a heading wraps */
.sec-head { max-width: 720px; margin: 0 auto 48px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; max-width: 1080px; margin-inline: auto; }
.plan { position: relative; padding: 28px 24px 22px; display: flex; flex-direction: column; min-width: 0; }
.plan--best { border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint), 0 22px 60px -22px rgba(90, 234, 207, .5);
  background: radial-gradient(120% 90% at 50% -10%, rgba(90, 234, 207, .14), transparent 62%), linear-gradient(180deg, rgba(3, 57, 95, .8), rgba(2, 42, 71, .8)); }
.plan__flag { position: absolute; top: -14px; inset-inline-start: 22px; background: var(--mint); color: var(--ink); font-weight: 700; font-size: 13px; padding: 1px 12px 4px; border-radius: 3px; }
.plan__top { display: flex; align-items: center; gap: 16px; }
.plan__icon { width: 96px; flex: none; }
.plan__name { font-weight: 900; font-size: 30px; line-height: 1.1; color: var(--white); }
.plan__name span { font-size: 18px; color: var(--blue-200); }
.plan__desc { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--text); }
.plan__specs { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 7px; font-size: 15px; line-height: 1.5; color: var(--frost); }
.plan__specs li { position: relative; padding-inline-start: 19px; }
.plan__specs li::before { content: ""; position: absolute; inset-inline-start: 1px; top: .62em; width: 8px; height: 8px; background: var(--mint); transform: rotate(45deg); }
.plan .plan__specs { flex: 1; align-content: start; }
.plan__price { margin: 20px 0 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__now { font-weight: 900; font-size: 46px; line-height: 1; color: var(--white); text-shadow: 2px 3px 0 var(--blue-800); font-variant-numeric: tabular-nums; }
.plan__cur { font-weight: 700; font-size: 18px; color: var(--mint); }
.plan__per { font-size: 15px; color: var(--muted); }
.plan .btn { margin-top: 22px; }
.plan__note { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--muted); text-align: center; }
.plans__note { max-width: 760px; margin: 34px auto 0; text-align: center; font-size: 15px; color: var(--text); }

/* ----------------------------------------------- community / testimonials */
.community { padding-block: 34px !important; }
.community__in { display: flex; align-items: center; gap: 22px; padding: 22px 26px; }
.community__in > div { flex: 1; }
.community__in p { margin-top: 2px; }
.community__in img { width: 54px; }
.community__act { display: flex; flex-wrap: wrap; gap: 10px; }
.quotes__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 18px; overflow-x: auto; margin-top: 30px; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.quote { scroll-snap-align: start; padding: 22px; border: 1px solid var(--line-2); border-radius: 4px; background: rgba(3, 57, 95, .5); }
.quote b { display: block; margin-top: 12px; color: var(--mint); }

/* ------------------------------------------------------------ ram slider */
.ram__box { margin-top: 36px; padding: clamp(20px, 3vw, 40px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.ram__slider { direction: ltr; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: none; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 12px; border-radius: 2px; background: linear-gradient(90deg, var(--mint) var(--fill, 20%), var(--navy-500) var(--fill, 20%)); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); }
input[type="range"]::-moz-range-track { height: 12px; border-radius: 2px; background: linear-gradient(90deg, var(--mint) var(--fill, 20%), var(--navy-500) var(--fill, 20%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -9px; border: 0; border-radius: 2px; background: var(--white); box-shadow: inset 0 -5px 0 var(--blue-200), 0 0 0 4px rgba(90, 234, 207, .3); transform: rotate(45deg) scale(.8); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 2px; background: var(--white); box-shadow: 0 0 0 4px rgba(90, 234, 207, .3); transform: rotate(45deg); }
.ram__ticks { display: flex; justify-content: space-between; margin-top: 10px; }
.ram__ticks button { background: none; border: 0; padding: 2px 0; font-size: 15px; color: var(--muted); min-width: 48px; text-align: center; }
.ram__ticks button:first-child { text-align: left; } .ram__ticks button:last-child { text-align: right; }
.ram__ticks button:hover { color: var(--frost); }
.ram__ticks button.is-on { color: var(--mint); font-weight: 700; }
.ram__card { display: grid; grid-template-columns: 1fr; gap: 6px 18px; align-items: center; }
.ram__card h3 { font-weight: 900; font-size: 30px; color: var(--white); line-height: 1.2; }
.ram__card h3 span { display: inline-block; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--mint); border-radius: 3px; padding: 0 8px 2px; margin-inline-start: 10px; vertical-align: middle; }
.ram__card > p { align-self: start; }
.ram__card .plan__specs { grid-column: 1 / -1; margin-top: 10px; }
.ram__card .ram__buy { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.ram__card .plan__price { margin: 0; }

/* -------------------------------------------------------------- features */
.features .wrap { display: grid; gap: 22px; }
.feat { padding: clamp(24px, 3.4vw, 48px); display: grid; gap: 28px; }
.feat--a { grid-template-columns: 1.1fr .9fr; align-items: center; }
.feat__copy p { margin-top: 12px; max-width: 36em; }
.feat__copy .btn { margin-top: 22px; }
.feat__art { position: relative; min-height: 190px; display: grid; place-items: center; }
.feat__art > img:first-child { width: 224px; }
.feat__f1 { position: absolute; top: 4%; inset-inline-start: 12%; width: 56px; }
.feat__f2 { position: absolute; bottom: 2%; inset-inline-end: 10%; width: 72px; }
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini { padding: 22px; background: rgba(2, 26, 46, .45); }
.mini img, .mini .led { height: 54px; width: auto; margin-bottom: 16px; }
.mini p { font-size: 15px; margin-top: 6px; }
.led { display: block; width: 54px !important; background: var(--navy-500); position: relative; border-radius: 2px; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .25); }
.led::after { content: ""; position: absolute; width: 14px; height: 14px; top: 12px; inset-inline-end: 10px; background: var(--white); animation: blink 2.4s steps(1) infinite; box-shadow: 0 0 14px var(--mint); }
@keyframes blink { 0%, 100% { background: var(--white); } 50% { background: var(--mint-600); box-shadow: none; } }

/* ----------------------------------------------------------------- steps */
.steps__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; }
.steps__row li { padding: 30px 26px 32px; background: rgba(3, 57, 95, .4); border-inline-start: 1px solid var(--line-2); display: flex; flex-direction: column; }
.steps__row li:first-child { border-inline-start: 0; }
.steps__row b { display: block; font-weight: 900; font-size: 54px; line-height: 1; color: var(--blue); text-shadow: 4px 4px 0 var(--navy-900); margin-bottom: 14px; direction: ltr; text-align: start; }
html[dir="rtl"] .steps__row b { text-align: right; }
.steps__row p { margin-top: 6px; font-size: 15px; }
.steps__go { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: 15px; align-self: flex-start; }

/* --------------------------------------------------------------- payment */
.payment__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 40px auto 0; max-width: 1000px; }
.pay-card { padding: 26px 26px 28px; }
.pay-card__head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.pay-card__head > img { width: 64px; flex: none; }
.pay-card__head h3 { font-size: 22px; font-weight: 900; color: var(--white); }
.pay-card__head > div { flex: 1; min-width: 0; }
.pay-card .plan__specs { margin-top: 0; }
/* pixel payment badges: always one row, they shrink on narrow screens */
.pbadges { display: flex; flex-wrap: nowrap; gap: 6px; margin-top: 8px; }
.pbadges li, .pay li { flex: 0 1 72px; min-width: 0; }
.pbadges li.pbadges__wide, .pay li.pbadges__wide { flex-basis: 108px; }
.pbadge, .foot__brand .pbadge { display: block; width: 100%; height: auto; image-rendering: pixelated; image-rendering: crisp-edges; }

/* ------------------------------------------------------------------- fun */
.fun__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.fun__copy p { margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; direction: ltr; }
html[dir="rtl"] .chips { justify-content: flex-end; }
.chips li { border: 1px solid var(--line-2); background: rgba(40, 157, 243, .08); color: var(--frost); padding: 2px 12px 4px; border-radius: 3px; font-size: 14px; font-weight: 700; }
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wall span { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 4px; background: rgba(3, 57, 95, .5); transition: transform .15s steps(3), border-color .15s; }
.wall span:nth-child(odd) { background: rgba(2, 42, 71, .7); }
.wall span:hover { transform: translateY(-6px); border-color: var(--mint); }
.wall img { width: 52%; max-height: 62%; object-fit: contain; }

/* -------------------------------------------------------- RAM scene
   The plan's island with little players walking on it (more players and some plugin items on bigger plans).
   Positions are in art pixels of a 288 x 240 stage; --u is one art pixel. */
.ram__scene { position: relative; container-type: inline-size; width: min(100%, 432px); aspect-ratio: 288 / 240; margin: 0 auto 22px; --u: calc(100cqw / 288); }
.rs-isle { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.rs-p { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(12 * var(--u)); height: calc(21 * var(--u));
  margin: calc(-21 * var(--u)) 0 0 calc(-6 * var(--u)); }
.rs-body { display: block; width: 100%; height: 100%; }
.rs-body svg { display: block; width: 100%; height: 100%; color: var(--shirt); }
.rs-say { position: absolute; left: 50%; bottom: calc(100% + 3 * var(--u)); translate: -50% 0; scale: 0; transform-origin: 50% 100%; white-space: nowrap;
  font: 700 calc(9 * var(--u))/1 system-ui, sans-serif; color: var(--ink); background: var(--white); padding: calc(2 * var(--u)) calc(3 * var(--u)); box-shadow: 0 calc(2 * var(--u)) 0 rgba(0, 0, 0, .3); }
.rs-say--heart { width: calc(12 * var(--u)); height: calc(10 * var(--u)); padding: 0; background: url("../assets/art/icon-heart.png") center / contain no-repeat; box-shadow: none; }
.rs-loot { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(24 * var(--u)); height: auto; margin: calc(-10 * var(--u)) 0 0 calc(-10 * var(--u)); z-index: 400; }
.rs-spark { left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); z-index: 401; }

/* -------------------------------------------------------------- platform */
.platform__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(22px, 3vw, 44px); margin-top: 40px; align-items: start; }
.acc { display: grid; gap: 10px; }
.acc__b { text-align: start; padding: 16px 20px 18px; width: 100%; background: rgba(3, 57, 95, .3); border-color: var(--line); }
.acc__b p { display: none; font-size: 15px; margin-top: 6px; color: var(--text); }
.acc__b.is-on { border-color: var(--mint); background: radial-gradient(120% 90% at 50% -10%, rgba(90, 234, 207, .14), transparent 62%), rgba(3, 57, 95, .62); }
.acc__b.is-on p { display: block; }
.acc__b.is-on h3 { color: var(--mint); }
/* control-panel illustration: the real panel's "kanz" theme (dezerx) - colours, radii, icons and layout */
.kp { --b: #081B2A; --c: #0D2639; --r: #143349; --o: #102D42; --i: #F3F8FC; --m: #B2C7D5; --f: #9AB2C3; --a: #5AEACF; --a2: #63B8F7; --inv: #062B40;
  display: flex; gap: 0; background: var(--c); border-radius: 16px; overflow: hidden; color: var(--m); text-align: start;
  font: 500 12px/1.45 "Montserrat", "Segoe UI", Tahoma, system-ui, sans-serif; box-shadow: 0 30px 80px -30px rgba(40, 157, 243, .45); }
.kp__sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.kp .ki { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kp__rail { flex: none; width: 52px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; }
.kp__rail img { width: 30px; height: 30px; margin-bottom: 8px; }
.kp__rail i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; color: var(--f); }
.kp__rail i.is-on { background: rgba(90, 234, 207, .1); color: var(--a); }
.kp__inset { flex: 1; min-width: 0; margin: 8px; margin-inline-start: 0; background: var(--b); border-radius: 14px; padding: 10px 12px 14px; display: grid; gap: 12px; align-content: start; }
.kp__top { display: flex; align-items: center; gap: 6px; }
.kp__search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 14px; background: rgba(20, 51, 73, .8); color: var(--f); white-space: nowrap; overflow: hidden; }
.kp__pill, .kp__ib { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; border-radius: 16px; background: var(--r); color: var(--i); }
.kp__pill { padding: 0 12px; font-weight: 600; }
.kp__ib { width: 32px; }
.kp__ib--out { color: #FF9A9A; }
.kp__body { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 14px; }
.kp__nav { display: grid; gap: 2px; align-content: start; padding-inline-start: 6px; }
.kp__nav small { font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--f); padding: 8px 8px 4px; }
.kp__nav b { position: relative; display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 12px; font-weight: 500; color: var(--m); white-space: nowrap; }
.kp__main { display: grid; gap: 10px; align-content: start; min-width: 0; }
.kp__head { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px; border-radius: 16px;
  border: 2px solid transparent; background: linear-gradient(var(--c), var(--c)) padding-box, linear-gradient(90deg, var(--a), rgba(90, 234, 207, .25) 45%, rgba(90, 234, 207, 0) 80%) border-box; }
html[dir="rtl"] .kp__head { background: linear-gradient(var(--c), var(--c)) padding-box, linear-gradient(270deg, var(--a), rgba(90, 234, 207, .25) 45%, rgba(90, 234, 207, 0) 80%) border-box; }
.kp__head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/panel/paper-bg.webp") center / cover; opacity: .2; }
.kp__egg { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.kp__id { flex: 1; min-width: 0; display: grid; gap: 4px; }
.kp__id strong { color: var(--i); font-size: 15px; font-weight: 900; }
.kp__run { display: inline-flex; align-items: center; gap: 5px; margin-inline-start: 6px; padding: 1px 8px; border-radius: 99px; background: rgba(90, 234, 207, .15); color: var(--a); font-size: 9.5px; font-weight: 600; text-transform: uppercase; vertical-align: 2px; }
.kp__run i { width: 6px; height: 6px; border-radius: 50%; background: var(--a); }
.kp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11px; color: var(--f); }
.kp__chip { display: inline-flex; align-items: center; gap: 5px; padding: 1px 7px; border-radius: 8px; background: rgba(16, 45, 66, .7); }
.kp__chip small { font-size: 9px; font-weight: 600; color: var(--f); }
.kp__chip em { font: 11px ui-monospace, Consolas, monospace; color: var(--i); filter: blur(3px); }
.kp__power { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; padding: 3px; margin: -3px; border-radius: 18px; transition: box-shadow .3s; }
.kp__btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 14px; background: var(--o); color: var(--i); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.kp__btn .ki { width: 13px; height: 13px; }
.kp__btn--start { background: var(--a); color: var(--inv); }
.kp__power .kp__btn--start { opacity: .5; }              /* the server is running, so Start is disabled, as in the panel */
.kp__btn--ghost { background: transparent; color: var(--m); }
.kp__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kp__stat { position: relative; overflow: hidden; display: grid; gap: 2px; padding: 11px 12px; border-radius: 16px; background: var(--c); }
.kp__stat small { position: relative; display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--f); }
.kp__stat .ki { width: 13px; height: 13px; }
.kp__stat b { position: relative; color: var(--i); font-size: 16px; font-weight: 600; text-align: start; }
.kp__stat em { position: relative; font-style: normal; font-size: 10.5px; color: var(--f); }
.kp__spark { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 45%; }
.kp__line { fill: none; stroke: rgba(90, 234, 207, .5); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.kp__area { fill: rgba(90, 234, 207, .14); }
.kp__view { display: none; gap: 8px; align-content: start; min-height: 180px; }
.kp__term { padding: 12px 14px; border-radius: 16px; background: var(--c); min-height: 118px; text-align: left; transition: box-shadow .3s; }
.kp__term code { font: 11px/1.75 ui-monospace, SFMono-Regular, Consolas, monospace; color: #CBD5E1; white-space: pre-wrap; word-break: break-word; }
.kp__y { color: #FAED70; font-weight: 700; }
.kp__cmd { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; background: var(--c); color: var(--f); font: 11px ui-monospace, Consolas, monospace; }
.kp__cmd .ki { color: var(--a); }
.kp__caret { width: 7px; height: 13px; background: var(--a); margin-inline-start: -4px; animation: kp-blink 1s steps(1) infinite; }
@keyframes kp-blink { 50% { opacity: 0; } }
.kp__card { border-radius: 16px; background: var(--c); overflow: hidden; }
.kp__crumb { padding: 9px 14px; font-size: 11px; color: var(--f); border-bottom: 1px solid rgba(178, 199, 213, .1); }
.kp__row { display: flex; align-items: center; gap: 10px; padding: 9px 14px; color: var(--i); border-bottom: 1px solid rgba(178, 199, 213, .1); }
.kp__row:last-child { border: 0; }
.kp__row small { margin-inline-start: auto; color: var(--f); font-size: 10.5px; }
.kp__fold { color: #F3C776; fill: rgba(243, 199, 118, .25) !important; }
.kp__file { color: var(--a2); }
.kp__bhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--f); font-size: 11.5px; }
.kp__backup { display: flex; align-items: center; gap: 12px; padding: 14px; }
.kp__arch { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--o); color: var(--i); flex: none; }
.kp__backup div { flex: 1; min-width: 0; display: grid; }
.kp__backup b { color: var(--i); font-weight: 600; }
.kp__backup small { font-size: 10.5px; color: var(--f); }
.kp__acts { display: flex; gap: 10px; color: var(--m); }
.kp__del { color: #FF9A9A; }
/* which part the list on the side is pointing at */
.kp[data-view="power"] .kp__view--console, .kp[data-view="console"] .kp__view--console,
.kp[data-view="files"] .kp__view--files, .kp[data-view="backups"] .kp__view--backups { display: grid; }
.kp[data-view="power"] .kp__power { box-shadow: 0 0 0 2px var(--a), 0 0 22px -4px rgba(90, 234, 207, .6); }
.kp[data-view="console"] .kp__term { box-shadow: 0 0 0 2px var(--a), 0 0 22px -4px rgba(90, 234, 207, .5); }
.kp[data-view="power"] .kp__nav b[data-p="console"], .kp[data-view="console"] .kp__nav b[data-p="console"],
.kp[data-view="files"] .kp__nav b[data-p="files"], .kp[data-view="backups"] .kp__nav b[data-p="backups"] { background: rgba(90, 234, 207, .1); color: var(--i); font-weight: 600; }
.kp[data-view="power"] .kp__nav b[data-p="console"] .ki, .kp[data-view="console"] .kp__nav b[data-p="console"] .ki,
.kp[data-view="files"] .kp__nav b[data-p="files"] .ki, .kp[data-view="backups"] .kp__nav b[data-p="backups"] .ki { color: var(--a); }
.kp[data-view="power"] .kp__nav b[data-p="console"]::before, .kp[data-view="console"] .kp__nav b[data-p="console"]::before,
.kp[data-view="files"] .kp__nav b[data-p="files"]::before, .kp[data-view="backups"] .kp__nav b[data-p="backups"]::before {
  content: ""; position: absolute; inset-inline-start: -7px; top: 50%; width: 4px; height: 22px; margin-top: -11px; border-radius: 4px; background: var(--a); }

/* ----------------------------------------------------------------- stats */
.stats { padding-block: 0 !important; }
.stats__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 20px; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat b { display: block; font-weight: 900; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; color: var(--mint); direction: ltr; }
.stat span { color: var(--frost); font-size: 15px; }

/* ----------------------------------------------- ways / why / small rows */
.ways__row, .why__row { display: grid; gap: 18px; margin-top: 40px; }
.ways__row { grid-template-columns: repeat(4, 1fr); }
.why__row { grid-template-columns: repeat(3, 1fr); }
.way, .tile3 { padding: 26px 24px 28px; }
.way img { width: 84px; margin-bottom: 16px; }
.tile3 img { height: 60px; width: auto; margin-bottom: 18px; }
.way p, .tile3 p { margin-top: 6px; font-size: 15px; }

.where__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.where__in p { margin-top: 12px; }
/* the night drive: 1 art pixel = 2 px; road and village scroll right to left, the dunes slower, the sky stays */
.world { position: relative; height: 200px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 4px; background: #03395F; }
.world__sky { position: absolute; inset: 0; background: url("../assets/art/world/sky.png") 0 0 / 1280px 200px repeat-x; image-rendering: pixelated; }
.world__layer { position: absolute; top: 0; bottom: 0; left: 0; background-repeat: repeat-x; background-position: 0 0; image-rendering: pixelated; }
.world__dunes { width: calc(100% + 1280px); background-image: url("../assets/art/world/dunes.png"); background-size: 1280px 200px; }
.world__road, .world__lights { width: calc(100% + 1280px); background-size: 1280px 200px; }
.world__road { background-image: url("../assets/art/world/road.png"); }
.world__lights { background-image: url("../assets/art/world/lights.png"); }
.world__star { left: var(--sx); top: var(--sy); }
.world__walker { position: absolute; left: 24%; bottom: 40px; width: 16px; height: 28px; z-index: 2; }
.world__walker i, .world__walker svg { display: block; width: 100%; height: 100%; }
.world__walker svg { color: var(--mint); }

.security { background: url("../assets/gem-hollow.svg") no-repeat; background-size: auto 130%; background-position: right max(1vw, calc(50% - 640px)) center; }
html[lang="en"] .security { background-position: left max(1vw, calc(50% - 640px)) center; }
.security__in { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); }
.security__in img { width: 110px; flex: none; }
.security__in p { margin-top: 12px; max-width: 40em; }

.cta { text-align: center; background: radial-gradient(60% 80% at 50% 100%, rgba(40, 157, 243, .28), transparent 70%); }
.cta__in { display: grid; justify-items: center; gap: 26px; }
.cta__in img { width: 240px; animation: float 5s steps(8) infinite alternate; }

/* ------------------------------------------------------------------- faq */
.faq__cols { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 40px auto 0; max-width: 820px; align-items: start; }
.faq__col { display: grid; gap: 14px; }
.faq details { padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 17px 20px 19px; font-weight: 700; color: var(--frost); display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
/* pixel plus that turns into a minus when the answer is open */
.faq summary::after { content: ""; width: 16px; height: 16px; flex: none; transition: transform .2s var(--ease-out, ease);
  background: linear-gradient(var(--mint), var(--mint)) center / 16px 4px no-repeat, linear-gradient(var(--mint), var(--mint)) center / 4px 16px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--mint), var(--mint)) center / 16px 4px no-repeat; transform: rotate(180deg); }
.faq details { transition: border-color .2s, translate .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(90, 234, 207, .55); }
@media (hover: hover) and (pointer: fine) {
  .faq details:hover { border-color: var(--mint); translate: 0 -3px; box-shadow: 0 14px 30px -18px rgba(90, 234, 207, .55); }
  .faq details:hover summary { color: var(--white); }
  .faq details:not([open]):hover summary::after { transform: rotate(90deg); }
}
.faq details p { padding: 0 20px 20px; font-size: 15.5px; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--navy-900); border-top: 1px solid var(--line); font-size: 15px; }
.foot__in { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; padding-block: 56px 40px; }
.foot__brand img { height: 46px; width: auto; }
.foot__brand p { margin-top: 14px; color: var(--frost); }
.foot nav { display: grid; gap: 9px; align-content: start; }
.foot nav h3 { font-size: 16px; margin-bottom: 6px; }
.foot nav a:hover { color: var(--mint); }
.foot nav a { width: fit-content; }
.pay { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; margin-top: 18px; }
.foot__legal { font-size: 10.5px; line-height: 1.5; opacity: .55; }
.foot__co { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.badge--foot { margin: 0; padding: 3px 10px 4px; font-size: 13px; gap: 8px; }
.foot__low { border-top: 1px solid var(--line); padding-block: 20px 28px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .ways__row { grid-template-columns: repeat(2, 1fr); }
  .steps__row { grid-template-columns: repeat(2, 1fr); }
  .steps__row li:nth-child(3) { border-inline-start: 0; }
  .steps__row li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .nav__menu { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 0; margin: 0; background: var(--navy-900); border-bottom: 1px solid var(--line-2); padding: 8px var(--gut) 16px; }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__menu .nav__ext { display: block; color: var(--mint); border-bottom: 0; }
  .nav__burger { display: block; }
  .nav__act .btn--ghost { display: none; }
}
@media (max-width: 920px) {
  .cards { grid-template-columns: 1fr; max-width: 520px; gap: 30px; }
}
@media (max-width: 860px) {
  .hero__in, .ram__box, .feat--a, .fun__in, .platform__in, .where__in { grid-template-columns: 1fr; }
  .hero__art { order: -1; } .hero__art img { width: min(78%, 420px); }
  .minis, .why__row, .payment__row { grid-template-columns: 1fr; }
  .stats__row { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-inline-start: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .faq__cols { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .community__in, .security__in { flex-direction: column; text-align: center; align-items: center; }
  .community__act { justify-content: center; }
}
@media (max-width: 560px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .ways__row, .steps__row { grid-template-columns: 1fr; }
  .steps__row li { border-inline-start: 0 !important; border-top: 1px solid var(--line-2); } .steps__row li:first-child { border-top: 0; }
  .plan { padding: 26px 18px 20px; }
  .plan__icon { width: 78px; }
  .pay-card { padding: 22px 18px 24px; }
  .pay-card__head > img { width: 52px; }
  .kp__rail, .kp__nav, .kp__pill { display: none; }
  .kp__inset { margin: 0; border-radius: 0; padding: 10px; }
  .kp__body { grid-template-columns: minmax(0, 1fr); }
  .kp__stat { padding: 9px 10px; } .kp__stat b { font-size: 14px; }
  .kp__view { min-height: 204px; }
  .ram__card h3 { font-size: 26px; }
  .ram__card .ram__buy .btn { width: 100%; }
  .stat { padding: 28px 12px; }
  .foot__in { grid-template-columns: 1fr; }
  .nav__act .btn--blue { display: none; }
  .hero__cta .btn { width: 100%; white-space: normal; text-align: center; padding-inline: 18px; }
  .hero__copy, .hero__art { min-width: 0; }
  .community__act { width: 100%; } .community__act .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
