/* =========================================
   SWAHUB - PAGES.CSS
   Page-level styling / hero variants / custom sections
========================================= */

/* ---------- Page Hero Variants ---------- */
.page-hero-startups {
    background:
      radial-gradient(circle at top left, rgba(27, 86, 253, 0.08), transparent 26%),
      linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  }
  
  .page-hero-contributors {
    background:
      radial-gradient(circle at top right, rgba(27, 86, 253, 0.08), transparent 24%),
      linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  }
  
  .page-hero-how {
    background:
      radial-gradient(circle at center top, rgba(27, 86, 253, 0.07), transparent 22%),
      linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  }
  
  .page-hero-about {
    background:
      radial-gradient(circle at left center, rgba(27, 86, 253, 0.07), transparent 24%),
      linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  }
  
  .page-hero-contact {
    background:
      radial-gradient(circle at right center, rgba(27, 86, 253, 0.07), transparent 24%),
      linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  }
  
  /* ---------- Hero polish ---------- */
  .page-hero::before,
  .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.45)),
      url("../images/backgrounds/swahub-flow-bg.png") center / cover no-repeat;
    opacity: 0.18;
    pointer-events: none;
  }
  
  .page-hero-content,
  .hero-content,
  .page-hero-panel,
  .hero-card {
    position: relative;
    z-index: 1;
  }
  
  .page-hero-panel .hero-panel-card,
  .hero-card .hero-card-inner {
    min-height: 100%;
  }
  
  .page-hero-panel .hero-panel-card {
    border: 1px solid rgba(199, 213, 234, 0.9);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 251, 255, 0.94) 100%);
  }
  
  .hero-panel-item + .hero-panel-item,
  .flow-item + .flow-item {
    padding-top: 14px;
    border-top: 1px solid rgba(219, 229, 242, 0.65);
  }
  
  /* ---------- Home hero custom ---------- */
  .hero-section .hero-grid {
    align-items: stretch;
  }
  
  .hero-section .hero-card {
    display: flex;
  }
  
  .hero-section .hero-card-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .hero-section .hero-content h1 {
    max-width: 860px;
  }
  
  .hero-section .hero-text {
    max-width: 720px;
  }
  
  /* ---------- Section spacing adjustments ---------- */
  .problem-section .section-heading,
  .process-section .section-heading,
  .faq-preview-section .section-heading {
    margin-bottom: 42px;
  }
  
  .role-cta-section .role-cta-grid {
    align-items: stretch;
  }
  
  .role-cta-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
  }
  
  .role-cta-card::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(27, 86, 253, 0.05);
    z-index: 0;
  }
  
  .role-cta-card > * {
    position: relative;
    z-index: 1;
  }
  
  .role-cta-card .card-actions {
    margin-top: 22px;
  }
  
  .startup-card {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 249, 255, 0.98) 100%);
  }
  
  .contributor-card {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
  }
  
  /* ---------- Benefit / trust / info card tuning ---------- */
  .benefit-card,
  .trust-card,
  .process-card,
  .info-card {
    min-height: 100%;
  }
  
  .info-card p + ul,
  .info-card p + ol {
    margin-top: 18px;
  }
  
  .info-card ul li,
  .info-card ol li {
    padding-left: 2px;
  }
  
  .ordered-flow {
    margin-top: 18px;
  }
  
  .ordered-flow li {
    color: var(--color-text-muted);
    line-height: 1.6;
  }
  
  /* ---------- Split cards variant ---------- */
  .split-cards .large-card h3 {
    max-width: 95%;
  }
  
  .split-cards .large-card ul,
  .split-cards .large-card ol {
    margin-top: 16px;
  }
  
  /* ---------- Trust section custom look ---------- */
  .trust-section {
    background:
      linear-gradient(180deg, rgba(250, 252, 255, 0.9) 0%, rgba(244, 248, 255, 0.95) 100%);
    border-top: 1px solid rgba(199, 213, 234, 0.4);
    border-bottom: 1px solid rgba(199, 213, 234, 0.4);
  }
  
  .trust-grid .trust-card {
    border-color: rgba(199, 213, 234, 0.85);
  }
  
  /* ---------- Founder note custom ---------- */
  .founder-note-section .founder-note {
    position: relative;
    overflow: hidden;
  }
  
  .founder-note-section .founder-note::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(27, 86, 253, 0.05);
  }
  
  .founder-note-section .founder-note > * {
    position: relative;
    z-index: 1;
  }
  
  /* ---------- Contact form page custom ---------- */
  .contact-form-wrap {
    position: relative;
  }
  
  .contact-form-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(27, 86, 253, 0.02), rgba(27, 86, 253, 0));
    pointer-events: none;
  }
  
  .contact-form .form-actions {
    padding-top: 6px;
  }
  
  /* ---------- Quick actions cards ---------- */
  #quick-actions .benefit-card .text-link {
    margin-top: 16px;
  }
  
  /* ---------- Process section special line feeling ---------- */
  .process-grid {
    position: relative;
  }
  
  .process-grid::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(199, 213, 234, 0),
      rgba(199, 213, 234, 0.8),
      rgba(199, 213, 234, 0)
    );
    z-index: 0;
  }
  
  .process-card {
    position: relative;
    z-index: 1;
  }
  
  /* ---------- CTA strip / small note center ---------- */
  .small-note.center {
    text-align: center;
  }
  
  /* ---------- Footer page harmony ---------- */
  .site-footer {
    position: relative;
  }
  
  .site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0)
    );
  }
  
  /* ---------- Utility variants ---------- */
  .section-heading.left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  
  .card-center {
    text-align: center;
  }
  
  .card-center .card-actions,
  .card-center .text-link {
    justify-content: center;
  }
  
  .surface-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--color-shadow-soft);
  }
  
  /* ---------- Optional banner block if needed later ---------- */
  .statement-banner {
    padding: 28px 32px;
    border-radius: var(--radius-xl);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 255, 0.95) 100%);
    border: 1px solid rgba(199, 213, 234, 0.7);
    box-shadow: var(--color-shadow-soft);
    text-align: center;
  }
  
  .statement-banner h2 {
    color: var(--color-primary);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
  }
  
  .statement-banner p {
    margin-top: 10px;
    color: var(--color-text-muted);
    font-size: 16px;
  }
  
  /* ---------- Page-specific header spacing refinements ---------- */
  .page-hero-startups .page-hero-content h1,
  .page-hero-contributors .page-hero-content h1,
  .page-hero-how .page-hero-content h1,
  .page-hero-about .page-hero-content h1,
  .page-hero-contact .page-hero-content h1 {
    max-width: 880px;
  }
  
  /* ---------- Micro interactions ---------- */
  .info-card:hover .text-link,
  .benefit-card:hover .text-link,
  .role-cta-card:hover .text-link {
    transform: translateX(3px);
  }
  
  .hero-inline-points span:hover,
  .access-point:hover {
    border-color: var(--color-primary);
    transition: var(--transition);
  }
  
  /* ---------- Prevent over-wide text ---------- */
  .info-card p,
  .benefit-card p,
  .trust-card p,
  .process-card p,
  .role-cta-card p,
  .founder-note p {
    max-width: 62ch;
  }
  
  /* ---------- Placeholder for future page custom classes ---------- */
.page-hero-app,
.page-hero-community,
.page-hero-faq {
  background:
    radial-gradient(circle at center, rgba(27, 86, 253, 0.05), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
}

/* ---------- Home page redesign ---------- */
body.home-page {
  font-family: "Inter", sans-serif;
  background: #f4f7fb;
  color: #122033;
}

.home-page .site-background {
  background:
    radial-gradient(circle at top, rgba(27, 86, 253, 0.08), transparent 26%),
    linear-gradient(180deg, #eff4fb 0%, #f6f8fc 100%);
}

.home-page .site-header {
  background: rgba(248, 251, 255, 0.84);
  border-bottom: 1px solid rgba(210, 220, 236, 0.74);
}

.home-page .site-header.scrolled {
  background: rgba(248, 251, 255, 0.95);
  box-shadow: 0 18px 40px rgba(16, 30, 54, 0.08);
}

.home-page .brand-logo {
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.home-page .brand-text,
.home-page .nav-links a {
  color: #122133;
}

.home-page .nav-links a:hover,
.home-page .nav-links a.active {
  color: #0f1a2d;
}

.home-page .nav-links a.active::after,
.home-page .nav-links a:hover::after {
  background: #1b56fd;
}

.home-page .nav-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: none;
}

.home-page .nav-actions .btn-secondary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #0b1424;
}

.home-page .menu-toggle {
  border-color: rgba(184, 200, 226, 0.92);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(22, 37, 66, 0.06);
}

.home-page .menu-toggle span {
  background: #0f1a2d;
}

.home-page .hero-section::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(93, 146, 255, 0.12), transparent 20%),
    radial-gradient(circle at 86% 18%, rgba(93, 146, 255, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    url("../images/backgrounds/swahub-flow-bg.svg") center/cover no-repeat;
  opacity: 0.34;
}

.home-hero {
  overflow: hidden;
  padding: 128px 0 52px;
  background:
    radial-gradient(circle at top left, rgba(41, 97, 255, 0.26), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(89, 139, 255, 0.18), transparent 18%),
    linear-gradient(135deg, #07111f 0%, #0b1628 46%, #102142 100%);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0), rgba(7, 17, 31, 0.46));
  pointer-events: none;
}

.home-hero-grid {
  gap: 56px;
  align-items: center;
}

.home-hero-content {
  max-width: 560px;
}

.home-hero-content .eyebrow {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b5ceff;
  margin-bottom: 18px;
}

.home-hero-content h1 {
  color: #ffffff;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-bottom: 20px;
}

.home-hero-content .hero-text {
  max-width: 520px;
  color: rgba(235, 241, 255, 0.72);
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 32px;
}

.home-hero .btn-primary {
  background: linear-gradient(180deg, #3472ff 0%, #1b56fd 100%);
  box-shadow: 0 16px 34px rgba(27, 86, 253, 0.28);
}

.home-hero .btn-primary:hover {
  background: linear-gradient(180deg, #4e86ff 0%, #275fff 100%);
}

.home-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: none;
}

.home-hero .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-note {
  max-width: 500px;
  color: rgba(215, 225, 245, 0.62);
  font-size: 15px;
}

.home-story-card {
  display: flex;
  justify-content: flex-end;
}

.story-visual {
  position: relative;
  width: min(100%, 560px);
  min-height: 520px;
  border-radius: 36px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 36px 80px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.story-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
}

.story-glow-one {
  top: 72px;
  left: 54px;
  width: 140px;
  height: 140px;
  background: rgba(92, 145, 255, 0.16);
}

.story-glow-two {
  right: 54px;
  bottom: 84px;
  width: 128px;
  height: 128px;
  background: rgba(76, 119, 219, 0.14);
}

.story-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.story-line {
  animation: story-flow 18s linear infinite;
}

.story-card {
  position: absolute;
  z-index: 1;
  width: 252px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(154, 193, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(10, 18, 34, 0.94) 0%, rgba(14, 28, 50, 0.88) 100%);
  box-shadow: 0 22px 42px rgba(2, 6, 23, 0.34);
  color: #ffffff;
  animation: story-float 8s ease-in-out infinite;
}

.story-card-need {
  top: 54px;
  left: 44px;
}

.story-card-top {
  top: 162px;
  right: 40px;
  width: 228px;
  animation-delay: -1.8s;
}

.story-card-bottom {
  bottom: 44px;
  left: 92px;
  width: 278px;
  animation-delay: -3.2s;
}

.story-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.story-card h3 {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.story-card p {
  margin-top: 10px;
  color: rgba(223, 233, 255, 0.7);
  font-size: 14px;
  line-height: 1.55;
}

.story-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b4cdff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #8ab3ff 0%, #5f93ff 100%);
  box-shadow: 0 0 0 4px rgba(95, 147, 255, 0.14);
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.story-meta span,
.story-state {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.story-meta span {
  color: rgba(227, 236, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-state {
  color: #cce0ff;
  background: rgba(72, 124, 255, 0.18);
  border: 1px solid rgba(122, 169, 255, 0.24);
  box-shadow: 0 0 0 1px rgba(92, 145, 255, 0.08);
  animation: story-pulse 4s ease-in-out infinite;
}

.story-badge {
  position: absolute;
  right: 62px;
  bottom: 160px;
  z-index: 1;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(245, 248, 255, 0.92);
  color: #102142;
  border: 1px solid rgba(190, 209, 243, 0.9);
  box-shadow: 0 18px 34px rgba(10, 19, 34, 0.16);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.trust-strip-section {
  position: relative;
  z-index: 2;
  margin-top: -14px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(201, 214, 238, 0.9);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

.trust-strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 74px;
  padding: 14px 18px;
  color: #16233b;
  font-size: 15px;
  font-weight: 700;
}

.trust-strip-item + .trust-strip-item {
  border-left: 1px solid rgba(219, 229, 242, 0.85);
}

.trust-strip-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #7cb0ff, #1b56fd);
  box-shadow: 0 0 0 5px rgba(27, 86, 253, 0.08);
}

.role-split-section {
  padding-top: 94px;
}

.role-split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.role-panel {
  position: relative;
  padding: 34px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(201, 214, 238, 0.9);
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.07);
}

.role-panel::before {
  content: "";
  position: absolute;
  inset: auto -36px -44px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(27, 86, 253, 0.06);
}

.role-panel > * {
  position: relative;
  z-index: 1;
}

.role-panel-startups {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 249, 255, 0.98) 100%);
}

.role-panel-contributors {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 255, 0.98) 100%);
}

.role-panel h3 {
  color: #101828;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}

.role-panel p {
  max-width: 34ch;
  color: #5a667d;
  font-size: 16px;
  line-height: 1.65;
}

.role-panel-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.role-panel-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(27, 86, 253, 0.06);
  color: #1d4bb2;
  font-size: 13px;
  font-weight: 700;
}

.workflow-section {
  padding-top: 40px;
}

.workflow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.workflow-steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, rgba(27, 86, 253, 0), rgba(27, 86, 253, 0.22), rgba(27, 86, 253, 0));
}

.step-card {
  position: relative;
  z-index: 1;
  padding: 30px 24px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(201, 214, 238, 0.9);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.05);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(27, 86, 253, 0.12) 0%, rgba(27, 86, 253, 0.06) 100%);
  color: #1b56fd;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.step-card h3 {
  color: #101828;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.step-card p {
  color: #5a667d;
  font-size: 15px;
  line-height: 1.65;
}

.trust-note-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  padding: 42px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(71, 118, 228, 0.28), transparent 20%),
    linear-gradient(135deg, #091321 0%, #0e1829 52%, #13213a 100%);
  border: 1px solid rgba(112, 148, 225, 0.16);
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.18);
}

.trust-note-copy .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: #b3ccff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-note-copy h2 {
  color: #ffffff;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.trust-note-copy p {
  max-width: 46ch;
  color: rgba(229, 236, 249, 0.74);
  font-size: 17px;
  line-height: 1.72;
}

.trust-note-list {
  display: grid;
  gap: 12px;
  align-content: center;
}

.trust-note-item,
.trust-note-mail {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(241, 245, 255, 0.84);
  font-size: 15px;
  font-weight: 700;
}

.trust-note-item::before,
.trust-note-mail::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, #7fb0ff 0%, #2e6cff 100%);
  box-shadow: 0 0 0 5px rgba(69, 111, 202, 0.16);
  flex-shrink: 0;
}

.trust-note-mail {
  color: #d8e5ff;
  transition: var(--transition);
}

.trust-note-mail:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.home-footer {
  margin-top: 0;
}

.home-footer .footer-grid {
  align-items: start;
}

.footer-note {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.7;
}

@keyframes story-flow {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -220;
  }
}

@keyframes story-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes story-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(92, 145, 255, 0.08);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(92, 145, 255, 0.12),
      0 0 0 10px rgba(92, 145, 255, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-line,
  .story-card,
  .story-state {
    animation: none;
  }
}
