:root {
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color: #241a39;
  background: #fbfaff;
  line-height: 1.65;
  --ink: #241a39;
  --muted: #544966;
  --violet: #4a2788;
  --light: #efe7fb;
  --line: #ddd1ed;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

[hidden] {
  display: none!important;
}

a {
  color: var(--violet);
  text-underline-offset: .18em;
  text-decoration-thickness: .08em;
}

a:hover {
  text-decoration-thickness: .15em;
}

:focus-visible {
  outline: 3px solid #963a00;
  outline-offset: 4px;
}

.wrap {
  width: min(100% - 3rem,1160px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 10px;
  background: #fff;
  padding: 10px 16px;
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

header {
  background: var(--white);
}

.guide-nav {
  border-top: 1px solid var(--line);
}

.guide-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.6rem;
}

.guide-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
  color: var(--ink);
}

.guide-nav a:hover,
.guide-nav a[aria-current],
.guide-nav .in-section {
  color: var(--violet);
  text-decoration: underline;
}

.hero {
  background: #f4eefc;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  position: relative;
  padding-block: 1.3rem 2.8rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(2.2rem,5.7vw,4.8rem);
  line-height: 1.02;
  letter-spacing: -.06em;
  margin: .4rem 0 1rem;
  text-wrap: balance;
}

.eyebrow {
  font-size: .79rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--violet);
  margin: 0;
}

.lead {
  max-width: 70ch;
  font-size: clamp(1.05rem,1.8vw,1.23rem);
  line-height: 1.6;
}

.lead p {
  margin: .4rem 0;
}

.byline {
  font-size: .84rem;
  color: var(--muted);
  margin: 1rem 0 0;
}

.byline span {
  margin: 0 .25rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .55rem;
  padding: 0;
  margin: 0 0 1.4rem;
  font-size: .8rem;
}

.breadcrumbs li+li::before {
  content: "/";
  padding-right: .55rem;
  color: var(--muted);
}

.landing .hero {
  overflow: clip;
  background: #261444;
  color: white;
  border: 0;
}

.landing .hero-inner {
  padding-block: 4rem 5.2rem;
}

.landing .hero-copy {
  max-width: 690px;
}

.landing .hero h1 {
  font-size: clamp(2.75rem,6.7vw,5.45rem);
}

.landing .lead {
  max-width: 60ch;
}

.landing .hero a,.landing .eyebrow,.landing .byline {
  color: #e3d3fb;
}

.hero-art {
  position: absolute;
  right: 3%;
  top: 50%;
  width: 260px;
  height: 310px;
  transform: translateY(-50%) rotate(-12deg);
  pointer-events: none;
}

.hero-art i {
  display: block;
  position: absolute;
  inset: 0;
  border: 1px solid #cab5ee88;
  border-radius: 150px 150px 22px 22px;
  background: linear-gradient(155deg,#7746bc45,#26144400);
  transform: translate(14px,-12px);
}

.hero-art i:nth-child(2) {
  transform: translate(-8px,5px);
}

.hero-art i:nth-child(3) {
  transform: translate(-30px,22px);
}

.hero-art i:nth-child(4) {
  transform: translate(-52px,39px);
  background: linear-gradient(155deg,#9461d066,#26144400);
}

.task-cards {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  position: relative;
  margin-top: -1.8rem;
  z-index: 1;
}

.task-cards a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.1rem 1.9rem 1.1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  min-width: 0;
  box-shadow: 0 6px 20px #26144409;
}

.task-cards a:hover {
  background: #f7f1fe;
  border-color: #7955a9;
}

.task-cards strong {
  line-height: 1.35;
  font-size: 1.02rem;
}

.task-cards span {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.45;
}

.task-cards b {
  position: absolute;
  right: .8rem;
  top: .9rem;
}

.editorial {
  display: grid;
  grid-template-columns: 210px minmax(0,770px);
  gap: clamp(1.4rem,4vw,4rem);
  align-items: start;
  padding-block: 2.4rem 4rem;
}

.landing .editorial {
  display: block;
  max-width: 900px;
}

.toc {
  border-left: 2px solid var(--line);
  padding-left: 1rem;
  position: sticky;
  top: 1.5rem;
  font-size: .92rem;
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: .4rem 0 0;
}

.toc a {
  display: inline-block;
  padding: .27rem 0;
  line-height: 1.35;
}

.article {
  min-width: 0;
  overflow-wrap: break-word;
}

.article h2 {
  font-size: clamp(1.55rem,3vw,2.2rem);
  line-height: 1.2;
  letter-spacing: -.035em;
  margin: 2.25rem 0 .65rem;
  scroll-margin-top: 1rem;
  text-wrap: balance;
}

.article h2:first-child {
  margin-top: 0;
}

.article h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 1.4rem 0 .5rem;
}

.article p {
  margin: .6rem 0 1rem;
}

.article ul,.article ol {
  padding-left: 1.45rem;
}

.article li {
  margin: .35rem 0;
}

.source,.caption {
  font-size: .88rem;
  color: var(--muted);
}

.callout {
  border: 1px solid var(--line);
  border-left: 4px solid #7345aa;
  background: #f4edfd;
  padding: .9rem 1.15rem;
  margin: 1.25rem 0;
  border-radius: 0 10px 10px 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

.table-scroll {
  overflow-x: auto;
  margin: 1.1rem 0 1.4rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: .91rem;
  line-height: 1.5;
  min-width: 455px;
}

caption {
  text-align: left;
  padding: .75rem 1rem;
  font-weight: 700;
  background: #f4eefc;
}

th,td {
  padding: .75rem .85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #eee7f4;
}

thead {
  background: #eee6f7;
}

tbody tr:nth-child(even) {
  background: #fbf8fe;
}

tbody tr:last-child>* {
  border-bottom: 0;
}

td {
  min-width: 7rem;
}

summary {
  cursor: pointer;
  color: var(--violet);
  font-weight: 650;
  min-height: 32px;
}

.button-link a {
  display: inline-flex;
  align-items: center;
  background: #542b90;
  border: 1px solid #542b90;
  border-radius: 8px;
  color: #fff;
  padding: .7rem 1.1rem;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.3;
}

.button-link a:hover {
  background: #39165e;
}

.landing .hero .button-link {
  margin: 1rem 0 0;
}

.landing .hero .button-link a {
  background: var(--white);
  border-color: var(--white);
  color: var(--violet);
}

.landing .hero .button-link a:hover {
  background: var(--light);
}

.offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
  margin-block: 1.25rem .75rem;
}

.offer,
.opening-offer {
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f4edff;
}

.offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.offer-zap {
  background: #edf9f1;
  border-color: #bbdcc8;
}

.offer-logo {
  display: block;
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
}

.offer h3,
.opening-offer h3 {
  margin: 0 0 .55rem;
  font-size: clamp(1.2rem, 2.7vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.offer p {
  margin: 0 0 1rem;
}

.offer-actions {
  display: grid;
  justify-items: start;
  gap: .4rem;
  margin-top: auto;
}

.offer-actions > a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: .9rem;
}

.offer-zap a {
  color: #115335;
}

.offer-zap .button-link a {
  border-color: #115335;
  background: #115335;
  color: white;
}

.offer-zap .button-link a:hover {
  background: #083823;
}

.offer-note {
  color: var(--muted);
  font-size: .875rem;
}

.opening-offer {
  border-inline-start: 4px solid var(--violet);
  margin-block: 1.25rem;
}

.opening-offer p:last-child {
  margin-bottom: 0;
}

.article .profession-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: .8rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.article .profession-grid li {
  margin: 0;
}

.profession-grid a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-height: 100%;
  padding: 1rem 2.2rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  text-decoration: none;
}

.profession-grid a:hover {
  border-color: var(--violet);
  background: #f4eefc;
}

.profession-grid strong {
  font-size: 1.13rem;
}

.profession-grid span {
  color: var(--muted);
  font-size: .94rem;
}

.profession-grid b {
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.error-page {
  min-height: 55vh;
  padding-block: 3rem;
}

@media(max-width:1000px) {
  .hero-art {
    right: 3%;
    width: 200px;
    height: 240px;
    opacity: .48;
  }
  .landing .hero-copy {
    max-width: 620px;
  }
}

@media(max-width:760px) {
  .wrap {
    width: calc(100% - 2rem);
  }
  .guide-nav nav {
    gap: 0 .75rem;
  }
  .guide-nav a {
    font-size: .82rem;
    min-height: 32px;
  }
  .hero-inner {
    padding-bottom: 2rem;
  }
  .landing .hero-inner {
    padding-block: 2.3rem 3.2rem;
  }
  .hero-art {
    display: none;
  }
  .task-cards {
    grid-template-columns: repeat(2,minmax(0,1fr));
    margin-top: -1.1rem;
  }
  .editorial {
    grid-template-columns: minmax(0,1fr);
    padding-block: 1.5rem 2.7rem;
  }
  .toc {
    position: static;
    background: #f6f0fd;
    border-radius: 0 8px 8px 0;
    padding: .65rem .9rem;
  }
}

@media(max-width:420px) {
  .task-cards a {
    padding: .8rem 1.2rem .8rem .7rem;
  }
  .task-cards b {
    right: .45rem;
    top: .6rem;
  }
}
