/* LAMP-friendly styles matching HubSpot Landing Page CT (go.oliverslearning.com/landing-page-ct) */
/* Theme: Cabin, accent #03B7DD, dark #1E1E1E, body #53535B */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: Cabin, sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: #53535B;
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: #03B7DD;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: #03B7DD;
  color: #fff;
}

.skip-link:focus {
  left: 0;
}

/* Container (Base44-style max-widths) */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container { padding: 0 3rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 5rem; }
}

.container--header {
  max-width: 1280px;
}

.container--wide {
  max-width: 1280px;
}

.container--mid {
  max-width: 1024px;
}

.container--form {
  max-width: 768px;
}

/* Header */
.site-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: #fff;
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  flex: 0 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo-img {
  display: block;
  vertical-align: middle;
  height: auto;
  width: 200px;
  max-width: 100%;
}

@media (min-width: 768px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 3rem;
  }

  .header-inner {
    flex: 0 0 auto;
    padding: 0;
    margin: 0;
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .site-header {
    padding: 1.25rem 5rem;
  }
}

/* Hamburger: hidden on desktop */
.header-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #1E1E1E;
}

.header-menu-btn-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.header-menu-btn-line {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.header-menu-btn[aria-expanded="true"] .header-menu-btn-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header-menu-btn[aria-expanded="true"] .header-menu-btn-line:nth-child(2) {
  opacity: 0;
}
.header-menu-btn[aria-expanded="true"] .header-menu-btn-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.header-nav a:hover {
  color: #03B7DD;
  text-decoration: none;
}

/* Mobile menu */
@media (max-width: 767px) {
  .header-menu-btn {
    display: flex;
  }

  .header-inner {
    overflow: visible;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 101;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .site-header.is-open .header-nav {
    display: flex;
  }

  .header-nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
  }

  .header-nav a:last-child {
    border-bottom: none;
  }
}

/* Block sections (Base44 py-20/py-28, px-6/12/20) */
.block {
  width: 100%;
  padding: 3rem 1.5rem;
}

@media (min-width: 768px) {
  .block { padding: 5rem 3rem; }
}

@media (min-width: 1024px) {
  .block { padding: 7rem 5rem; }
}

.block--hero {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .block--hero { padding-top: 2rem; padding-bottom: 5rem; }
}

@media (min-width: 1024px) {
  .block--hero { padding-top: 2.5rem; padding-bottom: 7rem; }
}

.block--secondary {
  background: #f5f7f9;
}

.block--white {
  background: #fff;
}

.block--dark {
  background: #1E1E1E;
  color: #fafafa;
}

/* Block typography */
.block-heading {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1E1E1E;
  margin: 0 0 0.5rem;
}

.block-heading--light {
  color: #fafafa;
}

.block-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
}

.block-lead--light {
  color: rgba(250, 250, 250, 0.8);
}

.block-heading + .block-lead {
  margin-top: 2rem;
}

.block-subtitle {
  font-size: 1.125rem;
  line-height: 1.5;
  color: #53535B;
  margin: 0.25rem 0 0;
}

.block-header {
  margin-bottom: 4rem;
}

.block-tagline {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 600;
  color: #1E1E1E;
  margin: 0;
}

@media (min-width: 768px) {
  .block-heading { font-size: 1.875rem; }
  .block-lead { font-size: 1.25rem; }
  .block-tagline { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
  .block-heading { font-size: 2.25rem; }
  .block-tagline { font-size: 1.5rem; }
}

.text-primary { color: #03B7DD; }
.text-foreground { color: #1E1E1E; }
.text-muted { color: #53535B; }

.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 4rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 3rem; }
.max-w-mid { max-width: 1024px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.logo-link {
  display: block;
}

.logo {
  height: auto;
  width: 200px;
}

/* Typography */
.accent {
  color: #03B7DD;
}

.muted {
  color: #808080;
}

.section-heading {
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  color: #1E1E1E;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.section-narrow .section-heading {
  margin-bottom: 1.25rem;
}

.section-narrow .section-lead {
  margin-bottom: 1.25rem;
}

.section-narrow .section-lead:last-child {
  margin-bottom: 0;
}

.section-lead {
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 18px;
  line-height: 1.4;
  color: #53535B;
  margin-bottom: 2rem;
}

.section-tagline {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
}

.text-center {
  text-align: center;
}

.section-intro .section-heading,
.section-intro .section-lead {
  text-align: center;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 48px;
    line-height: 56px;
  }
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-alt {
  background: #f8f8f8;
}

.section-intro {
  background: #fff;
}

.section-narrow {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero (Base44: 2-col, title primary, button with arrow) */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-title {
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #03B7DD;
  margin: 0 0 2rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #1E1E1E;
  margin: 0 0 2.5rem;
  max-width: 36rem;
}

@media (min-width: 768px) {
  .hero-title { font-size: 3rem; }
  .hero-subtitle { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 3.4rem; }
  .hero-subtitle { font-size: 1.5rem; }
}

/* Buttons (Base44: rounded-full, shadow, icon) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 2rem;
  font-family: Cabin, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--primary {
  background: #03B7DD;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(3, 183, 221, 0.2);
}

.btn--primary:hover {
  background: rgba(3, 183, 221, 0.9);
  box-shadow: 0 20px 25px -5px rgba(3, 183, 221, 0.3);
  transform: translateY(-2px);
}

.btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Video (Base44: aspect-square, rounded-2xl, border) */
.hero-media {
  position: relative;
}

.video-frame {
  position: relative;
  aspect-ratio: 1;
  max-width: 32rem;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid rgba(3, 183, 221, 0.2);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, opacity 0.2s;
}

.video-play-overlay:hover {
  background: rgba(0, 0, 0, 0.45);
}

.video-play-overlay svg {
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.video-wrapper.playing .video-play-overlay {
  pointer-events: none;
  opacity: 0;
}

.video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-hero {
  padding-top: 0;
  padding-bottom: 100px;
}

.video-wrap {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.hero-video {
  width: 100%;
  display: block;
}

/* Card grids (Base44: gap-8 lg:gap-10) */
.card-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .card-grid { gap: 2.5rem; }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Light cards (Base44: bg-card, border, rounded-2xl, p-8, icon box) */
.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.card--light:hover {
  border-color: rgba(3, 183, 221, 0.3);
  box-shadow: 0 20px 25px -5px rgba(3, 183, 221, 0.05);
}

.card-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: rgba(3, 183, 221, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}

.card--light:hover .card-icon-wrap {
  background: rgba(3, 183, 221, 0.15);
}

.card-icon-wrap--sm {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
}

.card-icon-svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #03B7DD;
}

.card-icon-wrap--sm .card-icon-svg {
  width: 1.5rem;
  height: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E1E1E;
  margin: 0 0 0.75rem;
}

.card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #53535B;
  margin: 0;
}

/* Risk cards (Base44: bg-destructive/5, border destructive/10, triangle-alert) */
.risk-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: rgba(220, 38, 38, 0.05);
  border: 1px solid rgba(220, 38, 38, 0.15);
}

.risk-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(220, 38, 38, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.risk-card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #dc2626;
}

.risk-card-text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: #1E1E1E;
  margin: 0;
}

/* Legacy card list / dark / accent (kept for any legacy refs) */
.card-list {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.card-list-three { grid-template-columns: 1fr; }
@media (min-width: 768px) { .card-list-three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .card-list-three { grid-template-columns: repeat(3, 1fr); } }

.card-list-four { grid-template-columns: 1fr; }
@media (min-width: 768px) { .card-list-four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .card-list-four { grid-template-columns: repeat(4, 1fr); } }

.card-dark .card {
  background: #1E1E1E;
  border-color: #03B7DD;
  padding: 40px 24px;
}

.card-accent {
  background: #03B7DD;
  border: none;
  border-radius: 16px;
  padding: 50px 40px;
}

/* Two-column layout */
.two-col {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .two-col {
    grid-template-columns: 40% 1fr;
  }
}

.two-col-media img {
  border-radius: 0;
}

.two-col-rings {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rings-graphic {
  max-width: 320px;
  height: auto;
  opacity: 0.9;
}

.two-col-content .section-heading {
  margin-bottom: 1rem;
}

/* Pre-form: single line of copy (matches original) */
.section-preform {
  background: #fff;
}

.preform-copy {
  text-align: center;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 600;
  color: #1E1E1E;
  margin: 0;
}

@media (max-width: 767px) {
  .preform-copy {
    font-size: 22px;
  }
}

/* Rings (Built by the people) */
.rings-wrap {
  display: block;
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
}

.rings-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Form section (Base44: card with border, rounded-2xl, shadow) */
.form-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .form-card { padding: 2.5rem; }
}

.form-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: #03B7DD;
  margin: 0;
}

.section-form {
  padding-top: 60px;
  padding-bottom: 60px;
  background: #fff;
}

.form-container {
  max-width: 620px;
  margin: 0 auto;
}

.form-section-title {
  text-align: center;
  font-size: 32px;
  line-height: 1.25;
  color: #1E1E1E;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hs-form-frame {
  min-height: 200px;
}

/* HubSpot form overrides (when embed loads) */
.form-container form {
  border: 1px solid #edeef3;
  padding: 30px 24px;
  background: #fff;
  border-radius: 8px;
}

.form-container label {
  font-family: Cabin, sans-serif;
  color: #1E1E1E;
  font-size: 16px;
  margin-bottom: 8px;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container input[type="number"],
.form-container select,
.form-container textarea {
  font-family: Cabin, sans-serif;
  font-size: 16px;
  padding: 12px 10px;
  border-radius: 8px;
  border: none;
  border-bottom: 3px solid #e0e0e0;
  background: #f5f5f5;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}

.form-container input:focus,
.form-container select:focus,
.form-container textarea:focus {
  outline: none;
  border-bottom-color: #03B7DD;
  background: #fafafa;
}

.form-container input[type="submit"] {
  font-family: Cabin, sans-serif;
  background: #03B7DD;
  color: #fff;
  border: 2px solid #03B7DD;
  border-radius: 15px;
  padding: 12px 36px;
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.form-container input[type="submit"]:hover {
  background: #fff;
  color: #03B7DD;
}

.form-container .hs-form-required {
  color: #cc0201;
}

/* Footer (Base44: Built on decades, then divider, then branding/legal) */
.site-footer {
  width: 100%;
  background: #1E1E1E;
  color: #fafafa;
  padding: 5rem 1.5rem 4rem;
}

@media (min-width: 768px) {
  .site-footer { padding: 5rem 3rem; }
}

@media (min-width: 1024px) {
  .site-footer { padding: 7rem 5rem; }
}

.footer-heading {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fafafa;
  margin: 0 0 1rem;
}

@media (min-width: 768px) {
  .footer-heading { font-size: 1.875rem; }
}

@media (min-width: 1024px) {
  .footer-heading { font-size: 2.25rem; }
}

.footer-lead {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(250, 250, 250, 0.6);
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-lead { font-size: 1.125rem; }
}

.footer-strong {
  color: rgba(250, 250, 250, 0.85);
}

.footer-divider {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 250, 250, 0.1);
}

.footer-brand {
  margin-bottom: 0.75rem;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo-link img {
  height: 39px;
  width: auto;
}

.footer-email {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
}

.footer-email a {
  color: #fafafa;
}

.footer-legal {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(250, 250, 250, 0.6);
}

.footer-legal a {
  color: rgba(250, 250, 250, 0.8);
}

.footer-legal [aria-hidden="true"] {
  margin: 0 0.5rem;
}

.footer-inner { text-align: center; }
.footer-logo { margin-bottom: 1rem; }
.footer-logo a { display: inline-block; }
.footer-logo img { height: 39px; width: auto; }
.footer-email-icon {
  display: inline-block;
  width: 18px;
  height: 14px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fafafa' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E") no-repeat center;
  background-size: 18px 14px;
  flex-shrink: 0;
}
.footer-legal span:not([aria-hidden]) { margin-right: 0.25rem; }

@media (max-width: 992px) {
  .section {
    padding: 50px 0;
  }

  .section-hero {
    padding-bottom: 50px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 32px;
    line-height: 40px;
  }

  .section-heading {
    font-size: 32px;
    line-height: 40px;
  }

  .section-lead {
    font-size: 18px;
  }
}
