/* Shared header, navigation, footer and content pages for the 한나래 site. */
:root{--ink:#25344b;--muted:#6f7d90;--faint:#98a0ac;--line:#dce2eb;--paper:#f9f9f6;--card:#fff;--accent:#1959e8;--accent-soft:#eef3ff;--ok:#1f7a4d}
.header{position:relative}
.header .brand{order:0}.header .site-nav{order:1}.header .workspace-link{order:2}.header .nav-toggle{order:4}
.header-download{order:3;display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid var(--line);border-radius:11px;background:var(--card);color:var(--accent);transition:background .15s,border-color .15s,color .15s}
.header-download svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.header-download:hover{background:var(--accent-soft);border-color:#adc2ee;color:#104bcf}
.header-download:focus-visible{outline:3px solid #91afff;outline-offset:4px}
.site-nav{display:flex;align-items:center;gap:4px;margin-left:auto;margin-right:12px}
.site-nav a{font-size:14px;color:#59677b;padding:8px 12px;border-radius:9px}
.site-nav a:hover{color:var(--accent);background:#eef1f6}
.site-nav a[aria-current=page]{color:var(--ink);font-weight:600;background:#eceff3}
.nav-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:10px;width:40px;height:40px;place-items:center;color:var(--ink)}
.nav-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.page{flex:1;width:min(100% - 40px,1040px);margin:0 auto;padding:56px 0 80px}
.page-head{max-width:720px;margin:0 0 48px}
.eyebrow{font-size:13px;font-weight:600;color:var(--accent);margin:0 0 14px}
.page h1{font-size:clamp(32px,4.4vw,46px);letter-spacing:-2px;line-height:1.35}
.lead{font-size:17px;line-height:1.8;color:#59677b;margin:20px 0 0}
.page h2{font-size:24px;letter-spacing:-.6px;margin:64px 0 12px;font-weight:600}
.page h2+p{margin-top:0}
.page p{line-height:1.8;color:#4a586d}
.grid{display:grid;gap:16px}
.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:26px}
.card h3{font-size:17px;margin:0 0 8px;letter-spacing:-.3px}
.card p{font-size:14px;margin:0;color:#59677b}
.card .num{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--accent-soft);color:var(--accent);font-size:13px;font-weight:600;margin-bottom:14px}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:#fff}
table{border-collapse:collapse;width:100%;font-size:14px}
th,td{text-align:left;padding:14px 16px;border-bottom:1px solid #edf0f4;vertical-align:top;line-height:1.6}
th{font-weight:600;color:var(--ink);background:#fafbfc}
tr:last-child td{border-bottom:0}
td code,p code,li code{font-family:D2Coding,Consolas,monospace;font-size:12.5px;background:#f1f3f6;padding:2px 6px;border-radius:6px;color:#3b4a60}
.yes{color:var(--ok);font-weight:600}.no{color:#a0a8b3}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:12px;font-size:15px;font-weight:600;border:1px solid transparent}
.btn.primary{background:var(--accent);color:#fff}.btn.primary:hover{background:#104bcf}
.btn.ghost{border-color:var(--line);background:#fff;color:var(--ink)}.btn.ghost:hover{border-color:#b9c6da}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.badge{display:inline-block;font-size:11.5px;font-weight:600;padding:3px 8px;border-radius:999px;background:#eef1f6;color:#59677b;vertical-align:middle}
.badge.soon{background:#fff4e0;color:#9a6200}.badge.ok{background:#e6f4ec;color:var(--ok)}
.steps{counter-reset:step;list-style:none;padding:0;margin:0;display:grid;gap:16px}
.steps>li{counter-increment:step;background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px 24px 24px 70px;position:relative}
.steps>li::before{content:counter(step);position:absolute;left:24px;top:22px;width:30px;height:30px;border-radius:9px;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:600;font-size:14px}
.steps h3{margin:0 0 6px;font-size:17px}.steps p{margin:0;font-size:14px}
pre{background:#1f2a3b;color:#e6ebf2;border-radius:12px;padding:18px;overflow-x:auto;font-family:D2Coding,Consolas,monospace;font-size:12.5px;line-height:1.6;margin:14px 0 0}
.examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0;list-style:none}
.examples li{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;font-size:14px;line-height:1.6;color:#3b4a60}
.plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.plan{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px 22px;display:flex;flex-direction:column}
.plan.featured{border:2px solid var(--accent);box-shadow:0 12px 40px #1959e814}
.plan h3{margin:0;font-size:18px}
.plan .who{font-size:13px;color:var(--muted);margin:6px 0 18px;min-height:40px;line-height:1.55}
.price{font-size:30px;font-weight:600;letter-spacing:-1px;color:var(--ink)}
.price small{font-size:14px;font-weight:400;color:var(--muted);letter-spacing:0}
.annual{font-size:13px;color:var(--muted);margin:4px 0 18px;min-height:20px}
.plan ul{list-style:none;padding:0;margin:0 0 22px;display:grid;gap:9px;font-size:14px;color:#3b4a60;line-height:1.55}
.plan li::before{content:'✓';color:var(--accent);font-weight:600;margin-right:8px}
.plan .btn{margin-top:auto;justify-content:center}
.note{font-size:13px;color:var(--muted);line-height:1.8;margin-top:18px}
.faq details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin-bottom:10px}
.faq summary{cursor:pointer;font-weight:600;font-size:15px}
.faq details p{margin:10px 0 0;font-size:14px}
.home-points{width:min(100% - 40px,1040px);margin:0 auto 72px}
.home-points .grid{margin-top:8px}
.byo-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px 28px;margin-top:16px}
.byo-banner strong{font-size:16px}.byo-banner p{margin:6px 0 0;font-size:14px;color:#59677b}
.home-features{width:min(100% - 40px,1040px);margin:24px auto 72px}
.home-intro{max-width:760px;margin:0 0 32px}
.section-title{font-family:PaperSerif,serif;font-weight:400;font-size:clamp(28px,3.8vw,40px);letter-spacing:-1.5px;line-height:1.4;margin:0}
.home-features h2:not(.section-title){font-size:22px;letter-spacing:-.5px;margin:56px 0 10px;font-weight:600}
.home-features p{line-height:1.8;color:#4a586d}
.home-features .byo-banner{margin-top:48px}
.easy-steps{list-style:none;padding:0;margin:0;display:grid;gap:18px}
.easy-steps>li{display:grid;grid-template-columns:56px 1fr;gap:20px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px}
.easy-num{width:56px;height:56px;border-radius:16px;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:26px;font-weight:600}
.easy-steps h3{font-size:21px;margin:4px 0 10px;letter-spacing:-.4px}
.easy-steps p{font-size:16.5px;line-height:1.85;margin:0 0 8px;color:#3b4a60}
.easy-steps b{color:var(--ink);background:#eef3ff;padding:1px 6px;border-radius:6px;font-weight:600}
.easy-steps h3 b{background:none;padding:0;color:var(--accent)}
.tip{background:#fff8e8;border-radius:12px;padding:12px 14px;font-size:15px!important}
.say{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:8px}
.say li{background:#f4f6f9;border-radius:12px;padding:12px 16px;font-size:16px;color:#25344b}
.it-setup{margin-top:56px;background:#fff;border:1px dashed #c9d2df;border-radius:14px;padding:16px 18px}
.it-setup summary{cursor:pointer;font-weight:600;font-size:14px;color:#59677b}
.it-setup p{font-size:14px}
.site-footer{display:block;width:100%;max-width:1440px;margin:auto;padding:28px 48px;color:#8a93a0;font-size:12px;border-top:1px solid #eceff3}
.site-footer .top{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:12px}
.site-footer nav{display:flex;gap:18px;flex-wrap:wrap}
.site-footer a:hover{color:#59677b}
.site-footer .seller{line-height:1.9}
@media(max-width:900px){.plans{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .header{gap:12px}.header-download{order:1;margin-left:auto}.header .nav-toggle{order:2;margin-left:0}
  .nav-toggle{display:grid}
  .site-nav{display:none;position:absolute;top:100%;left:16px;right:16px;margin:0;flex-direction:column;align-items:stretch;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px;box-shadow:0 12px 30px #25344b1a;z-index:5}
  .header.open .site-nav{display:flex}
  .site-nav a{padding:12px 14px}
  .header .workspace-link{display:none}
  .page{padding:32px 0 56px}.page-head{margin-bottom:32px}.lead{font-size:15px}
  .grid.two,.grid.three,.plans,.examples{grid-template-columns:1fr}
  .byo-banner{flex-direction:column;align-items:flex-start}
  .steps>li{padding:20px 18px 20px 60px}.steps>li::before{left:18px}
  .site-footer{padding:22px 20px}
  .easy-steps>li{grid-template-columns:1fr;gap:14px;padding:22px}
  .easy-num{width:44px;height:44px;font-size:21px;border-radius:12px}
  .easy-steps h3{font-size:19px}
}
