/* =========
   Mösl – Modern UI (no framework)
   ========= */

:root {
  --bg: #192336;
  --bg-2: #27406b;
  --surface: #0f213c;
  --surface-2: #122a4a;

  --text: #eaf1ff;
  --muted: #b8c6e6;

  --primary: #fff105;
  --primary-600: #c2ba46;
  --primary-50: rgba(255, 241, 5, .12);

  --accent: #19c37d;
  --danger: #ff5a5f;

  --border: rgba(255, 255, 255, .12);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);

  --radius: 18px;
  --radius-sm: 12px;

  --container: 1300px;

  --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(1200px 700px at 10% 10%, #16335f 0%, var(--bg) 45%, #070b12 100%);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 .75rem;
  line-height: 1.15;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 2.3vw, 2rem);
}

h3 {
  font-size: 1.2rem;
}

small {
  color: var(--muted);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 36px 0;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card__body {
  padding: 22px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  user-select: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-600));
  color: #071224;
  box-shadow: 0 10px 20px rgba(255, 237, 74, 0.22);
}

.btn-primary:hover {
  filter: brightness(1.15);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.247);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .09);
}

.btn-accent {
  background: rgba(25, 195, 124, 0.507);
  border-color: rgba(25, 195, 125, .35);
  color: #c9ffe8;
}

.btn-accent:hover {
  background: rgba(25, 195, 125, .18);
}

.kbd {
  font-family: var(--mono);
  font-size: .85rem;
  padding: .2rem .45rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--border);
  color: var(--muted);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

/* =========
   Lists / tables
   ========= */
.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.clean-list li {
  padding: .65rem .75rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  border-radius: 14px;
}

.clean-list li+li {
  margin-top: 10px;
}

/* =========
   Footer
   ========= */
.footer {
  padding: 32px 0 44px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, .18);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.footer a {
  color: var(--muted);
  font-weight: 700;
}

.footer a:hover , .highlight {
  color: var(--text);
}

.footer__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

:focus-visible {
  outline: 3px solid rgba(74, 163, 255, .55);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.brand__badge {
  display: inline-grid;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(242, 221, 0, .45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
}

.brand__badge-top {
  background: #fff105;
  color: #071224;
  font-weight: 900;
  letter-spacing: -.02em;
  padding: 8px 12px 6px;
  line-height: 1;
  font-size: 1.05rem;
}

.brand__badge-bottom {
  background: #071224;
  color: #fff105;
  font-weight: 900;
  letter-spacing: -.02em;
  padding: 6px 12px 8px;
  line-height: 1;
  font-size: 1.05rem;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__subtitle {
  display: block;
  font-size: .95rem;
  color: rgba(242, 221, 0, .75);
  font-weight: 700;
}

.backtotop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.backtotop.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.d-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.section--no-bottom { padding-bottom: 0; }

.flex-wrap{
  display:flex; gap:10px; flex-wrap:wrap;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr;

  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}