:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  color: #142847;
  background: #f7f9ff;
  font-synthesis: none;
  --muted: #4f617b;
  --line: #dce5f2;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #3e60d3; outline-offset: 4px; }

.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 81px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  letter-spacing: .08em;
  font-weight: 800;
  text-decoration: none;
}
.mark {
  display: inline-block;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border-radius: 60% 48% 60% 46%;
  background: #254cc3;
  box-shadow: inset 0 0 0 6px #254cc3, inset 0 0 0 10px #acdbff;
  transform: rotate(-16deg);
}
.language { display: flex; align-items: center; gap: 5px; }
.language a {
  padding: 8px 10px;
  border-radius: 7px;
  font-size: .875rem;
  text-decoration: none;
  color: var(--muted);
}
.language a:hover, .language a[aria-current] { background: #e7edfc; color: #2544a0; }

.hero {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: clamp(30px, 6vw, 72px);
  padding-block: 74px 81px;
}
h1, h2, p, figure { margin: 0; }
h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.85rem);
  line-height: 1.03;
  letter-spacing: -.068em;
  font-weight: 760;
  text-wrap: balance;
}
.hero-copy p {
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.62;
  margin-block: 23px 31px;
}
:lang(ko) h1 { font-size: clamp(2.55rem, 5.1vw, 4.1rem); line-height: 1.15; word-break: keep-all; }
:lang(ko) .hero-copy p { max-width: 39ch; word-break: keep-all; }
.action {
  display: inline-block;
  padding: 13px 17px;
  border-radius: 9px;
  background: #2448b5;
  color: white;
  font-weight: 650;
  text-decoration: none;
}
.action:hover { background: #17368f; }

.demo {
  min-width: 0;
  padding: clamp(16px, 3vw, 36px);
  border-radius: 21px;
  border: 1px solid #d9e5f8;
  background: linear-gradient(145deg, #e2edff, #edf0fd 68%, #e0ebff);
}
.demo-board {
  background: #fff;
  border: 1px solid #d6e1f3;
  border-radius: 13px;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 14px 30px #254b9230;
}
.demo-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 800;
}
.demo-head .mark { width: 19px; height: 19px; box-shadow: inset 0 0 0 5px #254cc3, inset 0 0 0 8px #acdbff; }
.demo-label { margin-left: auto; color: var(--muted); font-weight: 500; }
.demo-body { display: grid; grid-template-columns: 1fr 2.1fr; }
.demo-nav { background: #f7f9ff; border-right: 1px solid var(--line); padding: 13px 8px; }
.demo-nav span { display: block; font-size: .875rem; color: var(--muted); padding: 8px 6px; overflow-wrap: anywhere; }
.demo-nav .selected { background: #e8eeff; color: #2347a5; border-radius: 6px; font-weight: 700; }
.demo-main { padding: 18px 12px; }
.demo-title { font-weight: 750; margin-bottom: 12px; }
.demo-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 5px;
  font-size: .875rem;
  border-top: 1px solid var(--line);
  font-weight: 650;
}
.row-icon { margin-top: 3px; width: 12px; height: 12px; border: 2px solid #5d7dc9; border-radius: 3px; flex: none; }
.demo-row small { display: block; color: var(--muted); font-size: .875rem; font-weight: 450; line-height: 1.4; }
figcaption { margin-top: 19px; color: #3f5374; font-size: .875rem; text-align: center; }

.details { border-top: 1px solid var(--line); padding-block: 37px 38px; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.3rem); letter-spacing: -.038em; line-height: 1.15; }
.details dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-block: 27px 0; }
.details dl > div { border-top: 2px solid #d4dff7; padding-top: 14px; }
dt { font-weight: 740; font-size: 1.13rem; }
dd { margin: 7px 0 0; color: var(--muted); line-height: 1.58; }
.status { background: #162c51; color: #fff; border-radius: 17px; padding: clamp(23px, 4.5vw, 44px); }
.status p { margin-top: 12px; color: #dce8ff; line-height: 1.62; max-width: 67ch; }
.footer { padding-block: 26px; color: var(--muted); font-weight: 730; letter-spacing: .07em; font-size: .875rem; }

@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .top { min-height: 65px; }
  .hero { grid-template-columns: 1fr; gap: 27px; padding-block: 42px 39px; }
  .demo { max-width: 540px; width: 100%; }
  .details { padding-block: 29px; }
  .details dl { grid-template-columns: 1fr; gap: 18px; margin-top: 20px; }
}

@media (max-width: 355px) {
  .demo-nav { display: none; }
  .demo-body { grid-template-columns: 1fr; }
}
