:root {
  --ffd-ink: #0b0b0b;
  --ffd-paper: #f4f0e6;
  --ffd-white: #ffffff;
  --ffd-pink: #ff3d7f;
  --ffd-cyan: #00d7c7;
  --ffd-yellow: #ffef3a;
  --ffd-red: #e52b2b;
  --ffd-gray: #6b6962;
  --ffd-line: rgba(11, 11, 11, 0.2);
  --ffd-dark-line: rgba(255, 255, 255, 0.24);
  --ffd-dark-wash: rgba(0, 0, 0, 0.3);
  --ffd-dark-wash-strong: rgba(0, 0, 0, 0.72);
  --ffd-focus: #1a5cff;
  --ffd-shadow: rgba(11, 11, 11, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ffd-page {
  margin: 0;
  overflow-x: hidden;
  background: var(--ffd-paper);
  color: var(--ffd-ink);
  font-family: "IBM Plex Sans KR", "Pretendard", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

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

.ffd-page a {
  color: inherit;
  text-decoration: none;
}

.ffd-page button,
.ffd-page a {
  -webkit-tap-highlight-color: transparent;
}

.ffd-page button,
.ffd-page input,
.ffd-page select {
  font: inherit;
  letter-spacing: 0;
}

.ffd-page h1,
.ffd-page h2,
.ffd-page h3,
.ffd-page p {
  margin-top: 0;
}

.ffd-wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.ffd-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 68px;
  border-bottom: 1px solid var(--ffd-dark-line);
  background: var(--ffd-ink);
  color: var(--ffd-white);
}

.ffd-nav-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ffd-wordmark {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Black Han Sans", sans-serif;
  font-size: 23px;
  line-height: 1;
}

.ffd-wordmark-slash {
  color: var(--ffd-pink);
  font-family: "Rock Salt", cursive;
  font-size: 18px;
}

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

.ffd-nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.ffd-nav-links a:hover,
.ffd-nav-links a:focus-visible {
  color: var(--ffd-yellow);
}

.ffd-nav-compare {
  padding: 0 16px;
  border: 1px solid var(--ffd-white);
}

.ffd-menu-button {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ffd-dark-line);
  border-radius: 0;
  background: transparent;
  color: var(--ffd-white);
  cursor: pointer;
}

.ffd-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ffd-ink);
  color: var(--ffd-white);
}

.ffd-hero-media,
.ffd-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ffd-hero-media img {
  object-fit: cover;
  object-position: center center;
}

.ffd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ffd-dark-wash);
}

.ffd-hero-content {
  position: relative;
  z-index: 2;
  padding: 112px 0 72px;
}

.ffd-eyebrow {
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ffd-yellow);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.ffd-eyebrow::before {
  content: "";
  width: 42px;
  height: 4px;
  background: currentColor;
}

.ffd-hero h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-family: "Black Han Sans", sans-serif;
  font-size: 78px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.ffd-hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--ffd-white);
  font-size: 19px;
  line-height: 1.7;
}

.ffd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ffd-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 2px solid var(--ffd-ink);
  border-radius: 0;
  background: var(--ffd-yellow);
  color: var(--ffd-ink);
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out;
}

.ffd-button:hover,
.ffd-button:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--ffd-pink);
}

.ffd-button-dark {
  border-color: var(--ffd-white);
  background: var(--ffd-ink);
  color: var(--ffd-white);
}

.ffd-button-dark:hover,
.ffd-button-dark:focus-visible {
  box-shadow: 5px 5px 0 var(--ffd-cyan);
}

.ffd-sample-note {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--ffd-white);
}

.ffd-option-stamp {
  position: absolute;
  right: 28px;
  bottom: 34px;
  z-index: 3;
  width: 144px;
  min-height: 58px;
  display: grid;
  place-items: center;
  transform: rotate(-6deg);
  border: 3px solid var(--ffd-ink);
  background: var(--ffd-pink);
  color: var(--ffd-ink);
  font-family: "Rock Salt", cursive;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
}

.ffd-ticker {
  overflow: hidden;
  border-top: 2px solid var(--ffd-ink);
  border-bottom: 2px solid var(--ffd-ink);
  background: var(--ffd-cyan);
  color: var(--ffd-ink);
}

.ffd-ticker-track {
  min-height: 48px;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
  font-family: "Black Han Sans", sans-serif;
  font-size: 21px;
  line-height: 1;
  animation: ffd-ticker 22s linear infinite;
}

.ffd-ticker-track span::after {
  content: "/";
  margin-left: 30px;
  color: var(--ffd-pink);
}

@keyframes ffd-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ffd-section {
  padding: 108px 0;
}

.ffd-section-head {
  margin-bottom: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 48px;
  align-items: end;
}

.ffd-kicker {
  margin-bottom: 12px;
  display: block;
  color: var(--ffd-pink);
  font-family: "Rock Salt", cursive;
  font-size: 14px;
  font-weight: 700;
}

.ffd-section h2 {
  margin-bottom: 0;
  font-family: "Black Han Sans", sans-serif;
  font-size: 54px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.ffd-section-summary {
  margin-bottom: 0;
  color: var(--ffd-gray);
  font-size: 17px;
}

.ffd-filter-bar {
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ffd-filter {
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--ffd-ink);
  border-radius: 0;
  background: transparent;
  color: var(--ffd-ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.ffd-filter[aria-pressed="true"] {
  background: var(--ffd-ink);
  color: var(--ffd-white);
}

.ffd-program-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.ffd-poster {
  min-height: 540px;
  border: 2px solid var(--ffd-ink);
  background: var(--ffd-white);
  box-shadow: 8px 8px 0 var(--ffd-ink);
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}

.ffd-poster:nth-child(1) {
  grid-column: span 4;
  transform: rotate(-1deg);
}

.ffd-poster:nth-child(2) {
  grid-column: span 5;
  margin-top: 34px;
  transform: rotate(1deg);
}

.ffd-poster:nth-child(3) {
  grid-column: span 3;
  margin-top: -20px;
  transform: rotate(-1.5deg);
}

.ffd-poster:hover,
.ffd-poster:focus-within {
  transform: rotate(0) translateY(-8px);
  box-shadow: 12px 12px 0 var(--ffd-pink);
}

.ffd-poster-link {
  height: 100%;
  min-height: 540px;
  display: flex;
  flex-direction: column;
}

.ffd-poster-image {
  height: 230px;
  overflow: hidden;
  border-bottom: 2px solid var(--ffd-ink);
  background: var(--ffd-ink);
}

.ffd-poster-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease-out;
}

.ffd-poster:hover .ffd-poster-image img,
.ffd-poster:focus-within .ffd-poster-image img {
  transform: scale(1.035);
}

.ffd-poster-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.ffd-poster-lesson .ffd-poster-body {
  background: var(--ffd-pink);
}

.ffd-poster-stage .ffd-poster-body {
  background: var(--ffd-cyan);
}

.ffd-poster-event .ffd-poster-body {
  background: var(--ffd-yellow);
}

.ffd-poster-event .ffd-poster-image {
  height: 230px;
  display: grid;
  place-items: center;
  padding: 22px;
  background: var(--ffd-ink);
  color: var(--ffd-white);
  font-family: "Rock Salt", cursive;
  font-size: 25px;
  line-height: 1.35;
  text-align: center;
}

.ffd-poster-meta {
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ffd-poster h3 {
  margin-bottom: 14px;
  font-family: "Black Han Sans", sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.12;
}

.ffd-poster p {
  margin-bottom: 18px;
  font-size: 15px;
}

.ffd-poster-list {
  margin: auto 0 18px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ffd-line);
}

.ffd-poster-list li {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--ffd-line);
  font-size: 13px;
}

.ffd-poster-cta {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 2px solid var(--ffd-ink);
  font-size: 14px;
  font-weight: 900;
}

.ffd-result {
  margin: 24px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.ffd-journey {
  background: var(--ffd-ink);
  color: var(--ffd-white);
}

.ffd-journey .ffd-kicker {
  color: var(--ffd-cyan);
}

.ffd-journey-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ffd-dark-line);
  border-bottom: 1px solid var(--ffd-dark-line);
}

.ffd-step {
  min-height: 310px;
  padding: 30px;
  border-right: 1px solid var(--ffd-dark-line);
}

.ffd-step:last-child {
  border-right: 0;
}

.ffd-step-number {
  display: block;
  margin-bottom: 54px;
  color: var(--ffd-yellow);
  font-family: "Rock Salt", cursive;
  font-size: 50px;
  line-height: 1;
}

.ffd-step h3 {
  margin-bottom: 12px;
  font-family: "Black Han Sans", sans-serif;
  font-size: 29px;
  font-weight: 400;
}

.ffd-step p {
  margin-bottom: 0;
  color: var(--ffd-white);
  font-size: 15px;
}

.ffd-detail-stack {
  display: grid;
  gap: 0;
  border: 2px solid var(--ffd-ink);
}

.ffd-detail {
  min-height: 530px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid var(--ffd-ink);
}

.ffd-detail:last-child {
  border-bottom: 0;
}

.ffd-detail-media {
  min-height: 460px;
  overflow: hidden;
  background: var(--ffd-ink);
}

.ffd-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ffd-detail-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px;
  background: var(--ffd-white);
}

.ffd-detail:nth-child(2) .ffd-detail-content {
  order: -1;
  background: var(--ffd-cyan);
}

.ffd-detail-label {
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ffd-pink);
  font-size: 13px;
  font-weight: 900;
}

.ffd-detail:nth-child(2) .ffd-detail-label {
  color: var(--ffd-ink);
}

.ffd-detail h3 {
  margin-bottom: 18px;
  font-family: "Black Han Sans", sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.12;
}

.ffd-detail-checks {
  margin: 12px 0 26px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ffd-line);
}

.ffd-detail-checks li {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ffd-line);
  font-size: 14px;
  font-weight: 700;
}

.ffd-apply {
  background: var(--ffd-yellow);
}

.ffd-apply-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 2px solid var(--ffd-ink);
  background: var(--ffd-paper);
}

.ffd-apply-step {
  min-height: 230px;
  padding: 26px;
  border-right: 2px solid var(--ffd-ink);
}

.ffd-apply-step:last-child {
  border-right: 0;
}

.ffd-apply-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ffd-ink);
  background: var(--ffd-pink);
}

.ffd-apply-step h3 {
  margin-bottom: 8px;
  font-family: "Black Han Sans", sans-serif;
  font-size: 23px;
  font-weight: 400;
}

.ffd-apply-step p {
  margin-bottom: 0;
  font-size: 14px;
}

.ffd-apply-note {
  margin: 24px 0 0;
  max-width: 780px;
  font-size: 14px;
}

.ffd-faq {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 64px;
}

.ffd-faq-list {
  border-top: 2px solid var(--ffd-ink);
}

.ffd-faq details {
  border-bottom: 2px solid var(--ffd-ink);
}

.ffd-faq summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  list-style: none;
}

.ffd-faq summary::-webkit-details-marker {
  display: none;
}

.ffd-faq summary::after {
  content: "+";
  font-family: "Black Han Sans", sans-serif;
  font-size: 28px;
}

.ffd-faq details[open] summary::after {
  content: "-";
}

.ffd-faq details p {
  max-width: 680px;
  padding: 0 0 24px;
  margin-bottom: 0;
  color: var(--ffd-gray);
}

.ffd-footer {
  padding: 34px 0;
  border-top: 2px solid var(--ffd-ink);
  background: var(--ffd-ink);
  color: var(--ffd-white);
}

.ffd-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.ffd-page :focus-visible {
  outline: 3px solid var(--ffd-focus);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .ffd-hero {
    min-height: 660px;
  }

  .ffd-hero h1 {
    font-size: 64px;
  }

  .ffd-poster:nth-child(1),
  .ffd-poster:nth-child(2),
  .ffd-poster:nth-child(3) {
    grid-column: span 6;
    margin-top: 0;
  }

  .ffd-poster:nth-child(3) {
    grid-column: 4 / span 6;
  }

  .ffd-apply-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ffd-apply-step:nth-child(2) {
    border-right: 0;
  }

  .ffd-apply-step:nth-child(-n + 2) {
    border-bottom: 2px solid var(--ffd-ink);
  }
}

@media (max-width: 760px) {
  .ffd-wrap {
    width: min(calc(100% - 32px), 1200px);
  }

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

  .ffd-nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    padding: 14px 16px 20px;
    border-bottom: 2px solid var(--ffd-white);
    background: var(--ffd-ink);
  }

  .ffd-nav-links[data-open="true"] {
    display: grid;
  }

  .ffd-nav-links a {
    width: 100%;
    border-bottom: 1px solid var(--ffd-dark-line);
  }

  .ffd-nav-compare {
    margin-top: 8px;
    justify-content: center;
    border: 1px solid var(--ffd-white) !important;
  }

  .ffd-hero {
    min-height: 680px;
  }

  .ffd-hero-media img {
    object-position: 58% center;
  }

  .ffd-hero::after {
    background: var(--ffd-dark-wash-strong);
  }

  .ffd-hero-content {
    padding: 110px 0 54px;
  }

  .ffd-hero h1 {
    max-width: 500px;
    font-size: 46px;
  }

  .ffd-hero-lead {
    font-size: 17px;
  }

  .ffd-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ffd-button {
    width: 100%;
  }

  .ffd-option-stamp {
    right: 14px;
    bottom: 18px;
    width: 118px;
    min-height: 48px;
    font-size: 11px;
  }

  .ffd-section {
    padding: 78px 0;
  }

  .ffd-section-head,
  .ffd-faq {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ffd-section h2 {
    font-size: 40px;
  }

  .ffd-program-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ffd-poster:nth-child(1),
  .ffd-poster:nth-child(2),
  .ffd-poster:nth-child(3) {
    grid-column: auto;
    min-height: 0;
    margin-top: 0;
    transform: none;
  }

  .ffd-poster-link {
    min-height: 0;
  }

  .ffd-journey-grid {
    grid-template-columns: 1fr;
  }

  .ffd-step {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--ffd-dark-line);
  }

  .ffd-step:last-child {
    border-bottom: 0;
  }

  .ffd-step-number {
    margin-bottom: 26px;
  }

  .ffd-detail {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .ffd-detail-media {
    min-height: 330px;
  }

  .ffd-detail-content,
  .ffd-detail:nth-child(2) .ffd-detail-content {
    order: 0;
    padding: 34px 24px;
  }

  .ffd-detail h3 {
    font-size: 34px;
  }

  .ffd-apply-grid {
    grid-template-columns: 1fr;
  }

  .ffd-apply-step,
  .ffd-apply-step:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 2px solid var(--ffd-ink);
  }

  .ffd-apply-step:last-child {
    border-bottom: 0;
  }

  .ffd-apply-icon {
    margin-bottom: 24px;
  }

  .ffd-footer-inner {
    flex-direction: column;
  }
}

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

  .ffd-ticker-track {
    animation: none;
  }

  .ffd-button,
  .ffd-poster,
  .ffd-poster-image img {
    transition: none;
  }
}
