/* ─── SHARED STYLES — lokminik sub-pages ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --p: #d7692a;
  --p2: #e8895a;
  --p-light: rgba(215,105,42,.08);
  --p-border: rgba(215,105,42,.18);
  --dark: #0f1419;
  --text: #10283a;
  --text2: #607385;
  --text3: #8ea0b2;
  --border: rgba(0,0,0,.07);
  --bg: #f0f4f7;
  --bg2: #e8eef3;
  --card: #ffffff;
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

a { color: var(--p); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── NAV ─── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(240,244,247,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
  display: flex; align-items: center; gap: 9px; text-decoration: none;
}
.nav-logo-mark {
  width: 30px; height: 30px; object-fit: contain; flex-shrink: 0;
  border-radius: 8px;
}
.nav-name { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: -.4px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text2);
  padding: 6px 12px; border-radius: 8px; text-decoration: none; transition: all .15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg2); }
.nav-dl {
  background: var(--dark); color: #fff !important;
  padding: 7px 16px; border-radius: 10px; font-weight: 600 !important;
  box-shadow: 0 3px 10px rgba(12,12,20,.18); font-size: 13px;
  transition: all .2s;
}
.nav-dl:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(12,12,20,.25) !important; }

/* ─── PAGE HERO ─── */
.page-hero {
  background: var(--dark); padding: 56px 40px 60px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(215,105,42,.1) 0%, transparent 60%);
}
.page-hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.page-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.65); font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 18px;
  letter-spacing: .8px; text-transform: uppercase;
}
.page-badge-dot { width: 5px; height: 5px; background: var(--p); border-radius: 50%; }
.page-title {
  font-size: clamp(26px, 4vw, 38px); font-weight: 900;
  color: #fff; letter-spacing: -1.2px; line-height: 1.1; margin-bottom: 10px;
}
.page-sub {
  font-size: 15px; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 520px;
}
.page-meta-row {
  margin-top: 16px; display: flex; align-items: center; gap: 16px;
  font-size: 12px; color: rgba(255,255,255,.3); flex-wrap: wrap;
}
.page-meta-row span { display: flex; align-items: center; gap: 5px; }

/* ─── LAYOUT ─── */
.page-layout {
  max-width: 1060px; margin: 0 auto;
  padding: 48px 40px 80px;
  display: grid; grid-template-columns: 220px 1fr; gap: 48px;
  align-items: start;
}
.page-layout.full { grid-template-columns: 1fr; max-width: 760px; }

/* ─── TABLE OF CONTENTS ─── */
.toc {
  position: sticky; top: 76px;
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 20px 0; overflow: hidden;
}
.toc-title {
  font-size: 10px; font-weight: 700; color: var(--text3);
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0 20px 12px; border-bottom: 1px solid var(--border); margin-bottom: 8px;
}
.toc a {
  display: block; font-size: 13px; color: var(--text2); font-weight: 500;
  padding: 7px 20px; text-decoration: none; transition: all .15s;
  border-left: 2px solid transparent; line-height: 1.4;
}
.toc a:hover { color: var(--p); background: var(--p-light); border-left-color: var(--p); }
.toc a.active { color: var(--p); background: var(--p-light); border-left-color: var(--p); font-weight: 600; }

/* ─── CONTENT ─── */
.content section {
  margin-bottom: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.content section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.content h2 {
  font-size: 20px; font-weight: 800; color: var(--text);
  letter-spacing: -.5px; margin-bottom: 14px; line-height: 1.3;
}
.content h3 {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin: 20px 0 8px; letter-spacing: -.2px;
}
.content p { color: var(--text2); margin-bottom: 12px; line-height: 1.75; font-size: 14px; }
.content p:last-child { margin-bottom: 0; }

.content ul, .content ol {
  padding-left: 0; list-style: none; margin-bottom: 14px;
}
.content ul li, .content ol li {
  color: var(--text2); padding: 5px 0 5px 22px;
  position: relative; font-size: 14px; line-height: 1.65;
}
.content ul li::before {
  content: ''; position: absolute; left: 6px; top: 14px;
  width: 5px; height: 5px; background: var(--p); border-radius: 50%;
}
.content ol { counter-reset: list; }
.content ol li { counter-increment: list; }
.content ol li::before {
  content: counter(list); position: absolute; left: 0;
  font-size: 12px; font-weight: 700; color: var(--p);
  width: 18px; height: 18px; background: var(--p-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  top: 7px; text-align: center; line-height: 18px;
}

.content strong { color: var(--text); font-weight: 600; }

/* info box */
.info-box {
  background: var(--p-light); border: 1.5px solid var(--p-border);
  border-radius: 14px; padding: 16px 20px; margin: 16px 0;
  display: flex; gap: 12px; align-items: flex-start;
}
.info-box-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.info-box p { margin: 0; font-size: 13px; color: var(--text2); }
.info-box strong { color: var(--text); }

.warn-box {
  background: rgba(239,68,68,.06); border: 1.5px solid rgba(239,68,68,.18);
  border-radius: 14px; padding: 16px 20px; margin: 16px 0;
  display: flex; gap: 12px; align-items: flex-start;
}
.warn-box p { margin: 0; font-size: 13px; color: #7f1d1d; }

/* ─── CONTACT BOX ─── */
.contact-box {
  background: var(--dark); border-radius: 20px; padding: 28px 32px;
  display: flex; align-items: center; gap: 20px;
  margin-top: 12px;
}
.contact-icon { font-size: 32px; flex-shrink: 0; }
.contact-text {}
.contact-label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.3); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.contact-email { font-size: 17px; font-weight: 700; color: #fff; text-decoration: none; }
.contact-email:hover { text-decoration: underline; }
.contact-note { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 3px; }

/* ─── FOOTER ─── */
.site-footer {
  background: #07070f; padding: 28px 40px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.site-footer-inner {
  max-width: 1060px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.3); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.7); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.2); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; padding: 32px 24px 60px; }
  .toc { display: none; }
  .site-nav { padding: 0 20px; }
  .nav-links .hide-sm { display: none; }
  .page-hero { padding: 40px 24px 48px; }
}
@media (max-width: 600px) {
  .site-footer { padding: 24px 20px; }
  .site-footer-inner { flex-direction: column; align-items: flex-start; }
  .contact-box { flex-direction: column; gap: 12px; }
}
