:root {
  color: #24231f;
  background: #f7f6f1;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  font-synthesis: none;
  --primary: #ffe15f;
  --primary-strong: #d6a900;
  --primary-soft: #fff8d7;
  --accent: #ef7f38;
  --accent-text: #a43e09;
  --accent-soft: #fff0e5;
  --brand-wordmark: #d85c0b;
  --on-primary: #2b281f;
  --paper: #fffdf8;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; overflow-x: clip; }

body {
  margin: 0;
  background:
    linear-gradient(rgba(214, 169, 0, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 169, 0, .075) 1px, transparent 1px),
    #f7f6f1;
  background-size: 32px 32px;
}

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

.launch-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.brand-bar {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(43, 40, 31, .18);
}

.brand { display: flex; align-items: center; gap: 13px; }

.brand-mark {
  width: 46px;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(92, 65, 17, .14);
}

.brand-mark img { display: block; width: 100%; height: 100%; }

.brand > span:last-child { display: grid; gap: 3px; }
.brand strong { font-size: 17px; letter-spacing: -.04em; }
.brand small { color: #68645a; font-size: 11px; letter-spacing: .05em; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(164, 62, 9, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  color: #6f4a30;
  font-size: 12px;
  font-weight: 700;
}

.status-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(239, 127, 56, .14);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  align-items: center;
  gap: clamp(48px, 8vw, 118px);
  padding: 72px 0 88px;
}

.eyebrow {
  margin: 0 0 23px;
  color: var(--accent-text);
  font: 800 12px/1.4 ui-sans-serif, sans-serif;
  letter-spacing: .18em;
}

h1 { margin: 0; display: grid; letter-spacing: -.065em; }
h1 span { font-size: clamp(38px, 6vw, 72px); font-weight: 500; color: #4f4a3f; }
h1 strong { color: var(--brand-wordmark); font-size: clamp(72px, 11vw, 132px); line-height: .94; }

.lead {
  margin: 30px 0 38px;
  color: #68645a;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.85;
  letter-spacing: -.025em;
}

.beta-cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: -10px 0 30px;
  padding: 0 20px;
  border: 1px solid #c79500;
  border-radius: 14px;
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 12px 28px rgba(154, 109, 0, .16);
  font-size: 15px;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease;
}

.beta-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(154, 109, 0, .21); }
.beta-cta:focus-visible { outline: 3px solid rgba(239, 127, 56, .4); outline-offset: 3px; }
.beta-cta span { font-size: 20px; }

.launch-note {
  width: min(440px, 100%);
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(43, 40, 31, .18);
}

.launch-note > span {
  color: var(--accent);
  font: 800 24px/1 ui-sans-serif, sans-serif;
}

.launch-note p { margin: 0; display: grid; gap: 4px; }
.launch-note strong { font-size: 16px; }
.launch-note small { color: #777166; font-size: 13px; }

.card-stack {
  position: relative;
  width: min(410px, 100%);
  justify-self: end;
  isolation: isolate;
}

.card-stack::before,
.card-stack::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(164, 62, 9, .13);
  border-radius: 26px;
  transform-origin: 50% 54%;
  will-change: transform;
}

.card-stack::before {
  inset: 9px -13px -9px 13px;
  background: #ffe9a0;
  transform: rotate(3.2deg);
  animation: rotate-back-card-right 7s ease-in-out infinite alternate;
}

.card-stack::after {
  inset: 17px 9px -17px -9px;
  background: var(--primary-soft);
  transform: rotate(-3.8deg);
  animation: rotate-back-card-left 8.5s ease-in-out infinite alternate;
}

.study-card {
  position: relative;
  z-index: 1;
  padding: 25px;
  border: 1px solid rgba(43, 40, 31, .12);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(92, 65, 17, .14);
}

@keyframes rotate-back-card-right {
  from { transform: rotate(3.2deg) translate3d(0, 0, 0); }
  to { transform: rotate(5.4deg) translate3d(2px, 2px, 0); }
}

@keyframes rotate-back-card-left {
  from { transform: rotate(-3.8deg) translate3d(0, 0, 0); }
  to { transform: rotate(-1.6deg) translate3d(-2px, 1px, 0); }
}

.card-top, .card-footer { display: flex; justify-content: space-between; color: #777166; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.word-block { min-height: 236px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.word-block small { color: #777166; font-size: 12px; }
.word-block strong { margin: 12px 0 9px; color: var(--on-primary); font: 750 clamp(32px, 4.5vw, 44px)/1.1 ui-sans-serif, sans-serif; letter-spacing: -.045em; }
.word-block span { color: #8b8579; font-size: 13px; }
.meaning { display: flex; align-items: center; gap: 11px; padding: 16px 0; border-top: 1px solid #ebe7dd; }
.meaning span { padding: 5px 8px; border-radius: 6px; color: var(--accent-text); background: var(--accent-soft); font-size: 11px; font-weight: 800; }
.meaning p { margin: 0; font-size: 17px; font-weight: 700; }
.progress { height: 5px; margin: 7px 0 18px; overflow: hidden; border-radius: 99px; background: #eee9de; }
.progress i { display: block; width: 12%; height: 100%; background: var(--accent); }

footer {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(43, 40, 31, .16);
  color: #807a6f;
  font-size: 11px;
}

footer p { margin: 0; }
footer span { font: 600 10px/1 ui-monospace, monospace; opacity: .65; }

@media (max-width: 780px) {
  .launch-shell { width: min(100% - 32px, 620px); }
  .brand-bar { min-height: 88px; }
  .status-badge { padding: 8px 10px; }
  .hero { grid-template-columns: 1fr; gap: 56px; padding: 62px 0 72px; }
  h1 span { font-size: clamp(36px, 11vw, 52px); }
  h1 strong { font-size: clamp(58px, 17vw, 88px); }
  .card-stack { justify-self: center; }
}

@media (max-width: 430px) {
  .brand small { display: none; }
  .brand-mark { width: 40px; border-radius: 10px; }
  .status-badge { font-size: 11px; }
  .hero { padding-top: 48px; }
  .beta-cta { width: 100%; }
  .card-stack::before, .card-stack::after { border-radius: 22px; }
  .study-card { padding: 20px; border-radius: 22px; }
  .word-block { min-height: 205px; }
  footer span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .card-stack::before, .card-stack::after { animation: none !important; }
}
