/* === CRITICAL:start ===
   Rules between CRITICAL:start and CRITICAL:end are extracted at server
   boot by server/home/criticalCss.ts and inlined into <head> via
   server/home/partials/tags.ejs to unblock first paint. They remain in
   this file too so the deferred stylesheet still applies them after load
   and so a single stylesheet keeps working without JS.
   Editing rules inside this block is fine — the inlined copy is generated,
   not hand-maintained. Do not delete the sentinels.
   ====================== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/InterVariable.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/InterVariable-Italic.woff2") format("woff2");
}

:root {
  /* ===========================================
     BREAKPOINTS (reference values)
     Note: CSS vars can't be used in @media queries,
     but these document the breakpoints used.

     - bp-mobile (768px): header, menu, cookie-banner, md-docs
     - bp-tablet (860px): grids, hero, pricing, dividers
     =========================================== */
  --bp-mobile: 768px;
  --bp-tablet: 860px;

  /* Colors */
  --dark-blue-rgb: 21, 36, 55;
  --active-blue-rgb: 4, 109, 243;
  --mid-blue-rgb: 0, 72, 163;
  --green-rgb: 9, 178, 113;
  --dark-green-rgb: 6, 128, 81;
  --yellow-rgb: 255, 198, 91;
  --light-grey-rgb: 245, 245, 245;

  --background: #f0f2f6;
  --background-landingpage: #EFEEEB;
  --surface: #f5f5f5;
  --surface-elevated: #fcfcfc;
  --text: #152437;
  --text-muted: #49525e;
  --border: #d0d3d7;
  --border-light: #e8e9eb;
  --border-dark: #a1a7af;
  --active-blue: #046df3;
  --mid-blue: #0048a3;
  --dark-blue: #152437;
  --hover-blue: #e6f0fe;
  --status-green-foreground: #005c3a;
  --status-green-background: #f0fff9;
  --status-green-border: rgba(0, 92, 58, 0.2);
  --status-red-foreground: #500205;
  --status-red-background: #ffe6e7;
  --status-red-border: rgba(80, 2, 5, 0.2);

  /* Shadows */
  --shd-card: 2px 2px 0 rgba(0, 0, 0, 0.06);
  --shd-blue: 4px 4px 0 rgba(var(--mid-blue-rgb), 0.12);

  font-family: Inter, sans-serif;
  font-feature-settings:
    "liga" 1,
    "calt" 1; /* fix for Chrome */
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  font-weight: 400;
  font-family: Inter, sans-serif;
  color: var(--text);
  background-color: var(--background-landingpage);
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: 140px;
  }
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-behavior: smooth;
}

h3,
h4 {
  margin: 1rem 0 0.5rem 0;
  line-height: 120%;
}

p {
  margin: 0.5rem 0 0.8rem 0;
  max-width: 640px;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  line-height: 160%;
}

.main-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.template-body {
  max-width: 1200px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;

  @media screen and (max-width: 860px) {
    padding-top: 1.2rem;
    width: 100%;
  }
}

.template-body ul {
  max-width: 640px;
}

/* Buttons  */

.hero-cta-container {
  display: flex;
  gap: 8px;
  flex-direction: row;
  margin: 1rem 0;
  align-self: flex-start;
}

.cta {
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  width: auto;

  transition: transform ease-in-out 0.2s;
  &:hover {
    transform: translateY(-2px);
  }
}

.primary {
  background-color: var(--mid-blue);
  border: 1px solid var(--dark-blue);
  color: #ffffff;
  box-shadow:
    inset 0 2px 8px rgba(255, 255, 255, 0.16),
    var(--shd-blue);
}

.primary:hover {
  background-color: rgba(var(--dark-blue-rgb), 1);
}

.secondary {
  background-color: var(--surface-elevated);
  color: rgba(var(--dark-blue-rgb), 1);
  border: solid 1px rgba(var(--dark-blue-rgb), 0.2);
  box-shadow: var(--shd-blue);
}

.secondary:hover {
  opacity: 0.8;
}

.tertiary {
  color: rgba(21, 36, 55, 1);
}

.tertiary:hover {
  background-color: rgba(21, 36, 55, 0.05);
}

.big {
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  align-self: center;
}

.hide-on-mobile {
  @media (pointer: coarse) {
    display: none;
  }
}

.show-on-mobile {
  @media (pointer: fine) {
    display: none;
  }
}

/* header  */

.logo {
  /*width: 200px;*/
  height: 45px;
}
.secondary-logo {
  height: 45px;
  opacity: 0.54;
  width: auto;
  margin: 2rem 0;
}

.header-container {
  display: flex;
  position: sticky;
  top: 0px;
  z-index: 100;
  background-color: var(--background-landingpage);
  border: solid 1px transparent;
  box-shadow: none;
  transition: background-color 0.8s ease, border-color 0.8s ease, box-shadow 0.8s ease;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  align-items: center;
  padding: 1rem 0.5rem;
  margin: 0 0 1rem 0;
}

.header-container.scrolled {
  border-color: var(--border-light);
  background-color: var(--surface);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.06), 0px 4px 6px rgba(0, 0, 0, 0.04);
}

.header-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;

}

.menu-logo-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.menu-links-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  margin: 0;
}

.menu-links-wrapper ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  gap: 1rem;
}

.menu-button {
  display: none;
}

.menu-open {
  background-color: var(--surface-elevated);
}

@media screen and (max-width: 768px) {
  .main-content {
    padding: 0 2px;
    width: 100%;
  }

  .header-container {
    background-color: transparent;
    box-shadow: none;
    margin: 0 -2px;
    padding: 0;
  }

  .header-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    flex-direction: column;
    justify-items: flex-start;
    align-items: flex-end;
    background-color: var(--background-landingpage);
    border: none;
    border-bottom: solid 1px transparent;
    border-radius: 0;
    width: 100%;
    padding: 1rem 0.5rem;
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .header-wrapper.scrolled {
    border-bottom-color: var(--border-light);
    background-color: var(--surface-elevated);
    box-shadow: var(--shd-card);
  }

  .menu-logo-wrapper {
    width: 100%;
  }

  .menu-button {
    display: block;
  }

  .menu-links-wrapper {
    max-height: 0;
    width: 100%;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: max-height 0.08s ease-in-out;
  }

  .menu-links-wrapper ul {
    flex-direction: column;
    width: 100%;
    align-items: flex-end;
    gap: 2rem;
    padding: 0;
  }
}

.section {
  max-width: 1200px;
  position: relative;
  background-color: var(--surface);
  border-radius: 4px;
  border: solid 1px var(--border-light);
  box-shadow: var(--shd-card);
}

.grid-effect-left,
.grid-effect-right {
  isolation: isolate;

}

.grid-effect-right::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  /* The grid lines */
  background-image:
    linear-gradient(to right, rgba(0,72,163,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,72,163,0.06) 1px, transparent 1px);
  background-size: 20px 20px; /* adjust cell size */
  /* Diagonal cut — only shows grid on the right/bottom portion */
  clip-path: polygon(85% 0%, 100% 0%, 100% 100%, 65% 100%);
}

.grid-effect-left::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  /* The grid lines */
  background-image:
    linear-gradient(to right, rgba(0,72,163,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,72,163,0.06) 1px, transparent 1px);
  background-size: 20px 20px; /* adjust cell size */
  /* Diagonal cut — only shows grid on the right/bottom portion */
  clip-path: polygon(0% 0%, 35% 0%, 15% 100%, 0% 100%);
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 960px;
  padding-bottom: 0.5rem;
}

.hero-text {
  font-size: 40px;
  font-weight: 600;
  text-transform: uppercase;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: none;
  text-align: left;
  max-width: 600px;
  margin-top: 0;
  margin-bottom: 0;

  @media screen and (max-width: 768px) {
    min-height: 120px;
  }
}

.hero-text span {
  font-style: italic;
  color: var(--mid-blue);
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  border-right: 3px solid transparent;
}

.hero-text span.typing {
  border-right-color: var(--mid-blue);
  animation: blink-cursor 0.6s step-end infinite;
}

@keyframes blink-cursor {
  0%,
  100% {
    border-right-color: var(--mid-blue);
  }
  50% {
    border-right-color: transparent;
  }
}

.hero-text-strong {
  font-weight: 600;
  margin-top: 1rem;
}

.hero-content p {
  margin: 0.2rem 0;
  line-height: 150%;
  text-wrap: balance;
  font-size: 1.1rem;
}

.hero-carousel {
  position: relative;
  max-width: 80%;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-top: 0.25rem;
  @media screen and (max-width: 768px) {
    max-width: 95%;
  }
}

.carousel-slide {
  border-radius: 2px;
  border: solid 1px var(--border);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.18s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 1rem 0 1.5rem 0;
}

.carousel-dot {
  width: 40px;
  height: 4px;
  border-radius: 1px;
  border: none;
  background-color: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: var(--mid-blue);
}

.divider {
  height: 1px;
  margin: 2.5rem;
  max-width: 1200px;
  min-width: 100%;
  align-self: center;

  border-bottom: 1px dashed var(--border);

  @media (max-width: 860px) {
    min-width: 95%;
    margin: 1.2rem;
  }
}

/* Mobile hero overrides — split out from the larger 860px @media block
   below (the rest of which targets footer/card-section and stays out of
   critical). */
@media screen and (max-width: 860px) {
  .hero-section {
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    margin: 0;
  }
  .hero-content {
    max-width: 100%;
    align-items: center;
    justify-content: center;
  }

  .primary-cta-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;

    & a {
      width: 80%;
      text-align: center;
    }
  }

  .hero-text {
    text-align: left;
    font-size: 32px;
  }

  .hero-tag {
    display: none;
  }

  .hero-content span {
    word-break: break-word;
    hyphens: auto;
  }

  .hero-section img {
    max-width: 100%;
  }
}

.img-text-component {
  width: 100%;
  background: var(--surface);
  color: var(--text-muted);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;

  & div {
    padding: 1rem;

    & h1 {
      max-width: 800px;
      color: var(--mid-blue);
      margin-top: 0.25rem;
    }

    & h2 {
      margin: 0;
      color: var(--mid-blue);
      font-size: 2rem;
      line-height: 120%;
    }

    & span {
      color: var(--mid-blue);
      font-family: "Cormorant Garamond", serif;
      font-style: italic;
      font-weight: 500;
      font-size: 1.5rem;
      margin: 0;
    }
  }

  & img {
    padding: 0.5rem;
    max-width: 55%;
    height: auto;
  }

  @media (max-width: 860px) {
    flex-direction: column;
    margin: 0.2rem 0;

    & img {
      max-width: 100%;
      height: auto;
    }
  }
}

.md-article-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.blog-nav {
  width: 100%;
  background-color: var(--surface-elevated);
  border: solid 1px var(--border-light);
  box-shadow: var(--shd-card);
  padding: 1rem;
  min-height: 800px;
  border-radius: 2px;
}

.blog-entries {
  padding: 1rem;
  list-style: none;
  max-width: 800px;

  & li {
    padding-top: 0.8rem;
  }

  & h4 {
    margin: 0;
  }

  & a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--mid-blue);
  }

  & span {
    font-size: 14px;
    color: var(--text-muted);
  }
}

.guide-img {
  max-width: 640px;
  width: 100%;
  border-radius: 2px;
}

.md-doc-wrapper {
  background-color: var(--surface);
  padding: 1rem;
  box-shadow: var(--shd-card);
  border: solid 1px var(--border-light);
  display: flex;
  margin-bottom: 1rem;
  h1 {
    margin-top: 0;
    max-width: 640px;
  }

  & > div {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  @media screen and (max-width: 768px) {
    flex-direction: column;
    overflow-x: hidden;
  }
}

.md-page-toc {
  margin-right: 1rem;
  max-width: 25%;
  margin-bottom: 2rem;
  height: fit-content;
  padding: 8px;
  position: sticky;
  top: 40px;
  border-right: 1px solid var(--border-light);

  & hr {
    border: solid 1px var(--border-light);
  }

  & ul {
    list-style: none;
    padding-left: 0.2rem;
    height: 100vh;
    padding-bottom: 150px;
    overflow-y: scroll;
  }
  & li {
    padding-top: 0.2rem;
  }
  & a {
    color: var(--text);
    text-decoration: none;
  }

  & a:hover {
    color: var(--text-muted);
  }

  & h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 0.2rem 0;
  }
  & h3 {
    font-size: 14px;
    font-weight: 500;
    margin: 0.2rem 0;
  }
}

.toc-toggle {
  display: none;
}

.toc-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0.2rem 0;
  color: var(--mid-blue);
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  html:has(.md-page-toc) {
    scroll-padding-top: 160px;
  }

  .md-page-toc {
    border: none;
    position: relative;
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 0;
  }

  .md-page-toc ul {

    height: auto;
    overflow-y: visible;
    padding-bottom: 2rem;
  }

  .md-page-toc.toc-open ul {
    display: block;
  }

  .toc-toggle {
    display: block;
    text-decoration: none;
    position: sticky;
    z-index: 2;
    top: 88px;
    background: none;
    border: none;
    border-radius: 0 0 4px 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 1rem 0.25rem;
    margin: 0.5rem 0.25rem;
    color: var(--mid-blue);
    border: solid 1px var(--border-light);
    background-color: var(--surface-elevated);
  }

  .toc-title {
    display: none;
  }
}

.toc-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.toc-divider {
  height: 1px;
  max-width: 100%;
  padding: 2rem 0rem;
  margin: 0rem 0 0 0;
  border-bottom: 1px solid var(--border-light);

  @media (max-width: 860px) {
    min-width: 95%;
    margin: 0.25rem;
    padding: 0.25rem;
  }
}

blockquote {
  background-color: rgba(245, 244, 145, 0.3);
  border: solid 2px rgba(156, 155, 79, 0.6);
  color: #2f2e04;
  padding: 0.5rem;
  margin: 0;
  border-radius: 0;
  max-width: 640px;
  box-shadow: 4px 4px 0 rgba(47, 46, 4, 0.12);
}

table,
th,
td,
tr {
  border: solid 1px var(--border-light);
  border-collapse: collapse;
  max-width: 640px;
}

td,
th {
  padding: 0.2rem;
}

table a {
  color: #046df3;
}

td:nth-of-type(2) a {
  line-break: anywhere;
}

.anchor-link {
  color: var(--hover-blue);
  text-decoration: none;
  font-size: 1rem;
  &:hover {
    color: var(--active-blue);
  }
}

.article-section {
  width: 100%;
  background-color: var(--surface);
  border: solid 1px var(--border-light);
  box-shadow: var(--shd-card);
  padding: 1rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;

  & div {
    width: 100%;
    max-width: 800px;

  }

  & .anchor-link {
    color: var(--hover-blue);
  }

  & a {
    color: var(--mid-blue);
    text-decoration: none;
  }

  & li {
    padding: 0.25rem 0;
  }

  & img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
  }
}

.article-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}
/* === CRITICAL:end === */

.step-section {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  margin: 0rem 0;
  padding: 2rem 1rem;
}

.step-by-step-section-title {
  text-align: left;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  font-size: 24px;

  & h2 {
    padding: 0;
    margin: 0;
    color: var(--mid-blue);
  }

  /*  & span {
      font-style: italic;
      color: rgba(var(--mid-blue-rgb), 1);
      text-shadow: 2px 2px 0px rgba(var(--mid-blue-rgb), 0.18);
  }*/
}

.step-grid {
  max-width: 960px;
  padding: 0rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 16px;
  margin: auto;

  @media (max-width: 860px) {
    gap: 8px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
  }
}

.step {
  max-width: 100%;
  border-radius: 4px;
  background-color: white;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4px;

  & div {
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

.step-indicator {
  background-color: rgba(var(--mid-blue-rgb), 1);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-align: center;
  line-height: 1.8;
  padding: 0;
  margin: 0;
}

.step span {
  display: block;
}

.step img {
  display: inline-block;
  max-width: 100%;
  border-radius: 2px;
}

.step-header {
  padding: 4px 0 0 0;
  font-weight: 600;
  color: #152437;
}

.usecase-section {
  display: flex;
  flex-direction: column;

  padding: 1rem;

  & h2 {
    color: rgba(var(--mid-blue-rgb), 1);
    margin: 0.2rem;
  }
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  max-width: 960px;
  gap: 16px;

  @media (max-width: 860px) {
    gap: 8px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
  }

  & div {
    max-width: 100%;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0.5rem 0;
  }

  & p {
    color: var(--text-muted);
  }

  & h4 {
    margin: 0;
    color: var(--mid-blue);
  }
}

.mobile-signup-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 1rem 2rem 1rem;
  margin-top: 1rem;

  @media (pointer: fine) {
    display: none;
  }

  & img {
    width: 100%;
    max-width: 240px;
  }
}

.feature-section {
  flex-direction: column;
  padding: 1rem;
}

.feature-img-container {
  width: 60%;
  height: 100%;
  background-color: var(--mid-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  max-width: 960px;

  @media (max-width: 860px) {
    gap: 8px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
  }

  & div {
    padding: 0.5rem;
  }

  & h4 {
    margin: 0;
    color: var(--mid-blue);
  }

  & p {
    color: var(--text-muted);
    padding: 0;
  }
}

.coming-features-section {
  max-width: 1200px;
  width: 100%;
  padding: 1rem;
  margin-bottom: 2rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.coming-features-box {
  background-color: var(--surface);
  max-width: 420px;
  border: solid 1px var(--border-light);
  display: flex;
  gap: 1rem;
  flex-direction: column;
  padding: 3rem 2rem;
  border-radius: 4px;
  box-shadow: var(--shd-card);
}

.feature-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px;
}

.feature-title {
  font-size: 16px;
  font-weight: bold;
  color: #152437;
  flex-shrink: 0;
}

.dotted-line {
  flex-grow: 1;
  border-bottom: 1px dashed var(--border);
  margin: 0 10px;
}

.feature-badge {
  font-size: 14px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 1px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.beta {
  background-color: rgba(var(--green-rgb), 0.05);
  border: solid 1px rgba(var(--green-rgb), 0.1);
  color: rgba(var(--dark-green-rgb), 1);
}

.developing {
  background-color: rgba(255, 198, 91, 0.05);
  border: solid 1px rgba(255, 198, 91, 0.1);
  color: #966200;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  font-size: 14px;
  font-family: inherit;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: left;

  & .cookie-title {
    color: rgba(var(--dark-blue-rgb), 1);
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 1rem 0;
    text-align: center;
  }

  & .cookie-text {
    color: rgba(var(--dark-blue-rgb), 0.85);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 1rem;

    & a {
      color: rgba(var(--active-blue-rgb), 1);
      text-decoration: none;

      &:hover {
        text-decoration: underline;
      }
    }
  }

  & .cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  & .cookie-button {
    padding: 0.75rem 1rem;
    border-radius: 2px;
    font: inherit;
    cursor: pointer;
    outline: none;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 14px;
    width: 100%;

    &.accept {
      border: 1px solid rgba(var(--dark-blue-rgb), 0.6);
      background-color: rgba(var(--mid-blue-rgb), 1);
      color: white;
      box-shadow:
        inset 0 2px 8px rgba(255, 255, 255, 0.16),
        var(--shd-blue);

      &:hover {
        background-color: rgba(var(--active-blue-rgb), 1);
      }
    }

    &.reject {
      background-color: transparent;
      color: rgba(var(--active-blue-rgb), 1);
      border: none;
    }
  }

  & .cookie-footer {
    font-size: 0.6rem;
    color: rgba(var(--dark-blue-rgb), 0.75);
    & a {
      color: rgba(var(--active-blue-rgb), 0.8);
    }
  }
}

@media screen and (max-width: 768px) {
  .cookie-banner {
    width: calc(100vw - 40px);
    height: auto;
    min-height: 200px;
  }
}

.footer {
  background-color: rgba(var(--dark-blue-rgb), 1);
  overflow: hidden;
  position: relative;
  min-height: 440px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  isolation: isolate;
}

.footer::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  /* The grid lines */
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);

  background-size:
    80px 80px;
}

.footer::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.03) 0,
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 84px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.03) 0,
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 84px
    );
}


.footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.footer-grey-text {
  color: #ffffff;
  opacity: 0.6;
  text-align: justify;
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-list {
  display: flex;
  list-style: none;
  color: #fff;
  opacity: 0.6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  gap: 0.8rem;
  padding: 1rem 0rem;

  & a {
    text-decoration: none;
    color: #fff;
  }
}

/* Footer/card-section half of the 860px @media — the hero half of this
   query lives inside the critical block above. */
@media screen and (max-width: 860px) {
  .card-section {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-inner p {
    text-align: center;
  }

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

.pricing-offers-wrapper {
  display: flex;
  flex-direction: row;
  gap: 8px;

  @media screen and (max-width: 860px) {
    flex-direction: column;
  }
}

.pricing-card {
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background-color: var(--surface-elevated);
  padding: 0px 0px 2rem 0px;
  font-family: sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 550px;
  /*box-shadow: var(--shd-card);*/

  @media screen and (max-width: 860px) {
    min-height: auto;
    padding-bottom: 1rem;
  }
}

.pricing-card-header {
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  padding: 1rem 1rem;
  border-radius: 4px 4px 0 0;
  margin-bottom: 16px;
}

.pricing-card-header.blue {
  background-color: var(--mid-blue);
  color: #fff;
}

.pricing-card-header.light-blue {
  background-color: var(--background);
  color: var(--text-muted);
}

.pricing-card-header.black {
  background-color: var(--dark-blue);
  color: #fff;
}

.pricing-price {
  font-size: 36px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.25rem;
}

.pricing-period {
  font-size: 14px;
  font-weight: normal;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-description {
  font-size: 16px;
  line-height: 140%;
  font-weight: 400;
  color: var(--text-muted);
  text-align: left;
  margin: 12px 0 20px;
  padding: 0 1.5rem;
}

.pricing-feature-row {
  width: 100%;
  display: flex;
  justify-content: start;
  gap: 0.5rem;
  align-items: center;
  padding: 6px 1.5rem;
  font-size: 16px;
}

.cross {
  color: var(--border-dark);
}

.subscription-footer {
  font-size: 14px;
  text-align: left;
  margin-top: 32px;
  padding: 0 1.5rem;
  color: var(--text-muted);
}

.pricing-badge-container {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 48px;
  right: 12px;

  & img {
    width: 100%;
  }
}

.input-container {
  background-color: var(--surface-elevated);
  width: fit-content;
  margin: 0 auto 16px;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid var(--border-light);

  &:hover {
    background: #fff;
    border: solid 1px var(--border);
  }
}

.input-container input[type="radio"] {
  accent-color: #0048a3;
  margin-right: 8px;
}

.input-container label {
  margin-right: 16px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.description-box {
  background: rgba(4, 98, 243, 0.15);
  border: 1px solid rgba(4, 98, 243, 0.4);
  padding: 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

.description-box .text {
  padding: 4px;
  font-size: 16px;
}

.pricing-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 2rem;
}

.discount-text {
  color: #068051;
  font-size: 14px;
  font-weight: bold;
  padding-left: 4px;
}

.pricing-cards {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.pricing-card {
  flex: 1;
  max-width: 300px;
  min-width: 200px;
}

/* FAQ Section */

.faq-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
}

.faq-section h2 {
  margin: 0 0 1.5rem 0;
}

.faq-list {
  max-width: 800px;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--mid-blue);
}

.faq-chevron {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 0.5rem 1rem 0.5rem;
  margin: 0;
  color: var(--text-muted);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
