:root {
  color-scheme: light;
  --bg: #eef5fb;
  --bg-2: #f7fbff;
  --paper: #ffffff;
  --ink: #102033;
  --muted: #5d7388;
  --line: rgba(40, 92, 140, 0.12);
  --blue: #1e6fff;
  --blue-2: #3b8dff;
  --blue-soft: #e8f2ff;
  --shadow: 0 18px 40px rgba(28, 74, 122, 0.08);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(900px 420px at 88% 8%, rgba(90, 170, 235, 0.18), transparent 60%),
    linear-gradient(180deg, #f4f9fd 0%, var(--bg) 38%, #eaf3fb 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 20;
  background: var(--blue);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(247, 251, 255, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.6);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}
.brand-name {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 22px;
}
.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  color: #33485c;
  font-size: 14px;
  font-weight: 600;
}
.nav a:hover { color: var(--blue); }
.login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3b8dff, #1e6fff);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(30, 111, 255, 0.28);
}
.login svg { width: 16px; height: 16px; }

.hero {
  position: relative;
  padding: 28px 0 18px;
  min-height: 430px;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 42px 0 28px;
}
.kicker {
  margin: 0 0 16px;
  color: #7b8ea0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 800;
}
.hero h1 span { color: var(--blue); }
.lede {
  margin: 0 0 16px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.sub {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.hero-visual {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(58%, 760px);
  height: 100%;
  pointer-events: none;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 46%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
}
.captions {
  position: absolute;
  inset: 18% 6% 28% 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.captions p {
  margin: 0;
  max-width: 9ch;
  color: rgba(40, 62, 86, 0.42);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.55;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 8px 0 28px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 168px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(28, 74, 122, 0.12);
}
.card--lead {
  background: linear-gradient(160deg, #dcebff 0%, #eef6ff 55%, #f7fbff 100%);
}
.card--art {
  justify-content: flex-end;
  background:
    radial-gradient(220px 120px at 80% 20%, rgba(90,170,255,.28), transparent 70%),
    linear-gradient(160deg, #d9ecff, #f4f9ff 58%, #cfe4fb);
  color: #3d5570;
  pointer-events: none;
}
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.ico {
  width: 42px;
  height: 42px;
  color: var(--blue);
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.badge--ghost {
  background: rgba(255,255,255,0.72);
  color: #5a7390;
  border: 1px solid rgba(90,140,190,0.18);
}
.card h2 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.03em;
  font-weight: 750;
}
.card p {
  margin: 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}
.go {
  position: absolute;
  right: 16px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  color: #6a8298;
  transform: translateY(-50%);
}
.card--art .label {
  margin: 0;
  color: #6d849b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.7;
}

.foot-note {
  text-align: center;
  color: #7d90a2;
  font-size: 13px;
  padding: 6px 0 22px;
}
.foot-note span { opacity: 0.7; }

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 28px;
  color: #8aa0b2;
  font-size: 12px;
}
.foot .brand-name { font-size: 16px; color: #234058; }
.foot small { font-weight: 500; }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { width: 62%; opacity: 0.92; }
  .captions { display: none; }
  .nav a:not(.login) { display: none; }
}
@media (max-width: 720px) {
  .wrap { width: min(100% - 24px, var(--max)); }
  .hero { min-height: 0; padding-top: 12px; }
  .hero-visual {
    position: relative;
    width: 100%;
    height: 220px;
    margin-top: 8px;
    border-radius: 18px;
    overflow: hidden;
  }
  .hero-visual img { mask-image: none; object-position: 70% 40%; }
  .hero-copy { padding: 18px 0 8px; }
  .grid { grid-template-columns: 1fr; }
  .go { top: 22px; transform: none; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
/* MetaCore Intro LT · compact app launcher v2 · 2026-09-21
   Desktop goal: full platform gateway in one viewport; mobile keeps natural scroll. */
.card--academy {
  background: linear-gradient(155deg, #eef4ff 0%, #ffffff 62%, #f5f2ff 100%);
  border-color: rgba(92, 104, 230, 0.14);
}
.card--academy .ico { color: #5669e8; }
.card--academy .badge {
  background: rgba(86, 105, 232, 0.10);
  color: #5060c8;
  border: 1px solid rgba(86, 105, 232, 0.16);
}

@media (min-width: 981px) and (min-height: 620px) {
  html, body { height: 100%; overflow: hidden; }
  body { min-height: 100dvh; }
  .top { position: relative; }
  .top-inner { min-height: 56px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 20px; }
  .brand small { font-size: 9.5px; }
  .nav { gap: 18px; }
  .nav a { font-size: 12.5px; }
  .login { min-height: 36px; padding: 0 14px; }

  main {
    height: calc(100dvh - 56px);
    min-height: 0;
    overflow: hidden;
  }
  .hero {
    min-height: 0;
    height: clamp(174px, 27dvh, 220px);
    padding: 6px 0 4px;
    overflow: hidden;
  }
  .hero-copy {
    max-width: 570px;
    padding: 16px 0 10px;
  }
  .kicker {
    margin-bottom: 7px;
    font-size: 9.5px;
    letter-spacing: .20em;
  }
  .hero h1 {
    margin-bottom: 6px;
    font-size: clamp(36px, 4.3vw, 52px);
    line-height: .96;
  }
  .lede {
    margin-bottom: 7px;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.14;
  }
  .sub {
    max-width: 52ch;
    font-size: 12.5px;
    line-height: 1.38;
  }
  .hero-visual { width: min(55%, 720px); height: 100%; }
  .hero-visual img { object-position: 72% 48%; }
  .captions { inset: 15% 5% 24% 4%; }
  .captions p { font-size: 8px; letter-spacing: .15em; line-height: 1.4; }

  #kryptys { min-height: 0; }
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 3px 0 5px;
  }
  .card {
    min-height: 112px;
    padding: 11px 12px 10px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(28, 74, 122, .06);
    overflow: hidden;
  }
  a.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(28, 74, 122, .10);
  }
  .card-top { margin-bottom: 5px; }
  .ico { width: 27px; height: 27px; }
  .badge {
    min-height: 18px;
    padding: 0 8px;
    font-size: 7px;
  }
  .card h2 {
    margin-bottom: 3px;
    padding-right: 30px;
    font-size: 14.5px;
    line-height: 1.14;
  }
  .card p {
    max-width: 32ch;
    padding-right: 28px;
    font-size: 10.8px;
    line-height: 1.27;
  }
  .go {
    right: 10px;
    width: 27px;
    height: 27px;
    font-size: 16px;
  }
  .foot-note {
    margin: 0;
    padding: 1px 0 5px;
    font-size: 10px;
    line-height: 1.2;
  }
  .foot { display: none; }
}

@media (min-width: 981px) and (min-height: 620px) and (max-height: 720px) {
  .hero { height: 168px; }
  .hero-copy { padding-top: 11px; }
  .grid { gap: 6px; }
  .card { min-height: 106px; padding-top: 9px; padding-bottom: 8px; }
  .card h2 { font-size: 13.8px; }
  .card p { font-size: 10.2px; }
}
/* MetaCore Intro launcher i18n v3 · language switcher */
.lang-switch{position:relative;z-index:80}.lang-switch summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:50px;height:34px;padding:0 9px;border:1px solid #d7e4f1;border-radius:999px;background:rgba(255,255,255,.82);color:#33485c;font-size:11px;font-weight:800;letter-spacing:.04em;cursor:pointer;user-select:none}.lang-switch summary::-webkit-details-marker{display:none}.lang-switch summary::after{content:'⌄';font-size:10px;color:#71879b;transform:translateY(-1px)}.lang-switch[open] summary{border-color:#b9d3f3;background:#fff;box-shadow:0 8px 20px rgba(30,74,122,.10)}.lang-menu{position:absolute;right:0;top:calc(100% + 7px);min-width:154px;padding:6px;border:1px solid #dbe7f2;border-radius:14px;background:rgba(255,255,255,.98);box-shadow:0 18px 40px rgba(31,70,111,.16);backdrop-filter:blur(14px)}.lang-menu a{display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:32px;padding:0 9px;border-radius:9px;color:#40566b!important;font-size:11px!important;font-weight:700!important;text-decoration:none}.lang-menu a:hover{background:#eef5ff;color:#1767ff!important}.lang-menu a.active{background:#eaf2ff;color:#1767ff!important}.lang-menu b{font-size:10px;letter-spacing:.06em}.lang-menu span{color:#8397aa;font-weight:600}.nav{gap:14px}.nav>.login{margin-left:2px}@media(max-width:980px){.lang-switch{display:block}.lang-menu{right:0}.nav a:not(.login){display:none}.lang-menu a{display:flex!important}}@media(max-width:540px){.brand small{display:none}.nav{gap:8px}.login{padding:0 12px}.lang-switch summary{min-width:44px;padding:0 7px}}
