:root{
  --bg:#f7f9fc;
  --surface:#ffffff;
  --surface-alt:#eff3f9;
  --border:#e1e7f0;
  --ink:#0f1e3d;
  --ink-muted:#5c6b85;
  --ink-dim:#616e89;
  --accent:#0ca8be;
  --accent-deep:#076b7d;
  --accent-soft:#e1f7fa;
  --shadow-sm:0 1px 2px rgba(16,24,64,.05);
  --shadow-md:0 10px 30px -8px rgba(16,30,64,.14);
  --shadow-lg:0 24px 60px -16px rgba(16,30,64,.22);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;background:var(--bg);color:var(--ink-muted);
  font-family:'IBM Plex Sans',-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  line-height:1.65;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;}
::selection{background:var(--accent);color:#fff;}
.mono{font-family:'IBM Plex Mono',ui-monospace,"SF Mono","Cascadia Code","Roboto Mono",Menlo,Consolas,monospace;font-variant-numeric:tabular-nums;}
h1,h2,h3{color:var(--ink);margin:0;text-wrap:balance;font-weight:700;letter-spacing:-.015em;}
p{margin:0;}
:focus-visible{outline:2px solid var(--accent-deep);outline-offset:3px;border-radius:4px;}
@media (prefers-reduced-motion: reduce){ *{animation-duration:.01ms !important;transition-duration:.01ms !important;} html{scroll-behavior:auto;} }

.container{max-width:1160px;margin:0 auto;padding:0 2rem;}
section{padding:6rem 0;}

.btn{
  display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 1.6rem;
  font-size:.94rem;font-weight:600;border-radius:10px;transition:all .2s;cursor:pointer;line-height:inherit;
}
.btn-solid{background:var(--ink);color:#fff;box-shadow:var(--shadow-sm);}
.btn-solid:hover{background:var(--accent-deep);transform:translateY(-1px);box-shadow:var(--shadow-md);}
.btn-ghost{background:var(--surface);color:var(--ink);border:1px solid var(--border);}
.btn-ghost:hover{border-color:var(--ink);}

/* ================= NAV ================= */
.navbar{position:sticky;top:0;z-index:100;background:rgba(247,249,252,.85);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);}
.navbar .container{display:flex;align-items:center;justify-content:space-between;padding:.9rem 2rem;}
.brand{display:flex;align-items:center;gap:.7rem;}
.brand-mark{width:auto;height:61px;object-fit:contain;}
.brand-name{font-weight:800;font-size:1.7rem;letter-spacing:-.01em;}
.brand-name .brand-nexus{color:var(--ink);}
.brand-name .brand-core{color:var(--accent);}
.nav-links{list-style:none;display:flex;gap:2.2rem;align-items:center;margin:0;padding:0;}
.nav-links a:not(.btn){font-size:.9rem;color:var(--ink-muted);font-weight:500;transition:color .2s;}
.nav-links a:not(.btn):hover{color:var(--ink);}
.hamburger{display:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;background:none;border:0;cursor:pointer;padding:0;}
.hamburger span{width:20px;height:2px;background:var(--ink);border-radius:2px;transition:transform .25s,opacity .25s;}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hamburger.open span:nth-child(2){opacity:0;}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* ================= BREADCRUMB ================= */
.breadcrumb{padding:1.2rem 2rem 0;font-size:.85rem;color:var(--ink-dim);}
.breadcrumb a{color:var(--ink-dim);}
.breadcrumb a:hover{color:var(--accent-deep);}
.breadcrumb span{margin:0 .4rem;}
.breadcrumb .current{color:var(--ink-muted);}

.footer{border-top:1px solid var(--border);padding:3.2rem 0 1.8rem;}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-bottom:2.2rem;}
.footer h4{color:var(--ink);font-size:.85rem;margin-bottom:.9rem;}
.footer p,.footer a{color:var(--ink-dim);font-size:.87rem;margin-bottom:.4rem;}
.footer a:hover{color:var(--accent-deep);}
.footer-bottom{border-top:1px solid var(--border);padding-top:1.6rem;font-size:.8rem;color:var(--ink-dim);display:flex;justify-content:space-between;flex-wrap:wrap;gap:.6rem;}

@media (max-width:860px){
  .nav-links{display:none;}
  .hamburger{display:flex;}
  section{padding:4rem 0;}
  .nav-links.mobile-open{
    display:flex;flex-direction:column;position:absolute;top:60px;left:0;right:0;
    background:var(--surface);border-bottom:1px solid var(--border);
    padding:1.4rem 2rem;gap:1.2rem;box-shadow:var(--shadow-lg);
  }
}

.skip-link{
  position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;
  padding:.75rem 1.25rem;font-weight:700;z-index:1000;border-radius:0 0 8px 0;
}
.skip-link:focus{left:0;}

.svc-cta{font-size:.87rem;color:var(--accent-deep);font-weight:600;}
.svc-cta:hover{color:var(--ink);}

/* ================= GUIDE / ARTICLE ================= */
.guide-hero{padding:3rem 0 2.5rem;}
.guide-hero .section-head{max-width:760px;margin:0 auto;text-align:center;}
.guide-hero .guide-dek{margin-left:auto;margin-right:auto;}
.guide-category{
  display:inline-flex;align-items:center;gap:.6rem;font-family:'IBM Plex Mono',monospace;
  font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--accent-deep);
  background:var(--accent-soft);padding:.35rem .75rem;border-radius:6px;margin-bottom:1.2rem;
}
h1.guide-title{font-size:clamp(1.9rem,4vw,2.7rem);font-weight:800;letter-spacing:-.02em;line-height:1.15;margin-bottom:1rem;}
.guide-dek{font-size:1.05rem;color:var(--ink-muted);max-width:62ch;line-height:1.7;}
.guide-meta{font-size:.85rem;color:var(--ink-dim);margin-top:.9rem;}
.guide-meta strong{color:var(--ink-muted);font-weight:600;}

.guide-body{padding-top:0;padding-bottom:3rem;}
.guide-article{max-width:680px;margin:0 auto;}
.guide-article h2{font-size:1.35rem;margin:2.6rem 0 .9rem;}
.guide-article h2:first-child{margin-top:0;}
.guide-article p{font-size:1rem;line-height:1.8;color:var(--ink-muted);margin-bottom:1.2rem;}
.guide-article ul{margin:0 0 1.2rem;padding-left:1.3rem;}
.guide-article li{font-size:1rem;line-height:1.8;color:var(--ink-muted);margin-bottom:.4rem;}
.guide-article strong{color:var(--ink);}

.guide-callout{
  background:var(--surface-alt);border:1px solid var(--border);border-radius:14px;
  padding:1.4rem 1.6rem;margin:1.6rem 0;font-size:.94rem;color:var(--ink-muted);line-height:1.7;
}
.guide-callout strong{color:var(--ink);}

.guide-steps{display:flex;flex-direction:column;gap:1.1rem;margin:1.6rem 0 2rem;}
.guide-step{display:flex;gap:1rem;}
.guide-step-num{
  width:2rem;height:2rem;border-radius:50%;background:var(--accent-soft);color:var(--accent-deep);
  font-family:'IBM Plex Mono',monospace;font-weight:700;font-size:.85rem;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.guide-step-body h3{font-size:.98rem;color:var(--ink);margin-bottom:.25rem;}
.guide-step-body p{font-size:.92rem;margin-bottom:0;}

.guide-cta{
  background:var(--ink);color:#fff;border-radius:18px;padding:2.2rem 2.4rem;
  margin:2.4rem 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.4rem;
}
.guide-cta-text h3{color:#fff;font-size:1.15rem;margin-bottom:.4rem;}
.guide-cta-text p{color:#c3cbdb;font-size:.9rem;margin:0;max-width:42ch;}
.guide-cta-actions{display:flex;gap:.8rem;flex-wrap:wrap;}
.guide-cta .btn-solid{background:var(--accent);color:var(--ink);}
.guide-cta .btn-solid:hover{background:var(--accent-deep);color:#fff;}
.guide-cta .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.3);}
.guide-cta .btn-ghost:hover{border-color:#fff;}

.guide-table-wrap{overflow-x:auto;margin:1.6rem 0 2rem;border:1px solid var(--border);border-radius:14px;}
.guide-table{width:100%;border-collapse:collapse;font-size:.92rem;}
.guide-table th,.guide-table td{padding:.85rem 1.1rem;text-align:left;white-space:nowrap;}
.guide-table thead th{background:var(--accent-soft);color:var(--accent-deep);font-weight:700;font-size:.78rem;text-transform:uppercase;letter-spacing:.03em;}
.guide-table tbody tr{border-top:1px solid var(--border);}
.guide-table tbody td:first-child{font-weight:600;color:var(--ink);}
.guide-table tbody td{color:var(--ink-muted);}

.guide-related{padding:3rem 0 4.5rem;border-top:1px solid var(--border);}
.guide-related h2{font-size:1.1rem;margin-bottom:1.2rem;}
.guide-related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1rem;}
.guide-related-card{
  background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.2rem 1.3rem;
  font-size:.9rem;font-weight:600;color:var(--ink);transition:border-color .15s,transform .15s;
}
.guide-related-card:hover{border-color:var(--accent-deep);transform:translateY(-2px);}

/* ================= GUIDES INDEX (hub) ================= */
.guides-index-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.4rem;}
.guides-index-card{
  background:var(--surface);border:1px solid var(--border);border-radius:16px;
  padding:1.6rem 1.7rem;box-shadow:var(--shadow-sm);transition:transform .15s,box-shadow .15s;
}
.guides-index-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);}
.guides-index-card .guide-category{margin-bottom:1rem;}
.guides-index-card h3{font-size:1.05rem;line-height:1.4;margin-bottom:.6rem;}
.guides-index-card p{font-size:.87rem;color:var(--ink-muted);line-height:1.6;margin-bottom:1rem;}
.guides-index-card .svc-cta{font-size:.85rem;}

@media (max-width:600px){
  .guide-cta{flex-direction:column;align-items:flex-start;}
}
