/* Public Learn welcome page. Scoped independently of role-specific workspaces. */
body[data-hypatia-intro='true'] {
  --welcome-ink: #283641;
  --welcome-muted: #637180;
  --welcome-line: #dfe5eb;
  --welcome-blue: #146397;
  --welcome-mid: #1b89d1;
  --welcome-light: #4daae8;
  /* The same type scale as learn.css: 12px is the floor, for labels. */
  --ht-text-xs: 12px;
  --ht-text-sm: 14px;
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--welcome-ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color-scheme: light;
}
[data-hypatia-intro='true'] *,
[data-hypatia-intro='true'] *::before,
[data-hypatia-intro='true'] *::after { box-sizing: border-box; }
[data-hypatia-intro='true'] #contentAll,
[data-hypatia-intro='true'] #contentHeader,
[data-hypatia-intro='true'] #contentFooter { margin: 0; padding: 0; min-height: 0; background: transparent; }
[data-hypatia-intro='true'] h1,
[data-hypatia-intro='true'] h2,
[data-hypatia-intro='true'] h3,
[data-hypatia-intro='true'] p,
[data-hypatia-intro='true'] figure { margin: 0; color: inherit; }
[data-hypatia-intro='true'] a { color: var(--welcome-blue); text-decoration: none; }
[data-hypatia-intro='true'] a:hover { text-decoration: underline; text-underline-offset: 4px; }
[data-hypatia-intro='true'] button { font: inherit; cursor: pointer; }
[data-hypatia-intro='true'] :is(a, button):focus-visible { outline: 3px solid var(--welcome-light); outline-offset: 4px; }
.welcome-container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.welcome-header { border-bottom: 1px solid var(--welcome-line); }
.welcome-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 88px; }
[data-hypatia-intro='true'] .welcome-brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 9px; color: var(--welcome-ink); font-size: 23px; font-weight: 700; letter-spacing: -.9px; text-decoration: none; }
.welcome-brand img { display: block; object-fit: contain; }
.welcome-brand-accent { color: var(--welcome-blue); }
.welcome-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
[data-hypatia-intro='true'] .welcome-nav-course { color: var(--welcome-muted); }
[data-hypatia-intro='true'] .welcome-nav-design { padding: 0; border: 0; background: none; color: var(--welcome-muted); font-weight: 600; white-space: nowrap; }
[data-hypatia-intro='true'] .welcome-nav-design:hover { color: var(--welcome-ink); text-decoration: underline; text-underline-offset: 4px; }
[data-hypatia-intro='true'] .welcome-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 50px; padding: 12px 20px; border: 1px solid var(--welcome-line); border-radius: 10px; background: #fff; color: var(--welcome-ink); font-size: 14px; line-height: 1.4; font-weight: 600; text-align: center; text-decoration: none; transition: background .15s, border-color .15s; }
[data-hypatia-intro='true'] .welcome-button:hover { background: #f4f7f9; border-color: #b3c2ce; }
[data-hypatia-intro='true'] .welcome-button-small { min-height: 40px; padding: 9px 16px; }
[data-hypatia-intro='true'] .welcome-button-primary { color: #fff; background: var(--welcome-blue); border-color: var(--welcome-blue); }
[data-hypatia-intro='true'] .welcome-button-primary:hover { background: #104e77; border-color: #104e77; }
.welcome-button svg { width: 18px; height: 18px; flex-shrink: 0; }
.welcome-hero { display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(32px, 5vw, 84px); align-items: center; padding-top: 80px; padding-bottom: 84px; }
.welcome-eyebrow { color: var(--welcome-blue) !important; font-size: var(--ht-text-xs); font-weight: 700; line-height: 1.5; letter-spacing: 1.7px; }
[data-hypatia-intro='true'] .welcome-hero h1 { margin-top: 20px; font-size: clamp(38px, 4.2vw, 54px); font-weight: 650; letter-spacing: -2.4px; line-height: 1.12; }
.welcome-hero h1 span { display: block; color: var(--welcome-blue); }
[data-hypatia-intro='true'] .welcome-lead { margin-top: 24px; max-width: 480px; font-size: 17px; line-height: 1.75; color: var(--welcome-muted); }
.welcome-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
[data-hypatia-intro='true'] .welcome-button-video { padding-inline: 10px; border-color: transparent; background: transparent; }
[data-hypatia-intro='true'] .welcome-button-video:hover { background: #f4f7f9; border-color: transparent; }
.welcome-button-video svg { color: var(--welcome-blue); }
[data-hypatia-intro='true'] .welcome-support { margin-top: 18px; font-size: var(--ht-text-sm); color: var(--welcome-muted); }
.welcome-example { position: relative; min-width: 0; padding: 18px; border: 1px solid #dce8f0; border-radius: 24px; background: #f1f7fb; }
.welcome-editor-image { display: block; width: 100%; height: auto; border: 1px solid var(--welcome-line); border-radius: 12px; background: #fff; }
.welcome-example figcaption { text-align: center; font-size: var(--ht-text-sm); color: var(--welcome-muted); margin-top: 14px; }
.welcome-benefits { padding: 48px 0 54px; border-top: 1px solid var(--welcome-line); }
.welcome-section-heading { max-width: 650px; }
[data-hypatia-intro='true'] .welcome-section-heading h2 { font-size: 28px; font-weight: 600; line-height: 1.3; letter-spacing: -.8px; }
[data-hypatia-intro='true'] .welcome-section-heading p { margin-top: 12px; color: var(--welcome-muted); font-size: 15px; }
.welcome-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; margin-top: 38px; }
.welcome-benefit-icon { display: inline-flex; color: var(--welcome-blue); }
[data-hypatia-intro='true'] .welcome-benefit h3 { font-size: 16px; font-weight: 600; margin-top: 17px; }
[data-hypatia-intro='true'] .welcome-benefit p { font-size: 14px; color: var(--welcome-muted); line-height: 1.75; margin-top: 10px; max-width: 350px; }
.welcome-start { padding-bottom: 58px; }
.welcome-start-panel { display: flex; justify-content: space-between; gap: 30px; align-items: center; background: #f4f8fb; border: 1px solid #dce8f0; border-radius: 16px; padding: 36px 40px; }
[data-hypatia-intro='true'] .welcome-start h2 { font-size: 28px; font-weight: 600; line-height: 1.3; letter-spacing: -.8px; margin-top: 10px; }
[data-hypatia-intro='true'] .welcome-start p:not(.welcome-eyebrow) { font-size: 14px; color: var(--welcome-muted); margin-top: 10px; }
.welcome-start .welcome-button { flex-shrink: 0; }
[data-hypatia-intro='true'] .welcome-footer { border-top: 1px solid var(--welcome-line); padding: 28px 0; background: #fff; color: var(--welcome-ink); }
.welcome-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }
.welcome-footer p { font-weight: 600; }
.welcome-footer p span { display: block; font-size: var(--ht-text-xs); color: var(--welcome-muted); font-weight: 400; margin-top: 2px; }
.welcome-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
[data-hypatia-intro='true'] .welcome-footer a { color: var(--welcome-muted); }
.welcome-skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; background: #fff; border: 1px solid var(--welcome-line); border-radius: 8px; }
.welcome-skip:focus { top: 12px; }
.welcome-video { width: min(880px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--welcome-line); border-radius: 16px; color: var(--welcome-ink); background: #fff; overflow: auto; box-shadow: 0 20px 80px #162b4633; }
.welcome-video::backdrop { background: #192632b3; }
.welcome-video-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 20px; }
[data-hypatia-intro='true'] .welcome-video-heading h2 { font-size: 17px; font-weight: 600; }
.welcome-video-close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--welcome-line); background: #fff; border-radius: 8px; color: var(--welcome-muted); }
.welcome-video-close:hover { background: #f4f7f9; }
.welcome-video-frame { aspect-ratio: 4/3; max-height: calc(100dvh - 120px); }
.welcome-video iframe { display: block; width: 100%; height: 100%; border: 0; }
body.welcome-video-open { overflow: hidden; }
@media (min-width: 1400px) { .welcome-hero { padding-top: 96px; padding-bottom: 96px; } }
@media (max-width: 1000px) {
  .welcome-container { width: calc(100% - 64px); }
  .welcome-hero { gap: 32px; }
  [data-hypatia-intro='true'] .welcome-hero h1 { font-size: 42px; letter-spacing: -1.7px; }
  .welcome-example { padding: 12px; }
  .welcome-benefit-grid { gap: 26px; }
}
@media (max-width: 760px) {
  .welcome-container { width: calc(100% - 40px); }
  .welcome-header-inner { min-height: 76px; gap: 12px; }
  [data-hypatia-intro='true'] .welcome-brand { font-size: 20px; gap: 6px; }
  .welcome-brand img { width: 32px; height: 37px; }
  .welcome-nav { gap: 14px; }
  .welcome-nav-course { display: none; }
  [data-hypatia-intro='true'] .welcome-button-small { padding-inline: 12px; font-size: 12px; }
  .welcome-hero { grid-template-columns: 1fr; gap: 38px; padding-top: 46px; padding-bottom: 46px; }
  .welcome-hero-copy { max-width: 530px; }
  [data-hypatia-intro='true'] .welcome-hero h1 { font-size: clamp(37px, 7vw, 48px); letter-spacing: -1.7px; }
  [data-hypatia-intro='true'] .welcome-lead { font-size: 16px; margin-top: 20px; }
  .welcome-actions { margin-top: 24px; }
  .welcome-example { max-width: 530px; width: 100%; }
  .welcome-benefits { padding-top: 36px; padding-bottom: 36px; }
  .welcome-benefit-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 30px; }
  .welcome-benefit { display: grid; grid-template-columns: 24px 1fr; column-gap: 16px; }
  .welcome-benefit-icon { grid-row: span 2; }
  [data-hypatia-intro='true'] .welcome-benefit h3 { margin-top: 0; }
  [data-hypatia-intro='true'] .welcome-benefit p { max-width: 500px; margin-top: 7px; }
  .welcome-start { padding-bottom: 36px; }
  .welcome-start-panel { flex-direction: column; align-items: flex-start; padding: 26px 24px; gap: 22px; }
  .welcome-footer-inner { align-items: flex-start; flex-direction: column; gap: 18px; }
  .welcome-footer nav { gap: 20px; }
}
@media (max-width: 380px) {
  .welcome-container { width: calc(100% - 32px); }
  [data-hypatia-intro='true'] .welcome-brand { font-size: 18px; letter-spacing: -.7px; }
  .welcome-brand img { width: 28px; height: 32px; }
  [data-hypatia-intro='true'] .welcome-button-small { padding-inline: 9px; }
  [data-hypatia-intro='true'] .welcome-hero h1 { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) { [data-hypatia-intro='true'] .welcome-button { transition: none; } }
