/* --- Training Catalog Grids --- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 38px 0 54px 0;
}
.catalog-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  padding: 32px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.catalog-card h3 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.catalog-card p {
  color: var(--text-soft);
  font-size: 1.01rem;
  margin: 0 0 2px 0;
}
.catalog-format {
  color: var(--brand-strong);
  font-size: 0.97rem;
  margin-bottom: 8px;
}
.catalog-card .btn {
  margin-top: 10px;
}
.aha-catalog-grid {
  margin-bottom: 54px;
}
.redcross-heading {
  margin-top: 0;
  margin-bottom: 0;
}
.redcross-eyebrow {
  background: #fff1ee;
  color: #e21c2a;
}
.redcross-title {
  color: #e21c2a;
  margin-bottom: 0;
}
.redcross-catalog-grid {
  background: #f7f9fc;
  border-radius: 22px;
  margin-bottom: 54px;
}
.redcross-card h3 {
  color: #e21c2a;
}
.redcross-card .btn {
  border-color: #e21c2a;
  color: #e21c2a;
}
.stopbleed-heading {
  margin-top: 0;
  margin-bottom: 0;
}
.stopbleed-eyebrow {
  background: #eaf7ee;
  color: #1f7a51;
}
.stopbleed-title {
  color: #1f7a51;
  margin-bottom: 0;
}
.stopbleed-lead {
  color: #1f7a51;
  font-size: 1.08rem;
  margin: 18px 0 0 0;
}
.stopbleed-cta {
  margin-top: 22px;
  min-width: 240px;
}
@media (max-width: 1080px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--brand-strong);
}
.redcross-course-list {
  color: #e21c2a;
}
.aha-supporting-text {
  color: var(--text-soft);
  font-size: 1.01rem;
  text-align: center;
  margin: 0 0 2px 0;
}
.redcross-supporting-text {
  color: #b73421;
  font-size: 0.98rem;
  text-align: center;
  margin: 0;
}
@media (max-width: 900px) {
  .training-branding-grid {
    flex-direction: column;
    gap: 32px;
  }
}
.class-placeholder-section {
  padding-top: 54px;
  padding-bottom: 54px;
}
.class-placeholder-copy {
  margin: 18px 0 0;
  font-size: 1.13rem;
  color: rgba(248, 251, 255, 0.88);
}
.class-placeholder-section .btn {
  margin-top: 28px;
  min-width: 240px;
}
.class-placeholder-section .section-heading {
  margin-bottom: 0;
}
.class-placeholder-section .eyebrow {
  margin-bottom: 12px;
}
.class-placeholder-section h2 {
  margin-bottom: 10px;
}
.class-placeholder-section #classes-list {
  min-height: 0;
  margin-top: 0;
}
.hero-actions.hero-actions-multi {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn-accent {
  background: linear-gradient(135deg, var(--gold) 0%, #ffe6a0 100%);
  color: #12385b;
  border: 1px solid var(--gold);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(201, 150, 43, 0.13);
}

.support-cards-section {
  background: #f7f9fc;
}
.support-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.support-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.support-card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}
.support-card p {
  color: var(--text-soft);
  font-size: 1.01rem;
}
.support-card .btn {
  margin-top: 10px;
  align-self: start;
}

.org-support-section {
  background: #f4f7fb;
}
.org-support-grid {
  display: grid;
  gap: 0;
}
.org-support-copy {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.org-support-copy .eyebrow {
  margin-bottom: 12px;
}
.org-support-copy h2 {
  margin-bottom: 14px;
}
.org-support-copy p {
  color: var(--text-soft);
  font-size: 1.08rem;
}

.compliance-upsell-section {
  background: linear-gradient(90deg, #f7f9fc 60%, #fffbe6 100%);
}
.compliance-upsell-grid {
  display: grid;
  gap: 0;
}
.compliance-upsell-copy {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.compliance-upsell-copy .eyebrow {
  margin-bottom: 12px;
}
.compliance-upsell-copy h2 {
  margin-bottom: 14px;
}
.compliance-upsell-copy p {
  color: var(--text-soft);
  font-size: 1.08rem;
}
.compliance-upsell-copy .btn {
  margin-top: 18px;
}

.instructor-support-section {
  background: #f7f9fc;
}
.instructor-support-grid {
  display: grid;
  gap: 0;
}
.instructor-support-copy {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.instructor-support-copy .eyebrow {
  margin-bottom: 12px;
}
.instructor-support-copy h2 {
  margin-bottom: 14px;
}
.instructor-support-copy p {
  color: var(--text-soft);
  font-size: 1.08rem;
}
.instructor-support-copy .btn {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .support-cards-grid {
    grid-template-columns: 1fr;
  }
}
:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-muted: #eef3f9;
  --surface-strong: #0f2237;
  --surface-dark: #0c1727;
  --text: #142437;
  --text-soft: #43566b;
  --text-inverse: #f8fbff;
  --border: #d7e1eb;
  --border-strong: #b8c8d8;
  --brand: #12385b;
  --brand-strong: #0c2c49;
  --accent: #d64933;
  --accent-deep: #b73421;
  --accent-soft: #fff1ee;
  --gold: #c9962b;
  --success: #1f7a51;
  --shadow-sm: 0 12px 30px rgba(14, 29, 47, 0.08);
  --shadow-lg: 0 28px 70px rgba(14, 29, 47, 0.12);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(214, 73, 51, 0.07), transparent 24%),
    radial-gradient(circle at 92% 0%, rgba(18, 56, 91, 0.08), transparent 22%),
    linear-gradient(180deg, #f7f9fc 0%, #f4f7fb 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link,
.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-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  margin: 16px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--brand);
  border-radius: 12px;
  z-index: 100;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section-light {
  background: rgba(255, 255, 255, 0.55);
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(12, 23, 39, 0.98), rgba(15, 34, 55, 0.98)),
    linear-gradient(135deg, rgba(214, 73, 51, 0.1), transparent 36%);
  color: var(--text-inverse);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: rgba(247, 249, 252, 0.86);
  border-bottom: 1px solid rgba(20, 36, 55, 0.08);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(18, 56, 91, 0.1);
  padding: 6px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a:not(.btn) {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible {
  color: var(--brand);
  background: rgba(18, 56, 91, 0.06);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--brand);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
  top: 15px;
}

.nav-toggle span:nth-child(2) {
  top: 22px;
}

.nav-toggle span:nth-child(3) {
  top: 29px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ef6a55 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(214, 73, 51, 0.22);
}

.btn-secondary {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--border-strong);
}

.btn-wide {
  width: 100%;
}

.section-hero {
  position: relative;
  overflow: hidden;
  padding-top: 96px;
  padding-bottom: 56px;
  color: var(--text-inverse);
}

.section-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 17, 28, 0.44), rgba(8, 17, 28, 0.74));
  pointer-events: none;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-background-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 28, 0.84) 0%, rgba(8, 17, 28, 0.58) 45%, rgba(8, 17, 28, 0.68) 100%),
    linear-gradient(180deg, rgba(214, 73, 51, 0.18), transparent 34%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 34px;
  align-items: stretch;
}

.hero-copy {
  padding: 12px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.eyebrow-small {
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

h1,
h2 {
  font-family: 'Fraunces', serif;
  line-height: 1.04;
}

h1 {
  margin-top: 20px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  max-width: 13ch;
}

.hero-lead,
.section-heading p,
.audience-card p,
.course-card p,
.group-card p,
.reason-card p,
.footer-copy,
.hero-panel p,
.class-meta,
.class-copy p {
  color: var(--text-soft);
  line-height: 1.72;
}

.hero-lead {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1.06rem;
}

.hero-lead-strong,
.hero-credibility-copy,
.section-hero .hero-points li,
.section-hero .hero-panel p,
.section-hero .focus-grid span {
  color: rgba(248, 251, 255, 0.88);
}

.hero-credibility-copy {
  max-width: 58ch;
  margin: 14px 0 0;
  font-size: 0.98rem;
  font-weight: 600;
}

.hero-actions,
.group-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
}

.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(214, 73, 51, 0.12);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-panel-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 18px 50px rgba(3, 9, 15, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.panel-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-panel-card h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #fff;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.focus-grid div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px;
}

.focus-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.focus-grid span {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.credibility-bar {
  padding: 18px 0 16px;
}

.credibility-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  padding: 0;
}

.credibility-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 22px;
  color: var(--brand);
  font-size: 0.96rem;
  font-weight: 800;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.section-heading {
  max-width: 760px;
}

.section-heading-center {
  margin: 0 auto;
  text-align: center;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
}

.section-heading p {
  margin: 12px 0 0;
}

.audience-grid,
.course-grid,
.group-card-grid,
.reason-cards {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.audience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.group-card-grid,
.reason-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audience-card,
.course-card,
.group-card,
.reason-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.audience-card h3,
.course-card h3,
.group-card h3,
.reason-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.classes-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.section-dark .section-heading p,
.section-dark .class-meta,
.section-dark .class-copy p,
.section-dark .calendar-card,
.section-dark .class-card {
  color: rgba(248, 251, 255, 0.8);
}

.calendar-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.calendar-card,
.class-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
}

.calendar-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 18px 14px;
  text-align: center;
}

.calendar-month,
.class-month,
.class-tag,
.course-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.calendar-date,
.class-day-number {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.calendar-day,
.calendar-course,
.class-weekday {
  color: rgba(248, 251, 255, 0.78);
  font-size: 0.88rem;
}

.classes-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.class-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 180px;
  gap: 20px;
  align-items: center;
  padding: 22px;
  box-shadow: 0 18px 36px rgba(4, 10, 18, 0.16);
}

.class-date-block {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.class-header-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.class-header-row h3 {
  margin-top: 10px;
  font-size: 1.45rem;
  color: #fff;
}

.seat-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(111, 210, 160, 0.16);
  color: #d7ffeb;
  border: 1px solid rgba(111, 210, 160, 0.28);
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.88rem;
}

.class-meta {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.class-meta strong {
  color: #fff;
}

.class-note {
  margin: 14px 0 0;
  color: rgba(248, 251, 255, 0.88);
  font-size: 0.93rem;
  line-height: 1.65;
}

.class-actions {
  display: flex;
  justify-content: end;
}

.course-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.course-card-featured {
  border-color: rgba(214, 73, 51, 0.22);
  box-shadow: 0 24px 52px rgba(214, 73, 51, 0.12);
}

.course-card-secondary {
  background: linear-gradient(180deg, #fcf6ef, #fff);
}

.course-tag {
  align-self: start;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.course-audience,
.course-format {
  margin: 0;
}

.group-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: start;
}

.group-copy {
  display: grid;
  gap: 18px;
}

.group-visual-block {
  display: grid;
  gap: 20px;
}

.group-visual-card {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.group-visual-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.group-visual-card figcaption {
  padding: 16px 20px 20px;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.reason-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.final-cta {
  background: linear-gradient(180deg, #11273f 0%, #0c1727 100%);
  color: var(--text-inverse);
}

.final-cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: 28px;
  align-items: center;
}

.cta-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
}

.contact-link {
  color: #fff;
  font-weight: 700;
}

.site-footer {
  padding: 32px 0 44px;
  background: #08111c;
  color: rgba(248, 251, 255, 0.88);
}

.footer-grid {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.brand-footer .brand-subtitle,
.footer-copy {
  color: rgba(248, 251, 255, 0.7);
}

.footer-copy {
  max-width: 60ch;
  margin: 16px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 14px;
  max-width: 420px;
}

.footer-links a {
  color: rgba(248, 251, 255, 0.86);
  font-weight: 700;
}

@media (max-width: 1080px) {
  .hero-grid,
  .group-grid,
  .reason-grid,
  .final-cta-shell,
  .credibility-items {
    grid-template-columns: 1fr;
  }

  .audience-grid,
  .course-grid,
  .group-card-grid,
  .reason-cards,
  .calendar-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .class-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .class-actions {
    grid-column: 1 / -1;
    justify-content: start;
  }
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    min-width: 260px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .classes-heading {
    flex-direction: column;
    align-items: start;
  }

  .focus-grid,
  .audience-grid,
  .course-grid,
  .group-card-grid,
  .reason-cards,
  .calendar-strip {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-links {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 54px 0;
  }

  .container {
    width: min(100vw - 28px, 1180px);
  }

  .nav-shell {
    min-height: 72px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-panel-card,
  .audience-card,
  .course-card,
  .group-card,
  .reason-card,
  .cta-panel,
  .credibility-item,
  .group-visual-card {
    padding: 20px;
  }

  .group-visual-card {
    padding: 0;
  }

  .class-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .class-date-block {
    justify-items: start;
  }

  .class-header-row {
    flex-direction: column;
    align-items: start;
  }

  .hero-actions,
  .group-actions {
    flex-direction: column;
  }

  .btn,
  .btn-wide {
    width: 100%;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  /* If logo is used as background-image, update to carechain-logo-new.png */
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: "Inter", "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-product {
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a:not(.btn) {
  font-size: 0.88rem;
  color: var(--muted-strong);
  padding: 7px 9px;
  border-radius: 8px;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 11px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #06101a;
  background: linear-gradient(135deg, #86ddf7 0%, #6dcfe8 100%);
  box-shadow: 0 10px 24px rgba(76, 177, 211, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 12px 28px rgba(76, 177, 211, 0.32);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(169, 192, 221, 0.35);
  background: rgba(10, 22, 38, 0.45);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(202, 222, 247, 0.42);
  background: rgba(20, 38, 60, 0.56);
}

.nav-cta {
  margin-left: 4px;
}

.hero {
  padding-top: 20px;
  padding-bottom: 36px;
  overflow: hidden;
}

.hero-grid,
.split-grid,
.services-grid,
.showcase-grid,
.final-cta-shell,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 9px;
  background: rgba(97, 215, 255, 0.08);
  border: 1px solid rgba(97, 215, 255, 0.18);
  color: #b7ecfb;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
strong {
  letter-spacing: -0.03em;
}

h1 {
  margin: 0;
  font-family: "Inter", "Manrope", sans-serif;
  font-size: clamp(2.35rem, 3vw, 2.65rem);
  line-height: 1.0;
  max-width: 12ch;
}

h2 {
  margin: 0;
  font-family: "Inter", "Manrope", sans-serif;
  font-size: clamp(1.75rem, 2.9vw, 2.8rem);
  line-height: 1.04;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
}

p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.58;
}

.hero-lead,
.section-heading p {
  max-width: 62ch;
  font-size: 0.98rem;
}

.hero-copy h1 {
  margin-bottom: 8px;
}

.hero-copy .eyebrow {
  margin-bottom: 8px;
}

.hero-copy .hero-lead {
  max-width: 58ch;
  font-size: 0.94rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  gap: 8px;
  margin: 10px 0 8px;
  flex-wrap: wrap;
}

.hero-points,
.service-list,
.queue-list,
.footer-links,
.trust-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points {
  display: grid;
  gap: 6px;
}

.hero-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted-strong);
}

.hero-points li::before,
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 22px rgba(97, 215, 255, 0.4);
}

.hero-visual {
  position: relative;
  min-height: 480px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.65;
}

.hero-orb-a {
  width: 180px;
  height: 180px;
  background: rgba(97, 215, 255, 0.28);
  top: 80px;
  right: 16px;
}

.hero-orb-b {
  width: 220px;
  height: 220px;
  background: rgba(255, 199, 111, 0.16);
  bottom: 40px;
  left: -20px;
}

.product-frame,
.pain-card,
.feature-card,
.use-case-card,
.result-card,
.service-card,
.pricing-card,
.showcase-card,
.cta-panel,
.trust-grid,
.results-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.product-frame {
  position: relative;
  z-index: 1;
  padding: 18px;
  min-height: unset;
}

.frame-topbar,
.panel-header,
.showcase-label,
.service-card-top,
.pricing-top,
.metric-card,
.pain-card,
.feature-card,
.use-case-card,
.result-card,
.cta-panel,
.showcase-card {
  position: relative;
}

.frame-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.frame-pill,
.frame-status,
.service-badge,
.pricing-badge,
.showcase-label,
.result-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: var(--muted-strong);
}

.frame-content {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 14px;
  min-height: 450px;
}

.frame-sidebar,
.frame-main,
.showcase-screen,
.scan-card {
  border-radius: 22px;
  background: rgba(6, 13, 23, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.frame-sidebar {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.sidebar-block {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}

.sidebar-block strong,
.metric-card strong,
.queue-list strong,
.cta-panel strong,
.pricing-card strong {
  display: block;
}

.sidebar-block span,
.metric-card span,
.metric-card small,
.panel-header span,
.section-heading .eyebrow,
.pain-card p,
.feature-card p,
.use-case-card p,
.service-note,
.pricing-meta,
.footer-copy,
.cta-note {
  color: var(--muted);
}

.sidebar-block.active {
  border-color: rgba(97, 215, 255, 0.28);
  background: linear-gradient(135deg, rgba(97, 215, 255, 0.14), rgba(255, 255, 255, 0.04));
}

.frame-main {
  padding: 14px;
  display: grid;
  gap: 14px;
}

.app-canvas-slot {
  min-height: 190px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 72px),
    linear-gradient(160deg, rgba(97, 215, 255, 0.18), rgba(110, 242, 178, 0.09) 42%, rgba(10, 20, 35, 0.78) 92%);
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 16px;
  overflow: hidden;
}

.app-canvas-label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.app-canvas-note {
  color: var(--muted);
  font-size: 0.8rem;
}

.metric-row,
.insight-grid,
.pain-grid,
.feature-grid,
.use-case-grid,
.results-grid,
.pricing-grid {
  display: grid;
  gap: 14px;
}

.metric-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card {
  min-height: 134px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.metric-card strong {
  margin: 10px 0 6px;
  font-size: 1.75rem;
}

.accent-cyan {
  background: linear-gradient(180deg, rgba(97, 215, 255, 0.13), rgba(255, 255, 255, 0.04));
}

.accent-gold {
  background: linear-gradient(180deg, rgba(255, 199, 111, 0.14), rgba(255, 255, 255, 0.04));
}

.accent-green {
  background: linear-gradient(180deg, rgba(110, 242, 178, 0.13), rgba(255, 255, 255, 0.04));
}

.insight-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.insight-panel {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.insight-panel.wide {
  min-height: 246px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.signal-bars {
  height: 160px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.signal-bars span {
  display: block;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, rgba(97, 215, 255, 0.96), rgba(97, 215, 255, 0.18));
  animation: pulseBar 5s ease-in-out infinite;
}

.signal-bars .bar-1 {
  height: 42%;
}

.signal-bars .bar-2 {
  height: 58%;
}

.signal-bars .bar-3 {
  height: 38%;
}

.signal-bars .bar-4 {
  height: 77%;
}

.signal-bars .bar-5 {
  height: 64%;
}

.signal-bars .bar-6 {
  height: 88%;
}

.signal-bars .bar-7 {
  height: 56%;
}

.signal-bars span:nth-child(2n) {
  animation-delay: 0.6s;
}

.signal-bars span:nth-child(3n) {
  animation-delay: 1.1s;
}

.scan-card {
  min-height: 172px;
  padding: 16px;
}

.scan-screen {
  height: 110px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(97, 215, 255, 0.65) 50%, transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: scanGlow 4.8s linear infinite;
}

.scan-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
}

.queue-list {
  display: grid;
  gap: 14px;
}

.queue-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.trust-band {
  padding-top: 0;
}

.trust-grid,
.results-shell,
.final-cta-shell {
  padding: 20px 22px;
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-items span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
}

.section-heading {
  display: grid;
  gap: 12px;
}

.section-heading-center {
  max-width: 860px;
  margin: 0 auto 24px;
  text-align: center;
}

.pain-grid,
.feature-grid,
.use-case-grid,
.results-grid,
.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pain-card,
.feature-card,
.use-case-card,
.result-card,
.pricing-card {
  padding: 18px;
}

.pain-card h3,
.feature-card h3,
.use-case-card h3,
.result-card h3,
.pricing-card h3 {
  margin-bottom: 8px;
}

.pain-card p,
.feature-card p,
.use-case-card p,
.pricing-meta,
.service-note,
.footer-copy,
.cta-note {
  font-size: 0.9rem;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(97, 215, 255, 0.18), rgba(255, 199, 111, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-section {
  overflow: hidden;
}

.showcase-section .showcase-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

.showcase-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.showcase-card {
  padding: 14px;
}

.demo-video-card {
  padding: 16px;
  background: linear-gradient(160deg, rgba(97, 215, 255, 0.08), rgba(17, 35, 58, 0.9));
  border-color: rgba(97, 215, 255, 0.28);
}

.demo-subtext {
  margin-top: 8px;
  color: var(--muted-strong);
}

.demo-video-shell {
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(5, 12, 22, 0.84);
  overflow: hidden;
}

.demo-browser-top {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.demo-browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.demo-browser-top small {
  margin-left: 6px;
  color: var(--muted);
}

.demo-video-stage {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: stretch;
  background: radial-gradient(circle at 30% 20%, rgba(97, 215, 255, 0.16), transparent 40%), #040b16;
}

.demo-media,
.demo-poster {
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-poster {
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(7, 16, 30, 0.65), rgba(7, 16, 30, 0.84)),
    radial-gradient(circle at 70% 18%, rgba(97, 215, 255, 0.22), transparent 26%),
    #07101c;
}

.demo-poster-grid {
  position: absolute;
  inset: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 44px);
}

.demo-poster-copy {
  position: relative;
  z-index: 1;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 15, 27, 0.7);
  font-weight: 700;
}

.demo-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(8, 15, 27, 0.66);
  cursor: pointer;
}

.demo-play-button::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 27px;
  width: 0;
  height: 0;
  border-left: 22px solid #d7f6ff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.is-hidden {
  display: none;
}

.screenshot-gallery {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.gallery-slot {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(169, 192, 221, 0.2);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 24px rgba(4, 10, 18, 0.3);
  cursor: zoom-in;
}

.gallery-slot.slot-primary {
  grid-column: span 12;
}

.gallery-slot.slot-secondary {
  grid-column: span 4;
}

.gallery-slot.slot-optional {
  grid-column: 4 / span 6;
}

.gallery-shot-wrap {
  min-height: 140px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  border: 1px solid rgba(169, 192, 221, 0.22);
  background: rgba(4, 11, 21, 0.95);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 26px rgba(4, 10, 18, 0.38);
}

.gallery-slot:hover .gallery-shot-wrap,
.gallery-slot:focus-within .gallery-shot-wrap {
  transform: translateY(-1px);
  border-color: rgba(97, 215, 255, 0.3);
  box-shadow: 0 14px 34px rgba(7, 16, 30, 0.45);
}

.gallery-shot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: radial-gradient(circle at top right, rgba(97, 215, 255, 0.08), transparent 40%), #050d18;
  display: block;
  opacity: 0.95;
  transition: opacity 200ms ease;
}

.gallery-shot-wrap.is-loaded .gallery-shot-img {
  opacity: 1;
}

/* Removed hero hover zoom effect for professional look */

.gallery-slot strong {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 26px;
  background: rgba(2, 8, 16, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-figure {
  margin: 0;
  max-width: min(1200px, 92vw);
  justify-self: center;
  display: grid;
  gap: 10px;
}

.lightbox-figure img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(169, 192, 221, 0.24);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
  background: #060f1d;
}

.lightbox-figure figcaption {
  text-align: center;
  color: #d7e6fb;
  font-size: 0.9rem;
}

.lightbox-close,
.lightbox-nav {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid rgba(169, 192, 221, 0.35);
  background: rgba(7, 18, 31, 0.86);
  color: #e6f1ff;
  font-size: 0.82rem;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.showcase-wide {
  grid-column: span 2;
}

.showcase-screen {
  margin-top: 14px;
  min-height: 260px;
  overflow: hidden;
}

.screen-analytics,
.screen-mobile,
.screen-alerts,
.screen-reporting {
  position: relative;
}

.screen-analytics::before,
.screen-mobile::before,
.screen-alerts::before,
.screen-reporting::before,
.screen-analytics::after,
.screen-mobile::after,
.screen-alerts::after,
.screen-reporting::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
}

.screen-analytics::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 80px),
    linear-gradient(180deg, rgba(97, 215, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.screen-analytics::after {
  inset: auto 34px 34px 34px;
  height: 88px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(97, 215, 255, 0.9), rgba(110, 242, 178, 0.45)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent);
  clip-path: polygon(0 100%, 0 56%, 16% 38%, 31% 48%, 47% 18%, 62% 30%, 79% 0, 100% 18%, 100% 100%);
}

.screen-mobile::before {
  inset: 26px auto 26px calc(50% - 82px);
  width: 164px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(97, 215, 255, 0.14), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.screen-mobile::after {
  inset: 62px auto auto calc(50% - 52px);
  width: 104px;
  height: 104px;
  border-radius: 24px;
  border: 2px dashed rgba(97, 215, 255, 0.7);
  box-shadow: 0 0 0 12px rgba(97, 215, 255, 0.08);
}

.screen-alerts::before {
  background:
    linear-gradient(180deg, rgba(255, 141, 141, 0.14), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.screen-alerts::after {
  inset: 28px;
  background:
    linear-gradient(180deg, transparent 0 18%, rgba(255, 255, 255, 0.05) 18% 19%, transparent 19% 40%, rgba(255, 255, 255, 0.05) 40% 41%, transparent 41%),
    radial-gradient(circle at 22% 25%, rgba(255, 141, 141, 0.9) 0 12px, transparent 13px),
    radial-gradient(circle at 72% 58%, rgba(255, 199, 111, 0.85) 0 12px, transparent 13px),
    radial-gradient(circle at 40% 78%, rgba(97, 215, 255, 0.78) 0 12px, transparent 13px);
}

.screen-reporting::before {
  background:
    linear-gradient(180deg, rgba(110, 242, 178, 0.12), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 56px);
}

.screen-reporting::after {
  inset: auto 28px 28px 28px;
  height: 108px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(97, 215, 255, 0.18) 0 24%, transparent 24% 28%, rgba(255, 199, 111, 0.18) 28% 62%, transparent 62% 66%, rgba(110, 242, 178, 0.18) 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
}

.use-case-card,
.result-card,
.pricing-card {
  display: grid;
  gap: 14px;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-groups .pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Responsive pricing card layout */
@media (max-width: 767px) {
  .pricing-groups .pricing-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pricing-card {
    width: 100%;
    padding: 24px;
    margin: 0 auto;
    min-width: 0;
    box-sizing: border-box;
  }
  .pricing-card .btn {
    width: 100%;
    min-width: 0;
    white-space: nowrap;
    text-align: center;
    font-size: 1rem;
  }
  .pricing-list {
    font-size: 15px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .pricing-groups .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .pricing-card {
    padding: 24px;
  }
}

.pricing-card {
  min-height: 320px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}
.pricing-card .btn {
  margin-top: auto;
  align-self: stretch;
}
.pricing-list {
  font-size: 0.96rem;
}
.pricing-card.featured {
  position: relative;
  border: 2px solid #61d7ff;
  box-shadow: 0 8px 32px rgba(97,215,255,0.18);
}
.pricing-card.featured .recommended-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #61d7ff;
  color: #07111f;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 4px 12px;
  box-shadow: 0 2px 8px rgba(97,215,255,0.18);
  z-index: 2;
}
}

.pricing-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-card .pricing-list {
  margin-bottom: 6px;
}

.pricing-card .btn {
  margin-top: auto;
}

.result-card strong {
  font-size: 2.6rem;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
}

.service-card {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.service-card-top {
  display: grid;
  gap: 10px;
}

.service-list {
  display: grid;
  gap: 10px;
}

.service-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted-strong);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(97, 215, 255, 0.12), rgba(255, 255, 255, 0.03));
  border-color: rgba(97, 215, 255, 0.22);
}

.pricing-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.pricing-price {
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
}

.pricing-groups {
  display: grid;
  gap: 16px;
}

.pricing-group-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.pricing-price-wrap {
  text-align: right;
}

.pricing-period {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.pricing-limits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pricing-limits li {
  color: #dbebff;
  font-size: 0.9rem;
}

.enterprise-plan {
  border-radius: 16px;
  border: 1px solid rgba(255, 199, 111, 0.2);
  background: linear-gradient(135deg, rgba(255, 199, 111, 0.08), rgba(16, 34, 56, 0.88));
  padding: 20px;
  max-width: calc((100% - 28px) / 3);
  width: 100%;
  margin: 0 auto;
}

.enterprise-card {
  display: grid;
  gap: 12px;
}

.enterprise-heading {
  display: grid;
  gap: 6px;
}

.enterprise-heading h3 {
  font-size: 1.25rem;
}

.custom-pricing-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 5px;
  border: 1px solid rgba(169, 192, 221, 0.28);
  background: rgba(169, 192, 221, 0.1);
  color: #cbd8ea;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.enterprise-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  flex: 1;
}

.enterprise-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.enterprise-card li {
  color: var(--muted-strong);
}

.enterprise-card .btn {
  margin-top: auto;
}

.addons-strip {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.addons-strip h4,
.addons-strip p {
  margin: 0;
}

.pricing-login-cta {
  text-align: center;
}

.pricing-login-cta a {
  color: #80e7ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pricing-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pricing-list li {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted-strong);
}

.btn-wide {
  width: 100%;
}

.cta-panel {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.site-footer {
  padding: 16px 0 28px;
}

.brand-footer {
  margin-bottom: 16px;
}

.footer-copy {
  max-width: 50ch;
}

.footer-contact {
  margin-top: 10px;
}

.footer-contact a {
  color: #d4e9ff;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted-strong);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
}

[data-reveal="left"] {
  transform: translateX(26px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@keyframes scanGlow {
  0% {
    background-position: -160px 0, 0 0;
  }
  100% {
    background-position: 260px 0, 0 0;
  }
}

@keyframes pulseBar {
  0%,
  100% {
    opacity: 0.72;
    transform: scaleY(0.96);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .split-grid,
  .services-grid,
  .showcase-grid,
  .final-cta-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 0;
  }

  .pain-grid,
  .feature-grid,
  .use-case-grid,
  .results-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-groups .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enterprise-plan {
    max-width: min(620px, 100%);
  }

  .screenshot-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gallery-slot.slot-primary {
    grid-column: span 6;
  }

  .gallery-slot.slot-secondary {
    grid-column: span 3;
  }

  .gallery-slot.slot-optional {
    grid-column: span 6;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-wide {
    grid-column: auto;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 64px;
    --container: min(1180px, calc(100vw - 28px));
  }

  h1 {
    font-size: clamp(2.125rem, 4.2vw, 2.375rem);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: rgba(6, 13, 23, 0.95);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.btn) {
    padding: 12px 14px;
  }

  .nav-cta {
    margin-left: 0;
  }

  .frame-content {
    grid-template-columns: 1fr;
  }

  .metric-row,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-video-stage {
    min-height: 320px;
  }

  .site-nav {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 52px 0;
  }

  h1 {
    font-size: clamp(1.75rem, 7.6vw, 2rem);
    max-width: none;
  }

  .hero {
    padding-top: 18px;
    padding-bottom: 30px;
  }

  .enterprise-feature-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lightbox {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .lightbox-nav {
    justify-self: center;
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .pain-grid,
  .feature-grid,
  .use-case-grid,
  .results-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .product-frame,
  .trust-grid,
  .results-shell,
  .cta-panel,
  .service-card,
  .pricing-card,
  .showcase-card,
  .pain-card,
  .feature-card,
  .use-case-card,
  .result-card {
    border-radius: 22px;
  }

  .hero-actions {
    flex-direction: row;
    gap: 10px;
  }

  .hero-actions .btn,
  .cta-panel .btn,
  .site-nav .btn {
    width: 100%;
  }

  .frame-topbar,
  .panel-header,
  .pricing-top,
  .scan-meta,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-frame {
    padding: 16px;
  }

  .frame-main,
  .frame-sidebar {
    padding: 14px;
  }

  .demo-video-stage {
    min-height: 244px;
  }

  .demo-play-button {
    width: 66px;
    height: 66px;
  }

  .demo-play-button::before {
    left: 27px;
    top: 21px;
    border-left-width: 17px;
    border-top-width: 11px;
    border-bottom-width: 11px;
  }

  .screenshot-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-slot.slot-primary {
    grid-column: auto;
  }

  .gallery-slot.slot-secondary {
    grid-column: auto;
  }

  .gallery-slot.slot-optional {
    grid-column: auto;
  }

  .gallery-shot-wrap {
    min-height: 140px;
  }

  .addons-strip {
    display: grid;
    gap: 8px;
  }

  .pricing-price-wrap {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}