:root {
  --bg: #f2ede4;
  --bg-strong: #e5dccb;
  --surface: rgba(255, 252, 247, 0.78);
  --surface-strong: rgba(255, 249, 240, 0.92);
  --ink: #162226;
  --ink-soft: #425257;
  --accent: #0f766e;
  --accent-strong: #0b4f4a;
  --accent-warm: #bb6b19;
  --accent-pale: rgba(15, 118, 110, 0.1);
  --line: rgba(22, 34, 38, 0.12);
  --shadow: 0 24px 80px rgba(22, 34, 38, 0.12);
  font-family: "IBM Plex Sans KR", "Pretendard", "Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.16), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(217, 119, 6, 0.12), transparent 18%),
    linear-gradient(180deg, #f7f3eb 0%, var(--bg) 54%, #ebe3d4 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: 0;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.75;
  pointer-events: none;
}

body::before {
  top: 84px;
  right: -72px;
  width: 240px;
  height: 240px;
  background: rgba(15, 118, 110, 0.14);
}

body::after {
  bottom: -36px;
  left: -24px;
  width: 220px;
  height: 220px;
  background: rgba(217, 119, 6, 0.12);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero,
.section {
  animation: rise 0.7s ease both;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  padding: 28px 0 18px;
}

.hero-copy,
.hero-panel,
.accent-section,
.inventory-section,
.llm-section,
.inventory-card,
.workflow-card,
.mini-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px;
  border-radius: 32px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
strong {
  font-family: "Space Grotesk", "IBM Plex Sans KR", "Pretendard", sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero-text,
.inventory-card p,
.workflow-card p,
.mini-card p,
.panel-card li,
.section-text,
.card-list {
  color: var(--ink-soft);
  line-height: 1.65;
}

.hero-text {
  max-width: 42ch;
  margin: 16px 0 0;
  font-size: 1rem;
}

.brand-logo {
  display: block;
  max-width: 280px;
  height: auto;
  margin-bottom: 12px;
}

.brand-desc {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand-desc strong {
  color: var(--accent-strong);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff8ee;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
}

.panel-card {
  padding: 22px;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid rgba(15, 118, 110, 0.18);
}

.panel-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-pale);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.panel-card-strong {
  background:
    linear-gradient(150deg, rgba(15, 118, 110, 0.16), rgba(255, 255, 255, 0.68)),
    var(--surface-strong);
}

/* --- Hero panel: summary + GPU list --- */

.panel-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.summary-stats {
  display: flex;
  align-items: center;
  gap: 12px;
}

.summary-stat {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.summary-stat strong {
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.summary-divider {
  width: 1px;
  height: 20px;
  background: var(--line);
}

.gpu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gpu-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 118, 110, 0.10);
  transition: border-color 0.15s;
}

.gpu-card:hover {
  border-color: rgba(15, 118, 110, 0.32);
}

.gpu-count {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-pale);
  color: var(--accent-strong);
  font-size: 1.35rem;
  font-weight: 800;
  flex-shrink: 0;
}

.gpu-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gpu-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.gpu-spec {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.metric-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.metric-card span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.compact-list {
  margin: 0;
  padding-left: 18px;
}

.compact-list li + li {
  margin-top: 10px;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-strip span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(22, 34, 38, 0.05);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.section {
  margin-top: 24px;
  padding: 28px;
  border-radius: 30px;
}

.section-heading {
  max-width: 62ch;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.inventory-card,
.workflow-card,
.mini-card {
  padding: 22px;
  border-radius: 24px;
}

.inventory-card h3,
.workflow-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.accent-section {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(255, 255, 255, 0.68)),
    var(--surface);
}

.inventory-grid {
  align-items: stretch;
}

.inventory-card {
  position: relative;
  overflow: hidden;
}

.inventory-card::after {
  content: "";
  position: absolute;
  inset: auto -32px -52px auto;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
}

.inventory-card-highlight::after {
  background: rgba(187, 107, 25, 0.12);
}

.llm-section {
  background:
    linear-gradient(135deg, rgba(99, 60, 180, 0.08), rgba(15, 118, 110, 0.06)),
    rgba(255, 252, 247, 0.64);
}

.llm-section .eyebrow {
  color: #5b21b6;
}

.llm-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(99, 60, 180, 0.16);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.llm-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.llm-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.inventory-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.inventory-tier {
  margin: 0 0 6px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inventory-badge {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.inventory-node {
  margin: 16px 0 10px;
  font-size: 0.95rem;
}

.inventory-node code {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(22, 34, 38, 0.06);
}

.card-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.card-list li + li {
  margin-top: 8px;
}

.card-list.compact {
  margin-top: 12px;
}

.inventory-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px dashed rgba(22, 34, 38, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
}

.workflow-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.68)),
    rgba(255, 252, 247, 0.64);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.workflow-card {
  position: relative;
  min-height: 230px;
}

.workflow-card::after {
  content: "";
  position: absolute;
  top: 36px;
  right: -14px;
  width: 28px;
  height: 2px;
  background: rgba(15, 118, 110, 0.36);
}

.workflow-card:last-child::after {
  display: none;
}

.workflow-card-accent {
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.16), rgba(255, 255, 255, 0.76)),
    var(--surface);
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.compact-grid .mini-card {
  min-height: 0;
}

.mini-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(22, 34, 38, 0.12);
}

.cta-strip h3 {
  margin: 0;
  font-size: 1.25rem;
}

@media (max-width: 900px) {
  .hero,
  .grid-two,
  .grid-three,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .section {
    padding: 22px;
  }

  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 18px;
  }

  .inventory-note,
  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .gpu-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .workflow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workflow-card::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .section,
  .button {
    animation: none;
    transition: none;
  }
}

.card-desc {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.card-desc code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(22, 34, 38, 0.06);
  font-size: 0.85em;
}

.guide-code {
  margin: 10px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(22, 34, 38, 0.04);
  border: 1px solid rgba(22, 34, 38, 0.06);
  font-family: "IBM Plex Mono", "Menlo", monospace;
  font-size: 0.82rem;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
