:root {
  color-scheme: dark;
  --bg: #10191d;
  --text: #f2f5f0;
  --muted: #b5c3bb;
  --accent: #d7fa78;
  --line: #384747;
  --panel: #1a272a;
  font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif;
  font-synthesis: none;
  word-break: keep-all;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #80c1f1; outline-offset: 5px; }
.shell { width: min(1200px, 100% - 96px); margin-inline: auto; }

.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 88px;
}
.site-header { border-bottom: 1px solid var(--line); }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 1.45rem/1 system-ui, sans-serif;
  letter-spacing: -0.07em;
}
.mark {
  display: inline-block;
  width: 1.1rem;
  aspect-ratio: 1;
  flex: none;
  background: linear-gradient(var(--accent), var(--accent)) left top / 38% 100% no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 100% 38% no-repeat,
    linear-gradient(var(--accent), var(--accent)) right top / 38% 38% no-repeat;
}
.site-header nav { display: flex; align-items: center; gap: clamp(12px, 4vw, 36px); }
.site-header nav a, .site-footer > a:last-child { font-size: .95rem; font-weight: 650; }
.site-header nav a:not(.nav-action), .site-footer > a:last-child { color: var(--muted); }
.site-header nav a:hover, .site-footer > a:last-child:hover { color: var(--accent); }
.nav-action { padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 7px; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: 590px;
  padding-block: clamp(72px, 9vw, 134px);
}
.intro { min-width: 0; }
.product {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 23px;
  color: var(--accent);
  font: 650 .95rem/1.3 system-ui, sans-serif;
  letter-spacing: .035em;
}
.product span { width: 12px; height: 1px; background: currentColor; }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: clamp(2.2rem, 4.1vw, 3.8rem); line-height: 1.19; letter-spacing: -.08em; }
h1 em { font-style: normal; color: var(--accent); }
.intro-copy { max-width: 27rem; margin-top: 24px; color: var(--muted); font-size: 1.03rem; line-height: 1.8; }
.primary-action {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin-top: 32px;
  padding: 0 22px;
  color: #141e14;
  background: var(--accent);
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 750;
}
.primary-action:hover { background: #e7ffa8; }

.preview { min-width: 0; }
.preview-window {
  border: 1px solid #52635f;
  border-radius: 15px;
  background: #182426;
  box-shadow: 14px 15px 0 -1px #223038, 14px 15px 0 #38494b;
}
.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 12px 19px;
  border-bottom: 1px solid var(--line);
}
.window-brand { font-size: 1rem; font-weight: 800; }
.window-brand span { margin-left: 4px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.share-state { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: .875rem; }
.share-state span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.workspace { display: grid; grid-template-columns: 1.14fr 1fr; gap: 10px; padding: 12px; }
.workspace-main, .workspace-side { min-width: 0; min-height: 246px; padding: 18px 14px; border-radius: 8px; }
.workspace-main { background: #29393b; }
.workspace-side { border: 1px solid #415251; background: #142021; }
.workspace-title { margin-bottom: 12px; font-size: 1.12rem; font-weight: 750; letter-spacing: -.055em; }
.workspace-label { margin-bottom: 8px; color: var(--muted); font-size: .875rem; }
.task { display: flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px; font-size: .875rem; }
.check { width: 13px; height: 13px; flex: none; border: 1px solid #a7bbb4; border-radius: 4px; }
.done .check { border-color: var(--accent); background: var(--accent); }
.task.focused { color: var(--accent); border: 1px solid #a5c964; border-radius: 5px; background: #34443a; }
.conversation-title { display: flex; align-items: center; gap: 8px; font-size: .91rem; font-weight: 750; }
.conversation-title .mark { width: 12px; }
.message { margin-top: 12px; padding: 9px 10px; border-radius: 7px; font-size: .875rem; line-height: 1.6; }
.question { background: #304240; }
.answer { color: #eef6e8; border: 1px solid #415251; }
.preview figcaption { margin-top: 28px; color: var(--muted); font-size: .875rem; }

.workflow { background: #e9eee9; color: #182625; }
.workflow-inner { padding-block: clamp(48px, 7vw, 84px); }
h2 { font-size: clamp(1.6rem, 3vw, 2.8rem); letter-spacing: -.065em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 35px 0 0; padding: 0; list-style: none; }
.steps li { padding: 18px 0 0; border-top: 2px solid #a3b3a3; }
.steps h3 { font-size: 1.15rem; letter-spacing: -.035em; }
.steps p { margin-top: 9px; color: #45554f; font-size: 1rem; line-height: 1.7; }
.site-footer { min-height: 92px; }

@media (max-width: 860px) {
  .shell { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .preview { max-width: 640px; margin-right: 14px; }
}
@media (max-width: 520px) {
  .shell { width: calc(100% - 32px); }
  .site-header { min-height: 70px; }
  .wordmark { font-size: 1.25rem; }
  .hero { padding-block: 52px 44px; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.45rem); }
  .workspace { grid-template-columns: 1fr; }
  .workspace-main, .workspace-side { min-height: unset; }
  .window-header { padding-inline: 12px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
}
