:root{
  --primary:#2C3E50;
  --accent:#E74C3C;
  --bg:#FBFBFB;
  --radius:4px;
  --max:800px;
}

*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  background:var(--bg);
  color:var(--primary);
  font-family:'Pretendard Variable', sans-serif;
  font-weight:400;
  font-display:swap;
  line-height:1.7;
  overflow-x:hidden;
}
h1,h2{
  font-family:'Paperlogy','Pretendard Variable',sans-serif;
  font-weight:700;
  font-display:swap;
  color:var(--primary);
  margin:0;
}
a{color:inherit;}
img{max-width:100%;height:auto;display:block;}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important;transition:none !important;}
}

.visually-hidden{
  position:absolute;width:1px;height:1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;
}

/* header */
.site-header{
  border-bottom:1px solid #e5e5e5;
  background:var(--bg);
}
.header-inner{
  max-width:1100px;margin:0 auto;padding:14px 20px;
  display:flex;align-items:center;justify-content:space-between;
  position:relative;
}
.logo{display:flex;align-items:center;gap:8px;text-decoration:none;}
.logo-text{
  font-family:'Paperlogy','Pretendard Variable',sans-serif;
  font-weight:700;font-size:1.1rem;letter-spacing:.03em;color:var(--primary);
}
.hamburger{
  display:none;flex-direction:column;gap:4px;cursor:pointer;
  width:28px;padding:6px;background:none;border:0;
}
.hamburger span{display:block;width:100%;height:2px;background:var(--primary);}
.site-nav ul{
  list-style:none;display:flex;gap:20px;margin:0;padding:0;flex-wrap:wrap;
}
.site-nav a{text-decoration:none;font-size:.92rem;font-weight:500;}
.site-nav a:hover{color:var(--accent);}

@media (max-width:760px){
  .hamburger{display:flex;}
  .site-nav{
    position:absolute;top:100%;left:0;right:0;
    background:var(--bg);border-bottom:1px solid #e5e5e5;
    max-height:0;overflow:hidden;transition:max-height .25s ease;
  }
  .site-nav ul{flex-direction:column;gap:0;padding:8px 20px 14px;}
  .site-nav li{border-top:1px solid #f0f0f0;}
  .site-nav a{display:block;padding:10px 0;}
  .site-nav.open{max-height:400px;}
}

/* hero */
.hero{
  max-width:var(--max);margin:0 auto;padding:56px 20px 40px;
}
.hero h1{
  font-size:clamp(2.2rem,7vw,3.4rem);
  line-height:1.15;
}
.hero-stairs{margin:20px 0 28px;font-size:1.05rem;}
.stair{display:block;max-width:34em;}
.stair-1{margin-left:0;}
.stair-2{margin-left:1.2em;margin-top:.4em;}
.stair-3{margin-left:2.4em;margin-top:.4em;}

/* buttons - outline style, used consistently */
.cta{
  display:inline-block;
  border:2px solid var(--accent);
  border-radius:var(--radius);
  background:transparent;
  color:var(--primary);
  text-decoration:none;
  font-weight:500;
  padding:12px 24px;
  transition:background-color .15s ease;
}
.cta:hover{background:rgba(231,76,60,.08);}
.cta--hero{margin-top:8px;}
.cta-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:20px;}
.cta--block{border-color:var(--primary);}
.cta--block:hover{background:rgba(44,62,80,.08);}

/* sections + color numbering */
.content-section{
  max-width:var(--max);margin:0 auto;padding:44px 20px;
  position:relative;
}
.sec-num{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--accent);color:#fff;
  width:2.4rem;height:2.4rem;border-radius:var(--radius);
  font-family:'Paperlogy','Pretendard Variable',sans-serif;
  font-weight:700;font-size:1.1rem;
  margin-bottom:12px;
}
.content-section h2{
  font-size:clamp(1.4rem,4vw,1.9rem);
  margin-bottom:16px;
}
.content-section p{margin:0 0 14px;}

.callout{
  border-left:3px solid var(--accent);
  background:#fff;
  padding:14px 18px;
  border-radius:var(--radius);
  margin-top:18px;
}
.callout p{margin:0;font-size:.95rem;}
.fine-print{font-size:.9rem;color:#5a6b7d;}

/* timeline */
.timeline{list-style:none;margin:24px 0 0;padding:0;border-left:2px solid #e5e5e5;}
.timeline li{
  display:flex;gap:16px;padding:0 0 26px 20px;position:relative;
}
.timeline li:last-child{padding-bottom:0;}
.t-num{
  position:absolute;left:-13px;top:0;
  width:24px;height:24px;border-radius:50%;
  background:var(--primary);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:.8rem;font-weight:700;flex-shrink:0;
}
.timeline strong{display:block;margin-bottom:4px;}
.timeline p{margin:0;font-size:.95rem;}

/* decision branch */
.branch{
  margin-top:24px;border:1px solid #e5e5e5;border-radius:var(--radius);
  padding:20px;background:#fff;
}
.branch-q{font-weight:700;margin-bottom:14px;}
.branch-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.branch-box{
  border-radius:var(--radius);padding:14px;border:1px solid #e5e5e5;
}
.branch-yes{border-left:3px solid var(--primary);}
.branch-no{border-left:3px solid var(--accent);}
.branch-label{font-weight:700;margin:0 0 6px;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em;}
.branch-box p:last-child{margin:0;font-size:.95rem;}
.branch-note{margin-top:14px;font-size:.88rem;color:#5a6b7d;}

@media (max-width:520px){
  .branch-row{grid-template-columns:1fr;}
}

/* compare table */
.compare{
  width:100%;border-collapse:collapse;margin-top:24px;font-size:.92rem;
}
.compare caption{text-align:left;font-weight:700;margin-bottom:8px;}
.compare th,.compare td{
  border:1px solid #e5e5e5;padding:10px 12px;text-align:left;
}
.compare thead th{background:var(--primary);color:#fff;}
.compare tbody th{background:#f5f5f5;font-weight:500;}

/* checklist */
.checklist{list-style:none;margin:20px 0 0;padding:0;}
.checklist li{
  display:flex;align-items:flex-start;gap:10px;padding:8px 0;
  border-bottom:1px dashed #e5e5e5;font-size:.97rem;
}
.checklist li:last-child{border-bottom:none;}
.checklist svg{flex-shrink:0;margin-top:2px;}

/* figures */
.shot{
  margin-inline:auto;max-width:900px;padding:0 20px;
}
.shot img{border-radius:var(--radius);width:100%;}
.shot figcaption{
  text-align:center;font-size:.88rem;color:#5a6b7d;margin-top:8px;
}

/* faq */
.faq{margin-top:20px;display:flex;flex-direction:column;gap:10px;}
.faq details{
  border:1px solid #e5e5e5;border-radius:var(--radius);padding:14px 18px;background:#fff;
}
.faq summary{
  cursor:pointer;font-weight:700;list-style:none;
}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::before{
  content:"Q. ";color:var(--accent);
}
.faq p{margin:10px 0 0;font-size:.95rem;}

/* bottom cta block */
.cta-block{
  max-width:var(--max);margin:0 auto;padding:44px 20px 56px;
  border-top:1px solid #e5e5e5;
}
.cta-block-title{font-size:1.5rem;margin-bottom:12px;}

/* related links */
.related-links{
  max-width:var(--max);margin:0 auto;padding:0 20px 56px;
}
.related-links ul{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(2,1fr);gap:12px;
}
.related-links a{
  display:block;border:1px solid #e5e5e5;border-radius:var(--radius);
  padding:14px 16px;text-decoration:none;font-weight:500;
  background:#fff;
}
.related-links a:hover{border-color:var(--accent);color:var(--accent);}

@media (max-width:480px){
  .related-links ul{grid-template-columns:1fr;}
}

/* footer */
footer{
  border-top:1px solid #e5e5e5;padding:32px 20px;
  max-width:1100px;margin:0 auto;
  font-size:.85rem;color:#5a6b7d;
}
footer address{font-style:normal;line-height:1.8;}
footer small{display:block;margin-top:12px;}
