* {
  box-sizing: border-box;
}

:root {
  --spark-ink: #0f172a;
  --spark-muted: #475569;
  --spark-surface: #f8fafc;
  --spark-accent: #0f766e;
  --spark-brand-red: #b91c1c;
  --spark-visible-content-max: 66rem;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: var(--spark-ink);
  background: radial-gradient(circle at 15% 5%, #dbeafe 0, #f8fafc 30%, #ffffff 60%);
}

a,
a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none !important;
}

.hidden {
  display: none !important;
}

.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;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-launch-banner {
  border-bottom: 1px solid rgba(185, 28, 28, 0.2);
  background: linear-gradient(90deg, rgba(254, 226, 226, 0.98), rgba(254, 202, 202, 0.96));
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}

.site-launch-banner-text {
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 0.65rem 1rem;
  color: #1f2937;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
}

.site-launch-banner-text strong {
  color: #7f1d1d;
}

.brand-name {
  color: var(--spark-brand-red) !important;
  font-weight: 700;
}

.brand-on-dark .brand-name {
  color: #f8fafc !important;
  font-weight: 700;
}

.site-main {
  flex: 1 1 auto;
  margin-inline: auto;
  width: 100%;
  max-width: 72rem;
  padding: 1.5rem 1rem 4rem;
}

.site-main.site-main-wide {
  max-width: none;
}

.page-hero {
  position: relative;
  margin: 0 auto 1.5rem;
}

.page-hero--centered {
  text-align: center;
}

.page-hero-surface {
  position: relative;
  overflow: hidden;
  padding: clamp(0.95rem, 2vw, 1.5rem) clamp(0.85rem, 2vw, 1.5rem);
  border-radius: 1.6rem;
}

.page-hero-card {
  border: 1px solid rgba(185, 28, 28, 0.12);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.page-panel-surface {
  width: min(100%, var(--spark-visible-content-max));
  margin: 0 auto;
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, var(--spark-visible-content-max));
  margin: 0 auto;
}

.home-content-shell {
  max-width: var(--spark-visible-content-max);
  margin-inline: auto;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.home-fallback-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.home-fallback-title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.home-fallback-description {
  margin: 0.75rem 0 0;
  color: #475569;
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.home-flow-section {
  margin-top: 2.5rem;
}

.page-hero-title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.05em;
  text-wrap: pretty;
}

.page-hero-title-line {
  display: block;
}

.page-hero-title-line + .page-hero-title-line {
  margin-top: 1rem;
}

.page-hero-lede {
  margin: 1rem auto 0;
  max-width: 60rem;
  color: #475569;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.page-hero-lede p {
  margin: 0;
}

.page-hero-rule {
  display: block;
  width: min(100%, 9rem);
  height: 3px;
  margin: 1.2rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(185, 28, 28, 0.98), rgba(15, 118, 110, 0.78));
}

.marker-underline {
  --marker-delay: 0ms;
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
}

.marker-underline svg {
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: -0.56rem;
  width: calc(100% + 0.16em);
  height: 1.75rem;
  overflow: visible;
}

.marker-underline path {
  fill: none;
  stroke: #c40000;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0.025rem 0.02rem rgba(127, 29, 29, 0.18));
  transform-box: fill-box;
  transform-origin: center;
}

.marker-underline path:nth-of-type(1) {
  animation: markerUnderlineForward 360ms cubic-bezier(0.22, 0.8, 0.36, 1) forwards calc(var(--marker-delay, 0ms) + 340ms);
}

.marker-underline path:nth-of-type(2) {
  stroke-width: 6.3;
  transform: translateY(0.34rem);
  animation: markerUnderlineBackward 340ms cubic-bezier(0.24, 0.82, 0.34, 1) forwards calc(var(--marker-delay, 0ms) + 670ms);
}

.marker-underline path:nth-of-type(3) {
  stroke-width: 6;
  transform: translateY(0.62rem);
  animation: markerUnderlineForward 320ms cubic-bezier(0.22, 0.84, 0.32, 1) forwards calc(var(--marker-delay, 0ms) + 980ms);
}

.marker-underline--delay {
  --marker-delay: 220ms;
}

@keyframes markerUnderlineForward {
  from {
    opacity: 0.12;
    stroke-dashoffset: 1;
  }

  12% {
    opacity: 0.42;
  }

  to {
    opacity: 0.38;
    stroke-dashoffset: 0;
  }
}

@keyframes markerUnderlineBackward {
  from {
    opacity: 0.12;
    stroke-dashoffset: -1;
  }

  12% {
    opacity: 0.36;
  }

  to {
    opacity: 0.34;
    stroke-dashoffset: 0;
  }
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header-inner {
  margin-inline: auto;
  display: flex;
  width: 100%;
  max-width: calc(var(--spark-visible-content-max) + 2rem);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.site-header-brand {
  display: inline-flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
}

.site-header-brand .logo {
  display: block;
  width: clamp(10.5rem, 18vw, 14rem);
  height: auto;
}

.site-nav-mobile-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.8125rem;
  height: 2.8125rem;
  padding: 0.625rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  background: #ffffff;
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.site-nav-mobile-toggle svg {
  width: 1.5625rem;
  height: 1.5625rem;
}

.site-nav-mobile-toggle:hover,
.site-nav-mobile-toggle:focus-visible {
  border-color: #94a3b8;
  background: #f8fafc;
}

.site-nav-mobile-toggle:focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.35);
  outline-offset: 2px;
}

.site-nav-desktop {
  display: none;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 auto;
  min-width: 0;
  gap: 2rem;
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 600;
}

.site-nav-desktop-links,
.site-nav-desktop-actions {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-nav-desktop-links {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.site-nav-desktop-actions {
  gap: 0.5rem;
  flex: 0 0 auto;
}

.site-nav-link {
  color: #0f172a !important;
  white-space: nowrap;
  transition: color 160ms ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
  color: #b91c1c !important;
}

.site-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  padding: 0.55rem 0.95rem;
  color: #ffffff !important;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 160ms ease;
}

.site-nav-cta-primary {
  background: #0f766e;
}

.site-nav-cta-primary:hover,
.site-nav-cta-primary:focus-visible {
  background: #0d9488;
}

.site-nav-cta-secondary {
  background: #b91c1c;
}

.site-nav-cta-secondary:hover,
.site-nav-cta-secondary:focus-visible {
  background: #dc2626;
}

.site-nav-mobile-panel {
  border-top: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.95);
}

.site-nav-mobile-inner {
  margin-inline: auto;
  max-width: 72rem;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: #334155;
  font-size: 1rem;
  font-weight: 600;
}

.site-nav-mobile-link {
  border-radius: 0.375rem;
  padding: 0.5rem;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav-mobile-link:hover,
.site-nav-mobile-link:focus-visible {
  background: #f1f5f9;
  color: #0f766e;
}

.site-nav-mobile-cta {
  margin-top: 0.25rem;
  width: 100%;
  justify-content: center;
  padding: 0.7rem 1rem;
}

.site-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.14);
  background: #020617;
}

.site-footer-inner {
  margin-inline: auto;
  display: flex;
  max-width: 72rem;
  flex-direction: column;
  align-items: center;
  gap: 0.825rem;
  padding: 1.5rem 0.75rem 1.6875rem;
  text-align: center;
}

.site-footer-copyright {
  margin: 0;
  color: #e5e7eb;
  font-size: 0.825rem;
  line-height: 1.45;
  font-weight: 500;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.675rem 2.4375rem;
}

.site-footer-links a {
  overflow-wrap: anywhere;
  color: #d1d5db;
  font-size: 0.75rem;
  line-height: 1.4;
  transition: color 160ms ease;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
  color: #ffffff;
}

.content-shell {
  width: 100%;
  min-width: 0;
}

.content-prose {
  margin-inline: auto;
  max-width: 72ch;
  width: 100%;
  min-width: 0;
}

.content-prose,
.content-prose * {
  overflow-wrap: anywhere;
}

.content-prose img,
.content-prose svg,
.content-prose video,
.content-prose iframe {
  max-width: 100%;
  height: auto;
}

.content-prose table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.content-prose table th,
.content-prose table td {
  border: 1px solid #cbd5e1;
  padding: 0.5rem 0.625rem;
  white-space: nowrap;
}

.content-prose pre {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  padding: 0.875rem 1rem;
}

.content-prose code {
  overflow-wrap: anywhere;
}

.site-content a {
  word-break: break-word;
  color: var(--spark-brand-red);
}

.site-content a:hover,
.site-content a:focus-visible {
  color: #991b1b;
}

.site-content img {
  border-radius: 0.75rem;
}

.logo {
  display: inline-block;
  width: 13.125rem;
  height: auto;
}

.logo-light {
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.18))
    drop-shadow(0 0 3px rgba(255, 210, 120, 0.1));
}

@media (max-width: 699px) {
  .page-hero-surface {
    border-radius: 1.3rem;
    padding-inline: 1rem;
  }

  .page-hero-lede {
    margin-top: 0.85rem;
    font-size: 0.98rem;
  }

  .page-hero-rule {
    margin-top: 1rem;
  }

  .marker-underline svg {
    bottom: -0.38rem;
    height: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marker-underline path {
    animation: none !important;
    opacity: 0.38;
    stroke-dashoffset: 0;
  }
}
