:root {
  --page-bg: #f3fbfc;
  --panel-bg: #e8f6f8;
  --card-bg: #ffffff;
  --teal: #3ea2b8;
  --teal-dark: #168b98;
  --text: #2f4058;
  --border: #a9d9e2;
  --shadow: 0 4px 10px rgba(34, 77, 89, 0.14);
  --radius: 12px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.hero-panel,
.content-panel {
  margin-bottom: 34px;
  padding: 34px;
  background: var(--panel-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 1200px;
  margin: 130px auto 32px;
  padding: 0 34px;
  color: #489fb2;
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
  line-height: 1.25;
  font-weight: 600;
}

.hero-panel {
  text-align: center;
}

.brand-logo {
  width: min(100%, 900px);
  margin: 0 auto 28px;
  border-radius: 8px;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  margin-bottom: 24px;
  color: var(--teal);
  font-size: clamp(2rem, 5vw, 3.65rem);
}

h2 {
  margin-bottom: 20px;
  color: var(--teal);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

p {
  margin: 0 0 20px;
}

.supporting-line,
.gallery-note,
.image-caption {
  font-style: italic;
}

.image-caption,
.gallery-note,
.closing-line {
  text-align: center;
}

.closing-line {
  margin-top: 30px;
  color: var(--teal-dark);
  font-size: 1.35rem;
  font-weight: 800;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 34px 0 46px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--teal-dark);
  border-radius: 0;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(22, 139, 152, 0.2);
}

.button-primary {
  background: var(--teal-dark);
  color: #fff;
}

.button-secondary {
  background: #fff;
  color: var(--teal-dark);
}

.wide-image {
  width: 100%;
  margin: 28px auto 14px;
  border-radius: 8px;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 20px 22px 20px 58px;
  background: var(--card-bg);
  border: 1px solid #d2e5e9;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(34, 77, 89, 0.08);
  font-weight: 700;

  color: #2f4858;
}

.feature-list li::before {
  position: absolute;
  top: 19px;
  left: 22px;
  content: "✓";
  color: #18a84a;
  font-size: 1.45rem;
  font-weight: 900;
}

.video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.gallery-item {
  appearance: none;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(34, 77, 89, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.015);
}

.gallery-item-large {
  grid-column: 1 / -1;
}

.lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(96vw, 1600px);
  max-height: 92vh;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: fixed;
  z-index: 1001;
  top: 18px;
  right: 24px;
  width: 52px;
  height: 52px;
  cursor: pointer;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .site-shell {
    width: min(calc(100% - 20px), var(--content-width));
    padding-top: 18px;
  }

  .hero-panel,
  .content-panel {
    padding: 22px 18px;
    border-radius: 9px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-large {
    grid-column: auto;
  }

  .button {
    width: 100%;
  }

  .lightbox {
    padding: 12px;
  }
}

/* =========================================================
   SPEEDDATA APP HEADER — MATCHES THE EXISTING REACT APP
   ========================================================= */

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(
    135deg,
    #e8f4f6 0%,
    #f0f8f9 50%,
    #e5f2f4 100%
  );
  border-bottom: 1px solid rgba(72, 159, 178, 0.2);
}

.app-header-inner {
  width: min(calc(100% - 24px), 1280px);
  height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-brand {
  min-width: 0;
  display: flex;
  align-items: center;
}

.app-logo {
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 8px;
}

.app-brand-copy {
  min-width: 0;
  margin-left: 24px;
}

.app-product-name {
  margin: 0;
  color: #111827;
  font-size: 1.125rem;
  line-height: 1.5rem;
  font-weight: 600;
}

.app-brand-copy p {
  margin: 0;
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1rem;
}

.app-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
}

.app-header-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.app-header-button-primary {
  color: #ffffff;
  background: #489fb2;
  border: 1px solid #489fb2;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
}

.app-header-button-secondary {
  color: #111827;
  background: transparent;
  border: 1px solid #111827;
}

.app-header-button:hover,
.app-header-button:focus-visible {
  filter: brightness(0.97);
}

.app-header-separator {
  height: 1px;
  background: rgba(94, 234, 212, 0.5);
}

/* Hero placement directly beneath the shared header */

.landing-hero {
  padding-top: 32px;
}

.landing-hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.landing-introduction {
  padding-top: 32px;
  text-align: center;
}
/*JMW added above to create space in static html page */
.landing-introduction h2 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 700;
  color: #489fb2;
  margin: 0 0 1.75rem;
}

.landing-introduction p {
  max-width: 900px;
  margin: 0 auto 1.25rem;
  line-height: 1.7;
}
/*added above to create space in static html page */
/* Match the app's smaller mobile header */

@media (max-width: 767px) {
  .app-header-inner {
    height: 96px;
  }

  .app-logo {
    width: 48px;
    height: 48px;
  }

  .app-brand-copy {
    margin-left: 12px;
  }

  .app-product-name {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .app-brand-copy p {
    max-width: 230px;
    font-size: 0.6875rem;
    line-height: 0.95rem;
  }

  .app-header-actions {
    margin-left: 8px;
  }

  .app-header-button-primary {
    display: none;
  }

  .app-header-button-secondary {
    padding: 7px 10px;
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .app-logo {
    width: 96px;
    height: 96px;
  }
}

/* Exact React app header alignment */
body {
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.app-header-inner {
  width: 100%;
  max-width: 1280px;
  padding-left: 32px;
  padding-right: 32px;
}

.app-product-name {
  color: #111827;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.app-brand-copy p {
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1rem;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .app-header-inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 639px) {
  .app-header-inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .app-product-name {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

/* Final pixel-match adjustments against the live React header */
.app-header-inner {
  max-width: 1280px;
  height: 112px;
  padding-left: 32px;
  padding-right: 32px;
}

.app-logo {
  width: 112px;
  height: 112px;
}

.app-brand-copy {
  margin-left: 24px;
}

.app-product-name {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  letter-spacing: 0;
}

.app-brand-copy p {
  max-width: none;
  margin-top: 0;
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 400;
}

.landing-hero {
  padding-top: 32px;
}

@media (max-width: 767px) {
  .app-header-inner {
    height: 96px;
  }

  .app-logo {
    width: 48px;
    height: 48px;
  }

  .app-brand-copy {
    margin-left: 12px;
  }

  .app-product-name {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

/* Match the React app's max-w-7xl content width */
:root {
  --content-width: 1280px;
}

.site-shell {
  width: 100%;
  max-width: 1280px;
  padding-left: 32px;
  padding-right: 32px;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .site-shell {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 639px) {
  .site-shell {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Exact equivalent of the React app hero wrapper:
   max-w-7xl mx-auto px-3 sm:px-6 lg:px-8 py-8 */
.app-hero-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 12px;
}

.app-hero-wrapper .landing-hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.landing-hero {
  padding-top: 0;
}

@media (min-width: 640px) {
  .app-hero-wrapper {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .app-hero-wrapper {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* Feature card text and checkmark colour */
.feature-list li {
  color: #2f5f68;
}

.feature-list li::before {
  color: #2f5f68;
}

/* ===== Feature cards - final polish ===== */

.feature-list li {
  color: #2b8ea7 !important;
  font-weight: 600;
}

.feature-list li::before {
  color: #2b8ea7 !important;
}


/* Mobile section-heading adjustments */
@media (max-width: 767px) {
  .section-heading {
    width: 100%;
    margin: 72px auto 22px;
    padding: 0 18px;
    font-size: 1.45rem;
    line-height: 1.25;
  }
}

/* =========================================================
   GALLERY LIGHTBOX — POLISHED FINAL LAYOUT
   ========================================================= */

.lightbox {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 100px;
  background: rgba(232, 244, 246, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  position: relative;
  z-index: 2001;
  display: flex;
  width: auto;
  max-width: min(calc(100vw - 220px), 1500px);
  max-height: 92vh;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px;
  overflow: auto;
  background: #ffffff;
  border: 1px solid rgba(72, 159, 178, 0.35);
  border-radius: 12px;
  box-shadow: 0 16px 50px rgba(32, 74, 86, 0.28);
}

.lightbox-content img,
.lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(88vh - 60px);
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: none;
}

.lightbox-caption {
  margin: 0;
  padding: 0 12px 2px;
  color: #2b8ea7;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
}

.lightbox-nav {
  position: fixed;
  z-index: 2003;
  top: 50%;
  display: flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  padding: 0;
  transform: translateY(-50%);
  cursor: pointer;
  color: #ffffff;
  background: #2b8ea7;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(32, 74, 86, 0.3);
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: #247c92;
  transform: translateY(-50%) scale(1.06);
  outline: 3px solid rgba(72, 159, 178, 0.3);
  outline-offset: 3px;
}

.lightbox-close {
  position: fixed;
  z-index: 2004;
  top: 20px;
  right: 24px;
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  color: #ffffff;
  background: #2b8ea7;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(32, 74, 86, 0.28);
  font-size: 2rem;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: #247c92;
  outline: 3px solid rgba(72, 159, 178, 0.3);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .lightbox {
    padding: 72px 12px 82px;
  }

  .lightbox-content {
    max-width: 100%;
    max-height: calc(100vh - 150px);
    padding: 8px;
  }

  .lightbox-content img,
  .lightbox img {
    max-height: calc(100vh - 215px);
  }

  .lightbox-nav {
    top: auto;
    bottom: 16px;
    width: 56px;
    height: 56px;
    transform: none;
    font-size: 2.8rem;
  }

  .lightbox-prev {
    left: calc(50% - 72px);
  }

  .lightbox-next {
    right: calc(50% - 72px);
  }

  .lightbox-nav:hover,
  .lightbox-nav:focus-visible {
    transform: scale(1.05);
  }

  .lightbox-close {
    top: 10px;
    right: 12px;
    width: 48px;
    height: 48px;
  }

  .lightbox-caption {
    padding: 0 4px 2px;
    font-size: 0.85rem;
  }
}

/* Editorial intro when placed inside its content panel */
.content-panel .section-introduction {
  max-width: none;
  margin: 0 0 24px;
  padding: 0;
}

/* Give the success image breathing space */
.feature-list + .section-illustration {
  margin-top: 36px;
  margin-bottom: 36px;
}

/* =========================================================
   SITE FOOTER
   ========================================================= */

.site-footer {
  margin-top: 130px;
  background: linear-gradient(
    135deg,
    #dceff2 0%,
    #edf7f8 50%,
    #d7ecef 100%
  );
  border-top: 1px solid rgba(72, 159, 178, 0.28);
}

.site-footer-inner {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  padding: 56px 0 42px;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand h2,
.footer-column h3 {
  margin: 0 0 18px;
  color: #2b8ea7;
  line-height: 1.25;
  font-weight: 700;
}

.footer-brand h2 {
  font-size: 1.65rem;
}

.footer-column h3 {
  font-size: 1.05rem;
}

.footer-brand p {
  max-width: 340px;
  margin: 0;
  color: #36596a;
  font-size: 1rem;
  line-height: 1.7;
}

.footer-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column a {
  margin-bottom: 11px;
  color: #36596a;
  font-size: 0.98rem;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #2b8ea7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-email {
  margin-top: 8px;
  font-weight: 600;
}

.site-footer-bottom {
  border-top: 1px solid rgba(72, 159, 178, 0.22);
}

.site-footer-bottom p {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  padding: 20px 0;
  color: #4c6b77;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 980px) {
  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 36px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    margin-top: 82px;
  }

  .site-footer-inner {
    width: min(calc(100% - 36px), 1240px);
    padding: 44px 0 30px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand p {
    max-width: none;
  }

  .site-footer-bottom p {
    width: min(calc(100% - 36px), 1240px);
    padding: 18px 0;
  }
}

/* Space below story images */
.story-panel img,
.story-image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 32px;
}


/* Correct spacing below story images */
.content-panel .section-illustration:not(.section-illustration-after) {
  margin: 0 0 32px;
}

/* Static Features page card layout */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid rgba(15, 118, 135, 0.14);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(31, 66, 81, 0.08);
}

.feature-card h3 {
  margin: 0 0 0.85rem;
  color: #2f9bb3;
  font-size: 1.08rem;
  line-height: 1.35;
}

.feature-card p {
  margin: 0;
  line-height: 1.65;
}

.feature-card p + p {
  margin-top: 0.8rem;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.2rem;
  }
}

/* Features page top section refinement */
.features-page .landing-hero {
  max-width: 1120px;
  margin: 3rem auto 4rem;
  padding: 2.25rem 2rem;
  background: #eaf7fa;
  border: 1px solid rgba(47, 155, 179, 0.35);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(31, 66, 81, 0.08);
  text-align: center;
}

.features-page .landing-hero img {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 1.25rem;
}

.features-page .landing-hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  text-align: center;
}

.features-page .landing-hero p {
  max-width: 860px;
  margin: 0 auto 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
}

.features-page .landing-hero .button-row,
.features-page .landing-hero .hero-actions {
  justify-content: center;
  margin-top: 1.5rem;
}

.features-page .section-heading {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.2;
}

@media (max-width: 640px) {
  .features-page .landing-hero {
    margin: 2rem auto 3rem;
    padding: 1.75rem 1.25rem;
  }

  .features-page .landing-hero img {
    width: 76px;
    height: 76px;
  }

  .features-page .landing-hero h1 {
    font-size: 2rem;
  }

  .features-page .landing-hero p {
    font-size: 1rem;
  }
}

/* Features page intro card — based on original React design */
.features-intro-card {
  max-width: 1120px;
  margin: 3rem auto 1.5rem;
  padding: 2rem;
  background: #e8f4f6;
  border: 2px solid rgba(72, 159, 178, 0.3);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(31, 66, 81, 0.1);
}

.features-intro-logo {
  display: block;
  width: auto;
  height: 96px;
  max-width: 160px;
  margin: 0 auto 1.75rem;
  object-fit: contain;
}

.features-intro-card h1 {
  margin: 0 0 1.25rem;
  color: #489fb2;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.15;
  text-align: center;
}

.features-intro-card p {
  max-width: 896px;
  margin: 0 auto 1rem;
  color: #334155;
  font-size: 1.125rem;
  line-height: 1.75;
  text-align: center;
}

.features-intro-button {
  display: flex;
  justify-content: center;
  padding-bottom: 1.5rem;
}

.features-page .section-heading {
  font-size: clamp(1.65rem, 3vw, 2rem);
}

@media (max-width: 640px) {
  .features-intro-card {
    margin-top: 2rem;
    padding: 1.5rem;
  }

  .features-intro-logo {
    height: 80px;
  }

  .features-intro-card h1 {
    font-size: 2rem;
  }

  .features-intro-card p {
    font-size: 1rem;
  }
}

/* Static FAQ page */
.faq-page .page-hero {
  margin-bottom: 2rem;
}

.faq-page .page-hero-card,
.faq-page .section-card {
  border: 2px solid rgba(72, 159, 178, 0.3);
  border-radius: 0.75rem;
  background: #e8f4f6;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.faq-page .page-hero-card {
  padding: 2rem;
  text-align: center;
}

.faq-page .page-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.faq-page .page-logo {
  width: auto;
  height: 8rem;
}

.faq-page .page-hero h1 {
  margin: 0;
  color: #489fb2;
  font-size: clamp(2rem, 5vw, 2.5rem);
  line-height: 1.15;
}

.faq-page .page-intro {
  max-width: 56rem;
  margin: 1.25rem auto 0;
  color: #334155;
  font-size: 1.125rem;
  line-height: 1.75;
}

.faq-page .button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-page .primary-button,
.faq-page .secondary-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid #489fb2;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.08);
}

.faq-page .primary-button {
  background: #489fb2;
  color: #ffffff;
}

.faq-page .secondary-button {
  background: transparent;
  color: #489fb2;
}

.faq-page .faq-section {
  margin-top: 2rem;
}

.faq-page .section-card {
  padding: 1.5rem;
}

.faq-page .section-card > h2 {
  margin: 0 0 1.5rem;
  color: #489fb2;
  font-size: clamp(1.75rem, 4vw, 2rem);
  line-height: 1.2;
}

.faq-page .faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faq-page .faq-card {
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.faq-page .faq-card h3 {
  margin: 0 0 1rem;
  color: #489fb2;
  font-size: 1.125rem;
  line-height: 1.4;
}

.faq-page .faq-card p {
  margin: 0;
  color: #334155;
  line-height: 1.75;
}

@media (max-width: 767px) {
  .faq-page .page-hero-card,
  .faq-page .section-card {
    padding: 1.25rem;
  }

  .faq-page .page-logo {
    height: 6rem;
  }

  .faq-page .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-page .primary-button,
  .faq-page .secondary-button {
    width: 100%;
    text-align: center;
  }
}

.demo-card {
  margin-top: 2rem;
  padding: 2rem;
  border: 2px solid rgba(72, 159, 178, 0.3);
  border-radius: 1rem;
  background: #e8f4f6;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.demo-card h2 {
  margin: 0 0 1rem;
  color: #489fb2;
}

.demo-card p {
  margin: 0 0 1.5rem;
  line-height: 1.8;
}

.demo-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(72, 159, 178, 0.3);
  border-radius: 0.75rem;
  background: #000;
}

.demo-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
