/* ============================================================
   PPE Software — public marketing site
   "Signal Red": Big Shoulders Display headlines, Source Sans 3
   body, warm paper background, brand red as the single accent,
   charcoal bands for Features and PPE Mobile.
   ============================================================ */

:root {
  --red: #d6231f;
  --red-dark: #b01c19;
  --red-soft: #fbe9e8;
  --red-light: #ff6b66;
  --ink: #16171b;
  --ink-2: #2a2c33;
  --slate: #4d525c;
  --muted: #7a8190;
  --paper: #f7f5f1;
  --paper-2: #f2efe9;
  --white: #ffffff;
  --line: #e4e1db;
  --line-2: #d9d4cb;
  --char: #16171b;
  --char-2: #1e2127;
  --on-dark: #aab0bc;
  --on-dark-strong: #e6e8ec;
  --max-width: 1240px;
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --shadow-device: 0 30px 60px rgba(22, 23, 27, 0.28);
  --shadow-card: 0 18px 40px rgba(22, 23, 27, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red-dark);
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.92;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--red);
}

.on-dark .eyebrow,
.eyebrow.light {
  color: var(--red-light);
}

.on-dark .eyebrow::before,
.eyebrow.light::before {
  background: var(--red-light);
}

/* Check lists */

.checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checks li {
  position: relative;
  padding-left: 34px;
  font-size: 16.5px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6231f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  border-color: #cfcac1;
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-light {
  background: #fff;
  color: var(--red);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.btn-light:hover {
  background: var(--paper);
  color: var(--red-dark);
  transform: translateY(-1px);
}

.btn-lg {
  height: 54px;
  padding: 0 28px;
  font-size: 17px;
}

.btn-primary.btn-lg {
  box-shadow: 0 10px 24px rgba(214, 35, 31, 0.28);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--red);
}

.text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 1px 10px rgba(22, 23, 27, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: 174px;
  height: 34px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  color: var(--ink-2);
  font-weight: 600;
  font-size: 15.5px;
  white-space: nowrap;
  transition: color 0.15s ease;
}

@media (max-width: 1180px) {
  .main-nav {
    gap: 22px;
  }
}

.main-nav a:hover {
  color: var(--red);
}

.main-nav .nav-login {
  margin-left: auto;
}

.main-nav .btn {
  color: #fff;
  margin-left: -12px;
}

.main-nav .btn:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 84px 0 96px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  overflow: hidden;
}

.hero::before,
.section-red::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 23, 27, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 23, 27, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(900px 600px at 70% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(900px 600px at 70% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero h1 {
  font-size: clamp(44px, 5.85vw, 84px);
}

.hero h1 span {
  display: block;
}

.hero h1 .accent {
  color: var(--red);
}

.hero .lede {
  font-size: 20px;
  line-height: 1.5;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid #ddd8cf;
}

/* Product shot on a charcoal device with a red offset block */

.stage {
  position: relative;
  padding: 0 0 56px 0;
}

.stage::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: -22px;
  bottom: 34px;
  background: var(--red);
}

.device {
  position: relative;
  background: var(--char);
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--shadow-device);
}

.device img {
  border-radius: 4px;
  width: 100%;
  height: auto;
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 10px;
}

.device-bar i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3d45;
}

.device-bar span {
  margin-left: 10px;
  font-size: 11.5px;
  color: #8a8f9a;
  letter-spacing: 0.04em;
}

.alert-card {
  position: absolute;
  left: -36px;
  bottom: 6px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px 14px 14px;
  box-shadow: var(--shadow-card);
}

.alert-card .icon-tile {
  width: 40px;
  height: 40px;
  background: var(--red-soft);
}

.alert-card .icon-tile svg {
  width: 20px;
  height: 20px;
}

.alert-card small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.alert-card strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  flex-shrink: 0;
}

.icon-tile svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Proof strip ---------- */

.proof {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 36px;
  padding-bottom: 36px;
}

.proof-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 200px;
  line-height: 1.35;
}

.proof-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px 48px;
}

.proof-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.2;
}

.proof-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.proof-logo small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- Sections ---------- */

.section {
  padding: 112px 0;
}

.section-white {
  background: #fff;
  border-top: 1px solid var(--line);
}

.section-dark {
  position: relative;
  background: var(--char);
  overflow: hidden;
}

.section-dark .glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 35, 31, 0.3), rgba(214, 35, 31, 0));
  pointer-events: none;
}

.section-dark .container {
  position: relative;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(40px, 5vw, 72px);
}

.section-head p {
  font-size: 19px;
  max-width: 520px;
}

.section-head.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: end;
}

.section-head.split > div {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-head.split p {
  padding-bottom: 6px;
}

.section-head.narrow {
  max-width: 760px;
}

.on-dark h2,
.on-dark h3 {
  color: #fff;
}

.on-dark p {
  color: var(--on-dark);
}

/* ---------- Pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.pillar .num {
  font-size: 56px;
  color: var(--red);
}

.pillar h3 {
  font-size: 24px;
}

.pillar p {
  font-size: 16.5px;
}

/* ---------- Showcase rows ---------- */

.showcase {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.showcase-row.flip {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.showcase-row.flip .showcase-copy {
  order: 2;
}

.showcase-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.showcase-copy h3 {
  font-size: clamp(34px, 3.75vw, 54px);
}

.showcase-copy p {
  font-size: 18px;
}

.showcase-copy .checks {
  margin-top: 6px;
}

.shot {
  position: relative;
  padding: 0 0 20px 20px;
}

.shot::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60%;
  height: 60%;
  background: var(--paper);
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}

.shot.right {
  padding: 0 20px 20px 0;
}

.shot.right::before {
  left: auto;
  right: 0;
  border-left: 0;
  border-right: 2px solid var(--red);
}

.shot .device {
  box-shadow: 0 24px 50px rgba(22, 23, 27, 0.22);
}

/* ---------- Feature bento (dark) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--char-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tile:hover {
  border-color: rgba(255, 107, 102, 0.45);
  transform: translateY(-3px);
}

.tile.wide {
  grid-column: span 2;
}

.tile .icon-tile {
  background: rgba(214, 35, 31, 0.18);
}

.tile h3 {
  font-size: 22px;
  color: #fff;
}

.tile p {
  font-size: 16px;
  color: var(--on-dark);
}

.tile.wide p {
  max-width: 300px;
}

.tile-split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.tile-split > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.alert-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 220px;
  flex-shrink: 0;
  padding-top: 6px;
}

.alert-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--char);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--on-dark-strong);
}

.alert-list i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8a8f9a;
}

.alert-list .red {
  background: var(--red);
}

.alert-list .amber {
  background: #e8a33d;
}

/* Wide tile that carries a screenshot: reserve the right-hand strip for the shot
   so the copy can never run underneath it, whatever the container width. */
.tile.with-shot {
  padding-right: 300px;
}

.tile.with-shot p {
  max-width: none;
}

.tile-shot {
  position: absolute;
  right: -50px;
  top: 56px;
  width: 320px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  transform: rotate(-4deg);
}

.tile-shot img {
  width: 100%;
  height: auto;
}

/* ---------- Audience columns ---------- */

.audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.audience-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px;
  border-right: 1px solid var(--line-2);
}

.audience-col:first-child {
  padding-left: 0;
}

.audience-col:last-child {
  padding-right: 0;
  border-right: 0;
}

.audience-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.audience-col h3 {
  font-size: 26px;
}

.audience-col p {
  font-size: 16.5px;
}

.audience-col .checks {
  margin-top: auto;
  padding-top: 10px;
  gap: 10px;
}

.audience-col .checks li {
  font-size: 15.5px;
}

/* ---------- PPE Mobile ---------- */

.mobile .container {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: end;
}

.mobile-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 24px;
}

.mobile-copy h2 {
  font-size: clamp(40px, 5vw, 72px);
}

.mobile-copy > p {
  font-size: 19px;
  max-width: 500px;
}

.mobile-list {
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-list .num {
  font-size: 30px;
  color: var(--red-light);
}

.mobile-list h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.mobile-list p {
  font-size: 15.5px;
}

.phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
}

.phone {
  width: 210px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.phone img {
  width: 100%;
  height: auto;
}

.phone.raised {
  width: 240px;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  transform: translateY(-64px);
}

/* ---------- Featured testimonial ---------- */

.quote-feature {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.quote-feature .quote-mark {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote-mark .glyph {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 260px;
  font-weight: 700;
  line-height: 0.62;
  color: var(--red);
  margin-top: 18px;
}

.quote-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.quote-body .quote-title {
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 0.95;
}

.quote-body > p {
  font-size: 19px;
  max-width: 760px;
}

.quote-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.author .name {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 17px;
}

.author .role {
  display: block;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- CTA band ---------- */

.section-red {
  position: relative;
  background: var(--red);
  padding: 104px 0;
  overflow: hidden;
}

.section-red::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  mask-image: radial-gradient(800px 400px at 85% 50%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(800px 400px at 85% 50%, #000 20%, transparent 100%);
}

.section-red .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 56px;
  align-items: center;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cta-copy h2 {
  font-size: clamp(44px, 5.5vw, 80px);
  color: #fff;
}

.cta-copy p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  justify-self: end;
}

.cta-actions .btn-light {
  height: 60px;
  padding: 0 34px;
  font-size: 18px;
}

.cta-actions .text-link {
  color: #fff;
  font-weight: 600;
  padding-left: 4px;
}

.cta-actions .text-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--char);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
}

.footer-brand .mark img {
  width: 30px;
  height: 30px;
}

.footer-brand .wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}

.footer-grid .blurb {
  font-size: 15.5px;
  color: var(--on-dark);
  max-width: 340px;
}

.footer-grid h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid li a {
  color: #c9ced8;
  font-size: 15.5px;
  transition: color 0.15s ease;
}

.footer-grid li a:hover {
  color: var(--red-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  color: #8a8f9a;
}

/* ---------- Sub-page hero ---------- */

.page-hero {
  position: relative;
  padding: 72px 0 64px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 23, 27, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 23, 27, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(900px 500px at 80% 50%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(900px 500px at 80% 50%, #000 20%, transparent 100%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: var(--max-width);
}

.page-hero h1 {
  font-size: clamp(44px, 5.5vw, 80px);
  max-width: 900px;
}

.page-hero p {
  font-size: 19px;
  max-width: 640px;
}

/* ---------- Demo page ---------- */

.demo-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.form-field label .req {
  color: var(--red);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 11px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  width: 100%;
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(214, 35, 31, 0.12);
}

.form-card .btn {
  width: 100%;
  margin-top: 26px;
}

.form-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}

.form-error {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  text-align: center;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.expect-card {
  background: var(--char);
  border-radius: 10px;
  padding: 36px 32px;
  position: sticky;
  top: 100px;
}

.expect-card h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}

.expect-card ol {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.expect-card li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--on-dark);
  font-size: 15px;
}

.expect-card li .num {
  font-size: 30px;
  color: var(--red-light);
}

.expect-card li strong {
  display: block;
  color: #fff;
  font-size: 16px;
  margin-bottom: 3px;
}

/* ---------- Events page ---------- */

/* The cards below set their own display, which would otherwise override [hidden]. */
[data-events] [hidden] {
  display: none !important;
}

.events-status {
  padding: 48px 0;
  font-size: 18px;
  color: var(--muted);
  text-align: center;
}

.form-title {
  font-size: 26px;
  margin-bottom: 22px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* In-page actions styled as links; reset the native button look. */
.link-button {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.link-button:hover {
  text-decoration: underline;
}

/* The count sits in the hero, outside the [data-events] [hidden] override above. */
.hero-count[hidden] {
  display: none;
}

.hero-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-count b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.04em;
}

/* Agenda of upcoming events beside one sticky registration form. */
.agenda-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 56px;
  align-items: start;
}

.agenda-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 10px;
}

.agenda-head h2 {
  font-size: clamp(34px, 3.6vw, 48px);
}

.agenda-head h2:focus {
  outline: none;
}

.agenda-head p {
  font-size: 15px;
  color: var(--muted);
}

.agenda {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}

.agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 28px;
  margin: 0 -24px;
  padding: 32px 24px;
  border: 1px solid transparent;
  border-bottom-color: var(--line-2);
  cursor: pointer;
  scroll-margin-top: 90px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.agenda-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 4px;
  background: transparent;
  transition: background-color 0.2s ease;
}

.agenda-item:hover {
  background: rgba(255, 255, 255, 0.55);
}

.agenda-item.selected {
  background: #fff;
  border-color: var(--line);
  border-radius: 0 10px 10px 0;
  cursor: default;
}

.agenda-item.selected::before {
  background: var(--red);
}

.date-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  padding-top: 2px;
}

.date-tile .month {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.date-tile .day {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 72px;
  line-height: 0.9;
  color: var(--ink);
  margin: 6px 0 8px;
}

.date-tile .weekday {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
}

.date-tile .range {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.agenda-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.agenda-body h3 {
  font-size: 26px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.event-label {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-meta li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 16px;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.event-meta svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-body {
  font-size: 16px;
  color: var(--slate);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.agenda-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.agenda-actions .selected-tag {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--red);
}

.agenda-actions .selected-tag svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agenda-item.selected .agenda-actions .btn {
  display: none;
}

.agenda-item.selected .agenda-actions .selected-tag {
  display: inline-flex;
}

.register-card {
  position: sticky;
  top: 100px;
  padding: 0;
  overflow: hidden;
  scroll-margin-top: 90px;
}

.register-for {
  background: var(--char);
  color: #fff;
  padding: 24px 32px 26px;
}

.register-for .eyebrow {
  font-size: 15px;
}

.register-for .register-date {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--on-dark);
}

.register-for .register-name {
  font-size: 26px;
  color: #fff;
  line-height: 1.1;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.register-for .register-change {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red-light);
}

.register-form {
  padding: 32px 32px 34px;
}

.register-form .form-title {
  font-size: 24px;
  margin-bottom: 18px;
}

.register-form .form-grid {
  gap: 16px;
}

.register-form .btn {
  margin-top: 22px;
}

.event-registered {
  padding: 40px 32px;
}

.event-registered .form-title {
  margin-bottom: 12px;
}

.event-registered p {
  font-size: 18px;
}

.event-registered:focus {
  outline: none;
}

.event-registered .register-again {
  display: inline-flex;
  margin-top: 20px;
  font-weight: 700;
}

/* ---------- Thank-you page ---------- */

.thank-you-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.thank-you-card h2 {
  font-size: clamp(40px, 4.5vw, 60px);
}

.thank-you-card p {
  font-size: 18px;
  max-width: 600px;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 12px;
}

/* ---------- Industry feedback page ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px 34px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(22, 23, 27, 0.1);
}

.testimonial-card .quote-title {
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 0.95;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.testimonial-card blockquote {
  border: 0;
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: var(--slate);
}

.testimonial-card .author {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.testimonial-card .author img {
  width: 52px;
  height: 52px;
}

/* ---------- Motion ---------- */

.rise {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.rise-2 { animation-delay: 0.12s; }
.rise-3 { animation-delay: 0.24s; }
.rise-4 { animation-delay: 0.36s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rise,
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .stage {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
  }

  .alert-card {
    left: 0;
  }

  .proof .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .proof-label {
    max-width: none;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile-shot {
    display: none;
  }

  .tile.with-shot {
    padding-right: 32px;
  }

  .tile.wide p {
    max-width: none;
  }

  .mobile .container {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .mobile-copy {
    padding-bottom: 0;
  }

  .phones {
    padding-top: 64px;
  }

  .agenda-layout {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 40px;
  }
}

@media (max-width: 960px) {
  .section-head.split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head.split p {
    padding-bottom: 0;
  }

  .pillars,
  .audience {
    grid-template-columns: 1fr;
  }

  .audience-col,
  .audience-col:first-child,
  .audience-col:last-child {
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
  }

  .audience-col:last-child {
    border-bottom: 0;
  }

  .showcase {
    gap: 72px;
  }

  .showcase-row,
  .showcase-row.flip {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase-row.flip .showcase-copy {
    order: 0;
  }

  .quote-feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .quote-mark .glyph {
    font-size: 160px;
    margin-top: 6px;
  }

  .section-red .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-actions {
    justify-self: start;
  }

  .demo-layout {
    grid-template-columns: 1fr;
  }

  .expect-card {
    position: static;
  }

  /* Stacked, the form follows the agenda and scrolls into view when an event is picked. */
  .agenda-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .register-card {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
  }
}

/* The full nav needs about 1,030px (tightened gaps above), so collapse it to the menu below that. */
@media (max-width: 1040px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(22, 23, 27, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .nav-login {
    margin-left: 0;
  }

  .main-nav .btn {
    margin: 14px 0 0;
    border-bottom: none;
    text-align: center;
    height: 48px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 820px) {
  .section {
    padding: 64px 0;
  }

  .section-red {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero-copy {
    gap: 22px;
  }

  .hero .lede {
    font-size: 17.5px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-checks {
    grid-template-columns: 1fr;
  }

  .stage {
    padding: 0 12px 44px 0;
  }

  .stage::before {
    top: 16px;
    left: 16px;
    right: 0;
    bottom: 28px;
  }

  .alert-card {
    bottom: 0;
    padding: 10px 14px 10px 10px;
  }

  .alert-card strong {
    font-size: 13.5px;
  }

  .page-hero {
    padding: 48px 0 40px;
  }

  .pillars {
    gap: 28px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .tile.wide {
    grid-column: auto;
  }

  .tile-split {
    flex-direction: column;
  }

  .alert-list {
    width: 100%;
  }

  .mobile-copy h2 {
    font-size: clamp(40px, 11vw, 56px);
  }

  .phones {
    gap: 12px;
    padding-top: 40px;
  }

  .phone {
    width: 30%;
  }

  .phone.raised {
    width: 34%;
    transform: translateY(-24px);
  }

  .form-card {
    padding: 28px 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .agenda-item {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0 -16px;
    padding: 24px 16px;
  }

  .date-tile {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
  }

  .date-tile .day {
    font-size: 44px;
    margin: 0;
  }

  .date-tile .range {
    margin-top: 0;
  }

  .agenda-body h3 {
    font-size: 23px;
  }

  .agenda-actions .btn {
    width: 100%;
  }

  .register-card {
    padding: 0;
  }

  .register-for,
  .register-form,
  .event-registered {
    padding-left: 22px;
    padding-right: 22px;
  }

  .thank-you-card {
    padding: 36px 22px;
  }

  .testimonial-card {
    padding: 28px 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
