:root {
  --ink: #192033;
  --muted: #596374;
  --blue: #334dcc;
  --edge: #dce0e7;
  --bg: #f7f8fa;
  --green: #16684d;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans:
    Inter, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "Noto Sans KR", sans-serif;
  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
select,
input,
textarea,
summary {
  touch-action: manipulation;
}
button,
.button {
  cursor: pointer;
}
button {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #e88d18;
  outline-offset: 4px;
}
.shell {
  width: min(1192px, calc(100% - 76px));
  margin: auto;
}
.mast {
  background: #fff;
  border-bottom: 1px solid var(--edge);
}
.bar {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.gloim-wordmark {
  display: block;
  width: 72px;
  height: auto;
  flex: none;
}
.gloim-brand-name {
  border-left: 1px solid #b9cabc;
  padding-left: 11px;
  color: #193e30;
  font-size: 1.1875rem;
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -.055em;
}
.bar nav {
  display: flex;
  gap: 27px;
  height: 100%;
  align-items: stretch;
}
.bar nav a {
  display: grid;
  align-items: center;
  border-block: 3px solid transparent;
  font-weight: 650;
  color: #657080;
  font-size: 0.94rem;
}
.bar nav a.active {
  border-bottom-color: var(--blue);
  color: var(--blue);
}
.progress-link {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 640;
  white-space: nowrap;
}
.progress-link b {
  font: 600 0.76rem var(--mono);
  padding: 3px 7px;
  background: #eef0f8;
  border-radius: 5px;
  color: #425588;
}
.ring {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) var(--progress, 0%), #dbe0ed 0);
  position: relative;
}
.ring:after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #fff;
  border-radius: 50%;
}
main {
  padding: 28px 0 0;
  min-height: 72vh;
}
main:focus {
  outline: none;
}
.hero {
  background: #293fae;
  background-image:
    radial-gradient(ellipse at 86% 38%, #405bd6aa, transparent 62%),
    linear-gradient(105deg, #223499, #344ac0);
  color: #fff;
  border-radius: 19px;
  min-height: 348px;
  padding: 38px 47px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#aabbff18 1px, transparent 1px),
    linear-gradient(90deg, #aabbff18 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(90deg, transparent 7%, #000 65%);
  z-index: -1;
}
.hero-text {
  width: 55%;
}
.hero .eyebrow {
  color: #e4eaff;
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
}
.eyebrow {
  font: 640 0.8rem var(--mono);
  color: var(--blue);
  letter-spacing: 0.055em;
}
.hero h1 {
  font-size: clamp(2.6rem, 4.5vw, 4.08rem);
  letter-spacing: -0.075em;
  line-height: 1.12;
  margin: 15px 0 14px;
  color: white;
}
.hero p {
  font-size: 1rem;
  line-height: 1.65;
  color: #e4e8ff;
  margin: 0 0 23px;
}
.hero-art {
  position: absolute;
  top: 1%;
  right: 2%;
  height: 98%;
  width: 46%;
  pointer-events: none;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #cdd3dd;
  background: #fff;
  padding: 10px 16px;
  border-radius: 7px;
  font-weight: 680;
  font-size: 0.925rem;
  line-height: 1.45;
  min-height: 42px;
}
.button:hover,
button:hover {
  border-color: #7a88bf;
  background: #f4f6fb;
}
.primary,
.primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.primary:hover {
  background: #273db5;
}
.lime,
.lime:hover {
  background: #e0ffa1;
  color: #182f22;
  border-color: #e0ffa1;
}
.lime:hover {
  background: #edffc7;
}
.ghost,
.ghost:hover {
  background: transparent;
  border-color: #a2b0f3;
  color: #fff;
}
.ghost:hover {
  background: #ffffff15;
}
.icon {
  display: inline-block;
  flex: none;
  width: 17px;
  height: 17px;
  vertical-align: -3px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#courses {
  scroll-margin-top: 22px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin: 36px 0 18px;
}
.section-head h2 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -0.07em;
  line-height: 1.35;
}
.section-head p,
.page-lead {
  margin: 5px 0 0;
  color: var(--muted);
}
.section-head .count {
  font: 500 0.78rem var(--mono);
  color: #606b80;
  white-space: nowrap;
  line-height: 1.9;
}
.section-head .count b {
  color: var(--blue);
  font-weight: 700;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid #d6dce6;
  border-radius: 13px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.thumb {
  height: 134px;
  position: relative;
  display: block;
  background-color: var(--artbg);
  background-image: radial-gradient(var(--dot) 0.8px, transparent 0.8px);
  background-size: 9px 9px;
  border-bottom: 1px solid var(--edge);
}
.people {
  --artbg: #e6ebfa;
  --dot: #b9c7e6;
  --tone: #3e59af;
}
.lists {
  --artbg: #e4f0e8;
  --dot: #b7cfc0;
  --tone: #326f59;
}
.sequence {
  --artbg: #ece6f6;
  --dot: #ccbfe0;
  --tone: #79509d;
}
.thumb canvas,
.demo-art canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.cardbody {
  padding: 19px 21px 16px;
  flex: 1;
}
.cardtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.feature {
  color: var(--tone);
  font: 700 0.78rem var(--mono);
  letter-spacing: 0.065em;
  text-transform: uppercase;
}
.card h3 {
  font-size: 1.29rem;
  line-height: 1.35;
  margin: 8px 0 6px;
  letter-spacing: -0.055em;
}
.card h3 a:hover,
.link:hover,
footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.cardfoot {
  border-top: 1px solid #e7eaf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 17px;
}
.cardfoot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.87rem;
  font-weight: 650;
  min-height: 38px;
  padding: 4px;
}
.cardfoot a:last-child {
  color: var(--blue);
}
.done {
  color: #116849;
  font-size: 0.8rem;
  font-weight: 700;
}
.strip {
  margin: 21px 0 0;
  display: flex;
  gap: 15px;
  align-items: center;
  border: 1px solid var(--edge);
  background: #fff;
  border-radius: 10px;
  padding: 14px 19px;
}
.strip .ico-box {
  background: #eef1fc;
  color: var(--blue);
  border-radius: 8px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
}
.strip strong {
  font-size: 0.95rem;
}
.strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.strip > a {
  margin-left: auto;
  white-space: nowrap;
}
.link {
  font-size: 0.92rem;
  color: var(--blue);
  font-weight: 660;
}
.crumb {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #657086;
  font-size: 0.87rem;
  margin: 0 0 18px;
}
.crumb a:hover {
  text-decoration: underline;
}
.crumb i {
  color: #a5adbd;
  font-style: normal;
}
.page-title {
  margin: 7px 0 8px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.075em;
  line-height: 1.18;
}
.page-head {
  margin: 0 0 24px;
}
.page-lead {
  max-width: 780px;
}
.lesson-grid,
.practice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 298px;
  align-items: start;
  gap: 20px;
}
.box,
.workbench,
.guide,
.note {
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: 13px;
}
.box,
.guide,
.note {
  padding: 24px;
}
.box h2,
.guide h2,
.note h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  letter-spacing: -0.035em;
}
.box p,
.guide p,
.note p {
  color: var(--muted);
  margin: 0 0 15px;
}
.guide {
  position: sticky;
  top: 16px;
}
.guide .actions {
  align-items: stretch;
  flex-direction: column;
  gap: 8px;
}
.guide hr,
.box hr {
  border: 0;
  border-top: 1px solid var(--edge);
  margin: 19px 0;
}
.guide ol,
.box ol {
  padding-left: 1.3em;
}
.guide li,
.box li {
  padding-left: 4px;
  margin: 7px 0;
}
.demo-art {
  height: 168px;
  position: relative;
  background-color: var(--artbg);
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 10px 10px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.lesson-grid .box h2 {
  font-size: 1.45rem;
}
.official {
  color: var(--muted);
  font: 600 0.8rem var(--mono);
  margin: 0 0 5px;
}
.taskbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--edge);
  background: #f2f4fb;
  border-radius: 13px 13px 0 0;
}
.taskbar strong {
  display: flex;
  align-items: center;
  gap: 9px;
}
.tag {
  font-size: 0.78rem;
  background: #fff;
  color: #4c5970;
  border: 1px solid #cbd2e1;
  border-radius: 5px;
  padding: 2px 8px;
}
.workbody {
  padding: 21px;
}
.workbody h2,
.workbody h3 {
  letter-spacing: -0.045em;
  margin: 0;
}
.workbody h2 {
  font-size: 1.25rem;
}
.workbody h3 {
  font-size: 1.02rem;
}
.sub {
  font-size: 0.91rem;
  color: var(--muted);
  margin: 3px 0 15px;
}
.form-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 14px 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 650;
  min-width: 0;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.5;
  border-radius: 6px;
  border: 1px solid #bfc7d7;
  background: #fff;
  color: var(--ink);
  padding: 9px 11px;
}
.field select {
  appearance: none;
  padding-right: 30px;
  background-image:
    linear-gradient(45deg, transparent 50%, #58667c 50%),
    linear-gradient(135deg, #58667c 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 52%,
    calc(100% - 11px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.field textarea {
  resize: vertical;
  min-height: 78px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #768195;
}
.filterbox {
  padding: 16px;
  background: #f7f8fb;
  border: 1px solid #dde2ed;
  border-radius: 9px;
  margin-bottom: 17px;
}
.filterbox .form-row {
  margin-top: 0;
}
.results-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 8px;
}
.results-title span {
  font-size: 0.86rem;
  color: var(--muted);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
th,
td {
  text-align: left;
  padding: 10px 7px;
  border-bottom: 1px solid #e3e6eb;
  line-height: 1.4;
}
th {
  color: #657083;
  font-size: 0.81rem;
  background: #f7f8fa;
  font-weight: 600;
}
.person {
  font-weight: 650;
  white-space: nowrap;
}
.initial {
  border-radius: 50%;
  background: #e8edfa;
  color: #45618d;
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  margin-right: 7px;
  font-size: 12px;
}
.company {
  display: block;
  font-size: 0.79rem;
  color: var(--muted);
  margin-left: 33px;
}
.checkcell {
  width: 36px;
  text-align: center;
}
input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: var(--blue);
  cursor: pointer;
  vertical-align: middle;
}
.feedback {
  margin: 15px 0 0;
  padding: 13px 15px;
  background: #f2f4fd;
  border: 1px solid #d9dff4;
  border-radius: 8px;
  color: #344578;
  font-size: 0.94rem;
}
.feedback.success {
  background: #edf8f0;
  border-color: #c7e8d1;
  color: #15563b;
}
.feedback.error {
  background: #fff6e9;
  border-color: #efd5a7;
  color: #74480d;
}
.feedback .link {
  display: inline-block;
  margin-left: 8px;
}
.panelblock {
  border: 1px solid var(--edge);
  border-radius: 9px;
  padding: 15px;
  margin: 14px 0;
}
.panelblock h3 {
  margin: 0 0 9px;
}
.panelblock .field {
  margin: 9px 0;
}
.steps {
  counter-reset: item;
}
.step-heading {
  display: flex;
  gap: 9px;
  align-items: center;
}
.step-heading span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  background: #e8eafb;
  color: #39488c;
  font: 650 0.8rem var(--mono);
  border-radius: 50%;
}
summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 0.92rem;
  color: #465489;
  padding: 8px 0;
}
details p {
  font-size: 0.92rem;
  margin: 3px 0 7px;
  color: var(--muted);
}
.reset {
  background: none;
  border: none;
  padding: 5px 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: #657085;
}
.saved {
  margin: 12px 0 0;
  background: #f2f8f4;
  border: 1px solid #d8e7db;
  border-radius: 7px;
  padding: 11px 14px;
}
.saved strong {
  display: block;
}
.saved p {
  margin: 3px 0;
  font-size: 0.93rem;
}
.gloss {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gloss .note h2 {
  font-family: var(--mono);
  color: var(--blue);
  font-size: 1rem;
}
.gloss .note p {
  margin-bottom: 7px;
}
.progress-list {
  display: grid;
  gap: 11px;
}
.progress-list a {
  padding: 17px 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.progress-list small {
  color: var(--muted);
}
.site-footer {
  margin-top: 35px;
  border-top: 1px solid var(--edge);
  padding: 23px 0;
  color: var(--muted);
  font-size: .875rem;
}
.footer-inner,
.footer-resources,
.footer-resources nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.footer-inner {
  justify-content: space-between;
  gap: 16px 24px;
}
.footer-brand {
  display: grid;
  gap: 2px;
}
.footer-brand strong {
  color: #3e584a;
  font-size: 1rem;
}
.footer-brand small {
  font-size: .75rem;
}
.footer-resources a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sr,
.skip:not(:focus) {
  position: absolute;
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  position: absolute;
  background: white;
  z-index: 4;
  padding: 12px;
}
.empty {
  padding: 18px;
  text-align: center;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--edge);
  border-radius: 14px;
  max-width: min(90vw, 400px);
  color: var(--ink);
  padding: 24px;
}
dialog::backdrop {
  background: #13213d70;
}
dialog h2 {
  margin: 0;
  font-size: 1.25rem;
}
.note-line {
  font-size: 0.87rem;
  color: var(--muted);
  margin: 11px 0;
}
.strongline {
  font-weight: 700;
}
.mobile-only {
  display: none;
}
@media (min-width: 1450px) {
  .hero {
    min-height: 380px;
  }
  .thumb {
    height: 148px;
  }
}
@media (max-width: 960px) {
  .shell {
    width: calc(100% - 44px);
  }
  .bar {
    gap: 28px;
  }
  .bar nav {
    gap: 18px;
  }
  .hero {
    padding: 32px;
    min-height: 322px;
  }
  .hero-text {
    width: 57%;
  }
  .hero-art {
    right: 0;
    width: 44%;
  }
  .lesson-grid,
  .practice-grid {
    grid-template-columns: minmax(0, 1fr) 245px;
  }
  .guide,
  .workbody,
  .box {
    padding: 18px;
  }
  .cardbody {
    padding: 15px;
  }
  .cardfoot {
    padding: 5px 10px;
  }
  .cards {
    gap: 12px;
  }
  .thumb {
    height: 118px;
  }
}
@media (max-width: 760px) {
  .bar {
    height: auto;
    min-height: 60px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 8px;
    padding-top: 11px;
  }
  .bar nav {
    grid-column: 1/-1;
    grid-row: 2;
    height: 42px;
    gap: 23px;
  }
  .gloim-wordmark {
    width: 56px;
  }
  .brand {
    gap: 7px;
  }
  .gloim-brand-name {
    font-size: 1rem;
    padding-left: 8px;
  }
  .progress-link {
    grid-row: 1;
    grid-column: 2;
  }
  .hero {
    padding: 26px;
    min-height: 294px;
  }
  .hero-text {
    width: 62%;
  }
  .hero-art {
    width: 42%;
    right: -2%;
  }
  .hero h1 {
    font-size: 2.55rem;
  }
  .hero p {
    font-size: 0.93rem;
  }
  .lesson-grid,
  .practice-grid {
    grid-template-columns: 1fr;
  }
  .guide {
    position: static;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card:last-child {
    grid-column: auto;
  }
  .section-head {
    margin-top: 25px;
  }
  .section-head .count {
    display: none;
  }
}
@media (max-width: 560px) {
  .shell {
    width: calc(100% - 32px);
  }
  main {
    padding-top: 16px;
  }
  .hero {
    padding: 23px;
    display: block;
    min-height: 0;
  }
  .hero-text {
    width: 100%;
  }
  .hero h1 {
    font-size: 2.48rem;
    max-width: 78%;
    margin: 13px 0;
  }
  .hero .eyebrow {
    font-size: 0.73rem;
  }
  .hero-art {
    width: 38%;
    height: 139px;
    top: 2px;
    right: 0;
    z-index: -1;
    opacity: 0.9;
  }
  .hero p {
    max-width: 95%;
    font-size: 0.94rem;
    margin-bottom: 18px;
  }
  .hero p br {
    display: none;
  }
  .hero .button {
    font-size: 0.9rem;
    padding: 9px 12px;
  }
  .cards,
  .gloss {
    grid-template-columns: 1fr;
  }
  .thumb {
    height: 125px;
  }
  .cardbody {
    padding: 16px 18px 14px;
  }
  .cardfoot {
    padding: 6px 16px;
  }
  .section-head h2 {
    font-size: 1.45rem;
  }
  .section-head p {
    font-size: 0.92rem;
  }
  .strip {
    align-items: flex-start;
    gap: 9px;
    padding: 13px;
    flex-wrap: wrap;
  }
  .strip .ico-box {
    display: none;
  }
  .strip > a {
    margin-left: 0;
  }
  .progress-link {
    gap: 5px;
    font-size: 0.8rem;
  }
  .progress-link .ring {
    display: none;
  }
  .bar nav a {
    font-size: 0.88rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .workbody {
    padding: 14px;
  }
  .initial {
    display: none;
  }
  .company {
    margin-left: 0;
  }
  td,
  th {
    padding: 9px 4px;
  }
  .taskbar {
    padding: 11px 14px;
  }
  .results-title {
    gap: 5px;
  }
  .actions {
    gap: 7px;
  }
  .page-title {
    font-size: 2rem;
  }
  .crumb {
    font-size: 0.8rem;
  }
  .guide,
  .box,
  .note {
    padding: 17px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .demo-art {
    height: 145px;
  }
  .card p {
    font-size: 1rem;
  }
}
@media (max-width: 365px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-art {
    opacity: 0.6;
  }
  .hero {
    padding: 19px;
  }
  .cardfoot {
    padding-inline: 10px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  a,
  button {
    transition:
      background-color 0.15s,
      border-color 0.15s,
      color 0.15s;
  }
  .thumb canvas {
    transition: transform 0.2s;
  }
  .thumb:hover canvas {
    transform: translateY(-2px);
  }
}
