/* ==========================================================================
   기부대장 Renewal — Design System
   ========================================================================== */
:root {
  --brand: #12b3ae;
  --brand-600: #0d9c97;
  --brand-700: #0a7f7b;
  --brand-50: #eefbfa;
  --brand-100: #d6f5f3;
  --peach: #ffca9b;
  --peach-600: #f5a768;
  --peach-50: #fff5ec;
  --ink: #1b2427;
  --ink-2: #2e3a3d;
  --muted: #69787c;
  --line: #e6eef0;
  --bg: #ffffff;
  --soft: #f6fafb;
  --shadow-sm: 0 2px 10px rgba(18, 60, 62, .05);
  --shadow-md: 0 12px 32px rgba(18, 60, 62, .08);
  --shadow-lg: 0 24px 60px rgba(18, 60, 62, .12);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --max: 1160px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  word-break: keep-all;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.28; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(18, 60, 62, .06); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.brand-icon {
  width: 60px; height: 60px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  border: 2.5px solid #f59e0b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12), 0 0 0 3px rgba(245, 158, 11, .15);
  transition: transform .22s ease, box-shadow .22s ease;
}
.brand-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand:hover .brand-icon {
  transform: translateY(-1px) scale(1.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.brand-name {
  font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em;
  line-height: 1.2; color: var(--ink); transition: color .22s ease;
}
.brand-name em { color: var(--brand-600); font-style: normal; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  padding: 9px 14px; border-radius: 99px; font-size: 15px; font-weight: 600;
  color: var(--ink-2); transition: background .18s, color .18s;
}
.nav-link:hover { background: var(--brand-50); color: var(--brand-700); }
.nav-link.is-active { color: var(--brand-700); background: var(--brand-50); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.link-quiet {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 12px; border-radius: 99px; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  transition: background .18s, color .18s;
}
.link-quiet:hover { background: var(--soft); color: var(--brand-700); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 99px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .16s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
  color: #fff; box-shadow: 0 10px 24px rgba(18, 179, 174, .28);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(18, 179, 174, .36); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-700); }
.btn-soft { background: var(--brand-50); color: var(--brand-700); }
.btn-soft:hover { background: var(--brand-100); }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* mobile nav */
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .22s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  display: none; border-top: 1px solid var(--line); background: #fff;
  padding: 12px 20px 22px;
}
.mobile-panel.is-open { display: block; }
.mobile-panel a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 6px; font-weight: 650; border-bottom: 1px solid var(--line);
}
.mobile-panel .mobile-cta { display: grid; gap: 10px; margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 76px 0 88px;
  background:
    radial-gradient(900px 480px at 12% -10%, #e9fbfa 0%, rgba(233, 251, 250, 0) 62%),
    radial-gradient(760px 420px at 92% 4%, #fff4e8 0%, rgba(255, 244, 232, 0) 60%),
    linear-gradient(180deg, #fbfefe 0%, #ffffff 72%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 99px;
  background: #fff; border: 1px solid var(--brand-100);
  color: var(--brand-700); font-size: 13.5px; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 56px); margin-top: 22px; letter-spacing: -.035em;
}
.hero h1 .accent {
  color: var(--brand-600);
  background: linear-gradient(180deg, transparent 62%, rgba(255, 202, 155, .55) 62%);
  padding: 0 4px;
}
.hero-lead {
  margin-top: 20px; font-size: 17px; color: var(--muted); max-width: 540px; line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 44px;
  border-top: 1px solid var(--line); padding-top: 26px;
}
.hero-stat { padding-right: 34px; margin-right: 34px; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stat b { display: block; font-size: 26px; letter-spacing: -.03em; color: var(--brand-700); }
.hero-stat span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.char-card {
  position: relative; width: 100%; max-width: 400px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 26px; box-shadow: var(--shadow-lg);
}
.char-card::before {
  content: ""; position: absolute; inset: -14px -14px auto auto; width: 120px; height: 120px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 202, 155, .55), rgba(255, 202, 155, 0));
  z-index: -1;
}
.char-card img { width: 100%; border-radius: 20px; }
.char-caption {
  display: flex; align-items: center; gap: 12px; margin-top: 18px;
  padding: 12px 14px; background: var(--brand-50); border-radius: 14px;
}
.char-caption i { color: var(--brand-600); font-size: 18px; }
.char-caption strong { display: block; font-size: 14.5px; }
.char-caption span { font-size: 12.5px; color: var(--muted); }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 99px;
  padding: 10px 16px; font-size: 13.5px; font-weight: 700;
  box-shadow: var(--shadow-md); animation: floaty 5s ease-in-out infinite;
}
.float-chip i { color: var(--brand-600); }
.chip-tl { top: 6%; left: -6%; }
.chip-tr { top: 22%; right: -7%; animation-delay: 1.1s; }
.chip-bl { bottom: 24%; left: -8%; animation-delay: .6s; }
.chip-br { bottom: 6%; right: -5%; animation-delay: 1.6s; }
.chip-br i { color: var(--peach-600); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
.section-tight { padding: 68px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-badge {
  display: inline-block; padding: 7px 15px; border-radius: 99px;
  background: var(--brand-50); color: var(--brand-700);
  font-size: 13px; font-weight: 800; letter-spacing: .02em;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); margin-top: 16px; letter-spacing: -.035em; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.section-head.left { text-align: left; margin-left: 0; max-width: 640px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.card h3 { font-size: 19px; margin-top: 18px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 14.8px; }

.icon-badge {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  font-size: 21px;
}
.icon-teal { background: var(--brand-50); color: var(--brand-600); }
.icon-peach { background: var(--peach-50); color: var(--peach-600); }
.icon-ink { background: #eef2f3; color: var(--ink-2); }

/* step */
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 26px 28px;
}
.step-num {
  position: absolute; top: -16px; left: 26px;
  background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff;
  font-size: 13px; font-weight: 800; letter-spacing: .06em;
  padding: 6px 13px; border-radius: 99px;
}
.step h3 { font-size: 18.5px; margin-top: 8px; }
.step p { color: var(--muted); font-size: 14.6px; margin-top: 9px; }
.step-icon { font-size: 22px; color: var(--brand-600); margin-bottom: 6px; }

/* trust band */
.trust {
  display: grid; grid-template-columns: 1fr .95fr; gap: 44px; align-items: center;
  background: linear-gradient(135deg, #0e2f31 0%, #14494b 52%, #0f5f5c 100%);
  color: #fff; border-radius: var(--r-xl); padding: 54px 48px;
  position: relative; overflow: hidden;
}
.trust::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(18, 179, 174, .35), transparent 68%);
}
.trust h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.03em; }
.trust p { margin-top: 18px; color: rgba(255, 255, 255, .76); font-size: 15.5px; line-height: 1.8; }
.trust-list { display: grid; gap: 12px; position: relative; z-index: 1; }
.trust-list li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px; padding: 14px 18px; font-size: 15px; font-weight: 600;
}
.trust-list i { color: var(--peach); font-size: 15px; }

/* stats strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px 20px; text-align: center;
}
.stat-box b { display: block; font-size: 30px; color: var(--brand-700); letter-spacing: -.03em; }
.stat-box span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--brand-50) 0%, #fff7ef 100%);
  border: 1px solid var(--brand-100); border-radius: var(--r-xl);
  padding: 52px 40px; text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.035em; }
.cta-band p { color: var(--muted); margin-top: 12px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: #0f191b; color: rgba(255, 255, 255, .72); padding: 60px 0 34px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 9px; }
.footer-desc { margin-top: 16px; font-size: 14px; line-height: 1.85; color: rgba(255, 255, 255, .58); }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .04em; margin-bottom: 14px; }
.footer-col a, .footer-col li { display: block; font-size: 14px; padding: 6px 0; color: rgba(255, 255, 255, .66); }
.footer-col a:hover { color: #fff; }
.footer-biz {
  margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px; line-height: 1.95; color: rgba(255, 255, 255, .5);
}
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  margin-top: 18px; font-size: 12.5px; color: rgba(255, 255, 255, .42);
}
.footer-policy { display: flex; gap: 10px; }
.footer-policy a { color: rgba(255, 255, 255, .62); font-weight: 600; }
.footer-policy a:hover { color: #fff; }

/* entrance animation — CSS-only (always ends visible, never depends on scroll/rAF) */
.js .reveal {
  animation: rise .68s cubic-bezier(.2, .7, .3, 1) both;
}
.js .reveal:nth-child(2) { animation-delay: .06s; }
.js .reveal:nth-child(3) { animation-delay: .12s; }
.js .reveal:nth-child(4) { animation-delay: .18s; }
.js .reveal:nth-child(5) { animation-delay: .24s; }
.js .reveal:nth-child(6) { animation-delay: .3s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { animation: none; }
  .float-chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-lead { max-width: 100%; }
  .hero-visual { order: -1; }
  .char-card { max-width: 340px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr; padding: 42px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .nav, .header-actions .link-quiet { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .step-list { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 70px 0; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .brand-icon { width: 50px; height: 50px; }
  .brand-name { font-size: 1.05rem; }
  .container { padding: 0 18px; }
  .hero { padding: 44px 0 62px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat { border-right: 0; padding-right: 0; margin-right: 0; display: flex; align-items: baseline; gap: 10px; }
  .hero-stat b { font-size: 22px; }
  .float-chip { font-size: 12px; padding: 8px 13px; }
  .chip-tl { left: -2%; } .chip-tr { right: -2%; }
  .chip-bl { left: -2%; } .chip-br { right: -2%; }
  .header-actions .btn { padding: 10px 16px; font-size: 14px; }
  .section-head { margin-bottom: 38px; }
  .trust { padding: 34px 22px; }
  .cta-band { padding: 38px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-strip { gap: 12px; }
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.badge-on-dark { background: rgba(255, 255, 255, .12); color: var(--peach); }

/* ---------- Tags ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag {
  display: inline-block; padding: 5px 11px; border-radius: 99px;
  background: var(--soft); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
}

/* ---------- Mini banner ---------- */
.mini-banner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 26px; padding: 24px 28px;
  background: linear-gradient(120deg, var(--brand-50), #fff8f1);
  border: 1px solid var(--brand-100); border-radius: var(--r-lg);
}
.mini-banner-icon {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: #fff; color: var(--brand-600); font-size: 20px; flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.mini-banner strong { display: block; font-size: 16.5px; }
.mini-banner p { font-size: 14.2px; color: var(--muted); margin-top: 4px; }
.mini-banner > div:nth-child(2) { flex: 1 1 260px; }

/* ---------- Why cards (inside trust band) ---------- */
.why-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-md); padding: 22px 20px;
}
.why-card i { font-size: 19px; color: var(--peach); margin-bottom: 10px; display: block; }
.why-card strong { color: #fff; font-size: 15px; display: block; }
.why-card p { margin-top: 6px; font-size: 13.2px; color: rgba(255, 255, 255, .66); line-height: 1.6; }

/* ---------- Fee cards ---------- */
.fee-cards { margin-bottom: 26px; }
.fee-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 26px; text-align: center;
}
.fee-label { display: block; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.fee-card b {
  display: block; font-size: 42px; letter-spacing: -.04em; margin-top: 8px;
  color: var(--ink); line-height: 1.1;
}
.fee-card b small { font-size: 20px; font-weight: 700; margin-left: 2px; }
.fee-from { font-size: 14px; font-weight: 700; color: var(--muted); margin-left: 6px; }
.fee-card p { margin-top: 10px; font-size: 13.6px; color: var(--muted); }
.fee-card-accent {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-600) 100%);
  border-color: transparent; color: #fff; box-shadow: 0 18px 40px rgba(18, 179, 174, .28);
}
.fee-card-accent .fee-label, .fee-card-accent p, .fee-card-accent .fee-from { color: rgba(255, 255, 255, .8); }
.fee-card-accent b { color: #fff; }

/* ---------- Fee table + calculator ---------- */
.fee-body { display: grid; grid-template-columns: 1.25fr .95fr; gap: 26px; align-items: start; }
.fee-table-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 8px 8px 20px; overflow: hidden;
}
.fee-table { width: 100%; border-collapse: collapse; font-size: 14.6px; }
.fee-table thead th {
  text-align: left; font-size: 12.5px; letter-spacing: .04em; color: var(--muted);
  padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 700;
}
.fee-table tbody th {
  text-align: left; font-weight: 600; color: var(--ink-2);
  padding: 15px 18px; border-bottom: 1px solid var(--soft);
}
.fee-table tbody tr:last-child th, .fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-value { font-weight: 800; color: var(--brand-700); padding: 15px 18px; white-space: nowrap; }
.fee-note { color: var(--muted); font-size: 13.2px; padding: 15px 18px; }
.fee-foot { margin-top: 14px; padding: 0 18px; font-size: 12.6px; color: var(--muted); line-height: 1.7; }

.calc {
  background: #fff; border: 1px solid var(--brand-100); border-radius: var(--r-lg);
  padding: 30px 26px; box-shadow: var(--shadow-md); position: sticky; top: calc(var(--header-h) + 20px);
}
.calc h3 { font-size: 18px; display: flex; align-items: center; gap: 9px; }
.calc h3 i { color: var(--brand-600); }
.calc-desc { margin-top: 9px; font-size: 13.6px; color: var(--muted); }
.calc-label { display: block; margin-top: 22px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.calc-input-row {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px;
  transition: border-color .18s, box-shadow .18s;
}
.calc-input-row:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(18, 179, 174, .12); }
.calc-input-row input {
  flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 19px;
  font-weight: 800; letter-spacing: -.02em; color: var(--ink); background: transparent;
}
.calc-input-row span { font-size: 14px; color: var(--muted); font-weight: 600; }
.calc-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.chip {
  padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: #fff;
  font-size: 12.6px; font-weight: 600; color: var(--ink-2); cursor: pointer;
  transition: background .16s, border-color .16s, color .16s;
}
.chip:hover { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }

.calc-result { margin: 22px 0 0; padding-top: 18px; border-top: 1px dashed var(--line); }
.calc-result > div { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; gap: 12px; }
.calc-result dt { font-size: 13.6px; color: var(--muted); }
.calc-result dd { margin: 0; font-weight: 700; font-size: 15px; white-space: nowrap; }
.calc-total { margin-top: 8px; padding-top: 14px !important; border-top: 1px solid var(--line); }
.calc-total dt { font-size: 14.5px !important; color: var(--ink) !important; font-weight: 700; }
.calc-total dd { font-size: 23px !important; color: var(--brand-700) !important; letter-spacing: -.03em; }
.calc-note { margin-top: 16px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.calc .btn { margin-top: 18px; }

/* ---------- Use cases ---------- */
.usecase {
  display: flex; gap: 20px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px; transition: transform .2s, box-shadow .2s;
}
.usecase:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.usecase .icon-badge { flex-shrink: 0; }
.usecase h3 { font-size: 18px; }
.usecase p { margin-top: 8px; font-size: 14.2px; color: var(--muted); }
.usecase-points { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; }
.usecase-points li { display: flex; align-items: center; gap: 6px; font-size: 12.8px; font-weight: 600; color: var(--brand-700); }
.usecase-points i { font-size: 10px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: border-color .18s, box-shadow .18s;
}
.faq-item[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { display: flex; align-items: center; gap: 11px; }
.faq-mark {
  width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-700); font-size: 12.5px; font-weight: 800; flex-shrink: 0;
}
.faq-item summary > i { color: var(--muted); font-size: 12px; transition: transform .2s; flex-shrink: 0; }
.faq-item[open] summary > i { transform: rotate(180deg); color: var(--brand-600); }
.faq-a { padding: 0 22px 22px 57px; font-size: 14.4px; color: var(--muted); line-height: 1.8; }
.cta-fine { margin-top: 22px; font-size: 13px; color: var(--muted); }
.cta-fine a { color: var(--brand-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Sub page ---------- */
.page-hero {
  background:
    radial-gradient(700px 320px at 8% -30%, #e9fbfa 0%, rgba(233, 251, 250, 0) 66%),
    linear-gradient(180deg, #fbfefe, #fff);
  padding: 62px 0 46px; border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.035em; margin-top: 14px; }
.page-hero p { margin-top: 14px; color: var(--muted); max-width: 660px; font-size: 15.6px; }
.breadcrumb { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--brand-700); }

.faq-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.faq-filter button {
  padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff;
  font-size: 13.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: .16s;
}
.faq-filter button:hover { border-color: var(--brand-100); background: var(--brand-50); }
.faq-filter button.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* notice */
.notice-list { display: grid; gap: 10px; }
.notice-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.notice-item summary {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px;
  cursor: pointer; list-style: none;
}
.notice-item summary::-webkit-details-marker { display: none; }
.notice-pin {
  font-size: 11px; font-weight: 800; color: var(--brand-700); background: var(--brand-50);
  padding: 3px 9px; border-radius: 6px; flex-shrink: 0;
}
.notice-title { font-weight: 700; font-size: 15.4px; flex: 1; }
.notice-date { font-size: 13px; color: var(--muted); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.notice-item summary > i { color: var(--muted); font-size: 12px; transition: transform .2s; }
.notice-item[open] summary > i { transform: rotate(180deg); }
.notice-body { padding: 0 22px 22px; font-size: 14.4px; color: var(--muted); line-height: 1.85; }

/* inquiry form */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 32px; max-width: 620px; margin: 0 auto; box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--ink-2); }
.field .req { color: #e0533f; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff; outline: 0;
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 4px rgba(18, 179, 174, .12);
}
.field textarea { resize: vertical; min-height: 100px; }
.field-hint { font-size: 12.4px; color: var(--muted); margin-top: 6px; }
.form-note { font-size: 12.4px; color: var(--muted); line-height: 1.75; margin-top: 4px; }
.form-msg {
  display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
}
.form-msg.is-ok { display: block; background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.form-msg.is-err { display: block; background: #fff3f1; color: #c0392b; border: 1px solid #ffdcd5; }

/* pricing page extras */
.price-hero-note {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  background: #fff; border: 1px solid var(--brand-100); border-radius: 99px;
  padding: 9px 16px; font-size: 13px; font-weight: 700; color: var(--brand-700);
}
.fee-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.fee-detail-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px;
}
.fee-detail-card h3 { font-size: 17.5px; display: flex; align-items: center; gap: 9px; }
.fee-detail-card h3 i { color: var(--brand-600); }
.fee-detail-card ul { margin-top: 16px; display: grid; gap: 11px; }
.fee-detail-card ul:not(.doc-list) li {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  font-size: 14.2px; padding-bottom: 11px; border-bottom: 1px dashed var(--line);
}
.fee-detail-card ul:not(.doc-list) li:last-child { border-bottom: 0; padding-bottom: 0; }
.fee-detail-card ul:not(.doc-list) li span { color: var(--muted); flex: 1 1 auto; min-width: 0; }
.fee-detail-card ul:not(.doc-list) li b { color: var(--ink); white-space: nowrap; flex-shrink: 0; }
.doc-list { display: grid; gap: 8px; margin-top: 14px; }
.doc-list li {
  display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2);
  border-bottom: 0; padding-bottom: 0; justify-content: flex-start;
}
.doc-list i { color: var(--brand-600); font-size: 12px; margin-top: 6px; flex-shrink: 0; }

@media (max-width: 900px) {
  .fee-body { grid-template-columns: 1fr; }
  .calc { position: static; }
  .fee-grid-2 { grid-template-columns: 1fr; }
  .usecase { flex-direction: column; gap: 14px; }
  .mini-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .fee-table thead { display: none; }
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table th, .fee-table td { display: block; width: 100%; }
  .fee-table tr { padding: 12px 18px; border-bottom: 1px solid var(--soft); }
  .fee-table tbody th { padding: 0 0 4px; border: 0; font-size: 13px; color: var(--muted); }
  .fee-value { padding: 0; font-size: 16px; }
  .fee-note { padding: 2px 0 0; font-size: 12.4px; }
  .fee-card b { font-size: 34px; }
  .usecase { padding: 24px 20px; }
  .faq-item summary { font-size: 14.6px; padding: 17px 18px; }
  .faq-a { padding: 0 18px 18px 18px; }
  .feq-a { padding-left: 18px; }
  .form-card { padding: 26px 20px; }
  .notice-item summary { flex-wrap: wrap; gap: 8px; padding: 16px 18px; }
  .notice-date { margin-left: auto; }
  .notice-body { padding: 0 18px 18px; }
}

/* ---------- Overflow fixes (mobile) ---------- */
.fee-body > * { min-width: 0; }
.fee-table-wrap { overflow-x: auto; overflow-y: hidden; }
.fee-table { min-width: 0; }
.usecase > div { min-width: 0; }
.usecase > div:last-child { flex: 1 1 auto; }
.grid-2 > *, .grid-3 > *, .grid-4 > *, .stat-strip > *, .step-list > * { min-width: 0; }
.mini-banner > div { min-width: 0; }
.calc { min-width: 0; }
.faq-a, .notice-body, .card p, .usecase p { overflow-wrap: anywhere; }
body { overflow-x: hidden; }

@media (max-width: 640px) {
  .fee-table-wrap { padding: 6px 6px 16px; }
  .fee-table { width: 100%; }
  .fee-table tr { padding: 12px 12px; }
  .fee-note { white-space: normal; }
  .calc-result dd { font-size: 14px; }
  .calc-total dd { font-size: 20px !important; }
}
