@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root{

    --bg-color: #000;

    --btn-color: #fdfdfd;/* button color*/
    --btn-bg: #0A8DD3;/* button bg color*/

    --primary-text-color: #0A8DD3;
    --header-link-hover: #0A8DD3;
    --input-hover-bd-color: #0A8DD3;
}


html {
    scroll-behavior: smooth;
    font-family: "Ubuntu", sans-serif;
}

body.is-modal-open {
  overflow: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    padding: 0;
    border-bottom: 1px solid rgba(10, 141, 211, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(240, 248, 255, 0.48)),
        rgba(255, 255, 255, 0.52);
    color: #0f172a;
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    backdrop-filter: blur(24px) saturate(170%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        inset 0 -1px 0 rgba(255, 255, 255, 0.50),
        0 12px 42px rgba(15, 23, 42, 0.08);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1120px, calc(100% - 48px));
    min-height: 68px;
    margin: 0 auto;
    padding: 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    color: #0f172a;
    font-size: 1.03rem;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
}

.site-brand-mark {
    width: 38px;
    height: 38px;
}

.site-brand-name {
    line-height: 1;
}

.site-nav-panel {
    display: flex;
    align-items: center;
}

.animated-collapse {
    transition: width 0.3s ease, opacity 0.3s ease;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: fit-content;
    border-radius: 999px;
    padding: 0.48rem 0.78rem;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav-link:hover {
    background: rgba(255, 255, 255, 0.62);
    color: #0a8dd3;
    box-shadow: inset 0 0 0 1px rgba(10, 141, 211, 0.18);
    transform: translateY(-1px);
}

.site-nav-link.is-active {
    background:
        linear-gradient(145deg, rgba(18, 31, 44, 0.92), rgba(10, 141, 211, 0.78)),
        rgba(15, 23, 42, 0.86);
    color: #f8fafc;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        0 10px 26px rgba(10, 141, 211, 0.16);
}

.view-panel[hidden] {
    display: none !important;
}

.view-panel:not([hidden]) {
    animation: view-panel-in 0.28s ease both;
}

.mission-empty-section {
    min-height: 0;
}

@keyframes view-panel-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-menu-button {
    display: none;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-size: 1.7rem;
    line-height: 1;
}

.primary-text-color{
    color: var(--primary-text-color);
}

.gradient-text{
    background: rgb(215,215,215);
    background: linear-gradient(90deg, rgba(215,215,215,1) 18%, rgba(136,136,136,1) 71%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.signup-img-section{
    background-image: url("../assets/images/home/darkbg.png");
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
}

.store-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(150px, 42vw);
  height: 50px;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.store-download-button:hover,
.store-download-button:focus-visible {
  filter: drop-shadow(0 12px 24px rgba(10, 141, 211, 0.18));
  outline: none;
  transform: translateY(-1px);
}

.store-download-button img {
  display: block;
  object-fit: contain;
}

.download-modal[hidden] {
  display: none;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.download-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 16%, rgba(10, 141, 211, 0.14), transparent 34%),
    rgba(15, 23, 42, 0.34);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}

.download-modal-dialog {
  position: relative;
  width: min(100%, 520px);
  border: 1px solid rgba(10, 141, 211, 0.22);
  border-radius: 0.9rem;
  padding: clamp(1.4rem, 4vw, 2.25rem);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(236, 248, 255, 0.58)),
    rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.42),
    0 28px 80px rgba(15, 23, 42, 0.22);
  color: #0f172a;
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  backdrop-filter: blur(28px) saturate(175%);
}

.download-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(10, 141, 211, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #0f172a;
  cursor: pointer;
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}

.download-modal-dialog h2 {
  max-width: 420px;
  margin-top: 0.75rem;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 650;
  line-height: 1.02;
}

.download-modal-dialog p {
  margin-top: 0.9rem;
  color: #475569;
  font-size: 1rem;
  line-height: 1.64;
}

.download-modal-form {
  margin-top: 1.45rem;
}

.download-modal-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
}

.download-email-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
}

.download-email-row input {
  min-width: 0;
  border: 1px solid rgba(10, 141, 211, 0.22);
  border-radius: 999px;
  padding: 0.78rem 1rem;
  background: rgba(255, 255, 255, 0.74);
  color: #0f172a;
  font-size: 0.95rem;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.download-email-row input:focus {
  border-color: rgba(10, 141, 211, 0.54);
  box-shadow: 0 0 0 4px rgba(10, 141, 211, 0.11);
}

.download-email-row button {
  border: 1px solid rgba(10, 141, 211, 0.28);
  border-radius: 999px;
  padding: 0.78rem 1.05rem;
  background:
    linear-gradient(145deg, rgba(18, 31, 44, 0.92), rgba(10, 141, 211, 0.78)),
    rgba(15, 23, 42, 0.86);
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.download-email-row button:hover,
.download-email-row button:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.download-email-row button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.download-modal-status {
  min-height: 1.45rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 650;
}

.download-modal-status.is-success {
  color: #047857;
}

.download-modal-status.is-error {
  color: #b91c1c;
}

.mission-section {
  width: 100%;
  min-height: calc(100vh - 68px);
  padding: clamp(4.5rem, 7vw, 7rem) 0 7rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 249, 255, 0.62) 48%, rgba(255, 255, 255, 0.88)),
    #f8fafc;
  overflow: visible;
}

.mission-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.mission-copy {
  max-width: 660px;
}

.mission-copy h1 {
  color: #0f172a;
  font-size: clamp(2.7rem, 5vw, 5.35rem);
  font-weight: 650;
  line-height: 0.98;
  overflow-wrap: break-word;
}

.mission-copy p {
  margin-top: 1.35rem;
  color: #475569;
  font-size: 1.07rem;
  line-height: 1.78;
}

.mission-timeline {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding: 0.6rem 0.25rem 0.6rem 0.1rem;
}

.mission-timeline-rail {
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  left: 6.3rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(10, 141, 211, 0.34) 12%, rgba(15, 23, 42, 0.18) 84%, transparent);
}

.mission-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 6.1rem minmax(0, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}

.mission-time {
  padding-top: 1.15rem;
  padding-right: 1.15rem;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.mission-timeline-card {
  position: relative;
  min-height: 112px;
  border: 1px solid rgba(10, 141, 211, 0.17);
  border-radius: 0.7rem;
  padding: 1.05rem 1.15rem 1.05rem 1.35rem;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(236, 248, 255, 0.48)),
    rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(255, 255, 255, 0.42),
    0 14px 34px rgba(15, 23, 42, 0.07);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
}

.mission-node {
  position: absolute;
  top: 1.17rem;
  left: -1.31rem;
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: #0a8dd3;
  box-shadow: 0 0 0 5px rgba(10, 141, 211, 0.12);
}

.mission-timeline-card h2 {
  color: #0f172a;
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.mission-timeline-card p {
  margin-top: 0.5rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.58;
}

.mission-timeline-item.is-current .mission-time {
  color: #0a8dd3;
}

.mission-timeline-item.is-current .mission-timeline-card {
  border-color: rgba(10, 141, 211, 0.35);
  background:
    linear-gradient(145deg, rgba(18, 31, 44, 0.92), rgba(10, 141, 211, 0.74)),
    rgba(15, 23, 42, 0.86);
}

.mission-timeline-item.is-current .mission-timeline-card h2,
.mission-timeline-item.is-current .mission-timeline-card p {
  color: #f8fafc;
}

.mission-timeline-item.is-current .mission-node {
  background: #f8fafc;
  box-shadow: 0 0 0 6px rgba(10, 141, 211, 0.22), 0 0 28px rgba(10, 141, 211, 0.34);
}

.mission-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  margin: clamp(4rem, 7vw, 6rem) auto 0;
  border: 1px solid rgba(10, 141, 211, 0.18);
  border-radius: 0.85rem;
  padding: clamp(1.35rem, 3vw, 2.35rem);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(236, 248, 255, 0.46)),
    rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(255, 255, 255, 0.42),
    0 22px 52px rgba(15, 23, 42, 0.08);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
}

.mission-proof-copy h2 {
  max-width: 620px;
  color: #0f172a;
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  font-weight: 650;
  line-height: 1.04;
}

.mission-proof-copy p {
  max-width: 670px;
  margin-top: 1rem;
  color: #475569;
  font-size: 1.04rem;
  line-height: 1.72;
}

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

.mission-metric-card {
  min-height: 246px;
  border: 1px solid rgba(10, 141, 211, 0.18);
  border-radius: 0.75rem;
  padding: 1.2rem;
  background:
    linear-gradient(145deg, rgba(18, 31, 44, 0.94), rgba(10, 141, 211, 0.72)),
    rgba(15, 23, 42, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 18px 42px rgba(15, 23, 42, 0.12);
  color: #f8fafc;
}

.mission-metric-card:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(10, 141, 211, 0.86), rgba(18, 31, 44, 0.92)),
    rgba(15, 23, 42, 0.88);
}

.mission-metric-card p {
  margin-top: 1rem;
  color: rgba(248, 250, 252, 0.88);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.38;
}

.mission-flip-number {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0.65rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0 49%, rgba(226, 242, 252, 0.96) 50% 100%),
    #ffffff;
  color: #0f172a;
  perspective: 900px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 34px rgba(0, 0, 0, 0.16);
}

.mission-flip-number::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 3;
  height: 1px;
  background: rgba(15, 23, 42, 0.12);
}

.mission-flip-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(4rem, 8vw, 6.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.mission-flip-target {
  opacity: 0;
  transform: rotateX(92deg);
  transform-origin: top center;
}

.mission-flip-hinge {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 2.2rem;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.16);
  transform: translate(-50%, -50%);
}

.mission-proof.is-visible .mission-flip-start {
  animation: mission-start-number 0.72s ease both;
}

.mission-proof.is-visible .mission-flip-target {
  animation: mission-flip-number 0.78s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.mission-proof.is-visible .mission-metric-card:nth-child(2) .mission-flip-start,
.mission-proof.is-visible .mission-metric-card:nth-child(2) .mission-flip-target {
  animation-delay: 0.12s;
}

@keyframes mission-start-number {
  0% {
    opacity: 1;
    transform: rotateX(0deg);
  }
  48% {
    opacity: 1;
    transform: rotateX(-82deg);
  }
  49%,
  100% {
    opacity: 0;
    transform: rotateX(-90deg);
  }
}

@keyframes mission-flip-number {
  0%,
  42% {
    opacity: 0;
    transform: rotateX(92deg);
  }
  43% {
    opacity: 1;
    transform: rotateX(88deg);
  }
  72% {
    opacity: 1;
    transform: rotateX(-8deg);
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg);
  }
}

.blog-news-section {
  width: min(1120px, calc(100% - 48px));
  min-height: calc(100vh - 68px);
  margin: 0 auto 7rem;
  padding: 5rem 0 0;
}

.blog-section-header {
  max-width: 680px;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: #0a8dd3;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.blog-section-header h2 {
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 650;
  line-height: 1.02;
}

.blog-section-header p {
  margin-top: 1rem;
  color: #475569;
  font-size: 1.03rem;
  line-height: 1.7;
}

.blog-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 2rem 0 1.5rem;
}

.blog-filter {
  border: 1px solid rgba(10, 141, 211, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(236, 248, 255, 0.42)),
    rgba(255, 255, 255, 0.52);
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 22px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}

.blog-filter:hover,
.blog-filter.is-active {
  border-color: rgba(10, 141, 211, 0.42);
  background:
    linear-gradient(145deg, rgba(18, 31, 44, 0.92), rgba(10, 141, 211, 0.76)),
    rgba(15, 23, 42, 0.86);
  color: #f8fafc;
  transform: translateY(-1px);
}

.blog-featured,
.blog-grid {
  min-height: 1px;
}

.blog-featured-card,
.blog-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(10, 141, 211, 0.18);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.76), rgba(236, 248, 255, 0.50)),
    rgba(255, 255, 255, 0.54);
  color: #0f172a;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(255, 255, 255, 0.42),
    0 18px 46px rgba(15, 23, 42, 0.08);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-featured-card:hover,
.blog-card:hover {
  border-color: rgba(10, 141, 211, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 24px 54px rgba(10, 141, 211, 0.13);
  transform: translateY(-2px);
}

.blog-featured-card {
  min-height: 340px;
  border-radius: 0.85rem;
}

.blog-featured-card.has-pdf-preview {
  min-height: 430px;
}

.blog-card {
  flex-direction: column;
  min-height: 360px;
  border-radius: 0.75rem;
}

.blog-featured-card .blog-card-visual {
  flex: 0 0 42%;
}

.blog-featured-card.has-pdf-preview .blog-card-visual {
  flex: 0 0 46%;
  min-height: 430px;
  padding: 1.1rem;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(236, 248, 255, 0.58)),
    rgba(255, 255, 255, 0.74);
}

.blog-card-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(10, 18, 26, 0.92), rgba(10, 141, 211, 0.72)),
    #0f172a;
}

.blog-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-pdf-render {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(236, 248, 255, 0.72)),
    #ffffff;
}

.blog-card-pdf-render canvas {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.blog-featured-card.has-pdf-preview .blog-card-pdf-render {
  height: 100%;
  border: 1px solid rgba(10, 141, 211, 0.14);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.82);
}

.blog-featured-card.has-pdf-preview .blog-card-pdf-render canvas {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.blog-card-visual .blog-card-logo {
  width: min(130px, 48%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.22));
}

.blog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.45rem;
}

.blog-featured-card .blog-card-content {
  padding: clamp(1.5rem, 3vw, 2.35rem);
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.blog-card-category {
  color: #0a8dd3;
}

.blog-card-title {
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.16;
}

.blog-featured-card .blog-card-title {
  max-width: 620px;
  font-size: clamp(1.85rem, 2.6vw, 2.55rem);
  line-height: 1.06;
}

.blog-card-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-top: 0.85rem;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.62;
}

.blog-featured-card .blog-card-excerpt {
  -webkit-line-clamp: 7;
}

.blog-card-publication {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  width: fit-content;
  margin-top: auto;
  border: 1px solid rgba(10, 141, 211, 0.22);
  border-radius: 999px;
  padding: 0.42rem 0.68rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(225, 244, 255, 0.44)),
    rgba(255, 255, 255, 0.54);
  color: #075985;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 8px 20px rgba(10, 141, 211, 0.07);
  cursor: pointer;
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  backdrop-filter: blur(18px) saturate(165%);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.blog-card-publication:hover,
.blog-card-publication:focus-visible {
  border-color: rgba(10, 141, 211, 0.46);
  color: #0a8dd3;
  outline: none;
  transform: translateY(-1px);
}

.blog-card-publication + .blog-card-action {
  margin-top: 0;
  padding-top: 0.85rem;
}

.blog-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.45rem;
  color: #0a8dd3;
  font-size: 0.92rem;
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.blog-empty-state {
  border: 1px dashed rgba(10, 141, 211, 0.28);
  border-radius: 0.75rem;
  padding: 2rem;
  color: #475569;
  background: rgba(255, 255, 255, 0.54);
  text-align: center;
}

.content-page {
  min-height: 100vh;
  background: #f8fafc;
}

.article-page-main {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 4.5rem 0 7rem;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 2.5rem;
  color: #0a8dd3;
  font-weight: 700;
  text-decoration: none;
}

.article-shell {
  overflow: hidden;
  border: 1px solid rgba(10, 141, 211, 0.18);
  border-radius: 0.9rem;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(236, 248, 255, 0.48)),
    rgba(255, 255, 255, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 24px 64px rgba(15, 23, 42, 0.09);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
}

.article-hero {
  padding: clamp(2rem, 5vw, 4.5rem);
  border-bottom: 1px solid rgba(10, 141, 211, 0.14);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}

.article-category {
  color: #0a8dd3;
}

.article-title {
  margin-top: 1.1rem;
  color: #0f172a;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  font-weight: 650;
  line-height: 0.98;
}

.article-excerpt {
  max-width: 760px;
  margin-top: 1.2rem;
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.75;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.article-cite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.46rem;
  border: 1px solid rgba(10, 141, 211, 0.24);
  border-radius: 999px;
  padding: 0.58rem 0.88rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(226, 244, 255, 0.48)),
    rgba(255, 255, 255, 0.58);
  color: #075985;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 10px 24px rgba(10, 141, 211, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  backdrop-filter: blur(18px) saturate(165%);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.article-cite-button:hover,
.article-cite-button:focus-visible {
  border-color: rgba(10, 141, 211, 0.48);
  color: #0a8dd3;
  outline: none;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 30px rgba(10, 141, 211, 0.13);
}

.article-cite-button:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.article-cite-button.is-copied {
  border-color: rgba(4, 120, 87, 0.28);
  color: #047857;
}

.article-cite-status {
  min-height: 1.15rem;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.2;
}

.article-cite-status.is-success {
  color: #047857;
}

.article-cite-status.is-error {
  color: #b91c1c;
}

.article-cover {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-bottom: 1px solid rgba(10, 141, 211, 0.14);
}

.article-pdf-preview {
  display: block;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(10, 141, 211, 0.14);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(236, 248, 255, 0.48)),
    #ffffff;
}

.article-pdf-preview[hidden] {
  display: none;
}

.article-pdf-preview canvas {
  display: block;
  width: 100%;
  height: auto;
}

.latex-article {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.25rem);
  color: #1e293b;
  font-size: 1.04rem;
  line-height: 1.82;
}

.latex-article h2,
.latex-article h3,
.latex-article h4 {
  color: #0f172a;
  font-weight: 650;
  line-height: 1.15;
}

.latex-article h2 {
  margin: 2.6rem 0 0.8rem;
  font-size: 1.8rem;
}

.latex-article h3 {
  margin: 2rem 0 0.7rem;
  font-size: 1.35rem;
}

.latex-article p,
.latex-article ul,
.latex-article ol {
  margin: 1rem 0;
}

.latex-article ul,
.latex-article ol {
  padding-left: 1.3rem;
}

.latex-article ul {
  list-style: disc;
}

.latex-article ol {
  list-style: decimal;
}

.latex-article img {
  width: 100%;
  margin: 1.8rem 0;
  border-radius: 0.65rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.latex-article figure {
  margin: 2rem 0;
}

.latex-article figure img,
.latex-article figure object,
.latex-article figure iframe,
.latex-article figure canvas {
  margin: 0;
}

.latex-article figcaption {
  margin-top: 0.75rem;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
}

.latex-pdf-render {
  display: block;
  width: 100%;
  margin: 1.8rem 0;
  overflow: hidden;
  border: 1px solid rgba(10, 141, 211, 0.16);
  border-radius: 0.65rem;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
}

.latex-pdf-render canvas {
  display: block;
  width: 100%;
  height: auto;
}

.latex-pdf-fallback {
  display: none;
  padding: 0.8rem 1rem;
  color: #0a8dd3;
  font-weight: 650;
  text-decoration: none;
}

.is-pdf-failed .latex-pdf-fallback,
.latex-pdf-render.is-pdf-failed .latex-pdf-fallback {
  display: inline-flex;
}

.latex-table-note {
  margin: 1.6rem 0;
  border-left: 3px solid rgba(10, 141, 211, 0.48);
  border-radius: 0.45rem;
  padding: 0.95rem 1rem;
  background: rgba(236, 248, 255, 0.72);
  color: #334155;
  line-height: 1.6;
}

.latex-table-figure {
  width: 100%;
  margin: 2.15rem 0 2.45rem;
}

.latex-table-figure figcaption {
  margin: 0 0 0.8rem;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.55;
}

.latex-table-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid rgba(10, 141, 211, 0.18);
  border-radius: 0.75rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(236, 248, 255, 0.62)),
    #ffffff;
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.11);
  scrollbar-width: none;
}

.latex-table-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.latex-table-slider {
  margin-top: 0.68rem;
  padding: 0 0.1rem;
}

.latex-table-slider[hidden] {
  display: none;
}

.latex-table-range {
  display: block;
  width: 100%;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: #0a8dd3;
  background: transparent;
  cursor: ew-resize;
  appearance: none;
}

.latex-table-range::-webkit-slider-runnable-track {
  height: 8px;
  border: 1px solid rgba(10, 141, 211, 0.14);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(226, 244, 255, 0.98), rgba(240, 249, 255, 0.82)),
    rgba(226, 244, 255, 0.92);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.latex-table-range::-webkit-slider-thumb {
  width: 44px;
  height: 16px;
  margin-top: -5px;
  border: 2px solid rgba(226, 244, 255, 0.94);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.96), rgba(7, 89, 133, 0.96));
  box-shadow: 0 6px 16px rgba(10, 141, 211, 0.22);
  appearance: none;
}

.latex-table-range::-moz-range-track {
  height: 8px;
  border: 1px solid rgba(10, 141, 211, 0.14);
  border-radius: 999px;
  background: rgba(226, 244, 255, 0.92);
}

.latex-table-range::-moz-range-thumb {
  width: 44px;
  height: 16px;
  border: 2px solid rgba(226, 244, 255, 0.94);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.96), rgba(7, 89, 133, 0.96));
  box-shadow: 0 6px 16px rgba(10, 141, 211, 0.22);
}

.latex-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  color: #1e293b;
  font-size: 0.82rem;
  line-height: 1.45;
}

.latex-table th,
.latex-table td {
  padding: 0.64rem 0.7rem;
  border-right: 1px solid rgba(10, 141, 211, 0.08);
  border-bottom: 1px solid rgba(10, 141, 211, 0.12);
  vertical-align: top;
  text-align: left;
}

.latex-table th:last-child,
.latex-table td:last-child {
  border-right: 0;
}

.latex-table tr:last-child td {
  border-bottom: 0;
}

.latex-table thead th {
  background: rgba(10, 141, 211, 0.1);
  color: #0f172a;
  font-weight: 750;
}

.latex-table tbody tr:nth-child(even) td {
  background: rgba(248, 250, 252, 0.58);
}

.latex-table .latex-table-group-row td {
  background: rgba(10, 141, 211, 0.11);
  color: #075985;
  font-weight: 750;
}

.latex-table code {
  white-space: normal;
  word-break: break-word;
}

.latex-article .latex-table img {
  width: auto;
  max-width: 190px;
  margin: 0.45rem 0;
  border-radius: 0.45rem;
  box-shadow: none;
}

.latex-table .latex-pdf-render {
  max-width: 190px;
  margin: 0.45rem 0;
  box-shadow: none;
}

.latex-inline-math {
  white-space: nowrap;
  font-family: "Times New Roman", Times, serif;
}

.latex-article code {
  border-radius: 0.3rem;
  padding: 0.12rem 0.28rem;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 0.92em;
}

.feature-card-list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  width: 100%;
  margin-top: 5%;
  padding: 1rem;
}

.feature-card {
  width: min(400px, 100%);
  flex: 0 0 min(400px, calc((100% - 3rem) / 3));
  display: flex;
}

.feature-card-surface {
  width: 100%;
  min-height: 284px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 0.75rem;
  background:
    radial-gradient(circle at 78% 8%, rgba(10, 141, 211, 0.28), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(10, 18, 26, 0.80) 34%, rgba(4, 8, 12, 0.92)),
    url("../assets/images/home/darkbg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.50),
    inset 0 -1px 0 rgba(10, 141, 211, 0.18),
    0 22px 48px rgba(15, 23, 42, 0.13);
  overflow: hidden;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.feature-card-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.26), transparent 34%),
    radial-gradient(circle at 88% 14%, rgba(125, 211, 252, 0.16), transparent 30%);
}

.feature-card-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
}

.feature-card.is-pending .feature-card-surface {
  border-color: rgba(255, 255, 255, 0.20);
  background: linear-gradient(145deg, rgba(13, 16, 20, 0.98), rgba(1, 3, 6, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 40px rgba(15, 23, 42, 0.10);
}

.feature-card.is-pending .feature-card-surface::before {
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.08), transparent 36%);
}

.feature-card.is-playing .feature-card-surface {
  border-color: rgba(125, 211, 252, 0.60);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    inset 0 -1px 0 rgba(10, 141, 211, 0.26),
    0 0 0 1px rgba(125, 211, 252, 0.18),
    0 28px 62px rgba(10, 141, 211, 0.24);
}

.feature-card.is-playing .feature-card-surface::after {
  padding: 1px;
  background: linear-gradient(
    120deg,
    rgba(125, 211, 252, 0.18),
    rgba(10, 141, 211, 0.96),
    rgba(255, 255, 255, 0.62),
    rgba(6, 182, 212, 0.82),
    rgba(125, 211, 252, 0.18)
  );
  background-size: 220% 220%;
  opacity: 1;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: feature-border-flow 2.4s linear infinite;
}

.feature-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}

.feature-card-copy {
  min-height: 7.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.feature-card-text {
  line-height: 1.45;
}

.feature-card-media {
  height: 150px;
  width: 100%;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 28px rgba(0, 0, 0, 0.20);
}

.feature-card.is-pending .feature-card-media {
  border-color: rgba(255, 255, 255, 0.10);
  background: #010306;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.feature-card.is-playing .feature-card-media {
  border-color: rgba(125, 211, 252, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    0 14px 32px rgba(10, 141, 211, 0.22);
}

.feature-card-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.feature-card-video--phone-focus {
  object-position: center bottom;
}

.feature-card.is-pending .feature-card-video {
  opacity: 0;
}

@keyframes feature-border-flow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 220% 50%;
  }
}

.hero-img-bg-grad{
    background: rgb(126,34,206);
    background: linear-gradient(90deg, #7e22ce91 8%, #625aafae 31%, #7badbbbc 76%, #54d2d0ca 89%);
    filter: blur(50px);
    opacity: 0.5;
}

#dashboard {
    /* transform-origin: bottom center; */
    transform: perspective(1200px) translateX(0px) translateY(12px) scale(0.8)
        rotate(0deg) rotateX(70deg);
    transition: transform 0.5;
}

.border-gradient{
    background: rgb(219,215,213);
    background: linear-gradient(180deg, rgba(219,215,213,1) 35%, rgba(214,211,233,0) 71%);
    /* background-image: linear-gradient(90deg, #7e22ce91 8%, #625aafae 31%, #7badbbbc 76%, #54d2d0ca 89%); */
    padding: 2px;
    border-radius: 10px;
}
.border-gradient>div{
    /* background-color: var(--bg-color); */
    background-color: var(--bg-color);
    border-radius: inherit;
}

.opacity-0{
    opacity: 0 !important;
}

.opacity-100{
    opacity: 100 !important;
}

.btn{
    padding: 10px 15px;
    width: max-content;
    border-radius: 5px;
    color: var(--btn-color);
    background-color: var(--btn-bg);
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
}

.btn:hover{

}

.btn:disabled{
    cursor: default;
}

.input{
    padding: 10px;
    background-color: transparent;
    border-radius: 5px;
    /* outline: none; */
    min-width: 100px;
    border: 1px solid #818080;
    /* transition: border 0.3s; */
}

.input:active, .input:focus, .input:focus-within{
    border: 1px solid var(--input-hover-bd-color) !important;
}

.carousel-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    max-width: 800px;
}
  
.carousel {
    display: inline-block;
    animation: scroll 10s linear infinite;
}
  
.carousel-img {
    display: inline-block;
    margin: 0 20px;
}
  
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.footer-link{
    color: #c7c6c6;
    transition: color 0.3s;
}

.footer-link:hover{
    color: #fff;
}


/* Style for the collapsible content such as faq commonly known as: accordion */

.faq-accordion {
    background-color: inherit;
    color: #f2f2f2;
    cursor: pointer;
    padding: 15px 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: height 0.4s;
}

.faq .content {
    padding: 0px 18px;
    color: #e4e4e4;
    height: max-content;
    overflow: hidden;
    background-color: transparent;
    text-align: justify;
    max-height: 0px;
    transition: max-height 0.4s, padding 0.4s;
}

.faq-accordion .active,
.faq-accordion:hover {
    /* background-color: #2e2c2c; */
}

@media not all and (min-width: 1024px) {
    .site-header-inner {
        width: min(100% - 28px, 720px);
        min-height: 64px;
    }

    .site-brand-name {
        font-size: 0.98rem;
    }

    .site-brand-mark {
        width: 34px;
        height: 34px;
    }

    .site-nav-panel {
        position: fixed;
        right: 0px;
        top: 0px;
        display: flex;
        flex-direction: column;
        opacity: 0;
        height: 100vh;
        min-height: 100vh;
        height: 100dvh;
        width: 0vw;
        justify-content: flex-start;
        align-items: flex-end;
        padding: 5.5rem 1.25rem 1.5rem;
        border-left: 1px solid rgba(255, 255, 255, 0.64);
        background:
            linear-gradient(150deg, rgba(255, 255, 255, 0.84), rgba(235, 248, 255, 0.58)),
            rgba(255, 255, 255, 0.62);
        color: #0f172a;
        overflow-y: auto;
        box-shadow: -14px 0 34px rgba(15, 23, 42, 0.16);
        -webkit-backdrop-filter: blur(26px) saturate(170%);
        backdrop-filter: blur(26px) saturate(170%);
    }

    .site-nav {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.65rem;
        width: 100%;
    }

    .site-nav-link {
        color: #334155;
        font-size: 1rem;
    }

    .site-nav-link:hover {
        background: rgba(255, 255, 255, 0.7);
        color: #0a8dd3;
    }

    .site-menu-button {
        display: inline-flex;
        position: relative;
        z-index: 60;
        align-items: center;
        justify-content: center;
        width: 2.4rem;
        height: 2.4rem;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.72);
        background: rgba(255, 255, 255, 0.58);
        -webkit-backdrop-filter: blur(18px) saturate(160%);
        backdrop-filter: blur(18px) saturate(160%);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.86),
            0 10px 28px rgba(15, 23, 42, 0.10);
    }
    
}


/* 手机外壳容器：固定宽度 + 高宽比 */
.mockup-shell {
  position: relative;
  width: 100%;
  max-width: 360px;      /* 手机最大宽度，按需改 */
  margin: 0 auto;

  /* 统一手机比例，看起来是一部手机 */
  aspect-ratio: 9 / 19.5;
  min-height: 520px;     /* 兼容不支持 aspect-ratio 的浏览器 */
}

/* 两张图重叠放置 */
.mockup-img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: contain;

  opacity: 0;
  transition: opacity 0.7s ease;
}

.mockup-img--active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .mockup-img {
    transition: opacity 0.2s linear;
  }

  .mission-proof.is-visible .mission-flip-start {
    display: none;
  }

  .mission-proof.is-visible .mission-flip-target {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* 让按钮在 mockup-shell 内水平居中靠上，并且 hover 不会跑偏 */
.mockup-button-center {
  position: absolute;
  top: 1rem;             /* 相当于原来 tw-top-4，可自己调 */
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mockup-button-center:hover {
  transform: translateX(-50%) scale(1.03);
}

.brand-logo {
  object-fit: contain;
}

.site-footer {
  min-height: auto;
  margin-top: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 4.25rem 24px;
  border-top: 1px solid rgba(10, 141, 211, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  background:
    radial-gradient(circle at 50% -24%, rgba(10, 141, 211, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(240, 248, 255, 0.56) 46%, rgba(248, 250, 252, 0.88)),
    rgba(255, 255, 255, 0.56);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(255, 255, 255, 0.62),
    0 -18px 58px rgba(15, 23, 42, 0.07);
  color: #0f172a;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  width: min(760px, 100%);
  padding: 0;
  text-align: center;
}

.footer-logo {
  width: 120px;
  max-width: 120px;
}

.footer-contact {
  align-items: center;
  color: #334155;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  width: 100%;
}

.contact-email {
  display: block;
  max-width: 100%;
  color: #334155;
  overflow-wrap: anywhere;
}

.footer-community {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.25rem;
  width: 100%;
}

.community-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: max-content;
  max-width: 100%;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(10, 141, 211, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #0a8dd3;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.community-link span {
  min-width: max-content;
}

.community-link:hover {
  border-color: rgba(10, 141, 211, 0.42);
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

.footer-copy {
  color: #334155;
}

.footer-legal {
  margin-top: 0.35rem;
  border-top: 1px solid rgba(10, 141, 211, 0.16);
  padding-top: 1rem;
  width: min(420px, 100%);
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.content-page .site-footer {
  min-height: auto;
  margin-top: 8rem;
}

@media not all and (min-width: 1024px) {
  .mission-layout {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 720px);
    gap: 2.6rem;
  }

  .mission-copy {
    max-width: none;
  }

  .mission-copy h1 {
    font-size: clamp(2.45rem, 8vw, 4rem);
  }

  .mission-timeline {
    width: 100%;
  }

  .mission-proof {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 720px);
  }

  .blog-news-section,
  .article-page-main {
    width: min(100% - 28px, 720px);
  }

  .blog-featured-card {
    flex-direction: column;
  }

  .blog-featured-card .blog-card-visual {
    flex-basis: auto;
    min-height: 220px;
  }

  .blog-featured-card.has-pdf-preview {
    min-height: 0;
  }

  .blog-featured-card.has-pdf-preview .blog-card-visual {
    flex-basis: auto;
    min-height: 280px;
    height: min(50vh, 330px);
  }

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

  .feature-card-list {
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    flex-basis: auto;
  }
}

@media not all and (min-width: 640px) {
  .download-modal {
    align-items: end;
    padding: 0.85rem;
  }

  .download-modal-dialog {
    border-radius: 0.85rem;
  }

  .download-email-row {
    grid-template-columns: 1fr;
  }

  .download-email-row button {
    width: 100%;
  }

  .mission-section {
    padding: 3.5rem 0 5rem;
  }

  .mission-copy h1 {
    font-size: 2.15rem;
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .mission-copy p {
    font-size: 1rem;
    line-height: 1.68;
  }

  .mission-proof {
    margin-top: 3rem;
    padding: 1rem;
  }

  .mission-proof-copy h2 {
    font-size: 1.9rem;
  }

  .mission-proof-copy p {
    font-size: 0.98rem;
  }

  .mission-proof-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .mission-metric-card {
    min-height: 0;
    padding: 0.8rem;
  }

  .mission-metric-card p {
    font-size: 0.86rem;
  }

  .mission-timeline-rail {
    left: 0.38rem;
  }

  .mission-timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-left: 1.6rem;
  }

  .mission-time {
    padding-top: 0;
    padding-right: 0;
    text-align: left;
  }

  .mission-timeline-card {
    min-height: 0;
    padding: 1rem;
  }

  .mission-node {
    left: -1.58rem;
  }

  .blog-news-section {
    margin-bottom: 5rem;
    padding-top: 3.5rem;
  }

  .blog-filter-row {
    gap: 0.5rem;
  }

  .blog-filter {
    padding: 0.5rem 0.72rem;
    font-size: 0.86rem;
  }

  .blog-card,
  .blog-featured-card {
    border-radius: 0.65rem;
  }

  .blog-featured-card .blog-card-title {
    font-size: 1.7rem;
  }

  .article-title {
    font-size: 2.25rem;
  }

  .article-page-main {
    padding-top: 3rem;
  }

  .latex-table {
    min-width: 720px;
    font-size: 0.78rem;
  }
}

html {
    scroll-behavior: smooth;
}
