@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,560;9..144,640&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap");

:root {
  --forest: #0c2f28;
  --teal: #155e4e;
  --teal-2: #1c7562;
  --gold: #b8923e;
  --gold-soft: #e7d7ae;
  --cream: #f3efe6;
  --ivory: #fbf8f2;
  --card: #fffdf8;
  --ink: #1a211e;
  --muted: #5c675f;
  --line: #ddd4c4;
  --shadow: 0 18px 40px rgba(12, 47, 40, 0.06);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
  --nav: 76px;
  --customer: #1d4e89;
  --remote: #155e4e;
  --joint: #8a5a12;
  --required: #7a3030;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: clip;
}
img { max-width: 100%; }
a { color: var(--teal); overflow-wrap: anywhere; }
h1, h2, h3, p, li { overflow-wrap: break-word; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.skip {
  position: absolute; left: 12px; top: -40px; background: #fff; color: var(--forest);
  padding: 8px 12px; z-index: 80;
}
.skip:focus { top: 12px; }

.nav {
  position: sticky; top: 0; z-index: 40; height: var(--nav);
  display: flex; align-items: center;
  background: rgba(251, 248, 242, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  height: 64px;
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(12, 47, 40, 0.06);
}
.nav-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto; display: flex; align-items: center; gap: 18px;
}
.logo {
  display: inline-flex; align-items: center; text-decoration: none; line-height: 0;
}
.logo img { height: 42px; width: auto; display: block; }
.nav.scrolled .logo img { height: 32px; }
.hero-logo { display: none; height: 48px; width: auto; margin: 0 0 14px; }
body.print .hero-logo { display: block; }
.nav-links { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--teal); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang a {
  text-decoration: none; color: var(--muted); font-size: 0.82rem; font-weight: 700; padding: 6px 10px;
}
.lang a.on { background: var(--forest); color: #f6f3ea; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border-radius: 12px; padding: 12px 16px;
  font-weight: 700; border: 1px solid transparent; cursor: pointer; font: inherit;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-2); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--line); }
.nav .btn { padding: 9px 14px; font-size: 0.92rem; }
.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 0;
}
.menu-btn span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--forest); }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
section[id] { scroll-margin-top: 88px; }
.eyebrow {
  margin: 0 0 8px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #6d5420;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.02em; color: var(--forest); }
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.08; margin: 0 0 14px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin: 0 0 12px; }
h3 { font-size: 1.35rem; line-height: 1.25; margin: 0 0 8px; }
h4 { margin: 18px 0 6px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.hero {
  padding: 36px 0 28px;
  background:
    radial-gradient(800px 320px at 100% -20%, rgba(184, 146, 62, 0.18), transparent 60%),
    var(--cream);
}
.lead { font-size: 1.12rem; max-width: 44rem; margin: 0 0 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.notice {
  margin-top: 18px; background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--gold); border-radius: 14px; padding: 16px 18px;
  box-shadow: var(--shadow);
}
.notice strong { display: block; margin-bottom: 6px; color: var(--forest); }
.banner {
  margin: 22px 0; padding: 16px 18px; border-radius: 14px;
  background: #fff6e8; border: 1px solid #e4c98a; color: #3f3014;
}
.banner strong { display: block; margin-bottom: 6px; }
.security {
  margin: 0 0 8px; padding: 16px 18px; border-radius: 14px;
  background: var(--forest); color: #f6f3ea;
}
.security strong { display: block; margin-bottom: 6px; }
.security a { color: var(--gold-soft); }

.section { padding: 64px 0; }
.section.alt { background: var(--cream); }
.time-line { color: var(--muted); margin-top: 0; }

.prep { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px; box-shadow: var(--shadow);
}
.card ul, .step ol, .plain ul { margin: 8px 0 0; padding-left: 1.15rem; }
.card li, .step li, .plain li { margin: 6px 0; }

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.path-card h3 { font-family: var(--sans); font-size: 1.2rem; }
.path-card .btn { margin-top: 12px; }

.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.role {
  display: flex; flex-direction: column; gap: 4px;
  border-radius: 14px; padding: 12px 14px; border: 1px solid var(--line); background: #fff;
  font-weight: 700; letter-spacing: 0.04em;
}
.role small { font-weight: 400; letter-spacing: 0; color: var(--ink); line-height: 1.45; }
.role-customer { border-left: 6px solid var(--customer); color: var(--customer); }
.role-nasky { border-left: 6px solid var(--remote); color: var(--remote); }
.role-both { border-left: 6px solid var(--joint); color: var(--joint); }
.role-required { border-left: 6px solid var(--required); color: var(--required); }
.step .role { margin: 10px 0; letter-spacing: 0.06em; font-size: 0.84rem; }
.step .role small { display: block; margin-top: 4px; font-size: 1rem; letter-spacing: 0; }

.toc { columns: 2; margin: 8px 0 0; padding-left: 1.1rem; }
.toc a { text-decoration: none; }
.toc li { margin: 4px 0; break-inside: avoid; }

.step {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 20px 16px; margin: 14px 0; box-shadow: var(--shadow);
}
.step-no { margin: 0; color: var(--gold); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.shot {
  margin: 12px 0; border: 1px dashed #c4b89f; border-radius: 14px; background: #f7f3ea; overflow: hidden;
}
.shot-frame { padding: 22px 16px; text-align: center; color: var(--forest); }
.shot-frame p { margin: 4px 0; }
.shot-kicker { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #6d5420; font-weight: 700; }
.shot figcaption { margin: 0; padding: 8px 14px 12px; color: var(--muted); font-size: 0.92rem; }
.id-box {
  font-family: ui-monospace, Consolas, monospace; background: var(--cream);
  border-radius: 10px; padding: 10px 12px; word-break: break-all;
}

.check-group { margin: 16px 0; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--teal); }
.ready {
  margin-top: 18px; background: var(--forest); color: #f6f3ea; border-radius: 18px; padding: 28px 22px; text-align: center;
}
.ready h2 { color: #fff; margin: 0; }
.ready p { margin: 8px 0 0; color: var(--gold-soft); letter-spacing: 0.08em; font-weight: 700; }

details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 10px 0;
}
summary { cursor: pointer; font-weight: 700; color: var(--forest); }
summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
details p { margin: 8px 0 0; }

.sources { font-size: 0.95rem; color: var(--muted); }
.sources ul { padding-left: 1.1rem; }
.foot {
  padding: 28px 0 80px; color: var(--muted); font-size: 0.95rem;
}
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 248, 242, 0.96); border-top: 1px solid var(--line);
}
.mobile-cta .btn { width: 100%; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; margin-left: auto; }
  #site-nav { display: none; }
  .nav.open #site-nav { display: block; width: 100%; }
  .nav-links, .nav-end .btn, .lang { display: none; }
  .nav.open { height: auto; align-items: flex-start; padding: 10px 0 14px; }
  .nav.open .nav-inner { flex-wrap: wrap; }
  .nav.open .nav-links, .nav.open .lang, .nav.open .nav-end .btn { display: flex; }
  .nav.open .nav-links {
    order: 3; flex-direction: column; width: 100%; margin: 8px 0 0; gap: 10px;
  }
  .prep, .paths, .roles { grid-template-columns: 1fr; }
  .toc { columns: 1; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }
  h1 { font-size: 1.75rem; }
  .wrap, .nav-inner { width: min(var(--max), calc(100% - 48px)); }
}

@media print {
  .nav, .skip, .mobile-cta, .no-print, .actions { display: none !important; }
  .hero-logo { display: block; height: 14mm; }
  body { background: #fff; font-size: 11pt; padding: 0; }
  .section { padding: 12px 0; }
  .step, .card, details, .notice, .banner { break-inside: avoid; box-shadow: none; }
  a { color: inherit; text-decoration: none; }
  .hero { background: #fff; padding-top: 0; }
}

@page {
  size: A4;
  margin: 16mm 14mm 18mm;
  @top-left { content: "NASKY  ·  META Setup"; font-size: 9pt; color: #5c675f; }
  @bottom-right { content: counter(page); font-size: 9pt; color: #5c675f; }
}
