/* Belphor Learn · shared article styles, matches the platform design language */
@font-face { font-family: "Gatsby"; src: url("/gatsby.woff2") format("woff2"); font-display: swap; }
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --canvas: #060708; --panel: #0D0F11; --hairline: rgba(255,255,255,0.07);
  --platinum: #E8E6E1; --secondary: #A9A6A0; --muted: #71706B;
  --flame: #E8873C; --flamebright: #F2A85A; --gold: #C9A96C; --olive: #9FBE6E;
}
html { scroll-behavior: smooth; }
body {
  background: var(--canvas); color: var(--secondary);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased;
}
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(720px 480px at 50% -10%, rgba(201,169,108,0.07) 0%, transparent 60%); }
nav.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px);
  background: rgba(6,7,8,0.8); border-bottom: 1px solid var(--hairline); }
nav.top .in { max-width: 760px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-family: Gatsby, Inter, sans-serif; font-size: 20px; color: var(--platinum);
  letter-spacing: 0.08em; text-decoration: none; }
nav.top a.cta { color: var(--flamebright); text-decoration: none; font-size: 14px; }
nav.top a.cta:hover { text-decoration: underline; }
main { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.crumb { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--platinum); }
h1 { font-size: 34px; line-height: 1.2; color: var(--platinum); font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 14px; }
.lede { font-size: 18px; color: var(--secondary); margin-bottom: 34px; }
h2 { font-size: 22px; color: var(--platinum); font-weight: 600; margin: 38px 0 12px; }
h3 { font-size: 17px; color: var(--platinum); font-weight: 600; margin: 26px 0 8px; }
p { margin-bottom: 16px; }
a { color: var(--flamebright); }
strong { color: var(--platinum); font-weight: 600; }
ul, ol { margin: 0 0 16px 22px; }
li { margin-bottom: 8px; }
.key { background: var(--panel); border: 1px solid var(--hairline); border-left: 2px solid var(--flame);
  border-radius: 16px; padding: 18px 22px; margin: 26px 0; }
.key .t { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--flamebright); margin-bottom: 8px; }
.key p, .key li { font-size: 15px; }
.key :last-child { margin-bottom: 0; }
dl dt { color: var(--platinum); font-weight: 600; margin-top: 18px; }
dl dd { margin-left: 0; }
.grid { display: grid; gap: 14px; margin: 26px 0; }
.card { display: block; background: var(--panel); border: 1px solid var(--hairline); border-radius: 18px;
  padding: 20px 22px; text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: rgba(232,135,60,0.4); transform: translateY(-1px); }
.card .h { color: var(--platinum); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.card .d { color: var(--secondary); font-size: 14px; line-height: 1.6; }
.cta-box { background: linear-gradient(150deg, rgba(233,169,77,0.12), rgba(180,71,31,0.10));
  border: 1px solid rgba(232,135,60,0.3); border-radius: 20px; padding: 26px; margin-top: 44px; }
.cta-box .h { color: var(--platinum); font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.cta-box p { font-size: 15px; }
.cta-box a.btn { display: inline-block; margin-top: 10px; background: linear-gradient(150deg, #E9A94D, #D26A2C);
  color: #1C1208; font-weight: 600; font-size: 14px; padding: 11px 22px; border-radius: 999px; text-decoration: none; }
footer { border-top: 1px solid var(--hairline); margin-top: 56px; padding-top: 22px;
  font-size: 13px; color: var(--muted); }
footer a { color: var(--muted); }
footer a:hover { color: var(--platinum); }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.disclaimer { font-size: 12px; line-height: 1.6; }
@media (max-width: 640px) { h1 { font-size: 27px; } .lede { font-size: 16px; } }

/* ---- island nav, matching the main site (static version) ---- */
.island { position: fixed; top: 14px; left: 0; right: 0; margin: 0 auto; width: calc(100% - 28px);
  z-index: 40; border-radius: 22px; overflow: hidden; background: rgba(9,11,14,0.42);
  backdrop-filter: blur(24px) saturate(1.15); -webkit-backdrop-filter: blur(24px) saturate(1.15);
  border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 12px 40px rgba(0,0,0,0.35); }
@supports not (backdrop-filter: blur(1px)) { .island { background: rgba(9,11,14,0.93); } }
@media (min-width: 768px) { .island { top: 18px; width: calc(100% - 48px); } }
.isl-bar { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 20px; }
@media (min-width: 768px) { .isl-bar { height: 68px; padding: 0 24px; } }
.isl-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.isl-brand img { display: block; }
.isl-brand .wordmark { font-size: 16px; }
.isl-actions { display: flex; align-items: center; gap: 12px; }
.isl-ghost { display: none; align-items: center; border-radius: 999px; padding: 6px 16px; font-size: 13px;
  font-weight: 500; color: var(--secondary); text-decoration: none; border: 1px solid var(--hairline);
  background: rgba(255,255,255,0.02); transition: all 0.2s ease; }
.isl-ghost:hover { color: var(--platinum); border-color: rgba(232,135,60,0.4); background: rgba(255,255,255,0.04); }
@media (min-width: 640px) { .isl-ghost { display: inline-flex; } }
.isl-gold { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 16px; font-size: 13px;
  font-weight: 600; color: #16171A; text-decoration: none;
  background: linear-gradient(180deg, #f2a85a 0%, #d8752e 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 2px 12px rgba(216,117,46,0.3); }
.isl-gold:hover { filter: brightness(1.06); }
@property --orbit { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.btn-glow { position: relative; z-index: 0; }
.btn-glow::before { content: ""; position: absolute; inset: -3px; border-radius: 999px; z-index: -1;
  background: conic-gradient(from var(--orbit), transparent 0deg, rgba(255,205,140,0.95) 70deg,
    rgba(242,168,90,0.35) 110deg, transparent 160deg);
  filter: blur(6px); animation: orbit 3.2s linear infinite; }
@keyframes orbit { to { --orbit: 360deg; } }
.burger { position: relative; width: 34px; height: 34px; border-radius: 10px; color: #e8e6e1;
  background: transparent; border: 0; cursor: pointer; transition: background-color 0.2s ease; }
.burger:hover { background: rgba(255,255,255,0.06); }
.burger span { position: absolute; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), left 0.3s cubic-bezier(0.22,1,0.36,1); }
.burger span:first-child { top: 13px; left: 9px; right: 9px; }
.burger span:last-child { top: 19px; left: 14px; right: 9px; }
.island-open .burger span:first-child { transform: translateY(3px) rotate(45deg); }
.island-open .burger span:last-child { left: 9px; transform: translateY(-3px) rotate(-45deg); }
.island-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s cubic-bezier(0.4,0,0.2,1); }
.island-body > div { min-height: 0; overflow-y: auto; max-height: calc(100dvh - 140px); }
.island-open .island-body { grid-template-rows: 1fr; transition: grid-template-rows 0.55s cubic-bezier(0.22,1,0.36,1); }
.island .menu-col { opacity: 0; transform: translateY(12px); transition: opacity 0.16s ease, transform 0.16s ease; }
.island-open .menu-col { opacity: 1; transform: none;
  transition: opacity 0.45s ease 0.12s, transform 0.55s cubic-bezier(0.22,1,0.36,1) 0.12s; }
.isl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 32px; padding: 16px 20px 24px; }
@media (min-width: 768px) { .isl-grid { grid-template-columns: repeat(4, 1fr); padding: 16px 24px 40px; } }
.isl-head { font-size: 16px; color: var(--platinum); font-weight: 600; margin-bottom: 14px; }
.menu-item { display: block; width: fit-content; max-width: calc(100% + 32px); font-size: 15px;
  color: #a3a7ad; text-decoration: none; border-radius: 14px; padding: 10px 16px; margin: 0 -16px 4px;
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), color 0.2s ease, background-color 0.2s ease; }
.menu-item:hover { color: #f2a85a; background: rgba(255,255,255,0.07); transform: scale(1.09); }
.menu-item:hover + .menu-item, .menu-item:has(+ .menu-item:hover) { transform: scale(1.035); }
.isl-signin-row { padding: 0 20px 26px; }
@media (min-width: 640px) { .isl-signin-row { display: none; } }
.isl-signin-row .isl-ghost { display: flex; width: 100%; justify-content: center; padding: 10px 16px; font-size: 14px; }
main { padding-top: 118px; }
@media (prefers-reduced-motion: reduce) { .btn-glow::before { animation: none; opacity: 0.5; }
  .island-body, .island .menu-col, .menu-item, .burger span { transition: none; } }

.updated { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: -14px 0 22px; }
.updated a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.updated a:hover { color: var(--platinum); }
