:root {
  --black: #000;
  --white: #fff;
  --page-max: 1120px;
  --header-height: 68px;
  --screen-min: calc(100svh - var(--header-height));
  color: var(--black);
  background: var(--white);
  font-family:
    Inter, Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
  word-break: keep-all;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--white);
  background: var(--black);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 68px;
  padding: 0 30px;
  color: var(--black);
  background: var(--white);
  border-bottom: 1px solid var(--black);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
}

.brand::before {
  width: 12px;
  height: 12px;
  margin-right: 10px;
  background: var(--black);
  content: "";
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--black);
}

.header-cta {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: var(--white);
  border: 1px solid var(--black);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  background: var(--black);
}

.hero {
  position: relative;
  min-height: var(--screen-min);
  overflow: hidden;
  border-bottom: 1px solid var(--black);
  background: var(--white);
  scroll-margin-top: var(--header-height);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: var(--page-max);
  min-height: var(--screen-min);
  margin-right: auto;
  margin-left: auto;
  padding: 72px 30px 64px;
}

.hero h1,
.section h2,
.contact-copy h2 {
  margin: 0;
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1,
.section h2,
.contact-copy h2,
.section-lead,
.hero-text,
.track-card p,
.program-card p,
.pricing-card p,
.contact-copy p,
.process-list p,
.table-row span {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero h1 {
  width: 100%;
  max-width: 920px;
  font-size: 5.2rem;
}

.desktop-line {
  display: block;
}

.mobile-line {
  display: none;
}

.hero-text {
  width: 100%;
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 1.12rem;
  font-weight: 700;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--black);
  font-weight: 900;
  text-align: center;
}

.button-primary {
  color: var(--white);
  background: var(--black);
}

.button-secondary {
  color: var(--black);
  background: var(--white);
}
.button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.button:hover,
.header-cta:hover,
.text-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.keyword-list li {
  padding: 8px 12px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--black);
  font-size: 0.9rem;
  font-weight: 900;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(560px, 100%);
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.hero-meta div {
  min-height: 82px;
  padding: 14px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: var(--white);
}

.hero-meta dt,
.hero-meta dd {
  margin: 0;
}

.hero-meta dt {
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-meta dd {
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1;
}

.section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--screen-min);
  padding: 96px 30px;
  background: var(--white);
  border-bottom: 1px solid var(--black);
  scroll-margin-top: var(--header-height);
}

.section-tight {
  padding-top: 84px;
}

.section-black {
  color: var(--white);
  background: var(--black);
}

.section-header,
.track-grid,
.program-grid,
.process-list,
.tabs,
.curriculum-panel,
.outcome-grid,
.pricing-grid {
  width: 100%;
  max-width: var(--page-max);
  margin-right: auto;
  margin-left: auto;
}

.section-header {
  margin-bottom: 38px;
}

.section-header-row {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}

.section h2,
.contact-copy h2 {
  max-width: 820px;
  font-size: 3.15rem;
}

.section-lead {
  max-width: 700px;
  margin: 20px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 900;
  white-space: nowrap;
}

.text-link::after {
  margin-left: 10px;
  content: "->";
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.track-card {
  min-height: 292px;
  padding: 26px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 38px;
  color: var(--white);
  background: var(--black);
  font-weight: 900;
}

.track-card h3,
.program-card h3,
.pricing-card h3,
.outcome-grid h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.08;
}

.track-card p,
.program-card p,
.pricing-card p,
.contact-copy p {
  margin: 20px 0 0;
  font-size: 1.05rem;
  font-weight: 650;
}

.track-card strong,
.pricing-card strong {
  display: inline-block;
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px solid var(--black);
  font-size: 0.95rem;
}

.pricing-card strong {
  margin-top: auto;
  align-self: flex-start;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--white);
  border-left: 1px solid var(--white);
}

.program-card {
  min-height: 430px;
  padding: 30px;
  color: var(--white);
  background: var(--black);
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
}

.program-head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  font-size: 0.9rem;
  font-weight: 900;
}

.program-head strong {
  padding: 8px 10px;
  color: var(--black);
  background: var(--white);
}

.program-card p {
  max-width: 560px;
}

.program-card ul {
  display: grid;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.program-card li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  font-weight: 800;
}

.program-card li::before {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  background: var(--white);
  content: "";
}

.program-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 34px;
  padding: 0 14px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--white);
  font-weight: 950;
}

.program-link::after {
  margin-left: 10px;
  content: "->";
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
  list-style: none;
}

.process-list li {
  min-height: 198px;
  padding: 24px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.process-list span {
  display: block;
  margin-bottom: 42px;
  font-weight: 950;
}

.process-list strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.process-list p {
  margin: 14px 0 0;
  font-weight: 700;
}

.tabs {
  display: flex;
  margin-bottom: 18px;
}

.tab {
  min-width: 160px;
  min-height: 52px;
  padding: 0 18px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--black);
  font-weight: 900;
}

.tab + .tab {
  margin-left: -1px;
}

.tab.is-active {
  color: var(--white);
  background: var(--black);
}

.curriculum-table {
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.table-row {
  display: grid;
  grid-template-columns: 120px minmax(280px, 1fr) 180px;
}

.table-row span {
  min-height: 64px;
  padding: 18px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  font-weight: 750;
}

.table-head span {
  color: var(--white);
  background: var(--black);
  font-weight: 950;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--white);
  border-left: 1px solid var(--white);
}

.outcome-grid article {
  min-height: 190px;
  padding: 26px;
  color: var(--white);
  background: var(--black);
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
}

.outcome-grid span {
  display: block;
  margin-bottom: 42px;
  font-weight: 950;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 26px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.pricing-card.is-featured {
  color: var(--white);
  background: var(--black);
}

.pricing-card.is-featured strong {
  border-color: var(--white);
}

.price-kicker {
  display: block;
  margin-bottom: 22px;
  font-size: 0.9rem;
  font-weight: 950;
}

.pricing-card h3 {
  font-size: 2.15rem;
}

.price-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

.price-list div {
  display: grid;
  grid-template-columns: 76px 1fr;
  min-height: 46px;
}

.price-list dt,
.price-list dd {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 8px 10px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.price-list dt {
  font-size: 0.88rem;
  font-weight: 900;
}

.price-list dd {
  justify-content: flex-end;
  font-weight: 950;
  text-align: right;
}

.pricing-note {
  width: 100%;
  max-width: var(--page-max);
  margin: 20px auto 0;
  font-size: 0.92rem;
  font-weight: 750;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 56px;
  align-items: center;
  min-height: var(--screen-min);
  padding: 96px 30px;
  color: var(--white);
  background: var(--black);
  scroll-margin-top: var(--header-height);
}

.contact-copy,
.contact-form,
.apply-preview {
  width: 100%;
  max-width: 580px;
}

.contact-copy {
  justify-self: end;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 0;
  color: var(--white);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  appearance: none;
  width: 100%;
  min-height: 52px;
  padding: 12px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--white);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 900;
}

.form-help {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
}

.apply-preview {
  display: grid;
  gap: 0;
  color: var(--black);
  background: var(--white);
  border-top: 1px solid var(--white);
  border-left: 1px solid var(--white);
}

.apply-preview article {
  padding: 20px;
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
}

.apply-preview span {
  display: block;
  margin-bottom: 18px;
  font-weight: 950;
}

.apply-preview strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 950;
}

.apply-preview p {
  margin: 10px 0 0;
  font-weight: 750;
}

.apply-preview-cta {
  width: 100%;
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.apply-page {
  background: var(--white);
}

.apply-page .site-header {
  position: sticky;
}

.apply-page .apply-nav {
  display: flex;
}

.apply-hero,
.apply-section {
  width: min(var(--page-max), calc(100% - 60px));
  margin-right: auto;
  margin-left: auto;
}

.apply-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 48px;
  align-items: center;
  min-height: var(--screen-min);
  padding: 72px 0;
  border-bottom: 1px solid var(--black);
}

.apply-hero h1,
.apply-section h2 {
  margin: 0;
  font-size: 4.4rem;
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0;
}

.apply-hero p,
.apply-section-head p {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: 1.08rem;
  font-weight: 750;
}

.apply-rules {
  display: grid;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.apply-rules article {
  min-height: 132px;
  padding: 20px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.apply-rules span,
.cohort-card span,
.cohort-card dt,
.selected-class strong {
  font-size: 0.82rem;
  font-weight: 950;
}

.apply-rules strong {
  display: block;
  margin-top: 18px;
  font-size: 1.5rem;
  font-weight: 950;
}

.apply-rules p {
  margin: 8px 0 0;
  font-weight: 850;
}

.apply-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--black);
}

.apply-section-head {
  margin-bottom: 34px;
}

.filter-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.filter-grid label,
.apply-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.filter-grid select,
.apply-form input,
.apply-form select,
.apply-form textarea {
  appearance: none;
  width: 100%;
  min-height: 52px;
  padding: 12px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--black);
}

.apply-form textarea {
  min-height: 140px;
  resize: vertical;
}

.cohort-summary {
  margin: 24px 0 18px;
  padding: 16px;
  color: var(--white);
  background: var(--black);
  font-weight: 900;
}

.cohort-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.cohort-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 22px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.cohort-card.is-full {
  background: repeating-linear-gradient(
    135deg,
    var(--white),
    var(--white) 12px,
    rgba(0, 0, 0, 0.06) 12px,
    rgba(0, 0, 0, 0.06) 24px
  );
}

.cohort-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cohort-head strong {
  padding: 6px 8px;
  color: var(--white);
  background: var(--black);
  font-size: 0.78rem;
  font-weight: 950;
  text-align: right;
}

.cohort-card h3 {
  margin: 34px 0 0;
  font-size: 1.65rem;
  line-height: 1.08;
}

.cohort-meta {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.cohort-meta div {
  display: grid;
  grid-template-columns: 84px 1fr;
}

.cohort-meta dt,
.cohort-meta dd {
  margin: 0;
  padding: 9px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.cohort-meta dd {
  font-weight: 850;
}

.seat-meter {
  margin-top: auto;
  padding-top: 24px;
}

.seat-meter div {
  height: 10px;
  background: var(--white);
  border: 1px solid var(--black);
}

.seat-meter span {
  display: block;
  height: 100%;
  background: var(--black);
}

.seat-meter p {
  margin: 10px 0 18px;
  font-size: 0.92rem;
  font-weight: 900;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 32px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  font-weight: 900;
}

.apply-form-section {
  border-bottom: 0;
}

.apply-form {
  display: grid;
  gap: 18px;
  max-width: 920px;
}

.selected-class {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: var(--white);
  background: var(--black);
  font-weight: 850;
}

.apply-form .button {
  width: min(360px, 100%);
}

.apply-note {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 750;
}

.thanks-page {
  min-height: 100svh;
}

.thanks-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 860px;
  min-height: 100svh;
  margin-right: auto;
  margin-left: auto;
  padding: 64px 30px;
}

.thanks-wrap h1 {
  margin: 0;
  font-size: 4rem;
  font-weight: 950;
  line-height: 1.02;
}

.thanks-wrap p {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.thanks-note {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: 0.86rem;
  font-weight: 600;
  opacity: 0.7;
}

.thanks-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  justify-content: space-between;
  padding: 28px 30px;
  border-top: 1px solid var(--black);
  font-weight: 800;
}

.footer-brand,
.footer-network,
.business-info {
  display: grid;
  gap: 8px;
}

.site-footer p,
.footer-network p,
.business-info p {
  margin: 0;
}

.footer-brand p,
.footer-network p {
  font-weight: 950;
}

.footer-network {
  align-content: start;
}

.business-info {
  justify-self: end;
  max-width: 780px;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: right;
}

.site-footer a,
.footer-network a,
.business-info a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: block;
    order: 3;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 22px 32px 32px;
    background: var(--white);
    border-bottom: 1px solid var(--black);
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 58px;
    padding: 0;
    border-bottom: 1px solid var(--black);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .header-cta {
    justify-self: end;
  }

  .hero h1 {
    max-width: 720px;
    font-size: 4rem;
  }

  .section h2,
  .contact-copy h2 {
    font-size: 3rem;
  }

  .track-grid,
  .program-grid,
  .outcome-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-copy,
  .contact-form {
    max-width: var(--page-max);
  }

  .contact-copy {
    justify-self: stretch;
  }

  .apply-page .apply-nav {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 0;
    background: transparent;
    border-bottom: 0;
  }

  .apply-page .apply-nav a {
    justify-content: center;
    min-height: 40px;
    padding: 0 10px;
    border-bottom: 0;
  }

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

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

  .contact-copy,
  .contact-form,
  .apply-preview {
    max-width: var(--page-max);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  body {
    padding-bottom: 72px;
  }

  .site-header {
    min-height: 66px;
    padding: 0 18px;
  }

  .brand span {
    max-width: 150px;
    white-space: normal;
  }

  .site-nav {
    top: 66px;
    padding: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: var(--screen-min);
  }

  .hero-copy {
    width: auto;
    max-width: none;
    min-height: var(--screen-min);
    margin-right: 18px;
    margin-left: 18px;
    padding: 44px 0 48px;
  }

  .hero h1 {
    max-width: 320px;
    font-size: 2.65rem;
  }

  .desktop-line {
    display: none;
  }

  .mobile-line {
    display: block;
  }

  .hero-text {
    max-width: 320px;
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
    max-width: 320px;
  }

  .button {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 320px;
    margin-top: 24px;
  }

  .hero-meta div {
    min-height: 62px;
    padding: 10px;
  }

  .keyword-list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 320px;
    gap: 6px;
  }

  .keyword-list li {
    text-align: center;
  }

  .hero-meta dt {
    margin-bottom: 8px;
    font-size: 0.7rem;
  }

  .hero-meta dd {
    font-size: 1rem;
  }

  .section,
  .contact-section {
    padding: 76px 18px;
  }

  .section h2,
  .contact-copy h2 {
    font-size: 2.25rem;
  }

  .section-header-row {
    display: block;
  }

  .text-link {
    margin-top: 24px;
  }

  .track-grid,
  .program-grid,
  .process-list,
  .outcome-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .track-card,
  .program-card,
  .process-list li,
  .pricing-card {
    min-height: auto;
  }

  .card-index,
  .program-head,
  .process-list span,
  .outcome-grid span {
    margin-bottom: 28px;
  }

  .tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tab {
    min-width: 0;
    padding: 0 8px;
    font-size: 0.86rem;
  }

  .curriculum-panel {
    overflow-x: auto;
  }

  .curriculum-table {
    min-width: 680px;
  }

  .table-row {
    grid-template-columns: 96px minmax(280px, 1fr) 150px;
  }

  .apply-page .apply-nav {
    display: none;
  }

  .apply-hero,
  .apply-section {
    width: calc(100% - 36px);
  }

  .apply-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 58px 0 72px;
  }

  .apply-hero h1,
  .apply-section h2 {
    font-size: 2.45rem;
  }

  .apply-hero p,
  .apply-section-head p {
    font-size: 1rem;
  }

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

  .apply-rules article {
    min-height: 104px;
    padding: 14px;
  }

  .apply-rules strong {
    margin-top: 12px;
    font-size: 1.05rem;
  }

  .apply-section {
    padding: 72px 0;
  }

  .filter-grid,
  .form-grid,
  .cohort-grid {
    grid-template-columns: 1fr;
  }

  .cohort-card {
    min-height: auto;
  }

  .cohort-meta div {
    grid-template-columns: 76px 1fr;
  }

  .apply-form .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .footer-network,
  .business-info {
    justify-self: start;
    text-align: left;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    color: var(--white);
    background: var(--black);
    border: 1px solid var(--black);
    font-weight: 950;
  }

  .thanks-wrap {
    min-height: 100svh;
    padding: 58px 18px 88px;
  }

  .thanks-wrap h1 {
    font-size: 2.45rem;
  }

  .thanks-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

@media (max-width: 460px) {
  .brand span {
    max-width: 116px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .section h2,
  .contact-copy h2 {
    font-size: 2rem;
  }

  .keyword-list li {
    font-size: 0.82rem;
  }
}

/* ============================================================
   2026 Renewal — Belle Studio-inspired display type & motion
   ============================================================ */

:root {
  --display-font: "Playfair Display", "Bodoni MT", Didot, "Times New Roman", serif;
}

/* --- Hero: oversized display typography --- */

.hero-display-stage {
  position: relative;
  isolation: isolate;
}

.hero-display-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-display-stage .hero-copy {
  justify-content: flex-end;
  max-width: none;
  width: 100%;
  padding-bottom: 44px;
}

.hero-lede {
  max-width: 640px;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.6;
}

.hero .hero-display {
  width: 100%;
  max-width: none;
  margin: 28px 0 0;
  font-family: var(--display-font);
  font-weight: 900;
  font-size: clamp(4rem, 14.5vw, 13.5rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
}

.hero-display-line {
  display: block;
}

.hero-display-line-2 {
  padding-left: 0.14em;
  font-style: italic;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
}

.hero-sub {
  margin: 0;
  font-size: 1rem;
  font-weight: 850;
}

.hero-foot .hero-actions {
  margin-top: 0;
}

/* Hero entrance: staggered rise */

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-rise {
  opacity: 0;
  animation: hero-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--rise, 1) * 0.14s);
}

/* --- Marquee strip --- */

.marquee {
  overflow: hidden;
  padding: 18px 0;
  color: var(--white);
  background: var(--black);
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee-scroll 26s linear infinite;
}

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

/* --- Stats strip (count-up) --- */

.stats-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.stat {
  display: grid;
  gap: 14px;
  padding: 30px 24px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.stat strong {
  font-size: 3rem;
  font-weight: 950;
  line-height: 1;
}

.stat > span {
  font-size: 0.92rem;
  font-weight: 850;
}

/* --- Group cards (학생/성인/사업자) --- */

.group-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.group-card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.group-card.is-featured {
  color: var(--white);
  background: var(--black);
}

.group-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.group-label {
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.group-target {
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 900;
  border: 1px solid currentcolor;
}

.group-card h3 {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 950;
  line-height: 1;
}

.group-tagline {
  margin: 16px 0 0;
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.55;
}

.group-list-title {
  display: block;
  margin: 28px 0 0;
  padding-top: 16px;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-top: 1px solid currentcolor;
}

.group-card ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.group-card li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.5;
}

.group-card li::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border: 1px solid currentcolor;
}

.group-card .program-link {
  margin-top: auto;
  padding: 22px 0 0;
  min-height: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

/* --- Curriculum intro line --- */

.curriculum-intro {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto 16px;
  font-size: 0.98rem;
  font-weight: 850;
}

/* --- FAQ accordion --- */

.faq-list {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  border-top: 1px solid var(--black);
}

.faq-item {
  border-bottom: 1px solid var(--black);
}

.faq-item summary {
  position: relative;
  padding: 22px 56px 22px 0;
  font-size: 1.12rem;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  max-width: 780px;
  margin: 0;
  padding: 0 0 24px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
}

/* --- Sticky bottom CTA bar --- */

.sticky-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 130;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: var(--white);
  background: var(--black);
  border-top: 1px solid var(--white);
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-bar.is-visible {
  transform: translateY(0);
}

.sticky-bar-copy {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 0;
}

.sticky-bar-copy strong {
  font-size: 1.02rem;
  font-weight: 950;
}

.sticky-bar-copy span {
  font-size: 0.88rem;
  font-weight: 750;
}

.sticky-bar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  color: var(--black);
  background: var(--white);
  font-weight: 950;
  white-space: nowrap;
}

.sticky-bar-cta:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* --- Scroll reveal --- */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Motion preferences --- */

@media (prefers-reduced-motion: reduce) {
  .hero-rise {
    opacity: 1;
    animation: none;
  }

  .marquee-track {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sticky-bar {
    transition: none;
  }
}

/* --- Responsive adjustments --- */

@media (max-width: 1080px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .group-grid {
    grid-template-columns: 1fr;
  }

  .group-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 84px;
  }

  .hero-display-stage .hero-copy {
    justify-content: flex-end;
    max-width: none;
  }

  .hero-lede {
    max-width: 320px;
    font-size: 1.02rem;
  }

  .hero .hero-display {
    max-width: none;
    font-size: clamp(3.4rem, 17vw, 5rem);
  }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 28px;
  }

  .hero-sub {
    max-width: 320px;
    font-size: 0.94rem;
  }

  .marquee-track {
    font-size: 0.9rem;
  }

  .stat {
    padding: 20px 16px;
  }

  .stat strong {
    font-size: 2.2rem;
  }

  .group-card h3 {
    font-size: 2rem;
  }

  .faq-item summary {
    font-size: 1rem;
  }

  .sticky-bar {
    gap: 12px;
    justify-content: space-between;
    padding: 10px 14px;
  }

  .sticky-bar-copy {
    flex-direction: column;
    gap: 2px;
  }

  .sticky-bar-copy strong {
    font-size: 0.94rem;
  }

  .sticky-bar-copy span {
    font-size: 0.78rem;
  }

  .sticky-bar-cta {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.94rem;
  }
}

/* ============================================================
   Multi-page split — nav caps, page heroes, journey timeline
   ============================================================ */

/* --- Uppercase nav (Bell-style) --- */

.site-nav-caps a {
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav-caps a[aria-current="page"] {
  border-color: var(--black);
}

/* --- Sub-page hero --- */

.page-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 62svh;
  padding: 90px 30px 54px;
  border-bottom: 1px solid var(--black);
}

.page-hero-display {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 900;
  font-size: clamp(3.2rem, 10.5vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.page-hero-lede {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.6;
}

/* --- Journey timeline (WHAT YOU LEARN) --- */

.journey {
  padding: 110px 30px 130px;
  color: var(--white);
  background: var(--black);
}

.journey-header {
  max-width: var(--page-max);
  margin: 0 auto 90px;
  text-align: center;
}

.journey-kicker {
  margin: 0 0 18px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  opacity: 0.72;
}

.journey-header h2 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
}

.timeline {
  position: relative;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 20px 0 40px;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgb(255 255 255 / 0.18);
  transform: translateX(-50%);
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 0%;
  background: var(--white);
}

.timeline-dot {
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 14px 4px rgb(255 255 255 / 0.65);
}

.journey-card {
  position: relative;
  width: calc(50% - 64px);
  padding: 34px 30px;
  margin-bottom: 72px;
  background: var(--black);
  border: 1px solid rgb(255 255 255 / 0.38);
}

.journey-card.left {
  margin-right: auto;
}

.journey-card.right {
  margin-left: auto;
}

.journey-card:last-child {
  margin-bottom: 0;
}

.journey-num {
  position: absolute;
  top: -26px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 64px;
  padding: 0 10px;
  color: var(--black);
  background: var(--white);
  font-family: var(--display-font);
  font-size: 1.9rem;
  font-weight: 900;
}

.journey-step {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

.journey-card h3 {
  margin: 0 0 22px;
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1.2;
  word-break: keep-all;
}

.journey-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-card li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.5;
  word-break: keep-all;
}

.journey-card li::before {
  content: "✓";
  font-weight: 900;
}

/* --- About: numbered beliefs --- */

.belief {
  display: grid;
  gap: 110px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 110px 30px;
}

.belief-item {
  position: relative;
}

.belief-num {
  display: block;
  margin-bottom: 20px;
  font-family: var(--display-font);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
}

.belief-item h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 950;
  line-height: 1.15;
  word-break: keep-all;
}

.belief-item > p {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.7;
  word-break: keep-all;
}

.belief-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.belief-steps div {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.belief-steps span {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.belief-steps strong {
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1.1;
}

.belief-item .track-grid,
.belief-item .process-list {
  margin-top: 40px;
}

/* --- Page CTA banner --- */

.page-cta {
  padding: 110px 30px;
  color: var(--white);
  background: var(--black);
  text-align: center;
}

.page-cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.page-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 950;
  line-height: 1.12;
  word-break: keep-all;
}

.page-cta p {
  margin: 20px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.page-cta-button {
  margin-top: 36px;
  color: var(--black);
  background: var(--white);
}

/* --- Outcome grid on white sections --- */

.outcome-grid-light {
  border-color: var(--black);
}

.outcome-grid-light article {
  color: var(--black);
  background: var(--white);
  border-color: var(--black);
}

/* --- Responsive --- */

@media (max-width: 1080px) {
  .belief-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-hero {
    min-height: 52svh;
    padding: 70px 18px 40px;
  }

  .page-hero-lede {
    font-size: 1rem;
  }

  .journey {
    padding: 80px 18px 90px;
  }

  .journey-header {
    margin-bottom: 64px;
  }

  .timeline-line {
    left: 7px;
    transform: none;
  }

  .journey-card,
  .journey-card.left,
  .journey-card.right {
    width: calc(100% - 34px);
    margin-right: 0;
    margin-left: 34px;
    margin-bottom: 56px;
    padding: 26px 20px;
  }

  .journey-num {
    top: -22px;
    right: 16px;
    min-width: 52px;
    min-height: 52px;
    font-size: 1.5rem;
  }

  .belief {
    gap: 80px;
    padding: 80px 18px;
  }

  .belief-num {
    font-size: 2.6rem;
  }

  .page-cta {
    padding: 80px 18px;
  }

  .site-nav-caps a {
    letter-spacing: 0.12em;
  }
}

/* --- Program proof media (real student/creator outputs) --- */
.program-card {
  position: relative;
  overflow: hidden;
}

.program-media {
  margin: -30px -30px 28px;
  height: 210px;
  overflow: hidden;
  background: #0c0c0c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.program-media img,
.program-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1) contrast(1.04);
  transition: filter 0.6s ease;
}

.program-card:hover .program-media img,
.program-card:hover .program-media video {
  filter: grayscale(0);
}

@media (max-width: 720px) {
  .program-media {
    height: 180px;
  }
}

/* --- Price market comparison --- */
.price-compare {
  width: 100%;
  max-width: var(--page-max);
  margin: 56px auto 0;
  padding: 34px;
  border: 1px solid var(--black);
}

.price-compare-title {
  margin: 0 0 22px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-compare-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-compare-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 18px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.pc-label {
  font-size: 1rem;
  font-weight: 850;
}

.pc-price {
  font-size: 1.05rem;
  font-weight: 950;
  white-space: nowrap;
}

.pc-desc {
  grid-column: 1 / -1;
  margin-top: 2px;
  font-size: 0.9rem;
  font-weight: 650;
  opacity: 0.62;
}

.price-compare-list li.pc-ours {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.price-compare-list li.pc-ours .pc-desc {
  opacity: 0.82;
}

.price-compare-note {
  margin: 24px 0 0;
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.6;
}

.price-compare-src {
  margin: 14px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  opacity: 0.5;
}

@media (max-width: 720px) {
  .price-compare {
    padding: 24px;
  }
}

/* --- Results marquee gallery --- */
.results-showcase {
  overflow: hidden;
}

.marquee-gallery {
  display: grid;
  gap: 18px;
  margin-top: 6px;
}

.mg-row {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.mg-track {
  display: flex;
  flex: 0 0 auto;
  animation: mg-scroll 70s linear infinite;
}

.mg-row-rev .mg-track {
  animation-direction: reverse;
}

.marquee-gallery:hover .mg-track {
  animation-play-state: paused;
}

.mg-item {
  flex: 0 0 auto;
  width: 320px;
  height: 200px;
  margin: 0 18px 0 0;
  overflow: hidden;
  background: #efefef;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.mg-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1) contrast(1.03);
  transition: filter 0.5s ease;
}

.mg-item:hover img {
  filter: grayscale(0);
}

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

@media (max-width: 720px) {
  .mg-item {
    width: 240px;
    height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mg-track {
    animation: none;
  }
}

/* --- Home build tracks (앱/자동화) --- */
.build-grid {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.build-card {
  display: flex;
  flex-direction: column;
  padding: 40px 34px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.build-index {
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.build-card h3 {
  margin: 18px 0 0;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1.05;
}

.build-card p {
  margin: 16px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
}

.build-card .text-link {
  margin-top: 26px;
}

@media (max-width: 720px) {
  .build-grid {
    grid-template-columns: 1fr;
  }
}
/* --- Free ebook lead magnet --- */
.ebook-inner {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  border: 2px solid var(--black);
}

.ebook-copy {
  padding: 46px 46px 50px;
  border-right: 2px solid var(--black);
}

.ebook-kicker {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ebook-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 950;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.ebook-copy .section-lead {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.62;
}

.ebook-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.ebook-points li {
  position: relative;
  padding-left: 22px;
  font-weight: 750;
  line-height: 1.45;
}

.ebook-points li::before {
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 9px;
  height: 9px;
  background: var(--black);
  content: "";
}

.ebook-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 46px;
  color: var(--white);
  background: var(--black);
}

.ebook-form label {
  font-size: 0.95rem;
  font-weight: 800;
}

.ebook-form-row {
  display: grid;
  gap: 12px;
}

.ebook-form input {
  appearance: none;
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--black);
  background: var(--white);
  border: 2px solid var(--white);
  border-radius: 0;
}

.ebook-form input:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.ebook-form .button {
  width: 100%;
  min-height: 54px;
  color: var(--black);
  background: var(--white);
}

.ebook-status {
  min-height: 20px;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
}

.ebook-note {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.72;
}

@media (max-width: 760px) {
  .ebook-inner {
    grid-template-columns: 1fr;
  }

  .ebook-copy {
    padding: 32px 24px 34px;
    border-right: 0;
    border-bottom: 2px solid var(--black);
  }

  .ebook-form {
    padding: 32px 24px;
  }
}

/* Honeypot — hidden from humans, visible to naive bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Privacy consent checkbox */
.apply-form label.consent-check,
.consent-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.55;
}

.apply-form .consent-check input[type="checkbox"],
.consent-check input[type="checkbox"] {
  appearance: auto;
  min-height: 0;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--black);
}

.consent-check a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Privacy policy page */
.privacy-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.privacy-wrap h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.privacy-updated {
  margin: 0 0 24px;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.65;
}

.privacy-wrap h2 {
  margin: 36px 0 10px;
  font-size: 1.15rem;
}

.privacy-wrap p,
.privacy-wrap li {
  font-size: 0.95rem;
  line-height: 1.7;
}

.privacy-wrap ul {
  margin: 8px 0;
  padding-left: 20px;
}

.privacy-wrap a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Floating KakaoTalk inquiry button (all pages) */
.kakao-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  color: #191600;
  background: #fee500;
  border: 2px solid var(--black);
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.16s ease, box-shadow 0.16s ease, bottom 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.kakao-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.kakao-fab:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

.kakao-fab-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Lift above the bottom sticky bar while it is visible. */
.sticky-bar.is-visible ~ .kakao-fab {
  bottom: 90px;
}

/* Never overlap the open mobile menu. */
.nav-open .kakao-fab {
  display: none;
}

@media (max-width: 760px) {
  .kakao-fab {
    right: 14px;
    bottom: 14px;
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .sticky-bar.is-visible ~ .kakao-fab {
    bottom: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kakao-fab {
    transition: none;
  }
}
