/* delf-b2.css */

/* ===========================
   Design tokens
   =========================== */
:root{
  --ink:#222;
  --ink-2:#444;
  --bg:#fff;
  --muted:#f7fafc;
  --line:#e2e8f0;

  --blue:#2b6cb0;
  --teal:#38b2ac;
  --red:#e53e3e;

  --radius:12px;
  --radius-sm:8px;

  --shadow-sm:0 4px 10px rgba(0,0,0,0.08);
  --shadow-md:0 6px 16px rgba(0,0,0,0.12);
}

/* ===========================
   Base
   =========================== */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--ink);
  background:var(--bg);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-family:"Noto Sans KR", system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

.delf-main{
  max-width:760px;
  margin:40px auto 80px;
  padding:0 20px;
}

/* Typography */
.page-title{
  margin:0 0 10px;
  font-size:1.9rem;
  font-weight:800;
  letter-spacing:-0.02em;
}
.page-title .en{font-weight:700}
.lead{
  margin:10px 0 6px;
  font-size:1.15rem;
  font-weight:600;
}

/* Sections */
.section{margin-top:50px}
.section-title{
  margin:0 0 16px;
  padding-left:12px;
  font-size:1.35rem;
  font-weight:700;
  border-left:6px solid var(--blue);
}
.section-title.is-blue{border-color:var(--blue)}
.section-title.is-red{border-color:var(--red)}

/* Hero */
.hero{
  margin:30px auto 10px;
  max-width:650px;
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow-sm);
}
.hero img{
  width:100%;
  height:500px;
  object-fit:cover;
  object-position:top;
  display:block;
}
.hero figcaption{
  margin:0;
  padding:12px 14px;
  font-size:.92rem;
  color:var(--ink-2);
  border-top:1px solid #ddd;
  font-style:italic;
}

/* Lists */
.bullets,
.checklist,
.price-list{
  padding-left:20px;
  margin:12px 0;
}
.bullets li,
.checklist li,
.price-list li{margin:6px 0}
.checklist{list-style:disc}
.bullets{list-style:disc}
.price-list{list-style:disc}

/* Card block */
.card{
  border:2px solid var(--line);
  background:var(--muted);
  border-radius:var(--radius-sm);
  padding:20px;
}

/* Links */
a{color:var(--blue); text-underline-offset:2px}
a:hover{opacity:.9}
.ext-link a{font-weight:700}

/* CTA */
.cta{
  margin-top:60px;
  text-align:center;
  color:#fff;
  padding:54px 20px;
  border-radius:var(--radius-sm);
  background:linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow:var(--shadow-md);
}
.cta-title{
  margin:0 0 8px;
  font-size:1.6rem;
  font-weight:800;
}
.cta-sub{
  margin:0 0 26px;
  font-size:1.05rem;
}
.cta-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  justify-content:center;
  max-width:640px;
  margin:0 auto;
}
.btn{
  display:inline-block;
  min-width:240px;
  text-align:center;
  text-decoration:none;
  font-weight:800;
  padding:14px 20px;
  border-radius:6px;
  box-shadow:var(--shadow-sm);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0)}
.btn-white{
  background:#fff;
  color:var(--blue);
}
.btn-outline{
  background:transparent;
  color:#fff;
  border:2px solid rgba(255,255,255,.9);
}

/* Media queries */
@media (max-width:640px){
  .page-title{font-size:1.6rem}
  .hero img{height:300px}
  .cta-title{font-size:1.4rem}
  .cta-sub{font-size:1rem}
}
/* Center intro title and text */
.intro {
  text-align: center;
  margin-bottom: 40px;
}

.intro h1,
.intro p {
  text-align: center;
}

/* Center hero figure and caption */
.hero {
  margin: 30px auto 10px;
  max-width: 650px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center; /* centers caption */
}

.hero figcaption {
  margin: 0;
  padding: 12px 14px;
  font-size: .92rem;
  color: var(--ink-2);
  border-top: 1px solid #ddd;
  font-style: italic;
  text-align: center; /* make sure caption centered */
  }
  /* CTA inline note link */
.cta-note{margin-top:16px}
.cta-link{color:#fff; text-decoration:underline; font-weight:800}
.cta-link:hover{opacity:.9}
