:root {
  --paper: #f4f0e7;
  --ink: #17201d;
  --muted: #65706a;
  --line: #cec8ba;
  --orange: #ed5d2a;
  --green: #1f6e57;
  --lime: #d9f057;
  --white: #fffdf7;
  --header-height: 70px;
  --mono: "DM Mono", monospace;
  --sans: "Noto Sans KR", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
}
html[lang="ko"] body {
  /* Keep Korean words intact; wrap only at whitespace or explicit breaks. */
  word-break: keep-all;
  overflow-wrap: normal;
}
a {
  color: inherit;
}
.progress {
  position: fixed;
  z-index: 99;
  top: 0;
  width: 100%;
  height: 3px;
}
.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
}
header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #f4f0e7e8;
  border-bottom: 1px solid #17201d20;
  backdrop-filter: blur(14px);
}
nav {
  max-width: 1180px;
  height: 70px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 30px;
}
nav > div {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.brand {
  font: 500 13px var(--mono);
}
.brand b,
footer > b {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
}
.pill {
  padding: 9px 15px;
  border-radius: 30px;
  background: var(--ink);
  color: white;
}
.hero {
  max-width: 1180px;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  margin: auto;
  padding: clamp(62px, 7vh, 88px) 24px 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 75px;
  align-items: center;
}
.eyebrow,
.no {
  font: 500 12px var(--mono);
  letter-spacing: 0.12em;
  color: var(--orange);
}
h1 {
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin: 18px 0 28px;
}
h1 em {
  font-style: normal;
  color: var(--green);
}
h2 {
  font-size: clamp(34px, 4.3vw, 57px);
  line-height: 1.25;
  letter-spacing: -0.045em;
  margin: 0;
}
.lead {
  font-size: 19px;
  color: #3c4742;
}
.button {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 20px;
  border-radius: 4px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  font-weight: 800;
}
.micro {
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
}
.fit {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 13px 13px #ded7c8;
}
.fit article {
  padding: 24px;
  background: var(--ink);
  color: white;
  border-radius: 5px;
}
.fit article.agent {
  background: var(--green);
}
.fit article small {
  font: 500 11px var(--mono);
  color: var(--lime);
}
.fit article b,
.fit article span {
  display: block;
}
.fit article b {
  margin: 7px 0;
  font-size: 18px;
}
.fit article span {
  font-size: 12px;
  color: #ffffffb5;
}
.fit > p {
  text-align: center;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
}
.meter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  font-size: 10px;
}
.meter i {
  height: 7px;
  background: #ddd6c8;
  border-radius: 5px;
  overflow: hidden;
}
.meter i b {
  display: block;
  width: 80%;
  height: 100%;
  background: var(--lime);
}
.section {
  max-width: 1180px;
  margin: auto;
  padding: 105px 24px;
  border-top: 1px solid var(--line);
}
.no {
  margin: 0 0 44px;
}
.split,
.head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
}
.head {
  align-items: end;
  margin-bottom: 50px;
}
.head p,
.prose {
  color: #3e4944;
}
.prose {
  font-size: 17px;
}
.shift {
  margin-top: 65px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 25px;
  background: var(--ink);
  color: white;
}
.shift div {
  display: flex;
  flex-direction: column;
}
.shift small {
  font: 500 11px var(--mono);
  color: var(--lime);
}
.shift b {
  margin-top: 8px;
  font-size: 20px;
}
.prompt {
  background: #151c1a;
  color: #eef3ef;
  border-radius: 6px;
  overflow: hidden;
}
.prompt > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 17px;
  border-bottom: 1px solid #3b4440;
  font: 500 11px var(--mono);
  color: #aab4af;
}
.prompt button {
  border: 0;
  border-radius: 3px;
  background: var(--lime);
  padding: 7px 11px;
  font-weight: 800;
  cursor: pointer;
}
.prompt pre {
  margin: 0;
  padding: 24px;
  white-space: pre-wrap;
  font: 400 13px/1.8 var(--mono);
}
.featured {
  box-shadow: 11px 11px var(--orange);
}
.featured pre {
  font-size: 14px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 52px;
  border: 1px solid var(--line);
}
.steps article {
  padding: 23px;
  border-right: 1px solid var(--line);
}
.steps article:last-child {
  border: 0;
}
.steps b {
  color: var(--orange);
  font: 500 12px var(--mono);
}
.steps strong {
  display: block;
  margin: 6px 0;
}
.steps p {
  font-size: 12px;
  color: var(--muted);
}
.loop {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
}
.loop article {
  min-height: 140px;
  padding: 17px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.loop article small {
  font: 500 10px var(--mono);
  color: var(--orange);
}
.loop article b {
  font-size: 18px;
  margin: 8px 0;
}
.loop article span {
  font-size: 11px;
  color: var(--muted);
}
.loop i {
  font-style: normal;
  color: var(--orange);
}
.loop > p {
  grid-column: 1/-1;
  text-align: center;
  margin: 8px 0 0;
  color: var(--green);
  font: 500 11px var(--mono);
}
.boundary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
}
.boundary article {
  padding: 25px;
  background: #e7e1d5;
  border-left: 4px solid var(--orange);
}
.boundary article:last-child {
  border-color: var(--green);
}
.boundary small {
  font: 500 10px var(--mono);
  color: var(--muted);
}
.boundary b {
  display: block;
  margin: 7px 0;
}
.boundary p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.assets {
  display: grid;
  grid-template-columns: 1fr auto 1.1fr;
  gap: 28px;
  align-items: center;
}
.assets > div:first-child {
  padding: 22px;
  background: #e1dbce;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.assets small {
  font: 500 10px var(--mono);
  color: var(--orange);
}
.assets > div:first-child span {
  padding: 11px;
  background: var(--white);
  font-size: 12px;
}
.assets > b {
  font: 500 11px var(--mono);
  color: var(--orange);
}
.memory-ladder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.memory-ladder article {
  min-height: 285px;
  padding: 30px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.memory-ladder article:last-child {
  border-right: 0;
}
.memory-ladder small {
  font: 500 10px var(--mono);
  color: var(--orange);
}
.memory-ladder strong {
  margin: 12px 0 18px;
  font-size: 23px;
}
.memory-ladder p {
  margin: 0;
  color: var(--muted);
}
.memory-ladder .featured-memory {
  background: var(--ink);
  color: white;
}
.memory-ladder .featured-memory small {
  color: var(--lime);
}
.memory-ladder .featured-memory p {
  color: #d7dfda;
}
.memory-ladder a {
  width: fit-content;
  margin-top: auto;
  padding-top: 24px;
  color: var(--lime);
  font-weight: 800;
  text-decoration: none;
}
.memory-note {
  margin: 22px 0 0;
  color: var(--muted);
  text-align: center;
}
.boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.boxes span {
  padding: 15px;
  background: var(--green);
  color: white;
  font-size: 11px;
}
.boxes span b {
  display: block;
  color: var(--lime);
  font: 500 12px var(--mono);
}
.prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.prompt-grid pre {
  font-size: 11px;
}
.examples {
  margin-top: 45px;
  border-top: 1px solid var(--line);
}
.examples article {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 25px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}
.examples small {
  color: var(--orange);
  font: 500 11px var(--mono);
}
.examples p {
  margin: 0;
}
.score {
  padding: 100px max(24px, calc((100vw - 1132px) / 2));
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
}
.score .no {
  color: var(--lime);
}
.score div:last-child p {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid #46504c;
  margin: 0;
  color: #b0b9b4;
}
.score div:last-child b {
  color: var(--lime);
}
.visual {
  max-width: 1180px;
  margin: 0 auto 90px;
  padding: 0 24px;
}
.visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: 13px 13px #ded7c8;
}
.visual figcaption {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 18px 4px 0;
  color: var(--muted);
  font-size: 13px;
}
.visual figcaption b {
  color: var(--ink);
}
.visual figcaption span {
  margin-left: auto;
  font: 500 10px var(--mono);
  white-space: nowrap;
}
.inline-visual {
  padding: 0;
  margin: 0 0 50px;
}
.inline-visual img {
  box-shadow: 9px 9px #ded7c8;
}
.eval-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.eval-grid article {
  padding: 30px;
  background: var(--ink);
  color: white;
}
.eval-grid small {
  font: 500 10px var(--mono);
  color: var(--lime);
}
.eval-grid strong {
  display: block;
  margin: 12px 0;
  font: 500 clamp(36px, 5vw, 60px) var(--mono);
}
.eval-grid strong i {
  font-style: normal;
  color: var(--orange);
}
.eval-grid p {
  color: #c5cdc9;
  font-size: 13px;
}
.evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 24px 0;
  border: 1px solid var(--line);
}
.evidence div {
  padding: 20px;
  border-right: 1px solid var(--line);
}
.evidence div:last-child {
  border: 0;
}
.evidence b {
  font: 500 11px var(--mono);
  color: var(--orange);
}
.evidence p {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.evidence a {
  font-weight: 800;
}
.note {
  padding: 16px;
  background: #e5ded1;
  border-left: 3px solid var(--orange);
  font-size: 14px;
}
.cta {
  text-align: center;
  padding: 110px 24px;
  background: var(--green);
  color: white;
}
.cta h2 {
  margin: 0 auto;
  max-width: 900px;
}
.cta .button {
  background: var(--lime);
  color: var(--ink);
}
footer {
  max-width: 1180px;
  margin: auto;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
footer p {
  margin: 0 auto;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 15px);
  padding: 11px 16px;
  background: var(--ink);
  color: white;
  opacity: 0;
  transition: 0.2s;
  z-index: 99;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: 0.5s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 850px) {
  nav > div {
    display: none;
  }
  .pill {
    margin-left: auto;
  }
  .hero,
  .split,
  .head,
  .score,
  .eval-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 56px;
    gap: 55px;
  }
  .steps,
  .memory-ladder,
  .prompt-grid,
  .evidence {
    grid-template-columns: 1fr;
  }
  .evidence div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .steps article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .memory-ladder article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .memory-ladder article:last-child {
    border-bottom: 0;
  }
  .loop {
    grid-template-columns: 1fr;
  }
  .loop i {
    transform: rotate(90deg);
    text-align: center;
  }
  .assets {
    grid-template-columns: 1fr;
  }
  .assets > b {
    text-align: center;
    transform: rotate(90deg);
  }
  .visual figcaption {
    display: block;
  }
  .visual figcaption span {
    display: block;
    margin-top: 7px;
  }
}
@media (max-width: 560px) {
  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .visual {
    padding: 0 18px;
  }
  .inline-visual {
    padding: 0;
  }
  .shift,
  .boundary,
  .boxes {
    grid-template-columns: 1fr;
  }
  .shift {
    text-align: center;
  }
  .featured {
    box-shadow: 7px 7px var(--orange);
  }
  .prompt pre {
    font-size: 11px;
    padding: 17px;
  }
  .examples article {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  footer {
    flex-wrap: wrap;
  }
  footer p {
    order: 3;
    width: 100%;
    text-align: center;
  }
}
