/* ==============================================
   NEXUS DOCS CAMPAIGN PAGE  (index.html)
   Plain CSS, mobile first. Brand per the Dec 2026
   campaign brief. The archived webinar page at
   /archive/ still uses styles.css + event.css.
============================================== */

:root {
  --black: #111111;
  --red:   #E01B22;
  --off:   #F6F4EF;
  --white: #FFFFFF;
  --grey:  #6B6862;
  --rule:  #3A3A3A;
  --rule-light: #DDD9D0;
  --ff: 'IBM Plex Sans', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--ff); font-weight: 400; color: var(--black); background: var(--white); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--white); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.dark { background: var(--black); color: var(--white); }
.off  { background: var(--off); }

/* Signature rule: 78% dark, 22% red */
.rule { display: flex; height: 3px; }
.rule span:first-child { flex: 0 0 78%; background: var(--rule); }
.rule span:last-child  { flex: 0 0 22%; background: var(--red); }

/* Buttons and links */
.btn {
  display: inline-block; font-family: var(--ff); font-size: 1rem; font-weight: 700; line-height: 1;
  color: var(--white); background: var(--red); border: 2px solid var(--red);
  padding: 15px 22px; text-decoration: none; white-space: nowrap; border-radius: 0;
}
.btn:hover { background: #C4151B; border-color: #C4151B; }
.textlink { font-size: 1rem; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.textlink:hover { color: var(--red); }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* Type */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.01em; }
.red { color: var(--red); }
p { color: var(--grey); }
.dark p { color: rgba(255,255,255,0.82); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 10; background: var(--black); color: var(--white); border-bottom: 1px solid var(--rule); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 64px; }
.lockup { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--white); flex-shrink: 0; }
.lockup img { width: 78px; height: auto; }
.lockup-div { width: 1px; height: 26px; background: var(--rule); flex-shrink: 0; }
.lockup-name { font-size: 0.9rem; font-weight: 700; white-space: nowrap; }
.hdr .btn { padding: 11px 8px; font-size: 0.78rem; }
@media (min-width: 480px) {
  .hdr-in { gap: 16px; }
  .lockup { gap: 14px; }
  .lockup img { width: 112px; }
  .lockup-name { font-size: 1.05rem; }
  .hdr .btn { padding: 11px 14px; font-size: 0.9rem; }
}

/* Hero */
.hero { padding: 64px 0 72px; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { font-size: 1.1rem; line-height: 1.6; max-width: 600px; margin-bottom: 32px; }

/* Video */
.video { padding: 48px 0 56px; scroll-margin-top: 64px; }
.wrap-video { max-width: 1100px; }
.video video { width: 100%; background: var(--black); }
.caption { font-size: 0.9rem; color: var(--grey); margin-top: 14px; text-align: center; }

/* Steps */
.steps { padding: 64px 0 72px; }
.steps h2 { margin-bottom: 36px; max-width: 720px; }
.steplist { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--rule-light); margin-bottom: 40px; }
.steplist li { padding: 24px 0; border-bottom: 1px solid var(--rule-light); }
.steplist .num { display: block; font-size: 1.35rem; font-weight: 700; color: var(--red); line-height: 1; margin-bottom: 14px; }
.steplist h3 { margin-bottom: 8px; }
.steplist p { font-size: 1rem; line-height: 1.55; max-width: 420px; }

/* Two sides */
.sides { padding: 64px 0 72px; }
.sides h2 { margin-bottom: 36px; }
.sides-grid { display: grid; grid-template-columns: 1fr; }
.side { padding: 28px 0; border-top: 1px solid var(--rule-light); }
.side h3 { margin-bottom: 10px; font-size: 1.25rem; }
.side p { font-size: 1.05rem; line-height: 1.6; max-width: 460px; }

/* Share list */
.share { padding: 64px 0 72px; }
.share h2 { margin-bottom: 32px; max-width: 860px; }
.sharelist { list-style: none; display: grid; grid-template-columns: 1fr; column-gap: 48px; border-top: 1px solid var(--rule-light); }
.sharelist li { padding: 14px 0; border-bottom: 1px solid var(--rule-light); font-size: 1.05rem; font-weight: 500; color: var(--black); }

/* Closing */
.close { padding: 72px 0 80px; }
.close h2 { font-size: 2.2rem; margin-bottom: 32px; }

/* Footer */
.ftr { padding: 48px 0 40px; border-top: 1px solid var(--rule); font-size: 0.92rem; }
.ftr-logo { width: 128px; margin-bottom: 28px; }
.ftr-cols { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
.ftr p { color: rgba(255,255,255,0.72); line-height: 1.55; }
.ftr a { color: rgba(255,255,255,0.9); text-decoration: none; }
.ftr a[href^="tel:"] { white-space: nowrap; }
.ftr a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.ftr-region { display: block; color: var(--white); font-weight: 600; margin-bottom: 2px; }
.ftr-links { margin-bottom: 10px; }
.ftr-copy { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* Tablet and up */
@media (min-width: 768px) {
  .wrap { padding: 0 40px; }
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.3rem; }
  .hdr-in { height: 72px; }
  .lockup img { width: 140px; }
  .lockup-name { font-size: 1.15rem; }
  .hdr .btn { padding: 13px 20px; font-size: 0.95rem; }
  .hero { padding: 96px 0 104px; }
  .hero h1 { margin-bottom: 28px; }
  .hero .lede { font-size: 1.2rem; }
  .video { padding: 64px 0 72px; scroll-margin-top: 72px; }
  .steps, .sides, .share { padding: 88px 0 96px; }
  .steplist { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .sides-grid { grid-template-columns: 1fr 1fr; }
  .side { border-top: 0; padding: 0 48px 0 0; }
  .side + .side { border-left: 1px solid var(--rule-light); padding: 0 0 0 48px; }
  .sharelist { grid-template-columns: 1fr 1fr; }
  .close { padding: 104px 0 112px; }
  .close h2 { font-size: 3rem; }
  .ftr-cols { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* Desktop */
@media (min-width: 1100px) {
  h1 { font-size: 4rem; }
  .hero { padding: 120px 0 128px; }
  .steplist { grid-template-columns: repeat(4, 1fr); column-gap: 40px; }
  .steplist li { padding: 28px 0; }
  .close h2 { font-size: 3.4rem; }
}
