@font-face {
  font-family: 'Michroma';
  src: url('michroma.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0e0e10;
  --bg-card: #18181b;
  --border: #2a2a2e;
  --text: #e8e8e8;
  --text-muted: #939396;
  --accent: #c7d4ef;
  --accent-hover: #ffffff;
  --radius: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.nav-brand img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.nav-cta {
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius);
}

.nav-cta:hover { background: var(--accent-hover); }

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 20px;
  gap: 18px;
  max-width: 640px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-cta {
  margin-top: 10px;
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
}

.hero-cta:hover { background: var(--accent-hover); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 12px;
  border-top: 1px solid var(--border);
}

a.nav-brand { color: inherit; text-decoration: none; }

.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* ---------- legal pages (Terms of Service) ---------- */
.legal {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 64px;
  line-height: 1.65;
  font-size: 15px;
}
.legal h1 { font-size: 30px; font-weight: 700; margin-bottom: 6px; }
.legal-meta { color: var(--text-muted); font-size: 13px; margin-bottom: 28px; }
.legal h2 { font-size: 18px; font-weight: 650; margin: 34px 0 10px; scroll-margin-top: 20px; }
.legal p { margin-bottom: 12px; color: #d4d4d6; }
.legal ul { margin: 0 0 12px 20px; color: #d4d4d6; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }
.legal-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 28px;
}
.legal-toc ol { columns: 2; column-gap: 28px; margin-left: 18px; font-size: 13.5px; }
.legal-toc li { margin-bottom: 4px; break-inside: avoid; }
.legal-toc a { color: var(--text-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--accent); }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } .legal h1 { font-size: 24px; } }

.nav-brand span {
  font-family: 'Michroma', sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Pricing (home) ---------- */
html { scroll-behavior: smooth; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.nav-link:hover { color: var(--text); }
.hero { flex: 0 0 auto; min-height: 60vh; }
.pricing { width: 100%; max-width: 1080px; margin: 0 auto; padding: 72px 20px 88px; scroll-margin-top: 16px; }
.pricing-title { font-family: 'Michroma', sans-serif; font-weight: 400; font-size: 26px; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.pricing-sub { color: var(--text-muted); text-align: center; max-width: 620px; margin: 12px auto 40px; font-size: 14.5px; line-height: 1.6; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price-empty { grid-column: 1 / -1; text-align: center; color: var(--text-muted); font-size: 14px; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px; border-radius: 14px;
  background: var(--bg-card); border: 1px solid var(--border); }
.price-card.is-featured { border-color: transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              linear-gradient(120deg, #c7d4ef, #b8c8e6 48%, #8fa2c6) border-box;
  box-shadow: 0 18px 50px -24px rgba(184, 200, 230, .55); }
.price-flag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px; color: #fff; background: linear-gradient(120deg, #c7d4ef, #8fa2c6); white-space: nowrap; }
.price-name { font-family: 'Michroma', sans-serif; font-weight: 400; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.price-amount { font-size: 34px; font-weight: 700; display: flex; align-items: baseline; gap: 8px; }
.price-once { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.price-then { font-size: 13px; color: var(--text-muted); min-height: 18px; }
.price-list { list-style: none; margin: 10px 0 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.price-list li { position: relative; padding-left: 22px; font-size: 14px; color: #d4d4d6; line-height: 1.45; }
.price-list li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.price-btn { display: block; text-align: center; text-decoration: none; font-weight: 600; font-size: 14px; padding: 12px 16px; border-radius: 10px;
  color: #fff; background: linear-gradient(120deg, #c7d4ef, #b8c8e6 48%, #8fa2c6); transition: filter .2s; }
.price-btn:hover { filter: brightness(1.1); }
.price-btn.is-off { background: #2a2a2e; color: var(--text-muted); cursor: default; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } .price-card.is-featured { margin-top: 8px; } }
@media (max-width: 520px) { .nav { padding: 14px 16px; } .nav-links { gap: 12px; } }

/* ---------- Onyx.AI Course block + platform-only plan ---------- */
.pricing-sub strong { color: var(--text); font-weight: 600; }
.course-box { margin-top: 8px; padding: 16px 16px 14px; border-radius: 12px; border: 1px solid rgba(184, 200, 230, .45);
  background: linear-gradient(135deg, rgba(200, 215, 245, .10), rgba(143, 162, 198, .10)); display: flex; flex-direction: column; gap: 4px; }
.course-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.course-head { font-size: 17px; font-weight: 700; }
.course-sub { font-size: 12.5px; color: var(--text-muted); }
.course-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.course-stat { display: flex; flex-direction: column; gap: 2px; padding: 8px 6px; border-radius: 8px; background: rgba(0, 0, 0, .25); text-align: center; }
.course-stat b { font-size: 18px; font-weight: 700; }
.course-stat span { font-size: 11px; color: var(--text-muted); line-height: 1.3; }
.course-more { margin-top: 8px; font-size: 12.5px; color: var(--text-muted); }
.course-more a { color: var(--accent); text-decoration: none; font-weight: 600; }
.course-more a:hover { color: var(--accent-hover); }
.price-list-title { margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.price-list-title + .price-list { margin-top: 2px; }
.platform-card { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px;
  border-radius: 14px; background: var(--bg-card); border: 1px dashed var(--border); }
.platform-card[hidden] { display: none; }
.platform-text { display: flex; flex-direction: column; gap: 6px; }
.platform-text p { font-size: 14px; color: #d4d4d6; line-height: 1.5; }
.platform-kicker { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.platform-buy { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.platform-buy .price-amount { font-size: 28px; }
.platform-buy .price-btn { min-width: 150px; }
@media (max-width: 860px) { .platform-card { flex-direction: column; align-items: stretch; max-width: 440px; margin: 28px auto 0; }
  .platform-buy { justify-content: space-between; } }

/* ---------- course banner (v6) ---------- */
.course-banner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; margin: 0 0 34px; padding: 26px 28px;
  border-radius: 16px; border: 1px solid rgba(184, 200, 230, .45);
  background: linear-gradient(135deg, rgba(200, 215, 245, .12), rgba(143, 162, 198, .12)); }
.course-banner-main { display: flex; flex-direction: column; gap: 6px; }
.course-banner-title { font-family: 'Michroma', sans-serif; font-weight: 400; font-size: 22px; letter-spacing: .05em; text-transform: uppercase; }
.course-banner-sub { font-size: 14px; color: #d4d4d6; line-height: 1.55; }
.course-banner .course-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; max-width: 460px; }
.course-banner .course-stat b { font-size: 22px; }
.course-banner-cta { display: flex; flex-direction: column; gap: 14px; padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .08); }
.course-banner-cta p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.course-banner-cta strong { color: var(--text); }
.discord-btn { align-self: flex-start; text-decoration: none; font-weight: 600; font-size: 14px; color: #fff; padding: 11px 18px; border-radius: 10px;
  background: #5865f2; transition: filter .2s; }
.discord-btn:hover { filter: brightness(1.12); }
.discord-btn[hidden] { display: none; }
.price-perk { display: flex; flex-direction: column; gap: 7px; margin-top: 6px; padding: 14px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(200, 215, 245, .09), rgba(143, 162, 198, .09)); border: 1px solid rgba(184, 200, 230, .35); }
.perk-row { display: flex; gap: 9px; font-size: 13.5px; color: #d4d4d6; line-height: 1.45; }
.perk-row b { color: var(--text); }
.perk-ico { color: var(--accent); flex-shrink: 0; }
.perk-save { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  color: #0e0e10; background: linear-gradient(120deg, #c7d4ef, #8fa2c6); white-space: nowrap; }
.platform-save { font-size: 13px !important; color: var(--text-muted) !important; }
.platform-save strong { color: var(--accent); }
@media (max-width: 860px) { .course-banner { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto 30px; }
  .course-banner-cta { padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); } }

.price-why { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.price-why strong { color: var(--text); font-weight: 600; }
.price-why[hidden] { display: none; }

.price-legal { margin: 10px 0 0; font-size: 11px; line-height: 1.45; color: var(--text-muted); text-align: center; }
.price-legal a { color: inherit; text-decoration: underline; }

/* ---------- platform-only: 1 month / 3 months toggle (launch week) ---------- */
.bill-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 4px 0 18px; font-size: 14px; font-weight: 600; }
.bill-toggle[hidden] { display: none; }
.bill-opt { background: none; border: 0; padding: 4px 2px; font: inherit; color: var(--text-muted); cursor: pointer; }
.bill-opt.is-on { color: var(--text); }
.bill-switch { position: relative; width: 44px; height: 24px; border-radius: 999px; border: 1px solid var(--border); background: #2a2a2e; cursor: pointer; padding: 0; transition: background .2s; }
.bill-switch span { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #e8e8e8; transition: transform .2s; }
.bill-switch[aria-checked="true"] { background: var(--accent); }
.bill-switch[aria-checked="true"] span { transform: translateX(20px); background: #0e0e10; }
.bill-save { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #0e0e10; background: var(--accent); }
.plat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; width: 100%; }
.plat-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 12px; background: #131316; border: 1px solid var(--border); }
.plat-card.is-featured { border-color: var(--accent); }
.plat-card h4 { font-size: 15px; }
.plat-card .price-btn { margin-top: auto; }
.platform-card { flex-wrap: wrap; }
.platform-card .platform-text, .platform-card .bill-toggle, .platform-card .plat-grid { flex-basis: 100%; }

.pricing-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 860px; margin: 8px auto 14px; }
.pricing-path { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); text-align: left; }
.pricing-path b { font-size: 16px; background: linear-gradient(120deg, #c7d4ef, #8fa2c6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pricing-path span { font-size: 14px; color: #a3a9b8; line-height: 1.5; }
@media (max-width: 640px) { .pricing-paths { grid-template-columns: 1fr; } }

.pricing .platform-card { margin-top: 22px; }
.pricing-second { margin: 64px auto 14px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.price-list li.price-more { color: #eef0f6; }
.price-list li.price-more a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* small phones: the nav (longer words in es / de / pt) stays inside the screen */
@media (max-width: 440px) {
  .nav { gap: 10px; }
  .nav-links { gap: 10px; min-width: 0; flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; }
  .nav-link { font-size: 12px; letter-spacing: 0; }
  .nav-cta { padding-left: 12px; padding-right: 12px; }
}
