:root {
  --ivory: #f7f4ee;
  --paper: #fffdf9;
  --bronze: #8a7658;
  --bronze-dark: #665337;
  --sand: #cbbda5;
  --olive: #4e5a45;
  --charcoal: #2f302e;
  --muted: #706d67;
  --line: #ddd5c8;
  --blue: #1f3eb7;
  --blue-soft: #dce4ff;
  --red: #c2574f;
  --shadow: 0 24px 70px rgba(61, 52, 40, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--ivory);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.section-pad { padding: 88px max(24px, calc((100vw - 1120px) / 2)); }
.eyebrow {
  margin: 0 0 16px;
  color: var(--bronze);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .17em;
}
h1, h2 { margin: 0; font-family: "Noto Serif KR", serif; letter-spacing: -.045em; line-height: 1.34; }
h1 { font-size: clamp(2.55rem, 6vw, 5.3rem); }
h1 em { color: var(--bronze); font-style: normal; }
h2 { font-size: clamp(2rem, 4.5vw, 3.65rem); }
h3 { margin: 0; font-size: 1.34rem; line-height: 1.48; letter-spacing: -.025em; }
p { margin: 0; }

.site-header {
  height: 82px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(138, 118, 88, .18);
  background: rgba(247, 244, 238, .9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-crop { width: 46px; height: 46px; overflow: hidden; border-radius: 50%; position: relative; flex: none; background: var(--bronze); }
.brand-crop img { width: 100%; height: 100%; object-fit: cover; }
.brand strong { display: block; font-family: "Noto Serif KR", serif; font-size: 1rem; line-height: 1.25; }
.brand small { display: block; font-size: .55rem; letter-spacing: .13em; color: var(--bronze); }
.pillar { font-size: .67rem; font-weight: 700; letter-spacing: .15em; color: var(--olive); }

.hero { min-height: calc(100vh - 82px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; overflow: hidden; }
.hero-copy { max-width: 680px; }
.hero .lead { margin-top: 28px; font-size: 1.23rem; font-weight: 600; color: #4a4843; }
.hero-copy > p:not(.eyebrow):not(.lead) { margin-top: 12px; max-width: 620px; color: var(--muted); }
.button {
  min-height: 58px;
  padding: 15px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: .98rem;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { margin-top: 32px; color: #fff; background: var(--charcoal); box-shadow: 0 12px 30px rgba(47, 48, 46, .18); }
.button-primary:hover { background: var(--bronze-dark); }
.hero-visual { height: 570px; position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ""; width: 430px; height: 430px; border-radius: 50%; position: absolute; background: #e9e1d3; }
.orbit { position: absolute; border: 1px solid rgba(138, 118, 88, .35); border-radius: 50%; }
.orbit-one { width: 500px; height: 500px; }
.orbit-two { width: 350px; height: 350px; }
.product-window { width: 250px; height: 430px; overflow: hidden; position: relative; z-index: 2; border-radius: 16px; background: #fff; box-shadow: var(--shadow); transform: rotate(2deg); }
.product-window img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mini-card { min-width: 190px; padding: 16px 20px; position: absolute; right: 0; bottom: 74px; z-index: 3; background: rgba(255, 253, 249, .94); border-left: 3px solid var(--bronze); box-shadow: 0 14px 40px rgba(61, 52, 40, .15); backdrop-filter: blur(10px); }
.mini-card strong, .mini-card span { display: block; }
.mini-card strong { color: var(--bronze-dark); font-size: 1.18rem; }
.mini-card span { font-size: .78rem; color: var(--muted); }

.patterns { background: var(--paper); }
.section-heading { max-width: 700px; margin-bottom: 44px; }
.section-heading > p:last-child { margin-top: 18px; color: var(--muted); }
.pattern-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pattern-card { min-width: 0; padding: 28px; position: relative; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(61, 52, 40, .045); }
.card-index { position: absolute; top: 18px; right: 22px; color: #d7d0c4; font-family: "Noto Serif KR", serif; font-size: 1.5rem; }
.chart { margin: 28px -6px 28px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.grid-line { stroke: #ece8e0; stroke-width: 1; fill: none; }
.area { fill: rgba(31, 62, 183, .1); }
.curve { stroke: var(--blue); stroke-width: 5; stroke-linecap: round; fill: none; }
.dot { fill: var(--blue); stroke: #fff; stroke-width: 3; }
.threshold { stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 5 5; }
.dot-low { fill: var(--red); stroke: #fff; stroke-width: 3; }
.chart-axis { display: flex; justify-content: space-between; margin: -12px 10px 0; font-size: .67rem; color: #8c8982; }
.label { display: inline-flex; margin-bottom: 12px; padding: 5px 10px; color: var(--blue); background: var(--blue-soft); border-radius: 99px; font-size: .73rem; font-weight: 800; }
.pattern-card.low .label { color: #9b3d38; background: #f5dcda; }
.pattern-card > p:last-child { margin-top: 12px; color: var(--muted); font-size: .91rem; }

.flow { background: var(--olive); color: #fff; text-align: center; }
.flow-inner { max-width: 800px; margin: auto; }
.flow .eyebrow { color: #dfd3bc; }
.flow-line { margin: 42px auto 34px; display: flex; align-items: center; justify-content: center; }
.flow-line span { width: 150px; height: 150px; display: grid; place-content: center; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; }
.flow-line b, .flow-line small { display: block; }
.flow-line b { font-family: "Noto Serif KR", serif; font-size: 1.45rem; }
.flow-line small { margin-top: 4px; color: rgba(255,255,255,.68); font-size: .72rem; }
.flow-line i { width: 62px; height: 1px; display: block; background: rgba(255,255,255,.34); }
.flow-inner > p:last-child { max-width: 660px; margin: auto; color: rgba(255,255,255,.72); }

.product { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; align-items: center; background: var(--paper); }
.product ul { margin: 30px 0 0; padding: 0; list-style: none; }
.product li { padding: 14px 0 14px 30px; position: relative; border-bottom: 1px solid var(--line); color: #55524c; }
.product li::before { content: "✓"; position: absolute; left: 2px; color: var(--olive); font-weight: 800; }
.product .button { width: 100%; }
.text-link { margin-top: 18px; display: block; text-align: center; color: var(--muted); font-size: .9rem; text-underline-offset: 4px; }
.product-image-frame { height: 560px; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.product-image-frame img { width: 100%; }

.choice { background: var(--charcoal); color: #fff; }
.section-heading.light .eyebrow { color: var(--sand); }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.choice-card { padding: 42px; border: 1px solid rgba(255,255,255,.17); background: rgba(255,255,255,.045); }
.choice-card.featured { background: var(--bronze); border-color: var(--bronze); }
.choice-tag { display: inline-block; margin-bottom: 24px; padding: 5px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; font-size: .72rem; font-weight: 800; }
.choice-card h3 { font-size: 1.6rem; }
.choice-card p { min-height: 86px; margin-top: 18px; color: rgba(255,255,255,.67); }
.choice-card.featured p { color: rgba(255,255,255,.8); }
.choice-card .button { width: 100%; margin-top: 26px; }
.button-ivory { background: var(--ivory); color: var(--charcoal); }
.button-outline { border: 1px solid rgba(255,255,255,.5); color: #fff; }

.detail { padding-top: 48px; padding-bottom: 48px; background: var(--paper); }
.detail details { max-width: 640px; margin: auto; }
.detail summary { padding: 20px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; font-weight: 700; list-style: none; }
.detail summary::-webkit-details-marker { display: none; }
.detail details[open] summary span { transform: rotate(45deg); }
.detail-image { max-width: 420px; margin: 28px auto 0; background: #fff; }
.detail-image img { width: 100%; image-rendering: auto; }

footer { padding: 60px max(24px, calc((100vw - 1120px) / 2)) 110px; background: var(--ivory); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand strong { font-family: "Noto Serif KR", serif; }
.footer-brand small { color: var(--bronze); font-size: .72rem; }
footer > p:not(.notice) { margin-top: 20px; font-family: "Noto Serif KR", serif; font-size: 1.15rem; }
.notice { max-width: 900px; margin-top: 26px; color: #85817a; font-size: .72rem; line-height: 1.65; }

.sticky-buy { display: none; }

@media (max-width: 860px) {
  .section-pad { padding: 72px 24px; }
  .site-header { padding: 0 20px; }
  .pillar { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 22px; padding-top: 66px; text-align: left; }
  .hero-copy { max-width: none; }
  .hero-visual { height: 440px; }
  .hero-visual::before { width: 330px; height: 330px; }
  .orbit-one { width: 388px; height: 388px; }
  .orbit-two { width: 270px; height: 270px; }
  .product-window { width: 202px; height: 345px; }
  .mini-card { right: calc(50% - 185px); bottom: 32px; }
  .pattern-grid { grid-template-columns: 1fr; gap: 14px; }
  .pattern-card { padding: 26px; }
  .chart { max-width: 470px; margin-left: auto; margin-right: auto; }
  .product { grid-template-columns: 1fr; gap: 40px; }
  .product-image-frame { height: 480px; order: -1; max-width: 360px; margin: auto; }
  .choice-grid { grid-template-columns: 1fr; }
  .flow-line span { width: 125px; height: 125px; }
  .flow-line i { width: 26px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .site-header { height: 70px; }
  .brand-crop { width: 40px; height: 40px; }
  .brand strong { font-size: .9rem; }
  .brand small { font-size: .5rem; }
  .section-pad { padding: 64px 20px; }
  .hero { padding-top: 34px; gap: 12px; }
  .hero-visual { height: 360px; }
  .hero-visual::before { width: 278px; height: 278px; }
  .orbit-one { width: 318px; height: 318px; }
  .orbit-two { width: 225px; height: 225px; }
  .product-window { width: 174px; height: 290px; border-radius: 12px; }
  .mini-card { min-width: 160px; right: calc(50% - 172px); bottom: 25px; padding: 12px 14px; }
  .mini-card strong { font-size: 1rem; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.35rem); }
  h2 { font-size: clamp(1.95rem, 9vw, 2.7rem); }
  .hero .lead { margin-top: 24px; font-size: 1.08rem; }
  .hero-copy .button { width: 100%; }
  .section-heading { margin-bottom: 30px; }
  .pattern-card { padding: 22px 20px 25px; }
  .pattern-card h3 { font-size: 1.25rem; }
  .flow-line { margin: 34px -5px 28px; }
  .flow-line span { width: 104px; height: 104px; }
  .flow-line i { width: 12px; }
  .flow-line b { font-size: 1.2rem; }
  .flow-line small { display: none; }
  .product-image-frame { height: 420px; width: 100%; max-width: 300px; }
  .choice-card { padding: 30px 24px; }
  .choice-card p { min-height: 0; }
  footer { padding: 52px 20px 64px; }
  .sticky-buy { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(247,244,238,.94); border-top: 1px solid rgba(138,118,88,.22); backdrop-filter: blur(14px); }
  .sticky-buy a { min-height: 58px; padding: 9px 18px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: var(--charcoal); border-radius: 6px; text-decoration: none; font-size: .95rem; font-weight: 800; }
  .sticky-buy small { display: block; color: var(--sand); font-size: .65rem; font-weight: 600; }
  .sticky-buy b { font-size: 1.25rem; }
}

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