:root{
  --navy:#0b1f3b;
  --navy2:#0f2a52;
  --orange:#ff7a00;
  --bg:#f6f8fc;
  --text:#0b1220;
  --muted:#5b667a;
  --card:#ffffff;
  --line:rgba(11,31,59,.12);
  --shadow:0 16px 45px rgba(11,31,59,.10);
  --radius:18px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}

img{max-width:100%; height:auto; display:block; border-radius:16px;}
a{color:inherit; text-decoration:none;}
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}

.kr-container{
  width:min(1180px, 92%);
  margin-inline:auto;
}

.kr-hero{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:var(--navy);
}

.kr-hero-bg{
  position:absolute; inset:0;
  z-index:0;
}
.kr-hero-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:0;
  transform:scale(1.02);
}
.kr-hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(11,31,59,.88), rgba(11,31,59,.45));
  z-index:1;
}
.kr-hero-content{
  position:relative;
  z-index:2;
  padding:64px 0;
  color:#fff;
}

.kr-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:16px;
}
.kr-badge{
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.20);
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  backdrop-filter: blur(6px);
}

.kr-hero h1{
  font-size: clamp(28px, 3.2vw, 46px);
  line-height:1.1;
  margin:0 0 14px;
  letter-spacing:-.3px;
}
.kr-lead{
  max-width:880px;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height:1.55;
  color:rgba(255,255,255,.92);
  margin:0 0 22px;
}

.kr-hero-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:26px;
}

.kr-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:700;
  border:1px solid transparent;
  transition:.2s ease;
  cursor:pointer;
  user-select:none;
}

.kr-btn-primary{
  background:var(--orange);
  color:#111;
}
.kr-btn-primary:hover{ transform:translateY(-1px); filter:saturate(1.05); }
.kr-btn-ghost{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.25);
  color:#fff;
}
.kr-btn-ghost:hover{ background:rgba(255,255,255,.18); transform:translateY(-1px); }
.w100{ width:100%; }

.kr-hero-stats{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.kr-stat{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  padding:12px 14px;
  border-radius:16px;
  min-width:160px;
}
.kr-stat-num{ font-size:24px; font-weight:900; }
.kr-stat-text{ font-size:13px; color:rgba(255,255,255,.85); }

.kr-breadcrumb{
  margin-top:18px;
}
.kr-breadcrumb ol{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color:var(--muted);
  font-size:13px;
}
.kr-breadcrumb a{ color:var(--navy2); font-weight:700; }
.kr-breadcrumb .sep{ opacity:.55; }

.kr-quick{
  margin-top:18px;
}
.kr-quick-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.kr-quick-card h2{ margin:0 0 6px; font-size:18px; }
.kr-quick-card p{ margin:0; color:var(--muted); }

.kr-quick-form{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.kr-quick-form input,
.kr-quick-form select{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  outline:none;
  min-width:220px;
  background:#fff;
}
.kr-quick-form input:focus,
.kr-quick-form select:focus{
  border-color:rgba(255,122,0,.55);
  box-shadow:0 0 0 4px rgba(255,122,0,.12);
}

.kr-layout{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap:18px;
  margin-top:18px;
  padding-bottom:44px;
}

.kr-sidebar .kr-sticky{
  position:sticky;
  top:16px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}

.kr-side-head h3{ margin:0 0 6px; }
.kr-side-head p{ margin:0 0 12px; color:var(--muted); font-size:13px; }

.kr-toc{
  list-style:none;
  padding:0;
  margin:0 0 14px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.kr-toc a{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  border:1px solid transparent;
  color:var(--navy2);
  font-weight:800;
  font-size:14px;
  background:rgba(11,31,59,.04);
}
.kr-toc a:hover{
  border-color:rgba(11,31,59,.12);
  background:rgba(11,31,59,.06);
}

.kr-side-cta{
  display:grid;
  gap:10px;
}

.kr-content{
  min-width:0;
}

.kr-section{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
  margin-bottom:16px;
}

.kr-section-head h2{
  margin:0 0 8px;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing:-.2px;
}
.kr-section-head p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.55;
}

.kr-grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:start;
}

.kr-card{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  padding:16px;
}
.kr-wide{ margin-top:14px; }

.kr-card h3{ margin:0 0 10px; font-size:18px; }
.kr-card h4{ margin:0 0 8px; font-size:15px; color:var(--navy2); }
.mt16{ margin-top:16px; }

.kr-list{
  margin:0;
  padding-left:18px;
  color:var(--text);
  line-height:1.6;
}
.kr-check{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:9px;
}
.kr-check li{
  position:relative;
  padding-left:26px;
  line-height:1.5;
}
.kr-check li::before{
  content:"✔";
  position:absolute;
  left:0; top:0;
  color:var(--orange);
  font-weight:900;
}

.kr-callout{
  margin-top:12px;
  border:1px solid rgba(11,31,59,.12);
  background:rgba(11,31,59,.04);
  border-radius:14px;
  padding:12px;
  line-height:1.55;
}
.kr-callout.warn{
  border-color:rgba(255,122,0,.25);
  background:rgba(255,122,0,.08);
}
.kr-callout.success{
  border-color:rgba(0,140,90,.25);
  background:rgba(0,140,90,.08);
}

.kr-media .kr-caption{
  margin-top:10px;
  color:var(--muted);
  font-size:13px;
}

.kr-mini-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top:14px;
}
.kr-mini{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  padding:14px;
}
.kr-mini h4{ margin:0 0 6px; }
.kr-mini p{ margin:0; color:var(--muted); line-height:1.55; }

.kr-quote{
  border-left:5px solid var(--orange);
  background:rgba(255,122,0,.08);
  padding:12px 12px;
  border-radius:14px;
  font-weight:700;
  line-height:1.6;
}

.kr-copy{
  border:1px dashed rgba(11,31,59,.22);
  background:rgba(11,31,59,.03);
  padding:12px;
  border-radius:14px;
  line-height:1.6;
  font-weight:600;
}
.kr-copy-btn{ margin-top:10px; }

.kr-related{ margin-top:14px; }
.kr-related h3{ margin:0 0 10px; font-size:18px; }
.kr-related-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.kr-rel{
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  transition:.2s ease;
}
.kr-rel:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
.kr-rel img{ border-radius:0; height:170px; object-fit:cover; }
.kr-rel span{ display:block; padding:12px; font-weight:900; color:var(--navy2); }

.kr-checklist{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:10px;
}
.kr-checklist label{
  display:flex;
  gap:10px;
  align-items:flex-start;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  background:#fff;
  line-height:1.45;
  color:var(--text);
  font-weight:700;
}
.kr-checklist input{ margin-top:3px; transform:scale(1.1); }

.kr-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

.kr-accordion{
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
}
.kr-acc-btn{
  width:100%;
  text-align:left;
  padding:14px 14px;
  border:0;
  background:#fff;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-weight:900;
  color:var(--navy2);
  cursor:pointer;
}
.kr-acc-ico{
  font-weight:900;
  color:var(--orange);
}
.kr-acc-panel{
  display:none;
  padding:0 14px 14px;
  background:#fff;
  color:var(--muted);
  line-height:1.6;
  border-bottom:1px solid var(--line);
}
.kr-acc-panel.open{ display:block; }

.kr-final{
  padding:14px 0 50px;
}
.kr-final-card{
  background:linear-gradient(180deg, #ffffff, rgba(255,255,255,.92));
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.kr-final-card h2{ margin:0 0 6px; }
.kr-final-card p{ margin:0; color:var(--muted); }
.kr-final-actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* Responsive */
@media (max-width: 980px){
  .kr-layout{ grid-template-columns:1fr; }
  .kr-sidebar .kr-sticky{ position:relative; top:auto; }
  .kr-grid-2{ grid-template-columns:1fr; }
  .kr-mini-grid{ grid-template-columns:1fr; }
  .kr-related-grid{ grid-template-columns:1fr; }
  .kr-checklist{ grid-template-columns:1fr; }
  .kr-stat{ min-width:140px; }
}

@media print{
  .kr-hero, .kr-sidebar, .kr-quick, .kr-final{ display:none !important; }
  .kr-section{ box-shadow:none; }
  body{ background:#fff; }
}
