@font-face {
  font-family: "Display";
  src: url("../fonts/Display-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Display";
  src: url("../fonts/Display-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Display";
  src: url("../fonts/Display-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #040914;
  --bg-deep: #02060f;
  --navy: #0a1630;
  --cyan: #4de2ff;
  --cyan-soft: rgba(77, 226, 255, 0.35);
  --white: #ffffff;
  --white-70: rgba(255, 255, 255, 0.72);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-18: rgba(255, 255, 255, 0.18);
  --white-10: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.12);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --text: #f4f7ff;
  --muted: #a8b3c9;
  --radius-pill: 999px;
  --radius-thumb: 18px;
  --font: "Display", "Segoe UI", sans-serif;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --parallax-x: 0px;
  --parallax-y: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--white-10);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 1400px;
  min-height: var(--header-h);
  margin: 0 auto;
}

.logo {
  color: var(--white);
  display: grid;
  place-items: center;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.logo:hover {
  opacity: 0.85;
  transform: scale(1.04);
}

.logo__icon {
  display: block;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.35rem;
  border-radius: var(--radius-pill);
  background: var(--glass);
  border: 1px solid var(--white-18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.nav-pill__link {
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.nav-pill__link:hover {
  opacity: 0.85;
}

.nav-pill__link.is-active {
  background: var(--glass-strong);
  color: #0b1220;
  opacity: 1;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--white);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}

.btn-ghost:hover {
  background: var(--white);
  color: #0b1220;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--white);
  color: #0b1220;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), opacity 0.25s ease;
}

.btn-solid:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--white-40);
  background: var(--glass);
  backdrop-filter: blur(10px);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 16px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease);
}

.nav-toggle.is-open span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(8, 16, 36, 0.92);
  border: 1px solid var(--white-18);
  backdrop-filter: blur(16px);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 0.35rem 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 90px);
  min-height: calc(100svh - 90px);
  display: grid;
  place-items: center;
  padding: 1rem 1.5rem 3rem;
  overflow: hidden;
}

.hero__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) scale(1.04);
  transition: transform 0.35s var(--ease);
}

.hero__layer {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.7s var(--ease), transform 1.1s var(--ease);
  filter: saturate(1.15) contrast(1.05);
}

.hero__layer.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 15, 0.28) 0%, rgba(2, 6, 15, 0.05) 35%, rgba(2, 6, 15, 0.55) 78%, rgba(2, 6, 15, 0.92) 100%),
    radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(2, 10, 30, 0.35) 70%, rgba(2, 6, 15, 0.7) 100%);
  pointer-events: none;
}

.hero__frame {
  position: relative;
  z-index: 2;
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 70vh;
}

.hero__brand {
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--white);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero__brand--left {
  text-align: right;
  padding-right: 0.2rem;
}

.hero__brand--right {
  text-align: left;
  padding-left: 0.2rem;
  animation-delay: 0.28s;
}

.hero__strip {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
  padding: 0.35rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.35s forwards;
}

.thumb {
  position: relative;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-thumb);
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover {
  transform: scale(1.06);
}

.thumb.is-active {
  border-color: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero__caption {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  width: min(520px, calc(100% - 2rem));
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.45s forwards;
}

.hero__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero__slide-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
}

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--white-40);
  padding-bottom: 0.15rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.hero__link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* —— Home insights / featured articles —— */
.insights {
  position: relative;
  z-index: 2;
  padding: 4.5rem 1.5rem 2rem;
  background:
    radial-gradient(ellipse 50% 40% at 0% 20%, rgba(77, 226, 255, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-deep) 0%, #05080f 100%);
}

.insights__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.insights__intro {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding-top: 0.35rem;
}

.insights__intro h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.insights__intro h2 em {
  font-style: normal;
  color: var(--cyan);
}

.insights__intro > p {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
  max-width: 32ch;
}

.insights__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 14px;
  background: var(--cyan);
  color: #041018;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), filter 0.25s ease, background 0.25s ease;
}

.insights__cta:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.insights__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.25rem;
}

.insights__card {
  gap: 0.75rem;
}

.insights__card .article-card__media {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
}

.insights__card .article-card__body {
  display: grid;
  gap: 0.4rem;
}

.insights__date {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.insights__card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.insights__card h3 a {
  color: var(--white);
  transition: color 0.25s ease;
}

.insights__card h3 a:hover {
  color: var(--cyan);
}

/* —— Home core axes (terminal / CLI inspired) —— */
.core-axes {
  position: relative;
  z-index: 2;
  padding: 4.5rem 1.5rem 5rem;
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(77, 226, 255, 0.07), transparent 60%),
    linear-gradient(180deg, #05080f 0%, #000000 40%, #000000 100%);
}

.core-axes__frame {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.35rem 0;
}

.core-axes__inner {
  padding: 1.25rem clamp(1rem, 3vw, 2rem) 0.5rem;
}

.core-axes__head {
  margin-bottom: 2rem;
}

.core-axes__head h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}

.core-axes__prompt {
  color: var(--cyan);
  margin-right: 0.35rem;
  font-weight: 700;
}

.core-axes__divider {
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(168, 179, 201, 0.55);
  user-select: none;
}

.core-axes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.core-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 280px;
  padding: 1.2rem 1.25rem 1.35rem;
  background: #0a0e18;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.35s ease, transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.core-card:hover {
  border-color: rgba(77, 226, 255, 0.28);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.core-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(168, 179, 201, 0.7);
}

.core-card__chip {
  flex-shrink: 0;
  color: rgba(168, 179, 201, 0.65);
  transition: color 0.3s ease;
}

.core-card:hover .core-card__chip {
  color: var(--cyan);
}

.core-card h3 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--white);
}

.core-card__prompt {
  color: var(--cyan);
  margin-right: 0.3rem;
}

.core-card > p {
  margin: 0;
  flex: 1;
  color: var(--white-70);
  font-size: 0.92rem;
  line-height: 1.55;
}

.core-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin-top: 0.5rem;
  padding: 0.7rem 1rem;
  border: 1px dashed rgba(168, 179, 201, 0.45);
  background: transparent;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.core-card__btn:hover {
  border-style: solid;
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(77, 226, 255, 0.06);
}

/* —— Home SEO bento (feature tiles) —— */
.seo-bento {
  position: relative;
  z-index: 2;
  padding: 5rem 1.5rem 5.5rem;
  background: #000000;
}

.seo-bento__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.seo-bento__head {
  max-width: 560px;
  margin-bottom: 2.4rem;
}

.seo-bento__head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.seo-bento__head p:last-child {
  margin: 0;
  color: #9aa3b5;
  font-size: 1.02rem;
  line-height: 1.5;
}

.seo-bento__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.seo-tile {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 1.15rem 1.15rem 1.45rem;
  border-radius: 28px;
  background: #0a0c12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s var(--ease);
}

.seo-tile:hover {
  border-color: rgba(77, 226, 255, 0.28);
  transform: translateY(-3px);
}

.seo-tile h3 {
  margin: 1.15rem 0 0.45rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.seo-tile > p {
  margin: 0;
  color: #8b93a7;
  font-size: 0.95rem;
  line-height: 1.5;
}

.seo-tile__stage {
  position: relative;
  flex: 1;
  min-height: 190px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(77, 226, 255, 0.18), transparent 70%),
    linear-gradient(180deg, #101522 0%, #070a12 100%);
}

.seo-tile__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.35;
  pointer-events: none;
}

.seo-orbit,
.seo-prompt,
.seo-map,
.seo-pulse {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.seo-orbit__ring {
  position: absolute;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 1px solid rgba(77, 226, 255, 0.22);
  box-shadow: 0 0 40px rgba(77, 226, 255, 0.12);
}

.seo-orbit__ring--2 {
  width: 168px;
  height: 168px;
  border-color: rgba(77, 226, 255, 0.1);
}

.seo-orbit__core {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: radial-gradient(circle at 35% 30%, #7af0ff, #1a8aa3 55%, #0a2a38 100%);
  box-shadow:
    0 0 0 6px rgba(77, 226, 255, 0.12),
    0 0 48px rgba(77, 226, 255, 0.45);
}

.seo-orbit__sat {
  position: absolute;
  z-index: 2;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--white);
  background: rgba(12, 16, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.seo-orbit__sat--a { top: 18%; left: 14%; }
.seo-orbit__sat--b { top: 22%; right: 12%; }
.seo-orbit__sat--c { bottom: 20%; left: 16%; }
.seo-orbit__sat--d { bottom: 16%; right: 14%; color: var(--cyan); border-color: rgba(77, 226, 255, 0.35); }

.seo-prompt,
.seo-map {
  align-content: center;
  justify-items: center;
  gap: 0;
}

.seo-prompt__bar,
.seo-map__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: min(86%, 280px);
  padding: 0.85rem 1rem;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(105deg, rgba(77, 226, 255, 0.98), rgba(55, 140, 220, 0.9) 60%, rgba(40, 90, 180, 0.75));
  box-shadow: 0 12px 40px rgba(40, 140, 200, 0.35);
}

.seo-prompt__orb,
.seo-map__orb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 30% 30%, #fff, transparent 40%),
    conic-gradient(from 200deg, #4de2ff, #3a9fd4, #1f6aa0, #4de2ff);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

.seo-prompt__text,
.seo-map__text {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seo-prompt__stack,
.seo-map__stack {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(78%, 250px);
  height: 44px;
  border-radius: 18px;
  transform: translate(-50%, 0);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  filter: blur(0.2px);
}

.seo-prompt__stack--2,
.seo-map__stack--2 { top: 62%; width: min(70%, 220px); opacity: 0.7; }

.seo-prompt__stack--3 { top: 70%; width: min(62%, 190px); opacity: 0.45; }

.seo-map__pins {
  position: absolute;
  z-index: 3;
  bottom: 18%;
  display: flex;
  gap: 0.55rem;
}

.seo-map__pins i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(77, 226, 255, 0.7);
  opacity: 0.85;
}

.seo-map__pins i:nth-child(2) { opacity: 0.55; transform: translateY(4px); }
.seo-map__pins i:nth-child(3) { opacity: 0.35; }

.seo-pulse__wave {
  position: absolute;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1px solid rgba(77, 226, 255, 0.35);
  animation: seo-ripple 2.8s var(--ease) infinite;
}

.seo-pulse__wave--2 {
  animation-delay: 0.7s;
  width: 120px;
  height: 120px;
}

.seo-pulse__wave--3 {
  animation-delay: 1.4s;
  width: 160px;
  height: 160px;
}

.seo-pulse__core {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: radial-gradient(circle at 35% 30%, #9af6ff, #2bb4d0 50%, #0b3040 100%);
  box-shadow:
    0 0 0 8px rgba(77, 226, 255, 0.1),
    0 0 56px rgba(77, 226, 255, 0.5);
}

@keyframes seo-ripple {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* —— Home SEO desk (copy + FAQ closer) —— */
.seo-desk {
  position: relative;
  z-index: 2;
  padding: 5rem 1.5rem 5.5rem;
  background:
    radial-gradient(ellipse 50% 55% at 100% 10%, rgba(77, 226, 255, 0.09), transparent 55%),
    linear-gradient(180deg, #000000 0%, var(--bg-deep) 28%, var(--navy) 72%, var(--bg-deep) 100%);
  border-top: 1px solid var(--white-10);
}

.seo-desk__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: start;
}

.seo-desk__copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.8vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.seo-desk__copy > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 48ch;
}

.seo-desk__copy strong {
  color: var(--white);
  font-weight: 600;
}

.seo-desk__stats {
  margin: 1.6rem 0 1.75rem;
}

.seo-desk__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.seo-desk__faq h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--white);
}

.seo-desk__faq .accordion a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.seo-desk__faq .accordion a:hover {
  opacity: 0.85;
}

.seo-desk__more {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.seo-desk__more a {
  color: var(--cyan);
  transition: opacity 0.25s ease;
}

.seo-desk__more a:hover {
  opacity: 0.8;
}

/* —— Home subscribe band —— */
.subscribe {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem 5rem;
  background:
    radial-gradient(ellipse 60% 70% at 50% 100%, rgba(77, 226, 255, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg-deep) 0%, #06101f 55%, var(--bg-deep) 100%);
  border-top: 1px solid var(--white-10);
}

.subscribe__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.95fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: end;
  padding: 2rem clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(77, 226, 255, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(77, 226, 255, 0.08), transparent 45%),
    rgba(255, 255, 255, 0.03);
}

.subscribe__copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.subscribe__copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 42ch;
}

.subscribe__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem 0.75rem;
  align-items: start;
}

.subscribe__field {
  display: block;
  min-width: 0;
}

.subscribe__form input[type="email"] {
  width: 100%;
  padding: 0.9rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--white-18);
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.subscribe__form input[type="email"]::placeholder {
  color: rgba(168, 179, 201, 0.65);
}

.subscribe__form input[type="email"]:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}

.subscribe__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border: none;
  border-radius: 14px;
  background: var(--cyan);
  color: #041018;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), filter 0.25s ease;
}

.subscribe__btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.subscribe__status {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.25rem;
}

.subscribe__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.subscribe__note a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.subscribe__note a:hover {
  opacity: 0.85;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  position: relative;
  z-index: 2;
  padding: 4.5rem 1.5rem;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--navy) 45%, var(--bg-deep) 100%);
}

.section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section__head {
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.section__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.35s var(--ease);
}

.article-card:hover {
  transform: translateY(-6px);
}

.article-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--white-10);
}

/* Unread badge (localStorage reading marks) */
.read-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e11d2e;
  box-shadow:
    0 0 0 2px rgba(4, 9, 20, 0.9),
    0 0 12px rgba(225, 29, 46, 0.55);
  z-index: 4;
  pointer-events: none;
}

.thumb .read-dot {
  top: 6px;
  right: 6px;
  width: 9px;
  height: 9px;
}

.thumb:not(.is-unread) .read-dot,
.article-card__media:not(.is-unread) .read-dot,
.step-card:not(.is-unread) .read-dot,
.ruta-list__item a:not(.is-unread) .read-dot,
.neighbors-cross a:not(.is-unread) .read-dot {
  display: none;
}

.step-card .read-dot {
  top: 12px;
  right: 12px;
}

.ruta-list__item a.is-unread {
  padding-right: 1.1rem;
}

.ruta-list__item a .read-dot {
  top: 50%;
  right: 0.15rem;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
}

.neighbors-cross a .read-dot {
  top: 8px;
  right: 0;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.article-card:hover .article-card__media img {
  transform: scale(1.05);
}

.article-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.article-card__body p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.article-card__link {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cyan);
}

.page-hero {
  padding: 3.5rem 1.5rem 2rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(77, 226, 255, 0.12), transparent 45%),
    linear-gradient(180deg, #071126 0%, var(--bg-deep) 100%);
}

.page-hero__inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 620px;
  font-size: 1.05rem;
}

.content {
  padding: 1rem 1.5rem 4.5rem;
}

.content__inner {
  max-width: 760px;
  margin: 0 auto;
}

.content__inner--wide {
  max-width: 980px;
}

.content h2 {
  margin: 2.4rem 0 0.9rem;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.content h3 {
  margin: 1.7rem 0 0.7rem;
  font-size: 1.15rem;
}

.content p,
.content li {
  color: #c5cee0;
  font-size: 1.02rem;
}

.content ul {
  padding-left: 1.2rem;
}

.figure {
  margin: 1.8rem 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--white-10);
}

.figure img {
  width: 100%;
  height: auto;
}

.figure figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.2rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.split__media {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--white-10);
  align-self: start;
}

.split__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 11;
  object-fit: cover;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
}

.contact-card,
.form-card {
  padding: 1.5rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--white-10);
  backdrop-filter: blur(10px);
}

.contact-card p {
  margin: 0.35rem 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--white-18);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-grid input:focus,
.form-grid textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}

.form-status {
  min-height: 1.4rem;
  margin: 0.4rem 0 0;
  color: var(--cyan);
  font-size: 0.9rem;
}

.site-footer {
  padding: 3.5rem 1.5rem 2rem;
  background: #01040b;
  border-top: 1px solid var(--white-10);
}

.footer__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer__org,
.footer__meta {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer__heading {
  margin: 0 0 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-70);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer__col a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.25s ease;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  max-width: 1100px;
  margin: 2.2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--white-10);
  color: var(--muted);
  font-size: 0.85rem;
}

/* —— Footer transparency notice —— */
.footer-notice {
  max-width: 1100px;
  margin: 2.4rem auto 0;
  padding: 1.45rem clamp(1rem, 2.5vw, 1.6rem) 1.35rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(160deg, rgba(77, 226, 255, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.025);
}

.footer-notice__head {
  margin-bottom: 1.15rem;
}

.footer-notice__tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-notice__title {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  letter-spacing: -0.02em;
  color: var(--white);
}

.footer-notice__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.footer-notice__card {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.28);
}

.footer-notice__card h3,
.footer-notice__split h3 {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-70);
}

.footer-notice__card p,
.footer-notice__split p,
.footer-notice__alert p,
.footer-notice__marks {
  margin: 0;
  color: #8f9ab0;
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-notice__alert {
  margin-bottom: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 120, 100, 0.35);
  background:
    linear-gradient(90deg, rgba(255, 90, 70, 0.12), transparent 55%),
    rgba(30, 10, 10, 0.45);
}

.footer-notice__alert-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffb4a8;
}

.footer-notice__alert p {
  color: #d7c4c0;
}

.footer-notice__split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-notice__split article {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.footer-notice__id {
  margin-top: 0.45rem !important;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  letter-spacing: 0.02em;
}

.footer-notice__split strong {
  color: var(--white);
  font-weight: 600;
}

.footer-notice__marks {
  padding-top: 0.85rem;
  border-top: 1px dotted rgba(255, 255, 255, 0.14);
  font-size: 0.76rem !important;
  color: #7a8498 !important;
}

.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
  pointer-events: none;
}

.cookie-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-bar__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: rgba(10, 18, 40, 0.92);
  border: 1px solid var(--white-18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.cookie-bar__inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-bar__inner a {
  color: var(--cyan);
  text-decoration: underline;
}

.cookie-bar__actions {
  display: flex;
  gap: 0.55rem;
  flex-shrink: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html:not(.is-ready) .hero__brand,
html:not(.is-ready) .hero__strip,
html:not(.is-ready) .hero__caption {
  animation: none;
}

@media (max-width: 980px) {
  .nav-pill,
  .header__inner > .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero__frame {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1rem;
    min-height: auto;
    padding-top: 2rem;
  }

  .hero__brand {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  .hero__brand--left,
  .hero__brand--right {
    text-align: center;
    padding: 0;
  }

  .hero__brand--left {
    order: 1;
  }

  .hero__strip {
    order: 2;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 420px;
  }

  .hero__brand--right {
    order: 3;
  }

  .thumb {
    width: 56px;
    height: 56px;
  }

  .hero__caption {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: 1.5rem;
  }

  .insights__inner,
  .seo-bento__grid,
  .core-axes__grid,
  .seo-desk__inner,
  .subscribe__inner,
  .article-grid,
  .split,
  .contact-panel,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer-notice__grid,
  .footer-notice__split {
    grid-template-columns: 1fr;
  }

  .seo-desk {
    padding: 3.5rem 1.25rem 4rem;
  }

  .seo-desk__copy > p {
    max-width: none;
  }

  .subscribe {
    padding: 3rem 1.25rem 3.5rem;
  }

  .subscribe__form {
    grid-template-columns: 1fr;
  }

  .subscribe__btn {
    width: 100%;
  }

  .core-axes {
    padding: 3.5rem 1.25rem 4rem;
  }

  .core-card {
    min-height: 0;
  }

  .insights__intro {
    position: relative;
    top: auto;
  }

  .seo-tile {
    min-height: 300px;
  }

  .cookie-bar__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-bar__actions {
    width: 100%;
  }

  .cookie-bar__actions .cookie-bar__btn {
    flex: 1;
  }
}

@media (max-width: 720px) {
  .insights__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 1rem;
  }

  .hero {
    padding: 0.5rem 1rem 2rem;
  }

  .section {
    padding: 3.2rem 1rem;
  }

  .insights {
    padding: 3.2rem 1rem 1.5rem;
  }

  .core-axes {
    padding: 3rem 1rem 3.5rem;
  }

  .core-axes__inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .seo-desk {
    padding: 3rem 1rem 3.5rem;
  }

  .subscribe {
    padding: 2.5rem 1rem 3rem;
  }

  .subscribe__inner {
    padding: 1.35rem 1.1rem;
  }
}

/* —— Article catalog categories —— */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 2.5rem;
}

.category-nav a {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--white-18);
  background: var(--glass);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.category-nav a:hover,
.category-nav a.is-active {
  background: var(--glass-strong);
  color: #0b1220;
  border-color: transparent;
}

.category-block {
  margin-bottom: 3.5rem;
}

.category-block__head {
  margin-bottom: 1.5rem;
}

.category-block__head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.category-block__head p {
  margin: 0;
  color: var(--muted);
  max-width: 560px;
}

.article-card__cat {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
}

.article-card__body h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* —— Rich article widgets —— */
.widget {
  margin: 2rem 0;
  padding: 1.35rem 1.4rem;
  border-radius: 20px;
  border: 1px solid var(--white-10);
  background: rgba(255, 255, 255, 0.03);
}

.widget__title {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--white);
}

.widget__note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.chart-bars {
  display: grid;
  gap: 0.75rem;
}

.chart-bars__row {
  display: grid;
  grid-template-columns: 110px 1fr 42px;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.chart-bars__track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.chart-bars__fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #2bb8d9, var(--cyan));
  transition: width 1.1s var(--ease);
}

.widget.is-on .chart-bars__fill {
  width: var(--w);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  padding: 0.7rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid var(--white-10);
  color: #c5cee0;
}

.data-table th {
  color: var(--white);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.swatch {
  flex: 1 1 90px;
  min-width: 88px;
  text-align: center;
}

.swatch__chip {
  height: 64px;
  border-radius: 14px;
  border: 1px solid var(--white-18);
  margin-bottom: 0.4rem;
}

.swatch span {
  font-size: 0.75rem;
  color: var(--muted);
}

.timeline {
  position: relative;
  padding-left: 1.4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), transparent);
}

.timeline__item {
  position: relative;
  margin-bottom: 1.15rem;
  padding-left: 0.4rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.18rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(77, 226, 255, 0.15);
}

.timeline__item strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.timeline__item p {
  margin: 0;
  font-size: 0.92rem;
}

.rings {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.ring {
  width: 110px;
  text-align: center;
}

.ring svg {
  width: 110px;
  height: 110px;
  transform: rotate(-90deg);
}

.ring__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.ring__value {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 1.2s var(--ease);
}

.ring span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.callouts {
  display: grid;
  gap: 0.85rem;
}

.callout {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(77, 226, 255, 0.22);
  background: rgba(77, 226, 255, 0.06);
}

.callout strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.callout p {
  margin: 0;
  font-size: 0.92rem;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.compare__col {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--white-10);
  background: rgba(0, 0, 0, 0.2);
}

.compare__col h4 {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
}

.compare__col ul {
  margin: 0;
  padding-left: 1.1rem;
}

.compare__col li {
  font-size: 0.9rem;
}

.storyboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.storyboard__card {
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--white-10);
  background: rgba(255, 255, 255, 0.04);
  min-height: 110px;
}

.storyboard__card em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}

.storyboard__card p {
  margin: 0;
  font-size: 0.82rem;
  color: #c5cee0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--white-10);
  font-size: 0.92rem;
}

.checklist__box {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 5px;
  border: 1.5px solid var(--cyan);
}

.meters {
  display: grid;
  gap: 0.9rem;
}

.meter__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.meter__label strong {
  color: var(--white);
  font-weight: 600;
}

.meter__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.meter__fill {
  height: 100%;
  width: 0;
  background: var(--cyan);
  border-radius: inherit;
  transition: width 1s var(--ease);
}

.widget.is-on .meter__fill {
  width: var(--w);
}

.accordion details {
  border: 1px solid var(--white-10);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.55rem;
  background: rgba(255, 255, 255, 0.03);
}

.accordion summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion details[open] summary {
  color: var(--cyan);
  margin-bottom: 0.55rem;
}

.accordion details p {
  margin: 0;
  font-size: 0.92rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.stat-strip__item {
  text-align: center;
  padding: 1rem 0.5rem;
  border-radius: 16px;
  border: 1px solid var(--white-10);
  background: rgba(77, 226, 255, 0.05);
}

.stat-strip__item strong {
  display: block;
  font-size: 1.6rem;
  color: var(--cyan);
  letter-spacing: -0.03em;
}

.stat-strip__item span {
  font-size: 0.75rem;
  color: var(--muted);
}

.svg-stage {
  width: 100%;
  overflow: hidden;
}

.svg-stage svg {
  width: 100%;
  height: auto;
  display: block;
}

.svg-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.6s var(--ease);
}

.widget.is-on .svg-draw {
  stroke-dashoffset: 0;
}

.pull-quote {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--white-18);
  background: linear-gradient(135deg, rgba(77, 226, 255, 0.1), rgba(255, 255, 255, 0.02));
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pull-quote cite {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.8rem;
  font-weight: 400;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.icon-grid__item {
  padding: 1rem 0.75rem;
  text-align: center;
  border-radius: 16px;
  border: 1px solid var(--white-10);
  background: rgba(255, 255, 255, 0.03);
}

.icon-grid__item svg {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.5rem;
  color: var(--cyan);
}

.icon-grid__item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.icon-grid__item span {
  font-size: 0.78rem;
  color: var(--muted);
}

.glossary {
  display: grid;
  gap: 0.65rem;
}

.glossary dt {
  font-weight: 600;
  color: var(--cyan);
  font-size: 0.9rem;
}

.glossary dd {
  margin: 0.15rem 0 0.55rem;
  color: #c5cee0;
  font-size: 0.92rem;
}

.matrix {
  display: grid;
  grid-template-columns: 120px repeat(3, 1fr);
  gap: 1px;
  background: var(--white-10);
  border-radius: 14px;
  overflow: hidden;
  font-size: 0.8rem;
}

.matrix > div {
  background: #071126;
  padding: 0.7rem 0.55rem;
  text-align: center;
  color: #c5cee0;
}

.matrix__head {
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.matrix__label {
  text-align: left !important;
  color: var(--muted) !important;
  font-weight: 600;
}

.toc-mini {
  margin: 1.5rem 0 2rem;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  border: 1px dashed var(--white-18);
  background: rgba(255, 255, 255, 0.02);
}

.toc-mini p {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc-mini ol {
  margin: 0;
  padding-left: 1.15rem;
  color: #c5cee0;
  font-size: 0.92rem;
}

.toc-mini a:hover {
  color: var(--cyan);
}

@media (max-width: 720px) {
  .compare,
  .storyboard,
  .stat-strip,
  .icon-grid {
    grid-template-columns: 1fr 1fr;
  }

  .storyboard {
    grid-template-columns: 1fr 1fr;
  }

  .chart-bars__row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .matrix {
    grid-template-columns: 90px repeat(3, 1fr);
    font-size: 0.72rem;
  }
}

@media (max-width: 520px) {
  .compare,
  .stat-strip,
  .icon-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Article stage: diary / field-notebook layout —— */
body.is-article {
  --article-ink: var(--cyan);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, color-mix(in srgb, var(--article-ink) 14%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(255, 255, 255, 0.03), transparent 50%),
    var(--bg-deep);
}

body.is-article .page-hero--article {
  position: relative;
  padding: 2.8rem 1.5rem 1.4rem;
  overflow: hidden;
  background:
    linear-gradient(115deg, transparent 55%, color-mix(in srgb, var(--article-ink) 8%, transparent) 100%),
    radial-gradient(ellipse at 12% 0%, color-mix(in srgb, var(--article-ink) 16%, transparent), transparent 42%),
    linear-gradient(180deg, #071126 0%, var(--bg-deep) 100%);
}

body.is-article .page-hero--article::before {
  content: attr(data-ghost);
}

body.is-article .page-hero--article .page-hero__inner {
  max-width: 920px;
  position: relative;
  z-index: 1;
}

body.is-article .page-hero--article h1 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 0.98;
}

.article-stamp {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.85rem 1.4rem;
  margin-bottom: 1.1rem;
}

.article-stamp__cat {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--article-ink);
}

.article-stamp__idx {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  color: var(--white);
}

.article-stamp__idx em {
  font-style: normal;
  font-size: 1.55rem;
  font-weight: 700;
}

.article-stamp__idx i {
  font-style: normal;
  margin: 0 0.15rem;
  color: var(--white-40);
}

.article-stamp__idx b {
  font-weight: 500;
  color: var(--muted);
}

.article-stamp__read {
  color: var(--muted);
  font-size: 0.85rem;
}

body.is-article .meta-row--quiet {
  opacity: 0.55;
  margin-bottom: 0.4rem;
}

.article-shell {
  display: grid;
  grid-template-columns: 112px minmax(0, 720px) 200px;
  gap: 0 1.75rem;
  justify-content: center;
  align-items: start;
  padding: 0 1.25rem 2rem;
  position: relative;
}

body.is-article .content {
  padding: 0 0 2rem;
  min-width: 0;
}

body.is-article .content__inner {
  max-width: none;
  margin: 0;
  position: relative;
}

body.is-article .content__inner::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    color-mix(in srgb, var(--article-ink) 45%, transparent) 12%,
    var(--white-10) 50%,
    transparent
  );
  pointer-events: none;
}

.ledge-mark {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--white-10);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-40);
}

.ledge-mark span:first-child {
  color: var(--article-ink);
}

body.is-article .figure {
  margin: 0.4rem 0 2.2rem;
  border-radius: 4px 28px 4px 28px;
  border-color: color-mix(in srgb, var(--article-ink) 28%, var(--white-10));
  transform: rotate(-0.4deg);
  box-shadow: 18px 22px 0 -12px color-mix(in srgb, var(--article-ink) 12%, transparent);
}

body.is-article .figure figcaption {
  font-style: italic;
  letter-spacing: 0.01em;
}

.article-rail {
  position: sticky;
  top: calc(var(--header-h) + 1.2rem);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 2rem);
}

.article-rail--spine {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.4rem;
}

.spine-bind {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin-bottom: 0.3rem;
}

.spine-hole {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg-deep);
  box-shadow:
    inset 0 0 0 1px var(--white-18),
    0 0 0 3px color-mix(in srgb, var(--article-ink) 18%, transparent);
}

.spine-cat {
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--article-ink);
  align-self: center;
}

.spine-progress {
  width: 3px;
  flex: 0 0 88px;
  margin: 0.2rem auto;
  border-radius: 999px;
  background: var(--white-10);
  overflow: hidden;
}

.spine-progress__bar {
  width: 100%;
  height: 100%;
  transform: scaleY(var(--read-n, 0));
  transform-origin: top center;
  background: linear-gradient(180deg, var(--article-ink), transparent);
  transition: transform 0.12s linear;
}

.spine-ticks {
  display: grid;
  gap: 0.55rem;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.spine-ticks::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.spine-tick {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 0.45rem;
  align-items: start;
  color: var(--white-40);
  font-size: 0.68rem;
  line-height: 1.25;
  transition: color 0.25s ease;
}

.spine-tick__dot {
  width: 7px;
  height: 7px;
  margin-top: 0.2rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  justify-self: center;
}

.spine-tick.is-active {
  color: var(--article-ink);
}

.spine-tick.is-active .spine-tick__dot {
  background: var(--article-ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--article-ink) 25%, transparent);
}

.spine-tick__label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spine-foot {
  margin: 0.4rem 0 0;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-40);
  text-align: center;
}

.article-rail--margin {
  display: grid;
  gap: 1.4rem;
  padding-top: 1.5rem;
}

.edge-pull {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--article-ink) 35%, transparent);
  background: color-mix(in srgb, var(--article-ink) 8%, transparent);
}

.edge-pull p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
}

.field-stack {
  display: grid;
  gap: 0.75rem;
}

.field-note {
  padding: 0.85rem 0.9rem;
  border: 1px dashed var(--white-18);
  background: rgba(2, 6, 15, 0.55);
  opacity: 0.35;
  transform: translateX(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.3s ease;
}

.field-note.is-live {
  opacity: 1;
  transform: none;
  border-color: color-mix(in srgb, var(--article-ink) 55%, var(--white-18));
  background: color-mix(in srgb, var(--article-ink) 8%, rgba(2, 6, 15, 0.7));
}

.field-note__tag {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--article-ink);
}

.field-note__text {
  margin: 0;
  font-size: 0.86rem;
  color: #d5deef;
  line-height: 1.4;
}

.edge-tab {
  justify-self: end;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--white-40);
  border-right: 1px solid var(--white-18);
  padding-right: 0.45rem;
}

.margin-clip {
  position: relative;
  width: min(220px, 42vw);
  margin: 1.6rem 0 0.4rem;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  border-top: 1px solid color-mix(in srgb, var(--article-ink) 40%, transparent);
  background: linear-gradient(90deg, color-mix(in srgb, var(--article-ink) 10%, transparent), transparent 85%);
  color: #d7e0f2;
  font-size: 0.9rem;
  line-height: 1.4;
}

.margin-clip p {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.margin-clip__pin {
  position: absolute;
  top: -5px;
  left: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--article-ink);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--article-ink) 22%, transparent);
}

.margin-clip--left {
  margin-right: auto;
  transform: translateX(-4px) rotate(-0.6deg);
}

.margin-clip--right {
  margin-left: auto;
  text-align: right;
  padding-left: 1rem;
  padding-right: 1.15rem;
  background: linear-gradient(270deg, color-mix(in srgb, var(--article-ink) 10%, transparent), transparent 85%);
  border-top: 1px solid color-mix(in srgb, var(--article-ink) 40%, transparent);
  transform: translateX(4px) rotate(0.6deg);
}

.margin-clip--right .margin-clip__pin {
  left: auto;
  right: 12px;
}

.article-neighbors {
  margin: 1rem 0 0;
  padding: 3.5rem 1.5rem 5rem;
  border-top: 1px solid var(--white-10);
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02) 30%, transparent),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      color-mix(in srgb, var(--article-ink) 4%, transparent) 18px,
      color-mix(in srgb, var(--article-ink) 4%, transparent) 19px
    );
}

.article-neighbors__inner {
  max-width: 980px;
  margin: 0 auto;
}

.neighbors-head h2 {
  margin: 0.35rem 0 0.55rem;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
}

.neighbors-head p:last-child {
  margin: 0;
  color: var(--muted);
  max-width: 46ch;
}

.neighbors-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 2rem 0 2.2rem;
  background: var(--white-10);
  border: 1px solid var(--white-10);
}

.step-card {
  position: relative;
  display: grid;
  gap: 0.45rem;
  padding: 1.35rem 1.4rem;
  background: var(--bg-deep);
  min-height: 140px;
  transition: background 0.3s ease, color 0.3s ease;
}

.step-card:hover {
  background: color-mix(in srgb, var(--article-ink) 10%, var(--bg-deep));
}

.step-card__dir {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--article-ink);
}

.step-card strong {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.step-card__meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.step-card--next {
  text-align: right;
}

.ruta-list {
  list-style: none;
  margin: 0 0 2.4rem;
  padding: 0;
  border-top: 1px solid var(--white-10);
}

.ruta-list__item a {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 0.2rem;
  border-bottom: 1px solid var(--white-10);
  transition: color 0.25s ease, padding 0.25s var(--ease);
}

.ruta-list__item a:hover {
  color: var(--article-ink);
  padding-left: 0.45rem;
}

.ruta-list__n {
  font-variant-numeric: tabular-nums;
  color: var(--white-40);
  font-size: 0.85rem;
}

.ruta-list__t {
  font-size: 1.02rem;
  letter-spacing: -0.015em;
}

.ruta-list__r {
  color: var(--muted);
  font-size: 0.8rem;
}

.ruta-list__item.is-current a {
  color: var(--article-ink);
  background: linear-gradient(90deg, color-mix(in srgb, var(--article-ink) 12%, transparent), transparent);
  pointer-events: none;
}

.ruta-list__item.is-current .ruta-list__r {
  color: var(--article-ink);
}

.ruta-list__item.is-current .ruta-list__r::before {
  content: "aquí · ";
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.neighbors-cross {
  display: grid;
  gap: 0.7rem;
  max-width: 520px;
}

.neighbors-cross__tag {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.neighbors-cross a {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--white-18);
}

.neighbors-cross img {
  width: 120px;
  height: 84px;
  object-fit: cover;
  border-radius: 2px 16px 2px 16px;
  filter: saturate(0.9);
}

.neighbors-cross strong {
  display: block;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

.neighbors-cross span {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .article-shell {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .article-rail--margin {
    display: none;
  }

  .spine-tick__label {
    display: none;
  }

  .spine-ticks {
    gap: 0.75rem;
  }
}

@media (max-width: 820px) {
  .article-shell {
    grid-template-columns: 1fr;
    padding: 0 1.15rem 1rem;
  }

  .article-rail--spine {
    position: relative;
    top: auto;
    max-height: none;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.2rem;
    margin-bottom: 0.6rem;
    padding: 0.6rem 0 0.9rem;
    border-bottom: 1px solid var(--white-10);
  }

  .spine-bind,
  .spine-cat,
  .spine-foot,
  .spine-ticks {
    display: none;
  }

  .spine-progress {
    width: 100%;
    height: 3px;
    flex: 1 1 100%;
  }

  .spine-progress__bar {
    transform-origin: left center;
    transform: scaleX(var(--read-n, 0));
  }

  body.is-article .content__inner::before {
    display: none;
  }

  .neighbors-step {
    grid-template-columns: 1fr;
  }

  .step-card--next {
    text-align: left;
  }

  .ruta-list__item a {
    grid-template-columns: 2.4rem 1fr;
  }

  .ruta-list__r {
    display: none;
  }

  .margin-clip {
    width: 100%;
    transform: none !important;
  }
}

