:root {
  --afc-bg: #F7FBF2;
  --afc-surface: #FFFFFF;
  --afc-ink: #243127;
  --afc-muted: #637066;
  --afc-line: #DDE7D8;
  --afc-primary: #4D7445;
  --afc-soft-green: #A8DF8E;
  --afc-soft-pink: #FFD8DF;
  --afc-accent: #F28DA1;
  --afc-hero-wash: rgba(18, 27, 20, 0.62);
  --afc-header-line: rgba(255, 255, 255, 0.28);
  --afc-white-muted: rgba(255, 255, 255, 0.74);
  --afc-white-soft: rgba(255, 255, 255, 0.12);
  --afc-ink-soft: rgba(36, 49, 39, 0.08);
  --afc-shadow: 0 20px 48px rgba(36, 49, 39, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--afc-bg);
  color: var(--afc-ink);
  font-family: Pretendard, "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.afc-menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--afc-accent);
  outline-offset: 4px;
}

.afc-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 32px;
  padding-left: 32px;
}

.afc-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  border-bottom: 1px solid var(--afc-header-line);
  color: var(--afc-surface);
}

.afc-header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.afc-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-family: "Gowun Dodum", sans-serif;
  font-size: 18px;
  white-space: nowrap;
}

.afc-brand svg {
  width: 22px;
  height: 22px;
}

.afc-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.afc-nav a,
.afc-header__login {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}

.afc-nav a {
  color: var(--afc-white-muted);
}

.afc-nav a:hover,
.afc-header__login:hover {
  color: var(--afc-surface);
}

.afc-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.afc-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--afc-header-line);
  border-radius: 4px;
  background: var(--afc-white-soft);
  color: var(--afc-surface);
  cursor: pointer;
}

.afc-menu-button svg {
  width: 21px;
  height: 21px;
}

.afc-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--afc-primary);
  border-radius: 4px;
  background: var(--afc-primary);
  color: var(--afc-surface);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.afc-button:hover {
  background: var(--afc-ink);
  transform: translateY(-2px);
}

.afc-button svg,
.afc-text-link svg,
.afc-footer a svg {
  width: 17px;
  height: 17px;
}

.afc-button--small {
  min-height: 42px;
  padding: 0 16px;
  border-color: var(--afc-surface);
  background: var(--afc-surface);
  color: var(--afc-ink);
  font-size: 12px;
}

.afc-button--small:hover {
  border-color: var(--afc-soft-green);
  background: var(--afc-soft-green);
  color: var(--afc-ink);
}

.afc-button--light {
  border-color: var(--afc-surface);
  background: var(--afc-surface);
  color: var(--afc-ink);
}

.afc-button--light:hover {
  border-color: var(--afc-soft-pink);
  background: var(--afc-soft-pink);
  color: var(--afc-ink);
}

.afc-text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--afc-header-line);
  color: var(--afc-surface);
  font-size: 14px;
  font-weight: 700;
}

.afc-text-link--dark {
  border-color: var(--afc-primary);
  color: var(--afc-primary);
}

.afc-eyebrow {
  margin: 0 0 14px;
  color: var(--afc-soft-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.afc-eyebrow--dark {
  color: var(--afc-primary);
}

.afc-hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--afc-surface);
}

.afc-hero__image,
.afc-hero__wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.afc-hero__image {
  object-fit: cover;
  object-position: center 45%;
}

.afc-hero__wash {
  background: var(--afc-hero-wash);
}

.afc-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 680px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 138px;
}

.afc-hero__copy {
  width: 100%;
  max-width: 650px;
}

.afc-hero h1 {
  margin: 0;
  font-family: "Gowun Dodum", sans-serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.afc-hero__offer {
  margin: 12px 0 0;
  color: var(--afc-soft-pink);
  font-family: "Gowun Dodum", sans-serif;
  font-size: 25px;
  line-height: 1.4;
}

.afc-hero__description {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--afc-white-muted);
  font-size: 17px;
}

.afc-hero__buttons {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.afc-hero__facts {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  border-top: 1px solid var(--afc-header-line);
  background: var(--afc-white-soft);
}

.afc-hero__facts-inner {
  display: grid;
  min-height: 104px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.afc-hero__facts-inner > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  border-right: 1px solid var(--afc-header-line);
}

.afc-hero__facts-inner > div:last-child {
  border-right: 0;
}

.afc-hero__facts svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--afc-soft-green);
}

.afc-hero__facts span {
  display: grid;
  color: var(--afc-white-muted);
  font-size: 12px;
  line-height: 1.45;
}

.afc-hero__facts strong {
  color: var(--afc-surface);
  font-size: 14px;
}

.afc-section {
  padding: 112px 0;
}

.afc-section-heading h2,
.afc-classroom h2,
.afc-materials h2,
.afc-closing h2 {
  margin: 0;
  font-family: "Gowun Dodum", sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}

.afc-section-heading > p:last-child {
  max-width: 600px;
  margin: 20px 0 0;
  color: var(--afc-muted);
}

.afc-section-heading--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 52px;
}

.afc-section-heading--row > p {
  max-width: 470px;
  margin: 0;
  color: var(--afc-muted);
}

.afc-path {
  background: var(--afc-surface);
}

.afc-path__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 96px;
}

.afc-path__heading {
  align-self: start;
}

.afc-path-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.afc-path-list li {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 24px;
  padding: 0 0 52px;
}

.afc-path-list li:last-child {
  padding-bottom: 0;
}

.afc-path-list li::before {
  position: absolute;
  top: 48px;
  bottom: 4px;
  left: 26px;
  width: 1px;
  background: var(--afc-line);
  content: "";
}

.afc-path-list li:last-child::before {
  display: none;
}

.afc-path-list__icon {
  position: relative;
  z-index: 2;
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--afc-primary);
  border-radius: 50%;
  background: var(--afc-bg);
  color: var(--afc-primary);
}

.afc-path-list__icon svg {
  width: 21px;
  height: 21px;
}

.afc-path-list span {
  color: var(--afc-primary);
  font-size: 12px;
  font-weight: 800;
}

.afc-path-list h3 {
  margin: 5px 0 8px;
  font-family: "Gowun Dodum", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
}

.afc-path-list p {
  margin: 0;
  color: var(--afc-muted);
  font-size: 15px;
}

.afc-planner {
  background: var(--afc-soft-pink);
}

.afc-note {
  border-top: 2px solid var(--afc-ink);
  border-bottom: 1px solid var(--afc-ink);
  background: var(--afc-surface);
}

.afc-note__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--afc-line);
}

.afc-note__tabs button {
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--afc-line);
  background: var(--afc-surface);
  color: var(--afc-muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.afc-note__tabs button:last-child {
  border-right: 0;
}

.afc-note__tabs button[aria-selected="true"] {
  background: var(--afc-ink);
  color: var(--afc-surface);
}

.afc-note__panel {
  display: grid;
  min-height: 270px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 58px;
  padding: 44px 50px;
}

.afc-note__title span {
  color: var(--afc-primary);
  font-size: 12px;
  font-weight: 800;
}

.afc-note__title h3 {
  max-width: 510px;
  margin: 8px 0 0;
  font-family: "Gowun Dodum", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
}

.afc-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.afc-check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 42px;
  border-bottom: 1px solid var(--afc-line);
  color: var(--afc-muted);
  font-size: 14px;
}

.afc-check-list svg {
  width: 17px;
  height: 17px;
  color: var(--afc-primary);
}

.afc-note__status {
  grid-column: 2;
  margin: -30px 0 0;
  color: var(--afc-primary);
  font-size: 12px;
  font-weight: 700;
}

.afc-curriculum {
  background: var(--afc-surface);
}

.afc-curriculum__grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: 88px;
}

.afc-curriculum__media {
  margin: 0;
}

.afc-curriculum__media img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  object-position: center 52%;
}

.afc-curriculum__media figcaption {
  padding-top: 10px;
  color: var(--afc-muted);
  font-size: 11px;
}

.afc-curriculum__content > .afc-section-heading {
  margin-bottom: 34px;
}

.afc-accordion {
  border-top: 2px solid var(--afc-ink);
}

.afc-accordion details {
  border-bottom: 1px solid var(--afc-line);
}

.afc-accordion summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

.afc-accordion summary::-webkit-details-marker {
  display: none;
}

.afc-accordion summary svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform 180ms ease;
}

.afc-accordion details[open] summary svg {
  transform: rotate(180deg);
}

.afc-accordion details > div {
  padding: 0 40px 22px 0;
  color: var(--afc-muted);
  font-size: 14px;
}

.afc-classroom {
  background: var(--afc-ink);
  color: var(--afc-surface);
}

.afc-classroom__grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: 90px;
}

.afc-classroom__copy > p:not(.afc-eyebrow) {
  max-width: 500px;
  margin: 22px 0 0;
  color: var(--afc-white-muted);
}

.afc-classroom__copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.afc-classroom__copy li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--afc-soft-green);
  font-size: 13px;
  font-weight: 700;
}

.afc-classroom__copy li svg {
  width: 17px;
  height: 17px;
}

.afc-classroom-ui {
  overflow: hidden;
  border: 1px solid var(--afc-header-line);
  border-radius: 8px;
  background: var(--afc-surface);
  color: var(--afc-ink);
  box-shadow: var(--afc-shadow);
}

.afc-classroom-ui__top {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  border-bottom: 1px solid var(--afc-line);
  font-size: 12px;
  font-weight: 700;
}

.afc-classroom-ui__top span:last-child {
  color: var(--afc-primary);
}

.afc-video-placeholder {
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: var(--afc-bg);
  color: var(--afc-primary);
  font-size: 13px;
  font-weight: 700;
}

.afc-video-placeholder svg {
  width: 48px;
  height: 48px;
  padding: 13px;
  border: 1px solid var(--afc-primary);
  border-radius: 50%;
}

.afc-lesson-list > div {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  border-top: 1px solid var(--afc-line);
  font-size: 13px;
  font-weight: 700;
}

.afc-lesson-list small {
  color: var(--afc-muted);
  font-size: 11px;
  font-weight: 500;
}

.afc-materials {
  background: var(--afc-soft-green);
}

.afc-materials__grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 86px;
}

.afc-materials__media img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center;
}

.afc-materials__content > p:not(.afc-eyebrow) {
  margin: 22px 0 0;
  color: var(--afc-ink);
}

.afc-materials__check {
  display: grid;
  gap: 0;
  margin: 30px 0;
  border-top: 1px solid var(--afc-primary);
}

.afc-materials__check span {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--afc-primary);
  font-size: 14px;
  font-weight: 700;
}

.afc-materials__check svg {
  width: 17px;
  height: 17px;
  color: var(--afc-primary);
}

.afc-faq {
  background: var(--afc-bg);
}

.afc-faq__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 92px;
}

.afc-accordion--faq details[open] summary svg {
  transform: rotate(45deg);
}

.afc-closing {
  padding: 84px 0;
  background: var(--afc-primary);
  color: var(--afc-surface);
}

.afc-closing__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.afc-footer {
  padding: 30px 0;
  background: var(--afc-surface);
}

.afc-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.afc-brand--dark {
  color: var(--afc-ink);
}

.afc-footer__inner > div {
  display: grid;
  color: var(--afc-muted);
  font-size: 11px;
}

.afc-footer__inner > a:last-child {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--afc-primary);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .afc-header__inner {
    gap: 16px;
  }

  .afc-nav {
    gap: 16px;
  }

  .afc-header__login {
    display: none;
  }

  .afc-path__grid,
  .afc-curriculum__grid,
  .afc-classroom__grid,
  .afc-materials__grid,
  .afc-faq__grid {
    gap: 56px;
  }

  .afc-section {
    padding: 92px 0;
  }

  .afc-curriculum__media img {
    height: 560px;
  }

  .afc-materials__media img {
    height: 480px;
  }
}

@media (max-width: 820px) {
  .afc-container {
    padding-right: 24px;
    padding-left: 24px;
  }

  .afc-menu-button {
    display: inline-flex;
  }

  .afc-header__actions .afc-button,
  .afc-header__login {
    display: none;
  }

  .afc-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    height: calc(100vh - 76px);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    background: var(--afc-ink);
  }

  .afc-nav.is-open {
    display: flex;
  }

  .afc-nav a {
    min-height: 58px;
    border-bottom: 1px solid var(--afc-header-line);
    color: var(--afc-surface);
    font-size: 16px;
  }

  .afc-hero,
  .afc-hero__inner {
    min-height: 720px;
  }

  .afc-hero__inner {
    align-items: flex-start;
    padding-top: 156px;
    padding-bottom: 184px;
  }

  .afc-hero h1 {
    font-size: 48px;
  }

  .afc-hero__description {
    max-width: 510px;
  }

  .afc-hero__facts-inner > div {
    padding: 17px 14px;
  }

  .afc-path__grid,
  .afc-curriculum__grid,
  .afc-classroom__grid,
  .afc-materials__grid,
  .afc-faq__grid {
    grid-template-columns: 1fr;
  }

  .afc-path__grid,
  .afc-curriculum__grid,
  .afc-classroom__grid,
  .afc-materials__grid,
  .afc-faq__grid {
    gap: 48px;
  }

  .afc-section-heading--row {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .afc-note__panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .afc-note__status {
    grid-column: 1;
    margin: -8px 0 0;
  }

  .afc-curriculum__media {
    order: 2;
  }

  .afc-curriculum__content {
    order: 1;
  }

  .afc-curriculum__media img {
    height: 600px;
  }

  .afc-classroom__copy,
  .afc-materials__content {
    max-width: 680px;
  }

  .afc-footer__inner {
    grid-template-columns: 1fr auto;
  }

  .afc-footer__inner > div {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 520px) {
  .afc-container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .afc-header__inner {
    min-height: 68px;
  }

  .afc-nav {
    top: 68px;
    height: calc(100vh - 68px);
    padding: 20px;
  }

  .afc-hero,
  .afc-hero__inner {
    min-height: 744px;
  }

  .afc-hero__image {
    object-position: 58% center;
  }

  .afc-hero__inner {
    padding-top: 132px;
    padding-bottom: 214px;
  }

  .afc-hero h1 {
    font-size: 42px;
  }

  .afc-hero__offer {
    font-size: 21px;
  }

  .afc-hero__description {
    font-size: 15px;
  }

  .afc-hero__buttons {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
  }

  .afc-hero__facts-inner {
    min-height: 166px;
    grid-template-columns: 1fr;
  }

  .afc-hero__facts-inner > div {
    min-height: 54px;
    padding: 8px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--afc-header-line);
  }

  .afc-hero__facts-inner > div:last-child {
    border-bottom: 0;
  }

  .afc-hero__facts span {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
  }

  .afc-section {
    padding: 76px 0;
  }

  .afc-section-heading h2,
  .afc-classroom h2,
  .afc-materials h2,
  .afc-closing h2 {
    font-size: 34px;
  }

  .afc-path-list li {
    grid-template-columns: 46px 1fr;
    gap: 16px;
    padding-bottom: 42px;
  }

  .afc-path-list li::before {
    top: 42px;
    left: 22px;
  }

  .afc-path-list__icon {
    width: 46px;
    height: 46px;
  }

  .afc-path-list h3 {
    font-size: 21px;
  }

  .afc-note__tabs button {
    min-height: 52px;
    font-size: 13px;
  }

  .afc-note__panel {
    min-height: 0;
    padding: 30px 22px;
  }

  .afc-note__title h3 {
    font-size: 25px;
  }

  .afc-curriculum__media img,
  .afc-materials__media img {
    height: 430px;
  }

  .afc-video-placeholder {
    min-height: 190px;
  }

  .afc-lesson-list > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .afc-classroom__copy ul {
    align-items: flex-start;
    flex-direction: column;
  }

  .afc-closing {
    padding: 68px 0;
  }

  .afc-closing__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .afc-footer__inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .afc-footer__inner > div,
  .afc-footer__inner > a:last-child {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
