:root {
  --text: #222833;
  --muted: #5d6573;
  --line: #d5dae2;
  --soft: #f1f4f8;
  --accent: #2b579a;
  --tint: #e7eefb;
  --ink: #1c1a14;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: #fbfaf7;
  color: var(--text);
  font:
    400 15px/1.6 "Pretendard Variable",
    Pretendard,
    "Malgun Gothic",
    sans-serif;
  font-variant-numeric: tabular-nums;
}

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: var(--accent);
}

.guide {
  background: var(--tint);
  border-bottom: 1px solid #c9d6ef;
  color: #1d3557;
}

.guide-in,
.steps,
.caution {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.guide-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-top: 14px;
}

.guide-text {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
}

.guide-text b {
  font-size: 16px;
}

.mode {
  display: inline-flex;
  border: 1px solid var(--accent);
}

.mode button {
  padding: 6px 14px;
  border: 0;
  background: #ffffff;
  color: var(--accent);
  font-weight: 600;
}

.mode button[aria-pressed="true"] {
  background: var(--accent);
  color: #ffffff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 13px;
}

.steps li {
  position: relative;
  padding: 10px 12px 10px 40px;
  background: #ffffff;
  border: 1px solid #c9d6ef;
}

.steps li > b {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
}

.steps code {
  padding: 0 4px;
  background: var(--soft);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
}

.caution {
  margin: 8px auto 0;
  padding-bottom: 12px;
  font-size: 12px;
  color: var(--muted);
}

.head {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.head-in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
}

.who {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}

.main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}

.main h2 {
  margin: 32px 0 12px;
  font-size: 18px;
}

.hero {
  display: flex;
  align-items: flex-end;
  min-height: 180px;
  padding: 28px 32px;
  background: linear-gradient(120deg, #3a3a40 0%, #6b5e50 100%);
  color: #ffffff;
}

.hero h1 {
  margin: 4px 0 0;
  font-size: 30px;
  line-height: 1.3;
}

.hero-sub {
  margin: 0;
  color: #e8dcc8;
  font-weight: 600;
}

.orders table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.orders th,
.orders td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

.orders th {
  background: var(--soft);
  color: var(--muted);
  font-weight: 600;
}

.num {
  text-align: right !important;
}

.mono {
  font-family: ui-monospace, Consolas, monospace;
}

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

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

.swatch {
  aspect-ratio: 4 / 3;
  margin-bottom: 8px;
}

.card-name {
  font-size: 15px;
}

.card-opt {
  font-size: 13px;
  color: var(--muted);
}

.card-price {
  font-weight: 700;
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav {
    display: none;
  }

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

  .orders {
    overflow-x: auto;
  }
}
