:root {
  --ink: #111827;
  --navy: #0b1734;
  --navy-2: #16264c;
  --red: #e53e3e;
  --red-dark: #bd2424;
  --yellow: #f5c84c;
  --cream: #f8f5ef;
  --paper: #ffffff;
  --muted: #697386;
  --line: #dfe4ec;
  --green: #17845b;
  --shadow: 0 18px 50px rgba(16, 24, 40, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 99; padding: 10px 14px; background: #fff; color: #000; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 1.15rem; font-weight: 850; letter-spacing: -.04em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--red); color: white; box-shadow: inset 0 -3px 0 rgba(0,0,0,.13); }
.brand-mark::before { content: "₩"; font-size: 1.05rem; font-weight: 900; }
.nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; font-weight: 700; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; font-size: 1.3rem; }
.hero { background: var(--navy); color: white; overflow: hidden; }
.hero-grid { min-height: 550px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: stretch; }
.hero-copy { padding: 76px 56px 72px 0; align-self: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 25px; height: 2px; background: currentColor; }
h1, h2, h3 { margin: 0; line-height: 1.23; letter-spacing: -.045em; }
h1 { margin-top: 18px; font-size: clamp(2.55rem, 5vw, 4.65rem); max-width: 730px; }
.hero-lead { margin: 24px 0 0; max-width: 620px; color: #dbe3f4; font-size: 1.12rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border-radius: 9px; border: 1px solid transparent; font-weight: 800; transition: .2s ease; }
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.button-ghost { border-color: #7582a2; color: white; }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.hero-meta { margin-top: 34px; display: flex; gap: 22px; color: #aebad3; font-size: .86rem; }
.hero-visual { position: relative; min-height: 470px; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, transparent 30%); pointer-events: none; }
.price-stamp { position: absolute; right: 28px; bottom: 28px; z-index: 2; width: 150px; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--yellow); color: var(--navy); transform: rotate(-6deg); box-shadow: var(--shadow); font-weight: 900; }
.price-stamp strong { display: block; font-size: 2.35rem; line-height: 1; }
.section { padding: 88px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: white; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.section-head p { margin: 0; max-width: 540px; color: var(--muted); }
.section-navy .section-head p { color: #b8c2d8; }
.kicker { margin: 0 0 8px; color: var(--red); font-weight: 850; font-size: .85rem; letter-spacing: .08em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: 0 8px 24px rgba(16,24,40,.05); }
.card-number { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: var(--navy); color: white; font-size: .9rem; font-weight: 850; }
.card h3 { margin-top: 22px; font-size: 1.28rem; }
.card p { margin: 11px 0 0; color: var(--muted); }
.tag { display: inline-block; padding: 5px 9px; border-radius: 999px; background: #fff0f0; color: var(--red-dark); font-size: .78rem; font-weight: 800; }
.article-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 20px; }
.article-card { min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; transition: .2s ease; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-card.featured { background: var(--red); color: white; border-color: var(--red); }
.article-card.featured .tag { background: rgba(255,255,255,.18); color: white; }
.article-card h3 { margin-top: 18px; font-size: 1.45rem; }
.article-card.featured h3 { font-size: 2rem; }
.article-card p { margin: 14px 0; color: var(--muted); }
.article-card.featured p { color: #ffe5e5; }
.read-more { font-weight: 850; }
.read-more::after { content: " →"; }
.flyer-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.flyer-list-card { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; border-radius: 20px; color: white; box-shadow: var(--shadow); transition: .2s ease; }
.flyer-list-card:hover { transform: translateY(-3px); }
.flyer-list-card-red { background: var(--red); }
.flyer-list-card-navy { background: var(--navy); }
.flyer-list-card .tag { background: rgba(255,255,255,.16); color: white; }
.flyer-list-card h3 { margin-top: 8px; font-size: clamp(1.8rem, 3vw, 2.45rem); }
.flyer-list-card p { color: rgba(255,255,255,.82); }
.flyer-list-card .flyer-store { margin: 24px 0 0; color: var(--yellow); font-size: .82rem; font-weight: 900; letter-spacing: .12em; }
.calculator-shell { display: grid; grid-template-columns: .78fr 1.22fr; gap: 34px; align-items: start; }
.calculator-intro h2 { margin-top: 10px; font-size: clamp(2rem, 4vw, 3.45rem); }
.calculator-intro p { color: #b8c2d8; }
.calculator-box { padding: 32px; border-radius: 20px; background: white; color: var(--ink); box-shadow: var(--shadow); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: .91rem; font-weight: 800; }
.field input { width: 100%; min-height: 50px; border: 1px solid #cfd6e2; border-radius: 9px; padding: 0 14px; color: var(--ink); background: white; }
.field input:focus { outline: 3px solid rgba(229,62,62,.16); border-color: var(--red); }
.calc-button { width: 100%; margin-top: 20px; border: 0; cursor: pointer; }
.calc-results { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.result { padding: 16px; border-radius: 10px; background: var(--cream); }
.result span { display: block; color: var(--muted); font-size: .82rem; }
.result strong { display: block; margin-top: 4px; color: var(--navy); font-size: 1.35rem; }
.notice { margin-top: 16px; color: var(--muted); font-size: .86rem; }
.editor-note { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 30px; border: 1px solid var(--line); border-left: 6px solid var(--red); border-radius: 14px; background: white; }
.editor-badge { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: white; font-weight: 900; }
.editor-note h2 { font-size: 1.45rem; }
.editor-note p { margin: 9px 0 0; color: var(--muted); }
.page-hero { padding: 72px 0 58px; background: var(--navy); color: white; }
.page-hero h1 { max-width: 900px; }
.page-hero p { max-width: 760px; margin: 20px 0 0; color: #cbd5e8; font-size: 1.08rem; }
.content { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 90px; }
.content h2 { margin: 44px 0 14px; font-size: 1.75rem; }
.content h3 { margin: 30px 0 10px; font-size: 1.25rem; }
.content p, .content li { color: #344054; }
.content ul, .content ol { padding-left: 1.25rem; }
.content .lead { font-size: 1.15rem; color: #1f2937; }
.info-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .95rem; }
.info-table th, .info-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.info-table th { background: var(--cream); }
.callout { margin: 28px 0; padding: 22px 24px; border-radius: 12px; background: #fff5d8; border-left: 5px solid var(--yellow); }
.article-image { margin: 0 0 28px; }
.article-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.article-image figcaption { margin-top: 9px; color: var(--muted); font-size: .82rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.table-scroll { margin: 24px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.table-scroll .info-table { min-width: 720px; margin: 0; }
.price-table th:first-child, .price-table td:first-child { padding-left: 18px; }
.price-table td:nth-child(2) { color: var(--red-dark); font-weight: 800; white-space: nowrap; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 34px; }
.value-card { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.value-card span { color: var(--red-dark); font-size: .82rem; font-weight: 850; }
.value-card h3 { margin-top: 8px; }
.value-card p { margin-bottom: 0; font-size: .93rem; }
.check-list { list-style: none; padding: 0 !important; }
.check-list li { position: relative; margin: 10px 0; padding: 14px 16px 14px 46px; border: 1px solid var(--line); border-radius: 10px; }
.check-list li::before { content: "✓"; position: absolute; left: 16px; top: 13px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: .76rem; font-weight: 900; }
.source-box { margin-top: 44px; padding: 24px; border-radius: 14px; background: var(--navy); color: white; }
.source-box p { color: #cbd5e8; }
.source-box a { color: var(--yellow); }
.site-footer { padding: 52px 0 28px; background: #071022; color: #c6cee0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 36px; }
.footer-brand { color: white; font-size: 1.1rem; font-weight: 850; }
.footer-title { color: white; font-size: .9rem; font-weight: 850; }
.footer-links { display: grid; gap: 8px; margin-top: 12px; font-size: .9rem; }
.copyright { margin-top: 34px; padding-top: 24px; border-top: 1px solid #24304a; font-size: .8rem; color: #8793ac; }

@media (max-width: 900px) {
  .hero-grid, .calculator-shell { grid-template-columns: 1fr; }
  .hero-copy { padding: 64px 0 42px; }
  .hero-visual { min-height: 330px; }
  .hero-visual::after { background: linear-gradient(180deg, var(--navy) 0%, transparent 34%); }
  .cards, .article-grid, .flyer-index-grid { grid-template-columns: 1fr 1fr; }
  .article-card.featured { grid-column: span 2; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 64px; }
  .menu-button { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 18px 20px; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: grid; gap: 16px; }
  .hero-grid { min-height: auto; }
  .hero-copy { padding-top: 50px; }
  h1 { font-size: 2.6rem; }
  .hero-meta { flex-direction: column; gap: 5px; }
  .price-stamp { width: 118px; right: 18px; bottom: 18px; }
  .price-stamp strong { font-size: 1.8rem; }
  .section { padding: 66px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .cards, .article-grid, .flyer-index-grid, .field-grid, .calc-results, .footer-grid { grid-template-columns: 1fr; }
  .article-card.featured { grid-column: auto; }
  .calculator-box { padding: 24px 20px; }
  .editor-note { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .content { padding-top: 38px; }
  .article-meta { display: grid; gap: 4px; }
}
