/* EagleCast theme styles */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink-950: #05070f;
  --ink-900: #080c1a;
  --ink-700: #18234a;
  --surface: #0e1428;
  --surface-strong: #131b35;
  --line: rgb(148 163 214 / 0.14);
  --line-strong: rgb(148 163 214 / 0.26);

  --text: #eef1fa;
  --text-dim: #a8b0cc;
  --text-mute: #7a83a3;

  --red: #e0263f;
  --red-hot: #ff3d55;
  --red-deep: #a8162b;
  --blue: #3d8bff;
  --blue-soft: #8cb8ff;
  --gold: #f4c76b;

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --text-xl: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  --text-2xl: clamp(1.6rem, 1.3rem + 1.3vw, 2.35rem);
  --text-hero: clamp(2.6rem, 1.3rem + 5.4vw, 5.6rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --space-section: clamp(3.5rem, 2.5rem + 3.5vw, 6rem);
  --container: 1240px;
  --measure: 72ch;

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
  color-scheme: dark;
}
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--ink-950);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
::selection {
  background: var(--red);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--blue-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- utilities ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.section {
  padding-block: var(--space-section);
}
.section__title {
  font-size: var(--text-2xl);
  margin-bottom: 2rem;
}
.eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--red-hot);
}
.more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--blue-soft);
}
.more:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.icon-box {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  color: var(--red-hot);
  background: rgb(224 38 63 / 0.1);
}
.icon-box--blue {
  width: 44px;
  height: 44px;
  color: var(--blue-soft);
  background: rgb(61 139 255 / 0.1);
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- buttons ---------- */
.btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.3;
  border-radius: var(--radius);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 160ms,
    border-color 160ms;
}
.btn--lg {
  padding: 0.85rem 1.4rem;
  font-size: 1rem;
}
.btn--primary,
.wp-block-button__link {
  background: var(--red);
  color: #fff;
}
.btn--primary:hover,
.wp-block-button__link:hover {
  background: var(--red-deep);
}
.btn--ghost,
.is-style-outline .wp-block-button__link {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover,
.is-style-outline .wp-block-button__link:hover {
  background: transparent;
  border-color: var(--text-dim);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background-color 300ms,
    border-color 300ms;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: var(--ink-950);
  border-bottom-color: var(--line);
}
.admin-bar .site-header {
  top: 32px;
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 76px;
}
.site-header__logo img {
  width: 150px;
  height: auto;
}
.site-nav {
  display: none;
  margin-inline: auto;
}
.site-nav__list {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}
.site-nav__list a {
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-dim);
  border-radius: var(--radius);
}
.site-nav__list a:hover {
  color: var(--text);
}
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav__list .current-menu-ancestor > a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--red-hot);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.site-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-header__cta {
  display: none;
}
.burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.burger__close,
.burger[aria-expanded="true"] .burger__open {
  display: none;
}
.burger[aria-expanded="true"] .burger__close {
  display: block;
}
.mobile-nav {
  position: fixed;
  inset: 76px 0 0;
  padding: 1.5rem var(--gutter) 2rem;
  background: var(--ink-950);
  overflow-y: auto;
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav nav {
  margin-bottom: 1.5rem;
}
.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav__list li {
  border-bottom: 1px solid var(--line);
}
.mobile-nav__list a {
  display: block;
  padding: 1rem 0;
  font-size: 1.35rem;
  font-weight: 700;
}
.mobile-nav__list .current-menu-item > a {
  color: var(--red-hot);
}
@media (min-width: 560px) {
  .site-header__cta {
    display: inline-flex;
  }
}
@media (min-width: 1080px) {
  .site-nav {
    display: block;
  }
  .burger,
  .mobile-nav {
    display: none !important;
  }
  .site-header__actions {
    margin-left: 0;
  }
}
@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(6.5rem, 5.5rem + 4vw, 8.5rem);
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4rem);
  align-items: center;
}
.hero__copy {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}
.hero__kicker {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-dim);
}
.hero__title {
  display: grid;
  gap: 0.75rem;
}
.hero__brand {
  font-size: var(--text-hero);
  font-weight: 900;
  font-stretch: 112%;
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.hero__brand span {
  color: var(--red-hot);
}
.hero__sub {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  max-width: 24ch;
}
.hero__lede {
  font-size: var(--text-lg);
  color: var(--text-dim);
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero__small {
  font-size: var(--text-sm);
  color: var(--text-mute);
}
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* TV guide mockup */
.guide {
  margin: 0;
  min-width: 0;
  padding: 8px;
  border-radius: var(--radius-lg);
  background: #1a2140;
  border: 1px solid var(--line-strong);
}
.guide__screen {
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a1022;
}
.guide__now {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}
.guide__art {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 120%, rgb(35 209 139 / 0.55), transparent 60%),
    linear-gradient(180deg, #1b2a66, #0d1640);
}
.guide__field {
  position: absolute;
  inset: 45% -10% -20%;
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.18) 0 1px, transparent 1px 18%);
  transform: perspective(200px) rotateX(55deg);
  transform-origin: top;
}
.guide__meta {
  display: grid;
  align-content: center;
  gap: 0.35rem;
  min-width: 0;
}
.guide__live {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--red);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.guide__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1.2s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0.2;
  }
}
.guide__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.95rem, 0.8rem + 0.6vw, 1.2rem);
  line-height: 1.15;
}
.guide__sub {
  font-size: 0.72rem;
  color: var(--text-mute);
}
.guide__progress {
  height: 4px;
  margin-top: 0.35rem;
  border-radius: 4px;
  background: rgb(255 255 255 / 0.1);
  overflow: hidden;
}
.guide__progress span {
  display: block;
  width: 62%;
  height: 100%;
  background: var(--red);
}
.guide__grid {
  position: relative;
  padding: 0.6rem 0.75rem 0.9rem;
  font-size: 0.7rem;
}
.guide__times,
.guide__row {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
}
.guide__times {
  grid-template-columns: 92px repeat(5, 1fr);
  padding-bottom: 0.4rem;
  color: var(--text-mute);
  font-weight: 700;
}
.guide__tonight {
  color: var(--red-hot);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.6rem;
}
.guide__row {
  padding-block: 3px;
}
.guide__ch {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: var(--text-dim);
  font-weight: 600;
}
.guide__ch b {
  font-family: var(--font-display);
  color: var(--text);
}
.guide__slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}
.guide__slot {
  display: flex;
  justify-content: space-between;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.5rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 0.045);
  border: 1px solid rgb(255 255 255 / 0.04);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-dim);
}
.guide__slot em {
  align-self: center;
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
  font-style: normal;
  font-size: 0.55rem;
  font-weight: 800;
  background: rgb(61 139 255 / 0.25);
  color: var(--blue-soft);
}
.guide__slot.is-live {
  background: rgb(224 38 63 / 0.28);
  border-color: rgb(255 61 85 / 0.45);
  color: var(--text);
  font-weight: 700;
}
.guide__needle {
  position: absolute;
  top: 0.3rem;
  bottom: 0.6rem;
  left: calc(92px + 0.75rem + (100% - 92px - 1.5rem) * 0.33);
  width: 2px;
  background: var(--red-hot);
}
.guide__needle::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-hot);
}
@media (max-width: 520px) {
  .guide__now {
    grid-template-columns: 1fr;
  }
  .guide__times {
    grid-template-columns: 70px repeat(5, 1fr);
  }
  .guide__row {
    grid-template-columns: 70px 1fr;
  }
  .guide__needle {
    left: calc(70px + 0.75rem + (100% - 70px - 1.5rem) * 0.33);
  }
  .guide__slot {
    padding: 0.45rem 0.35rem;
    font-size: 0.62rem;
  }
  .guide__slot em {
    display: none;
  }
}

/* ---------- inner page header + breadcrumbs ---------- */
.page-hero {
  padding-top: clamp(6.5rem, 5.5rem + 3vw, 8rem);
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner {
  display: grid;
  gap: 1rem;
  justify-items: start;
}
.page-hero__title {
  font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem);
  max-width: 22ch;
}
.page-hero__intro {
  color: var(--text-dim);
  font-size: var(--text-lg);
  max-width: 64ch;
}
.breadcrumbs {
  font-size: var(--text-sm);
  color: var(--text-mute);
}
.breadcrumbs a:hover {
  color: var(--text);
}
.breadcrumbs .breadcrumb_last {
  color: var(--text-dim);
}

/* ---------- block content ---------- */
.entry-content {
  padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
  color: var(--text-dim);
}
.entry-content--landing {
  padding-top: 0;
}
.entry-content > * + * {
  margin-top: 1.1em;
}
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > .wp-block-quote,
.entry-content > .schema-faq,
.entry-content > .schema-how-to,
.entry-content > .callout {
  max-width: var(--measure);
}
.entry-content h2 {
  color: var(--text);
  font-size: var(--text-xl);
  margin-top: 2em;
}
.entry-content h3 {
  color: var(--text);
  font-size: var(--text-lg);
  margin-top: 1.6em;
}
.entry-content > h2:first-child,
.entry-content > h3:first-child {
  margin-top: 0;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.3em;
}
.entry-content li + li {
  margin-top: 0.45em;
}
.entry-content li::marker {
  color: var(--red-hot);
}
.entry-content a:not(.btn):not(.more):not(.wp-block-button__link):not(.devices__card):not(.card-post__link) {
  color: var(--blue-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content strong {
  color: var(--text);
}
.entry-content .wp-block-image img {
  border-radius: var(--radius-lg);
}

/* Landing sections built with Group blocks (className "section") */
.entry-content > .section {
  margin-top: 0;
  padding-block: var(--space-section);
}
.entry-content > .section + .section {
  border-top: 1px solid var(--line);
}
.section > h2,
.section > .wp-block-group__inner-container > h2 {
  font-size: var(--text-2xl);
  margin-top: 0;
  max-width: 680px;
}
.section .section__intro {
  max-width: 60ch;
  margin: 0.75rem 0 2rem;
  font-size: var(--text-lg);
  color: var(--text-dim);
}
.section > * + * {
  margin-top: 1rem;
}

/* Tip box: Paragraph with class "callout" */
.entry-content .callout {
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--blue);
  background: var(--surface);
  color: var(--text);
  font-size: var(--text-sm);
}

/* Tables (comparison) */
.wp-block-table {
  margin: 0;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.wp-block-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.wp-block-table th,
.wp-block-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.wp-block-table tr:last-child > * {
  border-bottom: 0;
}
.wp-block-table thead th {
  color: var(--text-mute);
  font-weight: 600;
}
.wp-block-table thead th:nth-child(2) {
  color: var(--red-hot);
}
.wp-block-table tbody td:first-child {
  color: var(--text-dim);
  font-weight: 600;
}
.wp-block-table tbody td:nth-child(2) {
  color: var(--text);
  font-weight: 600;
}
.wp-block-table tbody td:nth-child(3) {
  color: var(--text-mute);
}

/* Columns */
.wp-block-columns {
  display: grid;
  gap: 1rem;
  margin: 0;
}
.wp-block-column {
  min-width: 0;
}
@media (min-width: 860px) {
  .wp-block-columns {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }
  .wp-block-columns.split {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3.5rem;
    align-items: start;
  }
}

/* Card columns: Columns block with class "cards" */
.cards > .wp-block-column {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.cards > .wp-block-column:first-child {
  border-left: 3px solid var(--red);
}
.cards > .wp-block-column:nth-child(2) {
  border-left: 3px solid var(--blue);
}
.cards h3 {
  font-size: var(--text-xl);
  margin: 0;
}
.cards p {
  margin: 0;
}

/* Testimonials: Columns block with class "quotes" containing Quote blocks */
.quotes .wp-block-quote {
  height: 100%;
  margin: 0;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quotes .wp-block-quote::before {
  content: "★★★★★";
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: var(--text-sm);
}
.quotes .wp-block-quote p {
  flex: 1;
  color: var(--text);
  line-height: 1.6;
}
.quotes .wp-block-quote cite {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--text-mute);
}
.quotes .wp-block-quote cite strong {
  display: block;
  color: var(--text);
}

/* About block: Media & Text */
.wp-block-media-text {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.wp-block-media-text__media img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.wp-block-media-text__content {
  display: grid;
  gap: 1rem;
  max-width: 62ch;
}
.wp-block-media-text__content h2 {
  margin: 0;
  font-size: var(--text-2xl);
}
@media (min-width: 1024px) {
  .wp-block-media-text {
    grid-template-columns: 380px 1fr;
    gap: 4rem;
  }
}

/* ---------- Yoast FAQ block ---------- */
.schema-faq {
  display: grid;
  gap: 0.75rem;
}
.schema-faq-section {
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.schema-faq-question {
  display: block;
  color: var(--text);
  font-size: var(--text-base);
  font-weight: 700;
}
.schema-faq-answer {
  margin: 0.5rem 0 0;
  color: var(--text-dim);
}

/* ---------- Yoast How-to block ---------- */
.schema-how-to-total-time {
  color: var(--text-mute);
  font-size: var(--text-sm);
}
.schema-how-to-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 0;
  padding: 0 !important;
}
.schema-how-to-step {
  counter-increment: step;
  position: relative;
  padding: 1.4rem 1.4rem 1.4rem 4.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.schema-how-to-step + .schema-how-to-step {
  margin-top: 0 !important;
}
.schema-how-to-step::before {
  content: counter(step);
  position: absolute;
  left: 1.2rem;
  top: 1.3rem;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
}
.schema-how-to-step::marker {
  content: "";
}
.schema-how-to-step-name {
  display: block;
  color: var(--text);
  font-size: var(--text-lg);
  font-weight: 700;
}
.schema-how-to-step-text {
  display: block;
  margin-top: 0.35rem;
}

/* ---------- pricing ---------- */
.pricing__switch {
  display: grid;
  justify-items: start;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.pricing__title {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 !important;
}
.tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, 480px);
  padding: 4px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.tabs__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.55rem 0.25rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text-dim);
  font: inherit;
  cursor: pointer;
}
.tabs__tab:hover {
  color: var(--text);
}
.tabs__tab[aria-selected="true"] {
  background: var(--red);
  color: #fff;
}
.tabs__num {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
}
.tabs__word {
  font-size: 0.72rem;
  font-weight: 600;
}
.plans {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0 !important;
}
.plans[hidden] {
  display: none;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
}
.plan + .plan {
  margin-top: 0 !important;
}
.plan--featured {
  background: var(--surface-strong);
  border: 2px solid var(--red);
}
.plan__badge {
  position: absolute;
  top: -0.8rem;
  left: 1.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--ink-700);
  border: 1px solid var(--line-strong);
}
.plan--featured .plan__badge {
  background: var(--red);
  border-color: var(--red-hot);
}
.plan__name {
  margin: 0 !important;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  letter-spacing: 0;
}
.plan__save {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-dim);
}
.plan__price {
  display: flex;
  align-items: flex-start;
  gap: 0.15rem;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 1.4rem + 1.3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan__cur {
  font-size: 0.45em;
  margin-top: 0.2em;
  color: var(--text-dim);
}
.plan__usd {
  align-self: flex-end;
  margin: 0 0 0.6em 0.4em;
  font-size: 0.24em;
  color: var(--text-mute);
}
.plan__per {
  color: var(--text-dim);
  font-size: var(--text-sm);
}
.plan__blurb {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-mute);
  font-size: var(--text-sm);
}
.plan__features {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 0.6rem 0 1.5rem;
  padding: 0 !important;
  font-size: var(--text-sm);
}
.plan__features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 !important;
}
.plan__features svg {
  flex-shrink: 0;
  color: var(--red-hot);
}
.plan__cta {
  width: 100%;
  margin-top: auto;
}
.pricing__note {
  margin-top: 1.75rem;
  color: var(--text-mute);
  font-size: var(--text-sm);
}
@media (min-width: 680px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1180px) {
  .plans {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

/* ---------- features ---------- */
.features {
  list-style: none;
  display: grid;
  gap: 2rem 3rem;
  margin: 0;
  padding: 0 !important;
}
.features__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin: 0 !important;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.features__item h3 {
  margin: 0 0 0.4rem !important;
  font-size: var(--text-lg);
}
.features__item p {
  max-width: 46ch;
  font-size: var(--text-sm);
}
@media (min-width: 760px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- devices ---------- */
.devices {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin: 0;
  padding: 0 !important;
}
.devices li {
  margin: 0 !important;
}
.devices__card {
  display: grid;
  gap: 0.35rem;
  height: 100%;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  transition: border-color 160ms;
}
.devices__card:hover {
  border-color: var(--text-mute);
}
.devices__card .icon-box {
  margin-bottom: 0.5rem;
}
.devices__name {
  font-weight: 700;
  font-size: var(--text-lg);
}
.devices__full {
  font-size: var(--text-xs);
  color: var(--text-mute);
}
@media (min-width: 900px) {
  .devices {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ---------- posts ---------- */
.post-grid {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0 !important;
}
.post-grid li {
  margin: 0 !important;
}
.card-post {
  height: 100%;
}
.card-post__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  transition: border-color 160ms;
}
.card-post__link:hover {
  border-color: var(--text-mute);
}
.card-post__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-900);
}
.card-post__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-post__cat {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 700;
  background: rgb(5 7 15 / 0.85);
}
.card-post__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  padding: 1.4rem 1.5rem 1.6rem;
}
.card-post__meta {
  font-size: var(--text-xs);
  color: var(--text-mute);
}
.card-post__title {
  margin: 0 !important;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}
.card-post__excerpt {
  flex: 1;
  color: var(--text-dim);
  font-size: var(--text-sm);
}
.card-post__more {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--blue-soft);
}
@media (min-width: 720px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .post-grid--lead > li:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}
.pagination {
  margin-top: 2rem;
}
.pagination .nav-links {
  display: flex;
  gap: 0.5rem;
}
.pagination .page-numbers {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}
.pagination .current {
  background: var(--red);
  border-color: var(--red);
}

/* ---------- call to action ---------- */
.cta {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-block: var(--space-section);
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}
.cta h2 {
  margin: 0 0 0.5rem !important;
  font-size: var(--text-xl);
  color: var(--text);
}
.cta p {
  max-width: 56ch;
  color: var(--text-dim);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (min-width: 900px) {
  .cta {
    grid-template-columns: 1fr auto;
  }
}

/* ---------- article ---------- */
.article__head {
  display: grid;
  gap: 1rem;
  justify-items: start;
  max-width: 980px;
  padding-top: clamp(6.5rem, 5.5rem + 3vw, 8rem);
}
.article__title {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
}
.article__meta {
  color: var(--text-mute);
  font-size: var(--text-sm);
}
.article__cover {
  margin-top: 2.5rem;
}
.article__cover img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.article__layout {
  display: grid;
  gap: 3rem;
}
.entry-content--article {
  min-width: 0;
}
.side-cta {
  display: grid;
  gap: 0.9rem;
  align-self: start;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.side-cta__label {
  font-weight: 700;
}
.side-cta__price {
  font-size: var(--text-sm);
  color: var(--text-dim);
}
.side-cta__price strong {
  font-size: 1.6rem;
  color: var(--text);
}
.side-cta ul {
  margin: 0 0 0.4rem;
  padding-left: 1.1rem;
  color: var(--text-dim);
  font-size: var(--text-sm);
}
@media (min-width: 1024px) {
  .article__layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 5rem;
  }
  .side-cta {
    position: sticky;
    top: 110px;
  }
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-900);
}
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem 2rem;
}
.site-footer__brand {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  max-width: 380px;
}
.site-footer__brand img {
  width: 190px;
}
.site-footer__brand p {
  color: var(--text-mute);
  font-size: var(--text-sm);
}
.site-footer__mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: var(--text-sm);
}
.site-footer__mail:hover {
  color: var(--text);
}
.site-footer__col h2 {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0;
}
.site-footer__col ul,
.site-footer__bottom ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__col ul {
  display: grid;
  gap: 0.6rem;
}
.site-footer__col a {
  color: var(--text-dim);
  font-size: var(--text-sm);
}
.site-footer__col a:hover {
  color: var(--text);
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--text-mute);
  font-size: var(--text-xs);
}
.site-footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.site-footer__bottom a:hover {
  color: var(--text);
}
@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1.6fr repeat(3, 1fr);
  }
}

/* ---------- 404 ---------- */
.not-found {
  display: grid;
  justify-items: center;
  gap: 1rem;
  min-height: 80vh;
  align-content: center;
  padding-top: 8rem;
  text-align: center;
}
.not-found__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  color: var(--text-mute);
}
.not-found h1 {
  font-size: var(--text-2xl);
}
.not-found p {
  color: var(--text-dim);
}
.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Text sections inside landing pages (Group block with class "prose") */
.entry-content > .prose {
  padding-block: var(--space-section) 0;
}
.prose > * {
  max-width: var(--measure);
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  margin-top: 2em;
}
.prose > h2:first-child {
  margin-top: 0;
}
/* Small tag line under channel categories */
.entry-content .tags {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-mute);
}
.wp-block-table thead {
  border-bottom: 1px solid var(--line);
}
