/* SharePoint Migrator – website. Design system: Enterprise Gateway / Feature-Rich Showcase,
   Plus Jakarta Sans, navy + slate + professional blue (ui-ux-pro-max). */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0F172A;
  --slate: #334155;
  --muted: #475569;
  --faint: #64748B;
  --cta: #0369A1;
  --cta-hover: #075985;
  --cta-soft: #E0F2FE;
  --accent: #5B5FC7; /* product logo colour */
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --ok: #047857;
  --ok-soft: #ECFDF5;
  --warn-soft: #FFFBEB;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .30);
  --max: 1180px;
  --z-nav: 50;
  --z-menu: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font: 17px/1.65 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cta); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cta-hover); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--slate); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cta); margin-bottom: 14px;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 16px; }

:focus-visible { outline: 3px solid #38BDF8; outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 8px 20px -8px rgba(3, 105, 161, .6); }
.btn-primary:hover { background: var(--cta-hover); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--navy); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #1E293B; color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cta-soft); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- navigation (floating) ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: var(--z-nav); pointer-events: none; }
.nav {
  pointer-events: auto; width: min(var(--max), 100% - 28px); margin-inline: auto; display: flex; align-items: center; gap: 18px;
  padding: 10px 12px 10px 18px; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
.brand svg { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--slate); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background-color .2s, color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: #F1F5F9; color: var(--navy); }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 72px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(3, 105, 161, .14), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(91, 95, 199, .10), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 .hl { background: linear-gradient(90deg, var(--cta), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--slate); margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.pill b { background: var(--ok-soft); color: var(--ok); border-radius: 999px; padding: 2px 10px; font-size: .78rem; }
.hero .lead { margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding: 0; list-style: none; color: var(--slate); font-size: .95rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.shot { position: relative; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.shot-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #F8FAFC; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.shot img { width: 100%; aspect-ratio: 1783 / 1080; object-fit: cover; object-position: top left; }
.hero-shot { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); font-size: .9rem; font-weight: 600;
}
.float-card svg { width: 22px; height: 22px; flex: none; }
.float-card small { display: block; color: var(--faint); font-weight: 500; }
.fc-1 { left: -26px; bottom: 34px; }
.fc-1 svg { color: var(--ok); }
.fc-2 { right: -14px; top: 26px; }
.fc-2 svg { color: var(--cta); }

/* ---------- strip ---------- */
.strip { padding: 28px 0; border-block: 1px solid var(--line); background: #fff; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 36px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.strip-inner span { display: inline-flex; align-items: center; gap: 10px; }
.strip-inner svg { width: 20px; height: 20px; color: var(--slate); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
a.card, .card.hover { cursor: pointer; text-decoration: none; color: inherit; }
a.card:hover, .card.hover:hover { box-shadow: var(--shadow); border-color: var(--line-strong); transform: translateY(-3px); }
.card p { color: var(--muted); margin-bottom: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--cta-soft); color: var(--cta);
}
.icon svg { width: 24px; height: 24px; }
.icon.violet { background: #EEF0FF; color: var(--accent); }
.icon.green { background: var(--ok-soft); color: var(--ok); }
.icon.navy { background: #E2E8F0; color: var(--navy); }

/* feature split rows */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.rev .split-text { order: 2; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate); }
.checks svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 2px; }

/* steps */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 26px; }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 28px; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800;
}

/* paths table */
.paths { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.paths th, .paths td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .97rem; }
.paths th { background: #F1F5F9; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.paths tr:last-child td { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.yes svg { width: 18px; height: 18px; }

/* security band */
.band { background: var(--navy); color: #CBD5E1; border-radius: 24px; padding: clamp(36px, 6vw, 72px); position: relative; overflow: hidden; }
.band::after { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(56, 189, 248, .25), transparent); }
.band h2, .band h3 { color: #fff; }
.band .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.band .card p { color: #CBD5E1; }
.band .icon { background: rgba(56, 189, 248, .14); color: #7DD3FC; }

/* pricing */
.price-card { display: flex; flex-direction: column; padding: 32px; position: relative; }
.price-card.featured { border: 2px solid var(--cta); box-shadow: var(--shadow); position: relative; }
.badge { position: absolute; top: -13px; left: 28px; background: var(--cta); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; color: var(--navy); }
.price small { display: block; margin-top: 2px; font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--faint); }
.price-card .checks { margin: 18px 0 26px; flex: 1; align-content: start; }
.price-card .btn { width: 100%; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }

/* CTA */
.cta { text-align: center; background: linear-gradient(135deg, var(--cta) 0%, #1E3A8A 100%); color: #E0F2FE; border-radius: 24px; padding: clamp(40px, 7vw, 80px) 24px; }
.cta h2 { color: #fff; }
.cta p { color: #E0F2FE; max-width: 60ch; margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 28px; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta .btn-ghost:hover { border-color: #fff; color: #fff; }

/* page header (inner pages) */
.page-hero { padding: 150px 0 56px; background: radial-gradient(800px 400px at 90% -20%, rgba(3, 105, 161, .12), transparent 60%), #fff; border-bottom: 1px solid var(--line); }

/* forms */
.form { display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field .opt { color: var(--faint); font-weight: 500; }
.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; font: inherit; font-size: 1rem;
  color: var(--navy); background: #fff; transition: border-color .2s, box-shadow .2s;
}
textarea.input { min-height: 140px; resize: vertical; }
.input:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 4px rgba(3, 105, 161, .15); }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.notice.ok { background: var(--ok-soft); color: var(--ok); border: 1px solid #A7F3D0; }
.notice.err { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.contact-aside .card + .card { margin-top: 16px; }

/* footer */
.footer { padding: 64px 0 36px; background: var(--navy); color: #94A3B8; margin-top: clamp(64px, 9vw, 112px); }
.footer a { color: #CBD5E1; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid #1E293B; margin-top: 44px; padding-top: 22px; font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-shot { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-text { order: 0; }
  .hero-shot { transform: none; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fc-1 { left: 12px; bottom: 12px; }
  .fc-2 { right: 12px; top: 12px; }
}
@media (max-width: 1100px) {
  .nav-links, .nav .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open { flex-wrap: wrap; }
  .nav.open .nav-links { display: flex; flex-direction: column; width: 100%; order: 3; margin: 6px 0 4px; }
  .nav.open .nav-links a { padding: 14px 12px; font-size: 1rem; }
  .nav.open .nav-cta { display: inline-flex; width: 100%; order: 4; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .g2, .g3, .g4, .form .row2, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .float-card { display: none; }
  .paths th:nth-child(3), .paths td:nth-child(3) { display: none; }
  .btn-row .btn { width: 100%; }
}

/* Products page */
.products { align-items: stretch; }
.product-card { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; color: inherit; text-decoration: none; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.product-card:hover { border-color: #7DD3FC; box-shadow: var(--shadow-lg); }
.product-card:focus-visible { outline: 3px solid #38BDF8; outline-offset: 3px; }
.product-card .shot { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.product-body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.product-title { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.product-title .icon { margin: 0; flex: none; }
.product-title h2 { font-size: 1.5rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.product-title p { margin: 2px 0 0; color: var(--muted); }
.product-card .checks { flex: 1; margin: 6px 0 24px; }
.product-card .btn { align-self: flex-start; }
.new { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #5059c9; color: #fff; border-radius: 999px; padding: 3px 10px; }
.trial-links { display: flex; flex-direction: column; gap: 10px; }
.trial-links .btn { font-size: .92rem; padding-left: 12px; padding-right: 12px; white-space: nowrap; }

/* MK Nepal Solutions logo */
.brand .brand-mark { width: auto; height: 32px; display: block; }
.footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; }
.footer-logo img { display: block; width: 190px; height: auto; }

/* Custom products */
.custom-card { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; margin-top: 28px; padding: 28px 30px; text-decoration: none; color: inherit; cursor: pointer; border: 2px dashed #A7F3D0; background: linear-gradient(135deg, #F0FDF4, #fff); transition: border-color .2s, box-shadow .2s; }
.custom-card:hover { border-color: var(--ok); box-shadow: var(--shadow-lg); }
.custom-card:focus-visible { outline: 3px solid #38BDF8; outline-offset: 3px; }
.custom-card .icon { margin: 0; }
.custom-card h2 { font-size: 1.4rem; margin: 0 0 4px; }
.custom-card p { margin: 0; }
.narrow-form { max-width: 860px; }
.form-section { font-size: 1.05rem; margin: 6px 0 -4px; padding-top: 6px; border-top: 1px solid var(--line); }
.form-section:first-of-type { border-top: 0; padding-top: 0; }
.form .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.checkgroup { border: 0; padding: 0; margin: 0; }
.checkgroup legend { font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.checkgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; }
.checkgrid label, .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; font-weight: 500; margin: 0; color: var(--slate); cursor: pointer; }
.checkgrid input, .consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--cta); flex: none; }
.hint { color: var(--muted); font-size: .85rem; margin-top: 6px; }
@media (max-width: 820px) { .custom-card { grid-template-columns: 1fr; } .form .row3, .checkgrid { grid-template-columns: 1fr; } }

/* Pricing: the IT Division Site Template as a wide card under the four columns */
.template-price { margin-top: 24px; display: grid; grid-template-columns: 1.2fr 1.3fr .8fr; gap: 28px; align-items: center; }
.template-price .checks { margin: 0; }
.template-price .tp-actions { display: flex; flex-direction: column; }
@media (max-width: 1000px) { .template-price { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- step-by-step guides (guides.html, guide-*.html) ---------- */
.guide-hero { padding: 132px 0 28px; background: linear-gradient(180deg, #EEF2FF 0%, var(--bg) 100%); }
.guide-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.15; margin: 10px 0 12px; max-width: 30ch; }
.guide-section { padding: 40px 0 64px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--faint); }
.crumbs a { color: var(--cta); text-decoration: none; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; color: var(--muted); font-size: .92rem; align-items: center; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--cta-soft); color: var(--cta-hover); font-size: .78rem; font-weight: 600; margin-right: 6px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; transition: box-shadow .2s, border-color .2s; }
.guide-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.guide-card h3 { margin: 4px 0 0; font-size: 1.12rem; line-height: 1.35; }
.guide-card p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.guide-more { display: inline-flex; align-items: center; gap: 6px; color: var(--cta); font-weight: 600; font-size: .9rem; margin-top: 6px; }
.guide-more .arrow { width: 16px; height: 16px; }
.guide-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.guide-toc { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 20px; font-size: .92rem; }
.guide-toc ol { margin: 10px 0 16px; padding-left: 20px; display: grid; gap: 6px; }
.guide-toc ol a { color: var(--slate); text-decoration: none; }
.guide-toc ol a:hover { color: var(--cta); }
.guide-toc .btn { width: 100%; justify-content: center; }
.guide-body { min-width: 0; }
.guide-body h2 { font-size: 1.3rem; margin: 0 0 8px; }
.gstep { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.gnum { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; }
.gcontent p { color: var(--slate); margin: 0 0 12px; }
.gcontent code, .callout code { background: #F1F5F9; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .86em; word-break: break-word; }
.gcontent .paths { margin: 8px 0 14px; }
.gcontent .paths td, .gcontent .paths th { padding: 10px 14px; font-size: .9rem; }
.gshot { margin: 16px 0 4px; box-shadow: var(--shadow); }
.callout { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 8px 0 20px; }
.callout .checks { margin-top: 8px; }
.callout.tip { background: var(--warn-soft); border-color: #FDE68A; margin-top: 28px; }
.callout.help { background: var(--ok-soft); border-color: #A7F3D0; }
.callout ul:not(.checks) { margin: 8px 0 0; padding-left: 20px; color: var(--slate); display: grid; gap: 6px; }
.related-head { margin-top: 36px !important; }
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; gap: 20px; }
  .guide-toc { display: none; }
}
@media (max-width: 640px) {
  .gstep { grid-template-columns: 1fr; gap: 10px; }
  .guide-hero { padding-top: 112px; }
}
