:root {
  --ink: #1f2a20;
  --muted: #637061;
  --line: #dce3d7;
  --paper: #fbfaf4;
  --leaf: #286b3f;
  --leaf-2: #6ca36b;
  --tomato: #c84c31;
  --gold: #d89a31;
  --sky: #d8e8e6;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(42, 51, 34, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

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

button,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(251, 250, 244, 0.9);
  border-bottom: 1px solid rgba(220, 227, 215, 0.85);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.pickup-meta,
.impact,
.stats,
.set-top,
.price-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--white);
  font-size: 18px;
}

.nav {
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.top-cta,
.primary-action,
.secondary-action,
.set-card button {
  min-height: 44px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.top-cta,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: var(--leaf);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 0 5vw 76px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(18, 28, 18, 0.74), rgba(18, 28, 18, 0.38) 42%, rgba(18, 28, 18, 0.04));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  width: min(760px, 100%);
  max-width: 760px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--tomato);
  font-size: 14px;
  font-weight: 900;
}

.hero .eyebrow {
  color: #ffd9a0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(34px, 7vw, 88px);
  line-height: 1.04;
  letter-spacing: 0;
  word-break: keep-all;
}

.mobile-break {
  display: none;
}

.hero-text {
  width: min(600px, 100%);
  max-width: 600px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  min-width: 168px;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.stats {
  width: min(1120px, 90vw);
  margin: -34px auto 74px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.stats div {
  padding: 24px;
  background: var(--white);
}

.stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: 25px;
}

.stats span {
  color: var(--muted);
  font-weight: 700;
}

.app-shell,
.pickup-flow,
.trust-band {
  width: min(1180px, 90vw);
  margin: 0 auto 86px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-heading h2,
.trust-band h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.22;
  letter-spacing: 0;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

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

.set-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 22px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.set-card.active,
.set-card:hover,
.set-card:focus-visible {
  border-color: var(--leaf);
  box-shadow: 0 18px 45px rgba(40, 107, 63, 0.14);
  transform: translateY(-2px);
  outline: none;
}

.set-top {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.set-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef5e8;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 900;
}

.set-top strong {
  color: var(--tomato);
}

.set-card h3 {
  margin-bottom: 10px;
  font-size: 25px;
}

.set-card p {
  min-height: 84px;
  color: var(--muted);
  line-height: 1.65;
  word-break: keep-all;
}

.set-card ul {
  display: grid;
  gap: 10px;
  margin: 8px 0 24px;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-weight: 700;
}

.set-card li::before {
  content: "•";
  margin-right: 8px;
  color: var(--gold);
}

.set-card button {
  width: 100%;
  margin-top: auto;
  border: 0;
  background: var(--ink);
  color: var(--white);
}

.set-card.active button {
  background: var(--leaf);
}

.summary-panel {
  position: sticky;
  top: 92px;
}

.phone-frame {
  padding: 18px;
  border: 1px solid #cad6c4;
  border-radius: 30px;
  background: #111711;
  box-shadow: var(--shadow);
}

.phone-status {
  justify-content: space-between;
  margin-bottom: 16px;
}

.phone-status span {
  display: block;
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: #344334;
}

.summary-head,
.pickup-card,
.qr-card,
.price-row,
.impact {
  border-radius: 8px;
  background: var(--white);
}

.summary-head {
  padding: 22px;
  margin-bottom: 12px;
}

.summary-head p,
.qr-card p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.summary-head strong {
  font-size: 27px;
}

.pickup-card {
  padding: 18px;
  margin-bottom: 12px;
}

.pickup-card label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf5;
  color: var(--ink);
  font-weight: 800;
}

.pickup-meta {
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.qr-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  margin-bottom: 12px;
}

.qr-code {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  width: 96px;
  height: 96px;
  padding: 10px;
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.qr-code span {
  border-radius: 3px;
  background: var(--ink);
}

.qr-code span:nth-child(2),
.qr-code span:nth-child(5),
.qr-code span:nth-child(11),
.qr-code span:nth-child(16) {
  background: transparent;
}

.qr-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
}

.qr-card small {
  color: var(--muted);
  line-height: 1.5;
}

.price-row {
  justify-content: space-between;
  padding: 18px;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
}

.price-row strong {
  color: var(--tomato);
  font-size: 23px;
}

.impact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  background: #dfe7da;
}

.impact div {
  padding: 18px;
  background: #f4f8ef;
}

.impact span {
  display: block;
  margin-bottom: 4px;
  color: var(--leaf);
  font-size: 20px;
  font-weight: 900;
}

.impact small {
  color: var(--muted);
  font-weight: 800;
}

.reserve-next,
.confirm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.reservation-section {
  width: min(1180px, 90vw);
  margin: 0 auto 86px;
  scroll-margin-top: 92px;
}

.reservation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  align-items: start;
}

.reserve-form {
  display: grid;
  gap: 16px;
}

.form-card,
.checkout-card,
.complete-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step-label {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--tomato);
  font-size: 14px;
  font-weight: 900;
}

.form-card h3,
.checkout-card h3,
.complete-card h3 {
  margin-bottom: 18px;
  font-size: 25px;
}

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

.field-grid label,
.check-row {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.field-grid input,
.field-grid select {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf5;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  width: 100%;
  height: 48px;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf5;
}

.quantity-stepper button {
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--white);
  color: var(--leaf);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.quantity-stepper button:disabled {
  color: #b8c4b2;
  cursor: not-allowed;
}

.quantity-stepper output {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.field-grid input[readonly] {
  background: #eef5e8;
  font-size: 16px;
  font-weight: 900;
}

.full-field {
  grid-column: 1 / -1;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  line-height: 1.55;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--leaf);
}

.checkout-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.checkout-card dl {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0 0 16px;
  border-radius: 8px;
  background: var(--line);
}

.checkout-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px;
  background: #f8faf5;
}

.checkout-card dt,
.checkout-card dd {
  margin: 0;
}

.checkout-card dt {
  color: var(--muted);
  font-weight: 800;
}

.checkout-card dd {
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.policy-note,
.done-message {
  padding: 14px;
  border-radius: 8px;
  background: #fff5e5;
  color: #765223;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  word-break: keep-all;
}

.complete-card {
  border-color: rgba(40, 107, 63, 0.35);
  box-shadow: 0 18px 50px rgba(40, 107, 63, 0.12);
}

.complete-qr {
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.hidden {
  display: none;
}

.flow-grid,
.trust-grid {
  display: grid;
  gap: 16px;
}

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

.flow-grid div,
.trust-grid article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.flow-grid span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--tomato);
  font-size: 14px;
  font-weight: 900;
}

.flow-grid h3,
.trust-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.flow-grid p,
.trust-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
  word-break: keep-all;
}

.trust-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  padding: 44px;
  border-radius: 8px;
  background: var(--sky);
}

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

@media (max-width: 1040px) {
  .order-layout,
  .reservation-grid,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .summary-panel,
  .checkout-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .topbar {
    min-height: 64px;
    padding: 0 18px;
  }

  .nav {
    display: none;
  }

  .top-cta {
    min-width: 96px;
    padding: 0 14px;
  }

  .hero {
    min-height: 760px;
    padding: 0 22px 48px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(18, 28, 18, 0.28), rgba(18, 28, 18, 0.76));
  }

  .hero-text {
    font-size: 17px;
    line-height: 1.7;
  }

  .stats,
  .sets,
  .flow-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    margin-top: 0;
  }

  .set-card {
    min-height: 0;
  }

  .set-card p {
    min-height: 0;
  }

  .app-shell,
  .reservation-section,
  .pickup-flow,
  .trust-band {
    width: min(100% - 32px, 1180px);
    margin-bottom: 58px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .trust-band {
    padding: 26px;
  }
}

@media (max-width: 460px) {
  .mobile-break {
    display: block;
  }

  h1 {
    max-width: calc(100vw - 44px);
    font-size: 34px;
    line-height: 1.12;
  }

  .top-cta {
    display: none;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .qr-card {
    grid-template-columns: 1fr;
  }
}
