/* ═══ NAP & CITATIONS GUIDE — Page-Specific Styles ═══ */
/* Builds on styles.css; editorial Newsreader serif language. */
/* Prefix: nc- (nap-citations) */

/* ─── 0. PAGE CUSTOM PROPERTIES ─── */
.page-nap-citations {
  --nc-accent: #0d6a8e;
  --nc-accent-light: rgba(13, 106, 142, 0.08);
  --nc-warm: #b88a4c;
  --nc-warm-light: rgba(184, 138, 76, 0.08);
  --nc-guide-bg: #f5f8fa;
  --nc-guide-border: rgba(10, 28, 38, 0.07);
  --nc-serif: "Newsreader", Georgia, serif;
}


/* ─── 1. HERO ─── */
.nc-hero {
  position: relative;
  padding: 58px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 12% 30%, rgba(13, 106, 142, 0.06), transparent 60%),
    radial-gradient(550px 350px at 88% 10%, rgba(7, 42, 60, 0.04), transparent 55%),
    linear-gradient(180deg, var(--nc-guide-bg), #f6f7f8);
}

/* Signature accent bar */
.nc-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--brand-700) 20%, var(--brand-500) 80%, transparent);
  z-index: 2;
}

/* Signature watermark — sync icon (parallax-ready) */
.nc-hero::after {
  content: "≡";
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(var(--nc-wm-y, -50%));
  font-size: clamp(280px, 32vw, 460px);
  font-weight: 700;
  color: rgba(13, 106, 142, var(--nc-wm-opacity, 0.04));
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.nc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

/* Hero entrance cascade */
.nc-hero-inner > * {
  opacity: 0;
  transform: translateY(22px);
  animation: nc-entrance 700ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.nc-hero-inner > :nth-child(1) { animation-delay: 80ms; }
.nc-hero-inner > :nth-child(2) { animation-delay: 180ms; }
.nc-hero-inner > :nth-child(3) { animation-delay: 280ms; }
.nc-hero-inner > :nth-child(4) { animation-delay: 380ms; }
.nc-hero-inner > :nth-child(5) { animation-delay: 480ms; }
.nc-hero-inner > :nth-child(6) { animation-delay: 580ms; }
.nc-hero-inner > :nth-child(7) { animation-delay: 680ms; }

@keyframes nc-entrance {
  to { opacity: 1; transform: translateY(0); }
}


/* ─── 1a. BREADCRUMB ─── */
.nc-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--muted);
}
.nc-breadcrumb a {
  text-decoration: none;
  color: var(--muted);
  transition: color 180ms ease;
}
.nc-breadcrumb a:hover { color: var(--brand-700); }
.nc-breadcrumb svg {
  color: rgba(21, 39, 52, 0.28);
  flex-shrink: 0;
}
.nc-breadcrumb [aria-current] {
  color: var(--text);
  font-weight: 600;
}


/* ─── 1b. HERO CONTENT ─── */
.nc-hero-title {
  font-family: var(--nc-serif);
  font-size: clamp(36px, 4.8vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}
.nc-hero-title em {
  font-style: italic;
  color: var(--brand-600);
}

.nc-hero-lead {
  font-size: 17.5px;
  line-height: 1.72;
  color: var(--muted);
  max-width: 600px;
  margin: 0 0 12px;
}

.nc-hero-note {
  font-size: 14px;
  line-height: 1.62;
  color: rgba(8, 26, 36, 0.56);
  margin: 0 0 28px;
  max-width: 540px;
}

.nc-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.nc-hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.nc-meta-item {
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.nc-meta-item strong {
  color: var(--brand-800);
  font-weight: 800;
  font-size: 15px;
}
.nc-meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(21, 39, 52, 0.16);
  flex-shrink: 0;
}


/* ─── 2. CORE PRINCIPLE BANNER ─── */
.nc-principle {
  padding: 48px 0;
  background: linear-gradient(180deg, #f6f7f8, var(--nc-guide-bg));
  border-top: 1px solid var(--nc-guide-border);
}

.nc-principle-inner {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  max-width: 780px;
  padding: 28px 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(13, 106, 142, 0.04), rgba(245, 248, 250, 0.92));
  border: 1px solid rgba(13, 106, 142, 0.12);
  box-shadow: 0 8px 28px rgba(11, 28, 39, 0.04);
}

.nc-principle-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
  color: white;
  box-shadow: 0 6px 16px rgba(10, 52, 69, 0.22);
}

.nc-principle-label {
  font-family: var(--nc-serif);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-600);
  margin-bottom: 6px;
}

.nc-principle-text {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}
.nc-principle-text strong {
  font-weight: 800;
}


/* ─── 3. COMMON SECTION ELEMENTS ─── */
.nc-section-label {
  font-family: var(--nc-serif);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-600);
  margin: 0 0 14px;
}

.nc-section-title {
  font-family: var(--nc-serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.10;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.nc-section-desc {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--muted);
  max-width: 560px;
  margin: 0;
}


/* ─── 4. CHECKLIST SECTION ─── */
.nc-checklist-section {
  padding: 80px 0;
  background: var(--nc-guide-bg);
}

.nc-checklist {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 12px;
  max-width: 780px;
  counter-reset: nc-step;
}

.nc-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 248, 250, 0.88));
  border: 1px solid var(--nc-guide-border);
  box-shadow: 0 4px 14px rgba(11, 28, 39, 0.03);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
  counter-increment: nc-step;
  position: relative;
  overflow: hidden;
}

.nc-checklist li::after {
  content: counter(nc-step);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--nc-serif);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: rgba(13, 106, 142, 0.06);
  pointer-events: none;
}

.nc-check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
  color: white;
  font-size: 12px;
  box-shadow: 0 4px 10px rgba(10, 52, 69, 0.18);
  margin-top: 1px;
}

.nc-check-text {
  font-size: 15px;
  line-height: 1.60;
  color: rgba(8, 26, 36, 0.82);
  padding-right: 48px;
}
.nc-check-text strong {
  color: var(--text);
}


/* ─── 5. DUAL CARDS GRID (two side-by-side) ─── */
.nc-dual-section {
  padding: 80px 0;
  background:
    radial-gradient(600px 350px at 50% 0%, rgba(13, 106, 142, 0.035), transparent 60%),
    #f6f7f8;
  border-top: 1px solid var(--nc-guide-border);
  overflow: hidden;
}

.nc-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}

.nc-dual-card {
  padding: 30px 28px 26px;
  border-radius: 22px;
  border: 1px solid var(--nc-guide-border);
  box-shadow: 0 8px 24px rgba(11, 28, 39, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.nc-dual-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 22px 22px 0 0;
}

.nc-card-primary {
  background: linear-gradient(180deg, rgba(245, 248, 250, 0.97), rgba(239, 245, 249, 0.80));
}
.nc-card-primary::before {
  background: linear-gradient(90deg, var(--brand-800), var(--brand-500));
}

.nc-card-secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 248, 250, 0.80));
}
.nc-card-secondary::before {
  background: linear-gradient(90deg, rgba(13, 106, 142, 0.5), rgba(13, 106, 142, 0.25));
}

.nc-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.nc-card-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 18px;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
  box-shadow: 0 4px 12px rgba(10, 52, 69, 0.20);
}

.nc-card-heading h2 {
  font-family: var(--nc-serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.nc-dual-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 12px;
}

.nc-dual-card .fine {
  margin-top: 14px;
}

.nc-dual-card .bullets {
  margin: 12px 0 0;
  color: rgba(8, 26, 36, 0.82);
}


/* ─── 6. AUDIT SECTION (dark accent) ─── */
.nc-audit-section {
  padding: 80px 0 88px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(4, 26, 39, 0.98), rgba(8, 52, 73, 0.94));
  color: rgba(255, 255, 255, 0.92);
}

/* Subtle grid pattern overlay */
.nc-audit-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 25%, rgba(0, 0, 0, 0.6), transparent 70%);
  pointer-events: none;
}

.nc-audit-inner {
  position: relative;
  z-index: 1;
}

.nc-audit-section .nc-section-label {
  color: rgba(13, 106, 142, 0.7);
}

.nc-audit-section .nc-section-title {
  color: rgba(255, 255, 255, 0.96);
}

.nc-audit-section .nc-section-desc {
  color: rgba(255, 255, 255, 0.72);
}

.nc-audit-steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.nc-audit-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  transition: background 280ms ease, border-color 280ms ease;
}

.nc-audit-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--nc-serif);
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(13, 106, 142, 0.6), rgba(13, 106, 142, 0.35));
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nc-audit-step-text {
  font-size: 15px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.85);
}
.nc-audit-step-text strong {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 700;
}

.nc-audit-hint {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.50);
  max-width: 600px;
}

.nc-audit-hint a {
  color: rgba(13, 106, 142, 0.85);
  text-decoration: underline;
  transition: color 180ms ease;
}
.nc-audit-hint a:hover {
  color: rgba(13, 106, 142, 1);
}


/* ─── 7. PRIORITY SECTION ─── */
.nc-priority-section {
  padding: 80px 0;
  background: var(--nc-guide-bg);
  border-top: 1px solid var(--nc-guide-border);
}

.nc-priority-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}

.nc-priority-card {
  padding: 28px 26px 24px;
  border-radius: 20px;
  border: 1px solid var(--nc-guide-border);
  box-shadow: 0 6px 20px rgba(11, 28, 39, 0.04);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 248, 250, 0.88));
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.nc-priority-card h2 {
  font-family: var(--nc-serif);
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.2;
}

.nc-priority-card > p {
  font-size: 14px;
  line-height: 1.62;
  color: var(--muted);
  margin: 0 0 16px;
}

.nc-priority-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: nc-prio;
}

.nc-priority-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(10, 28, 38, 0.06);
  counter-increment: nc-prio;
  font-size: 14.5px;
  line-height: 1.58;
  color: rgba(8, 26, 36, 0.80);
}

.nc-priority-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.nc-priority-list li::before {
  content: counter(nc-prio);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--nc-serif);
  font-size: 12px;
  font-weight: 700;
  background: var(--nc-accent-light);
  color: var(--nc-accent);
  margin-top: 1px;
}

.nc-priority-card .fine {
  margin-top: 14px;
}


/* ─── 8. PITFALLS SECTION (warning accent) ─── */
.nc-pitfalls-section {
  padding: 80px 0;
  background:
    radial-gradient(600px 350px at 50% 0%, rgba(184, 138, 76, 0.04), transparent 60%),
    #f6f7f8;
  border-top: 1px solid var(--nc-guide-border);
  position: relative;
}

/* Top decorative wave */
.nc-pitfalls-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(180deg, var(--nc-guide-bg), transparent);
  pointer-events: none;
}

.nc-pitfalls-inner {
  position: relative;
  z-index: 1;
}

.nc-pitfalls-section .nc-section-label {
  color: #a07838;
}

.nc-pitfall-grid {
  display: grid;
  gap: 10px;
  margin-top: 36px;
  max-width: 780px;
}

.nc-pitfall-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(184, 138, 76, 0.12);
  backdrop-filter: blur(4px);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.nc-pitfall-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(184, 138, 76, 0.10);
  color: #a07838;
  font-size: 14px;
}

.nc-pitfall-text {
  font-size: 14.5px;
  line-height: 1.62;
  color: rgba(8, 26, 36, 0.80);
}
.nc-pitfall-text strong {
  color: var(--text);
}


/* ─── 9. ROUTINE SECTION (two cards) ─── */
.nc-routine-section {
  padding: 80px 0;
  background: var(--nc-guide-bg);
  border-top: 1px solid var(--nc-guide-border);
}

.nc-routine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}

.nc-routine-card {
  padding: 28px 26px 24px;
  border-radius: 20px;
  border: 1px solid var(--nc-guide-border);
  box-shadow: 0 6px 20px rgba(11, 28, 39, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.nc-routine-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
}

.nc-routine-recurring {
  background: linear-gradient(180deg, rgba(245, 248, 250, 0.97), rgba(239, 245, 249, 0.80));
}
.nc-routine-recurring::before {
  background: linear-gradient(90deg, var(--brand-700), var(--brand-500));
}

.nc-routine-change {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 248, 250, 0.80));
}
.nc-routine-change::before {
  background: linear-gradient(90deg, var(--nc-warm), rgba(184, 138, 76, 0.5));
}

.nc-routine-card h2 {
  font-family: var(--nc-serif);
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  line-height: 1.2;
}

.nc-routine-card > p {
  font-size: 14px;
  line-height: 1.62;
  color: var(--muted);
  margin: 0 0 16px;
}

.nc-routine-card .bullets {
  margin: 12px 0 0;
  color: rgba(8, 26, 36, 0.82);
}
.nc-routine-card .bullets li {
  margin: 8px 0;
}


/* ─── 10. BRIDGE / CONNECTION BLOCK ─── */
.nc-bridge {
  padding: 56px 0;
  background:
    radial-gradient(600px 350px at 50% 50%, rgba(13, 106, 142, 0.05), transparent 60%),
    linear-gradient(180deg, rgba(245, 248, 250, 0.60), rgba(255, 255, 255, 0.40));
  border-top: 1px solid var(--nc-guide-border);
  border-bottom: 1px solid var(--nc-guide-border);
}

.nc-bridge-inner {
  max-width: 700px;
  padding: 28px 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(13, 106, 142, 0.05), rgba(245, 248, 250, 0.95));
  border: 1px solid rgba(13, 106, 142, 0.12);
  border-left: 4px solid var(--nc-accent);
  box-shadow: 0 8px 28px rgba(11, 28, 39, 0.04);
}

.nc-bridge-title {
  font-family: var(--nc-serif);
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.2;
}

.nc-bridge-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 14px;
}

.nc-bridge-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* ─── 11. CTA / NEXT STEPS SECTION ─── */
.nc-cta-section {
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(4, 26, 39, 0.98), rgba(8, 52, 73, 0.94));
  color: rgba(255, 255, 255, 0.92);
}

.nc-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 80% 20%, rgba(13, 106, 142, 0.12), transparent 60%);
  pointer-events: none;
}

.nc-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.nc-cta-section .nc-section-label {
  color: rgba(13, 106, 142, 0.7);
}

.nc-cta-title {
  font-family: var(--nc-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.10;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.96);
}

.nc-cta-text {
  font-size: 16px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 28px;
  max-width: 520px;
}

.nc-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.nc-cta-actions .btn-primary {
  background: linear-gradient(135deg, rgba(13, 106, 142, 0.95), rgba(11, 88, 118, 0.85));
  border-color: rgba(255, 255, 255, 0.15);
}

.nc-cta-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.88);
}
.nc-cta-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

.nc-cta-hint {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
}


/* ─── 12. NEXT STEPS GRID ─── */
.nc-nextsteps-section {
  padding: 64px 0 72px;
  background: var(--nc-guide-bg);
  border-top: 1px solid var(--nc-guide-border);
}

.nc-nextsteps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.nc-nextstep-card {
  padding: 22px 22px 20px;
  border-radius: 18px;
  border: 1px solid var(--nc-guide-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 248, 250, 0.88));
  box-shadow: 0 4px 14px rgba(11, 28, 39, 0.03);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
  text-decoration: none;
  display: block;
  color: inherit;
}

.nc-nextstep-label {
  font-family: var(--nc-serif);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-600);
  margin: 0 0 8px;
}

.nc-nextstep-card h3 {
  font-family: var(--nc-serif);
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.2;
}

.nc-nextstep-card p {
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--muted);
  margin: 0;
}


/* ═══ 13. SCROLL REVEAL ═══ */
.nc-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nc-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.nc-reveal.is-visible .nc-checklist li,
.nc-reveal.is-visible .nc-pitfall-item,
.nc-reveal.is-visible .nc-audit-step,
.nc-reveal.is-visible .nc-nextstep-card {
  opacity: 1;
  transform: translateY(0);
}

/* Pre-reveal state for staggered children */
.nc-checklist li,
.nc-pitfall-item,
.nc-audit-step,
.nc-nextstep-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Stagger delays */
.nc-reveal.is-visible .nc-checklist li:nth-child(1),
.nc-reveal.is-visible .nc-pitfall-item:nth-child(1),
.nc-reveal.is-visible .nc-audit-step:nth-child(1),
.nc-reveal.is-visible .nc-nextstep-card:nth-child(1) { transition-delay: 0ms; }

.nc-reveal.is-visible .nc-checklist li:nth-child(2),
.nc-reveal.is-visible .nc-pitfall-item:nth-child(2),
.nc-reveal.is-visible .nc-audit-step:nth-child(2),
.nc-reveal.is-visible .nc-nextstep-card:nth-child(2) { transition-delay: 70ms; }

.nc-reveal.is-visible .nc-checklist li:nth-child(3),
.nc-reveal.is-visible .nc-pitfall-item:nth-child(3),
.nc-reveal.is-visible .nc-audit-step:nth-child(3),
.nc-reveal.is-visible .nc-nextstep-card:nth-child(3) { transition-delay: 140ms; }

.nc-reveal.is-visible .nc-checklist li:nth-child(4),
.nc-reveal.is-visible .nc-pitfall-item:nth-child(4),
.nc-reveal.is-visible .nc-audit-step:nth-child(4) { transition-delay: 210ms; }

.nc-reveal.is-visible .nc-checklist li:nth-child(5),
.nc-reveal.is-visible .nc-pitfall-item:nth-child(5),
.nc-reveal.is-visible .nc-audit-step:nth-child(5) { transition-delay: 280ms; }

.nc-reveal.is-visible .nc-checklist li:nth-child(6) { transition-delay: 350ms; }

/* Dual/priority/routine cards stagger */
.nc-dual-card,
.nc-priority-card,
.nc-routine-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 280ms ease,
              border-color 280ms ease;
}

.nc-reveal.is-visible .nc-dual-card,
.nc-reveal.is-visible .nc-priority-card,
.nc-reveal.is-visible .nc-routine-card {
  opacity: 1;
  transform: translateY(0);
}

.nc-reveal.is-visible .nc-dual-card:nth-child(2),
.nc-reveal.is-visible .nc-priority-card:nth-child(2),
.nc-reveal.is-visible .nc-routine-card:nth-child(2) { transition-delay: 120ms; }


/* ═══ 14. HOVER (pointer devices) ═══ */
@media (hover: hover) {
  .nc-checklist li:hover {
    box-shadow: 0 8px 24px rgba(11, 28, 39, 0.06);
    border-color: rgba(13, 106, 142, 0.18);
  }

  .nc-dual-card:hover,
  .nc-priority-card:hover,
  .nc-routine-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(11, 28, 39, 0.08);
    border-color: rgba(13, 106, 142, 0.20);
  }

  .nc-audit-step:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .nc-pitfall-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11, 28, 39, 0.06);
  }

  .nc-nextstep-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(11, 28, 39, 0.07);
    border-color: rgba(13, 106, 142, 0.18);
  }
}

/* ═══ 14a. FOCUS (keyboard) ═══ */
.nc-nextstep-card:focus-visible {
  outline: 3px solid var(--nc-accent);
  outline-offset: 2px;
  border-color: var(--nc-accent);
}

.nc-hero-actions .btn:focus-visible,
.nc-cta-actions .btn:focus-visible,
.nc-bridge-links .btn:focus-visible {
  outline: 3px solid var(--nc-accent);
  outline-offset: 2px;
}


/* ═══ 15. RESPONSIVE ═══ */

/* ─── Scroll Progress Bar ─── */
.nc-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-700), var(--brand-500));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 1001;
  pointer-events: none;
  will-change: transform;
  transition: none;
}


/* ─── Section-Transition Gradients ─── */
.nc-checklist-section::before,
.nc-priority-section::before,
.nc-routine-section::before,
.nc-nextsteps-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(180deg, rgba(245, 248, 250, 0.5), transparent);
  pointer-events: none;
}

.nc-dual-section::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(0deg, rgba(245, 248, 250, 0.5), transparent);
  pointer-events: none;
}

.nc-checklist-section,
.nc-dual-section,
.nc-priority-section,
.nc-routine-section,
.nc-nextsteps-section {
  position: relative;
}

/* Outgoing gradient from dark sections */
.nc-audit-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(4, 26, 39, 0.12));
  pointer-events: none;
  z-index: 1;
}

.nc-cta-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(4, 26, 39, 0.08));
  pointer-events: none;
  z-index: 1;
}


@media (max-width: 981px) {
  .nc-dual-grid,
  .nc-priority-grid,
  .nc-routine-grid {
    grid-template-columns: 1fr;
  }

  .nc-nextsteps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  main#main { padding-top: 96px; }
}

/* ─── Tablet (768px) ─── */
@media (max-width: 768px) {
  .nc-hero {
    padding: 50px 0 62px;
  }

  .nc-hero-title {
    font-size: clamp(32px, 5.5vw, 48px);
  }

  .nc-hero-lead {
    font-size: 16.5px;
  }

  .nc-hero-note {
    font-size: 13.5px;
  }

  .nc-dual-grid {
    gap: 18px;
  }

  .nc-dual-card {
    padding: 26px 22px 24px;
  }

  .nc-priority-card,
  .nc-routine-card {
    padding: 24px 22px 22px;
  }

  .nc-section-title {
    font-size: clamp(25px, 4vw, 34px);
  }

  .nc-section-desc {
    font-size: 15px;
  }

  .nc-bridge-inner {
    padding: 26px 24px;
  }

  .nc-nextstep-card {
    padding: 20px 20px 18px;
  }

  .nc-cta-title {
    font-size: clamp(26px, 4.5vw, 36px);
  }
}

@media (max-width: 600px) {
  main#main { padding-top: 88px; }

  /* ─── Mobile Hero: distinctive compact treatment ─── */
  .nc-hero {
    padding: 44px 0 56px;
    background:
      radial-gradient(400px 280px at 20% 40%, rgba(13, 106, 142, 0.08), transparent 50%),
      linear-gradient(180deg, var(--nc-guide-bg), #f6f7f8);
  }

  .nc-hero::before {
    height: 3px;
  }

  .nc-hero::after {
    font-size: 200px;
    right: -8%;
  }

  .nc-hero-title {
    font-size: clamp(30px, 8vw, 42px);
    letter-spacing: -0.03em;
  }

  .nc-hero-lead {
    font-size: 16px;
  }

  .nc-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .nc-hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .nc-hero-meta {
    gap: 8px 16px;
    padding: 14px 16px;
    background: rgba(13, 106, 142, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(13, 106, 142, 0.06);
  }

  .nc-meta-divider {
    display: none;
  }

  .nc-breadcrumb {
    flex-wrap: wrap;
  }

  /* ─── Mobile Principle: card-like treatment ─── */
  .nc-principle {
    padding: 36px 0;
  }

  .nc-principle-inner {
    flex-direction: column;
    gap: 16px;
    padding: 22px 20px;
  }

  .nc-principle-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  /* ─── Mobile Sections: tighter rhythm ─── */
  .nc-checklist-section,
  .nc-dual-section,
  .nc-audit-section,
  .nc-priority-section,
  .nc-pitfalls-section,
  .nc-routine-section,
  .nc-nextsteps-section {
    padding: 56px 0;
  }

  .nc-section-label {
    font-size: 10.5px;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
  }

  .nc-section-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .nc-section-desc {
    font-size: 14.5px;
  }

  /* ─── Mobile Checklist: compact, touch-friendly ─── */
  .nc-checklist {
    gap: 10px;
    margin-top: 28px;
  }

  .nc-checklist li {
    padding: 16px 18px;
    border-radius: 14px;
  }

  .nc-checklist li::after {
    font-size: 40px;
    right: 12px;
  }

  .nc-check-text {
    padding-right: 36px;
    font-size: 14.5px;
  }

  /* ─── Mobile Cards: full-bleed feel ─── */
  .nc-dual-card {
    padding: 24px 20px 22px;
    border-radius: 18px;
  }

  .nc-card-heading h2 {
    font-size: 20px;
  }

  /* ─── Mobile Pitfalls: distinct warm band ─── */
  .nc-pitfalls-section {
    background:
      linear-gradient(180deg,
        rgba(184, 138, 76, 0.03) 0%,
        rgba(184, 138, 76, 0.06) 50%,
        rgba(184, 138, 76, 0.02) 100%);
  }

  .nc-pitfalls-section::before {
    height: 40px;
  }

  .nc-pitfall-item {
    padding: 14px 16px;
    backdrop-filter: none;
    border-radius: 12px;
  }

  .nc-pitfall-text {
    font-size: 14px;
  }

  /* ─── Mobile Audit: immersive dark ─── */
  .nc-audit-section {
    padding-bottom: 72px;
  }

  .nc-audit-step {
    padding: 16px 18px;
    backdrop-filter: none;
    border-radius: 14px;
  }

  .nc-audit-step-text {
    font-size: 14.5px;
  }

  .nc-audit-steps {
    gap: 10px;
  }

  /* ─── Mobile Priority & Routine ─── */
  .nc-priority-card {
    padding: 22px 20px 20px;
    border-radius: 18px;
  }

  .nc-priority-card h2,
  .nc-routine-card h2 {
    font-size: 18px;
  }

  .nc-routine-card {
    padding: 22px 20px 20px;
    border-radius: 18px;
  }

  /* ─── Mobile Bridge: prominent accent ─── */
  .nc-bridge {
    padding: 44px 0;
  }

  .nc-bridge-inner {
    padding: 22px 20px;
    border-left-width: 3px;
    border-radius: 16px;
  }

  .nc-bridge-title {
    font-size: 18px;
  }

  .nc-bridge-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nc-bridge-links .btn {
    width: 100%;
    text-align: center;
  }

  /* ─── Mobile CTA: full impact ─── */
  .nc-cta-section {
    padding: 56px 0 64px;
  }

  .nc-cta-title {
    font-size: clamp(26px, 7vw, 34px);
  }

  .nc-cta-text {
    font-size: 15px;
  }

  .nc-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .nc-cta-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* ─── Mobile Next Steps: stacked cards with separator ─── */
  .nc-nextsteps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nc-nextstep-card {
    padding: 18px 18px 16px;
    border-radius: 14px;
  }

  .nc-nextstep-card h3 {
    font-size: 16px;
  }

  /* ─── Mobile transition gradients: softer ─── */
  .nc-checklist-section::before,
  .nc-priority-section::before,
  .nc-routine-section::before,
  .nc-nextsteps-section::before {
    height: 48px;
  }

  .nc-dual-section::after {
    height: 48px;
  }

  /* ─── Mobile Progress Bar: slightly thicker for touch ─── */
  .nc-progress-bar {
    height: 2.5px;
  }
}

@media (max-width: 420px) {
  main#main { padding-top: 80px; }

  .nc-hero {
    padding: 36px 0 48px;
  }

  .nc-hero::after {
    display: none;
  }

  .nc-checklist li {
    padding: 14px 16px;
    gap: 12px;
  }

  .nc-check-icon {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .nc-checklist li::after {
    display: none;
  }

  .nc-check-text {
    padding-right: 0;
  }

  .nc-audit-step-num {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
}

/* ─── Compact (380px) — overflow prevention ─── */
@media (max-width: 380px) {
  .nc-hero-title {
    font-size: 28px;
    word-break: break-word;
    hyphens: auto;
  }

  .nc-section-title {
    font-size: 22px;
    word-break: break-word;
    hyphens: auto;
  }

  .nc-cta-title {
    font-size: 24px;
  }

  .nc-checklist li {
    padding: 12px 14px;
    gap: 10px;
  }

  .nc-check-text {
    font-size: 13.5px;
  }

  .nc-audit-step {
    padding: 14px 14px;
    gap: 12px;
  }

  .nc-pitfall-item {
    padding: 12px 14px;
    gap: 10px;
  }

  .nc-priority-list li {
    font-size: 13.5px;
    gap: 10px;
  }

  .nc-hero-actions .btn,
  .nc-cta-actions .btn,
  .nc-bridge-links .btn {
    padding: 13px 16px;
    font-size: 14px;
  }

  .nc-card-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
}


/* ─── 16. REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .nc-hero-inner > * {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .nc-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nc-checklist li,
  .nc-pitfall-item,
  .nc-audit-step,
  .nc-nextstep-card,
  .nc-dual-card,
  .nc-priority-card,
  .nc-routine-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nc-progress-bar {
    transition: transform 200ms ease-out;
  }

  .nc-hero::after {
    transform: translateY(-50%);
  }
}
