/* ============================================================
   Brand theme — matched to mikrotikmasters.com: light background,
   navy text, blue accent. Tweak --accent if you want an exact
   hex match once you share it.
   ============================================================ */
:root {
  --bg: #eef2fa;
  --bg-elevated: #ffffff;
  --border: #dde4f0;
  --text: #12213f;
  --text-muted: #5b6b82;
  --accent: #2f5fdb;       /* blue — matches "Learn more" buttons on the site */
  --accent-text: #ffffff;
  --error: #c0392b;
  --success: #1f9254;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.brand-header img { height: 36px; }
.brand-header .brand-name {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
}

h1, h2 { line-height: 1.25; color: var(--text); }
h1 { font-size: 28px; font-weight: 800; }
h2 { font-size: 20px; font-weight: 700; }

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(20, 30, 60, 0.04);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}
.btn:hover { filter: brightness(1.08); }

.price { font-size: 24px; font-weight: 800; margin: 6px 0 14px; color: var(--accent); }

label { display: block; margin: 12px 0 4px; font-weight: 600; font-size: 14px; color: var(--text-muted); }

input[type=email], input[type=password], input[type=text] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  background: #fff;
  color: var(--text);
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.error { color: var(--error); margin: 10px 0; }
.message { color: var(--success); margin: 10px 0; }

table { width: 100%; border-collapse: collapse; margin-top: 16px; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--border); font-size: 14px; }
th { color: var(--text-muted); font-weight: 600; }

.tag {
  display: inline-block;
  background: rgba(47, 95, 219, 0.1);
  color: var(--accent);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  margin-right: 4px;
}

.top-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.top-nav a { color: var(--text-muted); text-decoration: none; font-size: 14px; }
.top-nav a:hover { color: var(--accent); }

.lesson { margin-bottom: 28px; }
iframe.yt { width: 100%; aspect-ratio: 16 / 9; border: none; border-radius: 8px; }

.checkbox-row { display: flex; gap: 16px; align-items: center; margin: 10px 0; flex-wrap: wrap; }
.checkbox-row label { margin: 0; font-weight: 400; color: var(--text); }

.subtitle { color: var(--text-muted); margin-top: -8px; margin-bottom: 20px; }
