/* Editable course cards; only the small illustrations reuse the reference art. */
.course-choice-coded {
  container-type: inline-size;
  width: min(100%, 1320px);
  margin: clamp(46px, 5vw, 74px) auto 0;
  color: #27323c;
  background:
    radial-gradient(ellipse at 38% 22%, #35414a66, transparent 66%),
    linear-gradient(120deg, #2b363f, #303a43 52%, #28333c);
  box-shadow: 0 22px 52px rgb(15 29 43 / 20%);
}

.course-choice-coded__inner {
  padding: 5.8cqw 7.1cqw 4.4cqw;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' opacity='.035' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}

.unified-header-page .course-choice-coded .course-choice-coded__title {
  margin: 0;
  color: #fff;
  font-size: 4.65cqw;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: .035em;
  text-align: center;
}

.unified-header-page .course-choice-coded .course-choice-coded__lead {
  margin: .6cqw 0 0;
  color: #d1d5d8;
  font-size: 1.7cqw;
  line-height: 1.6;
  letter-spacing: .02em;
  text-align: center;
}

.course-choice-coded__grid {
  display: grid;
  grid-template-columns: 1fr 1.09fr 1fr;
  align-items: start;
  gap: 1.7cqw;
  margin-top: 2.45cqw;
}

.course-choice-coded__card {
  --choice-accent: #4f5b65;
  min-width: 0;
  margin-top: 3.45cqw;
  overflow: hidden;
  border-radius: .8cqw;
  background: #fff;
  box-shadow: 0 10px 23px rgb(0 0 0 / 23%);
}

.course-choice-coded__card--standard {
  --choice-accent: #16a4ac;
  margin-top: 0;
}

.course-choice-coded__card--enterprise { --choice-accent: #f47468; --intro-bottom: 0px; }

.unified-header-page .course-choice-coded .course-choice-coded__popular,
.unified-header-page .course-choice-coded .course-choice-coded__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3cqw;
  margin: 0;
  color: #fff;
  background: linear-gradient(110deg, #38434c, #424c54);
  font-size: 1.5cqw;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .025em;
}

.unified-header-page .course-choice-coded .course-choice-coded__popular {
  min-height: 3.25cqw;
  background: linear-gradient(110deg, #17a0a9, #17acb3);
  font-size: 1.45cqw;
}

.unified-header-page .course-choice-coded__card--standard .course-choice-coded__bar { min-height: 3.6cqw; }
.unified-header-page .course-choice-coded__card--enterprise .course-choice-coded__bar {
  background: linear-gradient(110deg, #ef6e63, #f17b6e);
}

.course-choice-coded__body {
  display: flex;
  flex-direction: column;
  min-height: 26.1cqw;
  padding: 1.65cqw 1.8cqw 2cqw;
  background: linear-gradient(135deg, #fff, #fefefd);
}

.course-choice-coded__card--standard .course-choice-coded__body { min-height: 27.7cqw; }

.course-choice-coded__identity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.05cqw;
  min-height: 6.3cqw;
}

.course-choice-coded__art {
  --art-unit: calc(100cqw / 1672);
  display: block;
  flex: 0 0 auto;
  width: calc(var(--art-width) * var(--art-unit));
  height: calc(var(--art-height) * var(--art-unit));
  background-image: url('/assets/course-choice-dark-reference-20260821.png');
  background-repeat: no-repeat;
  background-size: calc(1672 * var(--art-unit)) calc(941 * var(--art-unit));
  background-position: calc(var(--art-x) * var(--art-unit) * -1) calc(var(--art-y) * var(--art-unit) * -1);
  mix-blend-mode: multiply;
}

.course-choice-coded__art--basic { --art-x: 176; --art-y: 434; --art-width: 151; --art-height: 98; }
.course-choice-coded__art--standard { --art-x: 664; --art-y: 438; --art-width: 120; --art-height: 98; }
.course-choice-coded__art--enterprise { --art-x: 1218; --art-y: 428; --art-width: 200; --art-height: 98; }

.unified-header-page .course-choice-coded .course-choice-coded__name {
  margin: 0;
  color: #27323c;
  font-size: 2.15cqw;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.unified-header-page .course-choice-coded__card--standard .course-choice-coded__name { font-size: 2.7cqw; }
.course-choice-coded__card--enterprise .course-choice-coded__identity { flex-direction: column; gap: .3cqw; }
.unified-header-page .course-choice-coded__card--enterprise .course-choice-coded__name { font-size: 2.1cqw; }

.unified-header-page .course-choice-coded .course-choice-coded__description {
  margin: 1.05cqw 0 0;
  color: #28333e;
  font-size: 1.02cqw;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: -.025em;
  text-align: center;
}

.course-choice-coded__description > span { display: block; }
.unified-header-page .course-choice-coded .course-choice-coded__description,
.unified-header-page .course-choice-coded .course-choice-coded__description > span {
  word-break: normal;
  line-break: strict;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.unified-header-page .course-choice-coded__card--enterprise .course-choice-coded__description { margin-top: .55cqw; }

.course-choice-coded__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: auto;
  padding-top: 1.85cqw;
  border-top: 1px solid #dfe3e5;
}

.course-choice-coded__intro { padding-bottom: var(--intro-bottom, 2.05cqw); }
.course-choice-coded__detail { min-width: 0; }
.course-choice-coded__detail + .course-choice-coded__detail { padding-left: 1.35cqw; border-left: 1px solid #dfe3e5; }

.unified-header-page .course-choice-coded .course-choice-coded__detail-title {
  display: flex;
  align-items: center;
  gap: .55cqw;
  margin: 0;
  color: #35414b;
  font-size: 1.13cqw;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.course-choice-coded__detail-title svg {
  flex: 0 0 auto;
  width: 2.1cqw;
  height: 2.1cqw;
  fill: none;
  stroke: var(--choice-accent);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-choice-coded__detail ul {
  display: grid;
  gap: .65cqw;
  margin: 1cqw 0 0;
  padding-left: 1.8cqw;
  color: #29343e;
  font-size: 1.16cqw;
  font-weight: 500;
  line-height: 1.6;
  list-style: disc;
}

.unified-header-page .course-choice-coded .course-choice-coded__detail li {
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: normal;
}

.site-reveal-motion-enabled .course-choice-coded__card.site-reveal-card {
  opacity: 1;
  translate: none;
  transition: none;
  will-change: auto;
}

@media (max-width: 1023px) {
  .course-choice-coded { margin-top: 38px; }
  .course-choice-coded__inner { padding: 34px 16px 24px; }
  .unified-header-page .course-choice-coded .course-choice-coded__title { font-size: clamp(27px, 7vw, 36px); line-height: 1.4; letter-spacing: .01em; }
  .unified-header-page .course-choice-coded .course-choice-coded__lead { margin-top: 12px; font-size: 15px; line-height: 1.75; }
  .course-choice-coded__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 28px; }
  .course-choice-coded__card { margin-top: 0; border-radius: 10px; }
  .unified-header-page .course-choice-coded .course-choice-coded__bar { min-height: 44px; font-size: 19px; }
  .unified-header-page .course-choice-coded .course-choice-coded__popular { min-height: 42px; font-size: 16px; }
  .course-choice-coded__body,
  .course-choice-coded__card--standard .course-choice-coded__body { min-height: 0; padding: 22px 18px 26px; }
  .course-choice-coded__identity { flex-wrap: wrap; gap: 10px; min-height: 0; }
  .course-choice-coded__art { --art-unit: .8px; }
  .unified-header-page .course-choice-coded .course-choice-coded__name { font-size: clamp(25px, 7vw, 32px); }
  .course-choice-coded__card--enterprise .course-choice-coded__identity { gap: 5px; }
  .unified-header-page .course-choice-coded .course-choice-coded__description { margin-top: 14px; font-size: 16px; line-height: 1.8; letter-spacing: -.025em; }
  .course-choice-coded__description > span { display: inline; }
  .course-choice-coded__intro { padding-bottom: 24px; }
  .course-choice-coded__details { padding-top: 22px; }
  .course-choice-coded__detail + .course-choice-coded__detail { padding-left: 12px; }
  .unified-header-page .course-choice-coded .course-choice-coded__detail-title { flex-wrap: wrap; gap: 6px; font-size: 15px; white-space: normal; }
  .course-choice-coded__detail-title svg { width: 28px; height: 28px; }
  .course-choice-coded__detail ul { gap: 8px; margin-top: 12px; padding-left: 20px; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  .course-choice-coded,
  .course-choice-coded * { animation: none; transition: none; }
}
