@font-face {
  font-family: "Pretendard";
  src: url("./fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --milk-beige: #dad7cd;
  --milk: #eceae5;
  --milk-light-3: #f5f4f1;
  --milk-light-2: #faf9f8;
  --fiord: #4e626e;
  --fiord-dark: #3e4e58;
  --green: #22a121;
  --green-dark: #1d8c1d;
  --orange: #fda018;
  --orange-dark: #f89402;
  --red: #d8201d;
  --ink: #171818;
  --body: #3e4e58;
  --muted: #54585a;
  --line: rgba(139, 138, 131, 0.28);
  --line-strong: rgba(139, 138, 131, 0.46);
  --bg: #dad7cd;
  --surface: rgba(250, 249, 248, 0.92);
  --soft: #f5f4f1;
  --blue: var(--fiord);
  --sidebar: #22313c;
  --sidebar-soft: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(62, 78, 88, 0.10);
  --shadow: 0 18px 48px rgba(62, 78, 88, 0.14);
  --shadow-lg: 0 28px 64px rgba(62, 78, 88, 0.20);
  --sidebar-w: 268px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--body);
  background:
    radial-gradient(circle at 92% 4%, rgba(253, 160, 24, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(236, 234, 229, 0.62), rgba(218, 215, 205, 0.92)),
    var(--bg);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.68;
  display: flex;
}

body[data-lang="ko"] .en-only,
body[data-lang="en"] .ko-only {
  display: none !important;
}

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

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

.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(34, 49, 60, 0.98), rgba(62, 78, 88, 0.96)),
    var(--sidebar);
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 9px 22px rgba(7, 30, 59, 0.22);
}

.brand strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.brand span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  font-weight: 650;
  text-transform: uppercase;
}

.language-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-button {
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  cursor: pointer;
  font-weight: 750;
}

.lang-button.active {
  color: var(--sidebar);
  background: #fff;
}

.nav {
  padding: 14px 12px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.nav-group {
  margin: 18px 10px 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.06);
}

.nav-icon::before {
  content: "";
  width: 10px;
  height: 10px;
  display: block;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.nav-overview::before { box-shadow: 6px 0 0 -3px currentColor, 0 6px 0 -3px currentColor, 6px 6px 0 -3px currentColor; }
.nav-modes::before { border-radius: 999px; box-shadow: 5px 5px 0 -2px currentColor; }
.nav-sync::before { border-radius: 999px; border-right-color: transparent; }
.nav-navigation::before { width: 11px; height: 8px; border-radius: 999px; }
.nav-setup::before { transform: rotate(45deg); border-radius: 2px; }
.nav-today::before,
.nav-calendar::before { width: 11px; height: 11px; border-radius: 3px; box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.22); }
.nav-tasks::before { height: 12px; border-radius: 2px; box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.22); }
.nav-gantt::before { width: 12px; height: 8px; border-left: 0; border-right: 0; border-radius: 0; box-shadow: inset 0 2px 0 currentColor, inset 0 -2px 0 currentColor; }
.nav-holidays::before { border-radius: 999px 999px 3px 3px; }
.nav-risks::before { width: 11px; height: 11px; transform: rotate(45deg); border-radius: 3px; }
.nav-jira::before { width: 12px; height: 9px; border-radius: 4px; }
.nav-sharing::before { border-radius: 999px; box-shadow: -5px 4px 0 -3px currentColor, 5px 4px 0 -3px currentColor; }
.nav-settings::before { border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18); }
.nav-tips::before { width: 9px; height: 12px; border-radius: 999px 999px 4px 4px; }


.nav-link b {
  font-weight: 700;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: var(--sidebar-soft);
}

.nav-link.active span {
  color: #fff;
  background: rgba(253, 160, 24, 0.18);
}

.guide {
  width: min(100% - var(--sidebar-w), 1080px);
  margin: 0 auto;
  padding: 30px 38px 72px;
}

.guide-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  color: var(--muted);
  font-size: 0.86rem;
}

.print-button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(250, 249, 248, 0.88);
  color: var(--ink);
  cursor: pointer;
  font-weight: 760;
}

.print-button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.hero,
.section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  padding: 42px 44px;
  background:
    linear-gradient(135deg, rgba(250, 249, 248, 0.96), rgba(245, 244, 241, 0.86)),
    var(--surface);
}

.eyebrow,
.section-kicker,
.card-label {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 8px 0 14px;
  color: var(--ink);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 0;
  color: var(--body);
  font-size: 1.08rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(78, 98, 110, 0.22);
  border-radius: 999px;
  background: rgba(78, 98, 110, 0.10);
  color: var(--fiord-dark);
  font-size: 0.78rem;
  font-weight: 760;
}

.section {
  margin-top: 18px;
  padding: 34px 38px;
}

strong {
  color: var(--ink);
  font-weight: 900;
}

em {
  color: var(--fiord);
  font-style: italic;
  font-weight: 680;
}

.section-heading {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  margin: 0 0 20px;
  color: var(--body);
  font-size: 1.02rem;
}

p {
  margin: 0 0 14px;
}

h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.04rem;
}

ul,
ol {
  margin: 12px 0 0;
  padding-left: 20px;
}

li + li {
  margin-top: 6px;
}

.feature-grid,
.compare,
.split,
.shortcut-grid {
  display: grid;
  gap: 14px;
}

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

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

.feature-card,
.compare article,
.split article,
.shortcut-grid div {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(250, 249, 248, 0.78);
  box-shadow: var(--shadow-sm);
}

.feature-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 14px;
  align-items: start;
  padding: 20px;
}

.feature-icon {
  grid-row: 1 / span 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(78, 98, 110, 0.20);
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, var(--milk-light-3));
  color: var(--fiord);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-icon::before {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.feature-icon-plan::before {
  box-shadow: inset 0 6px 0 rgba(78, 98, 110, 0.16);
}

.feature-icon-track {
  color: var(--green-dark);
  background: linear-gradient(145deg, #fff, rgba(34, 161, 33, 0.10));
  border-color: rgba(34, 161, 33, 0.24);
}

.feature-icon-track::before {
  width: 22px;
  height: 14px;
  border-top: 0;
  border-right: 0;
  border-radius: 0;
  transform: rotate(-45deg);
}

.feature-icon-team {
  color: var(--orange-dark);
  background: linear-gradient(145deg, #fff, rgba(253, 160, 24, 0.14));
  border-color: rgba(253, 160, 24, 0.28);
}

.feature-icon-team::before {
  border-radius: 999px;
  box-shadow: -8px 8px 0 -5px currentColor, 8px 8px 0 -5px currentColor;
}

.feature-card .card-label,
.feature-card h3,
.feature-card p {
  grid-column: 2;
}

.feature-card p,
.compare p,
.split p {
  margin-bottom: 0;
}

.compare article,
.split article {
  padding: 22px;
}

.note,
.warning {
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
}

.note {
  border: 1px solid rgba(34, 161, 33, 0.24);
  background: rgba(34, 161, 33, 0.08);
  color: #245c33;
}

.warning {
  border: 1px solid rgba(253, 160, 24, 0.30);
  background: rgba(253, 160, 24, 0.10);
  color: #704a12;
}

.note::before,
.warning::before {
  content: "";
  width: 26px;
  height: 26px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.16;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.38);
}

.note strong,
.warning strong {
  display: inline-block;
  grid-column: 2;
  margin-right: 4px;
}

.note span,
.warning span {
  grid-column: 2;
  font-style: italic;
}

.steps {
  display: grid;
  gap: 12px;
}

.steps div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(250, 249, 248, 0.78);
}

.steps span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--fiord);
  color: #fff;
  font-weight: 850;
}

.steps p {
  margin: 2px 0 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: rgba(250, 249, 248, 0.88);
}

th,
td {
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--ink);
  background: rgba(236, 234, 229, 0.74);
  font-size: 0.84rem;
  font-weight: 830;
}

tr:last-child td {
  border-bottom: 0;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.metric-row span {
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(78, 98, 110, 0.22);
  border-radius: 14px;
  background: rgba(78, 98, 110, 0.08);
  color: var(--fiord-dark);
  font-weight: 800;
  text-align: center;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
}

.shortcut-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.shortcut-grid div {
  padding: 16px;
}

.shortcut-grid strong,
.shortcut-grid span {
  display: block;
}

.shortcut-grid strong {
  margin-bottom: 6px;
  color: var(--ink);
}

body.is-embedded {
  font-size: 13.5px;
  line-height: 1.56;
  background: var(--milk-light-3);
}

body.is-embedded .sidebar {
  --sidebar-w: 204px;
  font-size: 0.92em;
}

body.is-embedded .brand {
  padding: 16px 16px 12px;
}

body.is-embedded .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

body.is-embedded .language-switch {
  padding: 10px 14px;
}

body.is-embedded .nav {
  padding: 10px 10px 16px;
}

body.is-embedded .nav-group {
  margin: 13px 8px 6px;
  font-size: 0.62rem;
}

body.is-embedded .nav-link {
  min-height: 32px;
  padding: 6px 8px;
  font-size: 0.80rem;
}

body.is-embedded .guide {
  width: min(100% - var(--sidebar-w), 940px);
  padding: 18px 22px 42px;
}

body.is-embedded .guide-actions {
  min-height: 32px;
  font-size: 0.78rem;
}

body.is-embedded .print-button {
  min-height: 30px;
  padding: 0 11px;
}

body.is-embedded .hero,
body.is-embedded .section {
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

body.is-embedded .hero {
  padding: 24px 26px;
}

body.is-embedded .hero h1 {
  margin: 5px 0 9px;
  font-size: 1.95rem;
  line-height: 1.08;
}

body.is-embedded .hero-copy {
  max-width: 640px;
  font-size: 0.94rem;
}

body.is-embedded .hero-meta {
  gap: 6px;
  margin-top: 16px;
}

body.is-embedded .badge {
  min-height: 24px;
  padding: 0 8px;
  font-size: 0.70rem;
}

body.is-embedded .section {
  margin-top: 12px;
  padding: 22px 24px;
}

body.is-embedded .section-heading {
  grid-template-columns: 38px 1fr;
  gap: 9px;
  margin-bottom: 12px;
}

body.is-embedded .section h2 {
  font-size: 1.25rem;
  line-height: 1.22;
}

body.is-embedded .eyebrow,
body.is-embedded .section-kicker,
body.is-embedded .card-label {
  font-size: 0.66rem;
}

body.is-embedded .lead {
  margin-bottom: 14px;
  font-size: 0.92rem;
}

body.is-embedded p {
  margin-bottom: 10px;
}

body.is-embedded h3 {
  font-size: 0.94rem;
}

body.is-embedded .feature-grid,
body.is-embedded .compare,
body.is-embedded .split,
body.is-embedded .shortcut-grid {
  gap: 10px;
}

body.is-embedded .feature-grid {
  grid-template-columns: 1fr;
}

body.is-embedded .compare,
body.is-embedded .split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.is-embedded .feature-card {
  grid-template-columns: 34px 1fr;
  gap: 0 10px;
  padding: 14px;
}

body.is-embedded .feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

body.is-embedded .feature-icon::before {
  width: 15px;
  height: 15px;
}

body.is-embedded .compare article,
body.is-embedded .split article,
body.is-embedded .shortcut-grid div {
  padding: 15px;
}

body.is-embedded .note,
body.is-embedded .warning {
  margin-top: 12px;
  padding: 12px 13px;
  border-radius: 11px;
  grid-template-columns: 24px 1fr;
}

body.is-embedded .note::before,
body.is-embedded .warning::before {
  width: 21px;
  height: 21px;
}

body.is-embedded .steps {
  gap: 9px;
}

body.is-embedded .steps div {
  grid-template-columns: 28px 1fr;
  gap: 9px;
  padding: 11px;
  border-radius: 11px;
}

body.is-embedded .steps span {
  width: 24px;
  height: 24px;
}

body.is-embedded th,
body.is-embedded td {
  padding: 10px 12px;
}

body.is-embedded table {
  min-width: 540px;
}

body.is-embedded .metric-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.is-embedded .metric-row span {
  min-height: 42px;
  border-radius: 11px;
}

body.is-embedded .shortcut-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1040px) {
  body.is-embedded {
    display: block;
  }

  body.is-embedded .sidebar {
    width: 100%;
    min-width: 0;
    height: auto;
    position: relative;
  }

  body.is-embedded .nav {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 8px 12px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body.is-embedded .nav::-webkit-scrollbar {
    display: none;
  }

  body.is-embedded .nav-group {
    display: none;
  }

  body.is-embedded .nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body.is-embedded .guide {
    width: 100%;
    padding: 14px 16px 36px;
  }
}

@media (max-width: 720px) {
  body.is-embedded .compare,
  body.is-embedded .split,
  body.is-embedded .shortcut-grid {
    grid-template-columns: 1fr;
  }

  body.is-embedded .hero,
  body.is-embedded .section {
    padding: 20px 16px;
  }
}

@media (max-width: 980px) {
  body {
    display: block;
  }

  .sidebar {
    width: 100%;
    min-width: 0;
    height: auto;
    position: relative;
  }

  .brand {
    padding: 18px;
  }

  .nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 14px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav-group {
    display: none;
  }

  .nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .guide {
    width: 100%;
    padding: 18px 18px 48px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }

  .guide-actions {
    justify-content: space-between;
  }

  .hero,
  .section {
    padding: 26px 20px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .feature-grid,
  .compare,
  .split,
  .metric-row,
  .shortcut-grid {
    grid-template-columns: 1fr;
  }

  table {
    min-width: 560px;
  }
}

@media print {
  body {
    display: block;
    background: #fff;
  }

  .no-print,
  .sidebar {
    display: none !important;
  }

  .guide {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .hero,
  .section {
    box-shadow: none;
    break-inside: avoid;
    border-color: #ccd5df;
  }

  .section {
    margin-top: 12px;
  }
}
