@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/static/fonts/Inter-VariableFont_opsz,wght.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/static/fonts/Rubik-VariableFont_wght.woff2') format('woff2');
}

:root {
  color-scheme: light dark;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Rubik', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bg: #f7f6f1;
  --card: #ffffff;
  --text: #1f1d1b;
  --muted: #6c6a67;
  --accent: #ff7a18;
  --accent-dark: #d95f00;
  --shadow: rgba(31, 29, 27, 0.12);
  --gradient-start: rgba(173, 207, 255, 0.42);
  --gradient-end: rgba(210, 226, 255, 0.7);
  --color-background: #f2f6ff;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-muted: #4b5563;
  --color-primary: #4c6ef5;
  --color-primary-strong: color-mix(in lab, var(--color-primary) 82%, #0f172a);
  --color-primary-surface: color-mix(in lab, var(--color-primary) 12%, var(--color-surface));
  --color-primary-surface-medium: color-mix(in lab, var(--color-primary) 10%, var(--color-surface));
  --color-primary-surface-strong: color-mix(in lab, var(--color-primary) 16%, var(--color-surface));
  --color-primary-surface-soft: color-mix(in lab, var(--color-primary) 8%, var(--color-surface));
  --color-primary-surface-faint: color-mix(in lab, var(--color-primary) 7%, var(--color-surface));
  --color-primary-surface-minimal: color-mix(in lab, var(--color-primary) 3%, var(--color-surface));
  --color-primary-border: color-mix(in lab, var(--color-primary) 20%, var(--color-surface));
  --color-primary-border-soft: color-mix(in lab, var(--color-primary) 18%, var(--color-surface));
  --color-primary-glow: color-mix(in lab, var(--color-primary) 60%, transparent);
  --color-primary-glow-soft: color-mix(in lab, var(--color-primary) 55%, transparent);
  --color-primary-glow-mid: color-mix(in lab, var(--color-primary) 35%, transparent);
  --color-primary-gradient: color-mix(in lab, var(--color-primary) 18%, transparent);
  --color-primary-gradient-soft: color-mix(in lab, var(--color-primary) 16%, var(--color-surface));
  --color-primary-gradient-faint: color-mix(in lab, var(--color-primary) 15%, var(--color-surface));
  --shadow: color-mix(in lab, var(--color-text) 12%, transparent);
  --contrast-surface: color-mix(in lab, var(--color-text) 6%, var(--color-surface));
  --color-surface-veil: color-mix(in lab, var(--color-surface) 95%, transparent);
  --landing-hero-caption-gradient: linear-gradient(
    180deg,
    color-mix(in lab, #fff 0%, transparent) 0%,
    color-mix(in lab, #fff 15%, transparent) 65%,
    color-mix(in lab, #fff 25%, transparent) 100%
  );
  --landing-hero-caption-text: #e7ecfb;
  /*
  --landing-hero-caption-text: #0f172a;
  */
}

[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0b1221;
  --card: #0f172a;
  --text: #e3e8f5;
  --muted: #9ca9c9;
  --accent: #ff9e4d;
  --accent-dark: #f28c39;
  --gradient-start: rgba(95, 121, 205, 0.3);
  --gradient-end: rgba(60, 82, 151, 0.35);
  --color-background: #0b1221;
  --color-surface: #0f172a;
  --color-text: #e3e8f5;
  --color-muted: #b3bed6;
  --color-primary: #8fb3ff;
  --shadow: color-mix(in lab, #000 52%, transparent);
  --landing-hero-caption-gradient: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.15) 65%,
    rgba(0, 0, 0, 0.25) 100%
  );
  --landing-hero-caption-text: #e7ecfb;
}

*, *::before, *::after {
  box-sizing: border-box;
}

  body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text);
    background: radial-gradient(circle at 0% 0%, var(--gradient-start), transparent 55%),
      radial-gradient(circle at 100% 0%, var(--gradient-end), transparent 60%), var(--color-background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    cursor: default;
  }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

a {
  color: inherit;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.pill-list--compact .pill {
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--color-primary-surface);
  color: var(--color-primary-strong);
  font-weight: 600;
  border: 1px solid var(--color-primary-border);
}

.hero-downloads {
  background: var(--color-primary-surface);
  border: 1px solid var(--color-primary-border);
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  box-shadow: 0 16px 40px color-mix(in lab, var(--shadow) 18%, transparent);
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 3rem) 0;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  background: color-mix(in lab, var(--color-background) 82%, transparent);
  border-bottom: 1px solid color-mix(in lab, var(--color-text) 10%, transparent);
  z-index: 10;
}

.site-header .container {
  padding: 0.65rem 0;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: inherit;
}

.logo__icon {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.35rem;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--color-text);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-primary-border);
  box-shadow: 0 10px 30px -18px var(--shadow);
}

.theme-toggle button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-muted);
  --size: 1.5rem;
  padding: 0.35rem;
  width: var(--size);
  height: var(--size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.theme-toggle button:hover,
.theme-toggle button:focus-visible {
  color: var(--color-text);
  border-color: var(--color-primary-border);
  outline: none;
}

.theme-toggle button.is-active {
  background: var(--color-primary-surface-strong);
  color: var(--color-text);
  border-color: var(--color-primary-border);
  box-shadow: 0 12px 24px -14px var(--shadow);
}

main {
  flex: 1;
}

footer {
  border-top: 1px solid color-mix(in lab, var(--color-text) 10%, transparent);
  padding: 1.75rem 0 2.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  background: color-mix(in lab, var(--color-surface) 85%, transparent);
}

footer .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-title {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-links a {
  text-decoration: none;
  color: inherit;
}

.footer-social {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.footer-social a {
  display: inline-flex;
  border: 1px solid color-mix(in lab, var(--color-text) 12%, transparent);
  border-radius: 50%;
  padding: 0.4rem;
  background: color-mix(in lab, var(--color-surface) 92%, transparent);
  transition: border-color 120ms ease, transform 120ms ease;
}

.footer-social a:focus-visible,
.footer-social a:hover {
  border-color: var(--color-primary-border);
  transform: translateY(-2px);
}

.footer-social img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 720px) {
  .site-header .inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  nav ul {
    flex-wrap: wrap;
  }
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

.article-card {
  background: var(--color-surface);
  border-radius: 1.2rem;
  box-shadow: 0 25px 60px -35px var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid color-mix(in lab, var(--color-text) 14%, transparent);
  pointer-events: none;
}

.article-card:hover,
.article-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px -40px var(--shadow);
}

.article-card__link {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  text-decoration: none;
  color: inherit;
  z-index: 1;
}

.article-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  height: 100%;
  pointer-events: none;
}

.article-card__content a {
  pointer-events: auto;
}

.article-card small {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.article-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.article-card p {
  margin: 0;
  color: var(--color-muted);
}

.article-card__media {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--color-primary-surface-minimal);
  box-shadow: 0 12px 30px -24px var(--shadow);
  aspect-ratio: 16 / 9;
}

.article-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-card__tags {
  margin-top: auto;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--color-primary-surface-soft);
  color: var(--color-primary-strong);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--color-primary-border-soft);
}

.tag-chip:hover,
.tag-chip:focus-visible {
  background: var(--color-primary-surface-strong);
}

.post-tags {
  margin-top: 0.75rem;
}

.article-card__cta {
  align-self: flex-start;
  font-weight: 600;
  color: var(--color-primary);
}

.pagination {
  margin: 3rem auto 0;
  display: flex;
  justify-content: center;
}

.pagination__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.85rem;
  text-decoration: none;
  background: var(--color-surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--color-text);
  font-weight: 600;
  box-shadow: 0 12px 30px -24px var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pagination__link:hover,
.pagination__link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px -28px var(--shadow);
  background: var(--color-primary-surface-faint);
}

.pagination__link.is-current {
  background: linear-gradient(120deg, var(--color-primary), #a5c7ff);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 40px -28px var(--color-primary-glow);
}

.pagination__link.is-disabled {
  color: var(--color-muted);
  background: #f2f0eb;
  border-color: rgba(0, 0, 0, 0.04);
  cursor: not-allowed;
  box-shadow: none;
}

.hero {
  background: linear-gradient(135deg, var(--color-primary-gradient), transparent);
  border-radius: 1.75rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  box-shadow: 0 30px 80px -45px var(--shadow);
}

.landing-hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 1.75rem;
  background: linear-gradient(140deg, var(--color-primary-gradient-soft), var(--color-surface-veil));
  box-shadow: 0 30px 80px -45px var(--shadow);
}

.landing-hero__row {
  display: grid;
  gap: 1.75rem;
}

.landing-hero__row--split {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
}

.landing-hero__row--headline {
  grid-template-columns: 1fr;
}

.landing-hero__row--carousel {
  grid-template-columns: 1fr;
}

.landing-hero__column--actions {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.landing-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.landing-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  margin: 0 0 0rem !important;
}

.landing-hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 0.9rem;
  background: rgba(255, 122, 24, 0.12);
  color: var(--accent-dark);
  font-weight: 700;
  margin: 0 0 1rem;
  box-shadow: 0 12px 28px -20px var(--shadow);
}

.landing-hero p {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.landing-hero__carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.landing-hero__row--carousel .landing-hero__carousel {
  margin: 0 auto;
  max-width: 1100px;
}

.landing-hero__media {
  background: var(--color-surface);
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 25px 60px -40px var(--shadow);
}

.landing-hero__slides {
  display: flex;
  transition: transform 0.6s ease;
}

.landing-hero__slide {
  margin: 0;
  min-width: 100%;
  flex: 0 0 100%;
  opacity: 0.35;
  position: relative;
  transition: opacity 0.6s ease;
}

.landing-hero__slide.is-active {
  opacity: 1;
}

.landing-hero__slide img {
  width: 100%;
  display: block;
  border-radius: 0.9rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.landing-hero__slide-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 1.15rem 1.25rem 1.05rem;
  color: var(--landing-hero-caption-text);
  border-radius: 0 0 0.9rem 0.9rem;
  background: var(--landing-hero-caption-gradient);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.landing-hero__slide-caption p {
  color: var(--landing-hero-caption-text);
}

.landing-hero__slide-title {
  margin: 0;
  font-weight: bold;
  font-size: 1.5rem !important;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.landing-hero__slide-description {
  margin: 0;
  color: color-mix(in lab, var(--landing-hero-caption-text) 82%, transparent);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .landing-hero__slide {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    align-items: stretch;
  }

  .landing-hero__slide img {
    width: 100%;
    height: auto;
    max-height: min(68vh, 620px);
    object-fit: contain;
    object-position: top;
    background: var(--color-surface-veil);
  }

  .landing-hero__slide-caption {
    position: static;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--color-text);
    border-radius: 0;
  }

  .landing-hero__slide-caption p {
    color: var(--color-muted);
  }
}

.landing-hero__controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.35rem;
  pointer-events: none;
}

.carousel-control {
  cursor: pointer;
  pointer-events: auto;
  height: 42px;
  width: 42px;
  border-radius: 50%;
  border: 1px solid color-mix(in lab, var(--color-text) 14%, transparent);
  background: color-mix(in lab, var(--color-text) 8%, var(--color-surface));
  color: var(--color-text);
  font-size: 1.35rem;
  box-shadow: 0 15px 40px -25px var(--shadow);
  display: grid;
  place-items: center;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: color-mix(in lab, var(--color-text) 12%, var(--color-surface));
  border-color: color-mix(in lab, var(--color-text) 22%, transparent);
}

.landing-hero__dots {
  display: flex;
  gap: 0rem;
  justify-content: center;
  margin-top: 0.85rem;
}

@media (hover: hover) {
  .landing-hero__controls .carousel-control {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
  }

  .landing-hero__carousel:hover .carousel-control,
  .carousel-control:focus-visible {
    opacity: 1;
    visibility: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero__slides {
    transition: none;
  }

  .landing-hero__slide {
    transition: none;
  }
}

.carousel-dot {
  cursor: pointer;
  padding: 4px !important;
  background: none;
  border: 0;
  display: inline-flex;
}

.carousel-dot span {
  opacity: 0.9;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: var(--muted);
  transition: border 0.25s;
}

.carousel-dot:hover span {
  border: 1px solid var(--accent);
  transition: border 0.25s;
}

.carousel-dot.is-active span {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 6px 20px -14px var(--shadow);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.download-platform {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
}

.download-options {
  margin-top: 1rem;
  display: none;
}

.download-options.is-visible {
  display: block;
}

.store-badge img {
  height: 54px;
  width: auto;
}

.download-note {
  color: var(--color-muted);
  margin-top: 0.25rem;
  font-size: 0.95rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-card {
  background: var(--color-surface);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 25px 60px -40px var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: center;
}

.feature-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 1rem;
  background: var(--color-primary-surface-soft);
  padding: 0.6rem;
}

.feature-card h3 {
  margin: 0;
}

.feature-card p {
  margin: 0;
  color: var(--color-muted);
  grid-column: 1 / -1;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.showcase-card {
  background: var(--color-surface);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 20px 55px -38px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.showcase-card img {
  width: 100%;
  border-radius: 0.9rem;
  box-shadow: 0 16px 40px -28px var(--shadow);
}

.showcase-card p {
  color: var(--color-muted);
  margin: 0;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 0.8rem;
}

.hero p {
  max-width: 580px;
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin: 0 0 0.5rem;
}

.section-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 1rem;
}

.page-header {
  background: var(--color-surface);
  border-radius: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 20px 55px -38px var(--shadow);
  margin-bottom: 1.5rem;
}

.page-header h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
}

.page-header p {
  margin: 0;
  color: var(--color-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  border-radius: 999px;
  padding: 0.85rem 1.65rem;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--color-primary), #a5c7ff);
  color: #f8fbff;
  box-shadow: 0 10px 25px -10px var(--color-primary-glow-soft);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--color-text);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.newsletter {
  margin-top: 3rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 1.5rem;
  background: var(--color-surface);
  box-shadow: 0 20px 60px -40px var(--shadow);
}

.newsletter--plain {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.section-intro {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.section-intro p {
  color: var(--color-muted);
  margin: 0;
}

.tag-landing {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin-top: 2rem;
}

.tag-landing h1 {
  margin: 0.3rem 0 0.5rem;
  font-family: var(--font-heading);
}

.tag-landing p {
  color: var(--color-muted);
  margin: 0;
}

.pricing-hero {
  background: var(--color-surface);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 24px 70px -46px var(--shadow);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.pricing-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--color-primary-surface-medium);
  color: var(--color-primary-strong);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
}

.pricing-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5vw, 3rem);
}

.pricing-hero p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.plan-card {
  background: var(--color-surface);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 22px 60px -42px var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.plan-card.is-highlighted {
  border-color: var(--color-primary-border);
  box-shadow: 0 28px 70px -46px var(--color-primary-glow-mid);
}

.plan-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--color-primary-surface);
  color: var(--color-primary-strong);
  font-weight: 700;
  font-size: 0.9rem;
}

.plan-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 0.35rem 0;
}

.plan-meta {
  color: var(--color-muted);
  margin: 0 0 1rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.plan-features li {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  color: var(--color-muted);
}

.plan-features strong {
  color: var(--color-text);
}

.plan-note {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0.25rem 0 0;
}

.newsletter form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.newsletter input[type='email'] {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  min-width: 220px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.post {
  background: var(--color-surface);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 25px 70px -45px var(--shadow);
}

.post-hero-image {
  display: block;
  width: 100%;
  max-width: 1024px;
  margin: 1.5rem auto 1.25rem;
  border-radius: 1.25rem;
  box-shadow: 0 28px 80px -50px var(--shadow);
  background: var(--color-surface);
}

.post-header h1 {
  margin: 0 0 0.35rem 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
}

.post-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.post-meta {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.back-link--top {
  margin-top: 0;
}

.post-content {
  margin-top: 2rem;
  line-height: 1.8;
}

.post-content img {
  max-width: 100%;
  height: auto;
}

.post-content :where(h2, h3, h4) {
  font-family: var(--font-heading);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.post-content :where(p, ul, ol) {
  margin-bottom: 1rem;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--color-surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 16px 40px -28px var(--shadow);
}

.post-content th,
.post-content td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.post-content thead th {
  background: linear-gradient(135deg, var(--color-primary-gradient-faint), var(--color-primary-surface-minimal));
  color: var(--color-primary-strong);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.post-content tbody tr:nth-child(odd) td {
  background: var(--color-primary-surface-minimal);
}

.post-content tbody tr:hover td {
  background: var(--color-primary-surface-soft);
}

.post-comments {
  margin-top: 2.75rem;
}

.post-comments h2 {
  margin-bottom: 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 2rem;
  text-decoration: none;
  color: var(--color-primary-strong);
  font-weight: 600;
}

code, pre {
  font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

pre {
  background: #141414;
  color: #f5f5f5;
  padding: 1rem;
  border-radius: 1rem;
  overflow-x: auto;
}
