@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-mono-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plex-mono-latin-500.woff2") format("woff2");
}

:root {
  --c-bg: #0c0d0c;
  --c-surface: #141513;
  --c-text: #efece4;
  --c-primary: #efece4;
  --c-accent: #efece4;
  --c-muted: #9a9488;
  --c-border: #2a2924;
  --c-ok: #9dbea6;
  --c-fault: #e07a5f;
  --c-gradient: none;
  --brand-font: "Instrument Sans", Inter, system-ui, sans-serif;
  --display-font: "IBM Plex Mono", ui-monospace, monospace;
  --mono-font: "IBM Plex Mono", ui-monospace, monospace;
}

body {
  font-family: var(--brand-font);
  background: var(--c-bg);
  color: var(--c-text);
  letter-spacing: 0;
}

body::before {
  background:
    linear-gradient(180deg, rgba(239, 236, 228, 0.03), transparent 28%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(239, 236, 228, 0.035) 48px
    );
}

body .header {
  background-color: #0c0d0c;
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .header { top: 46px; }
}

.brand__name,
.header__menu a,
.btn,
.feature-card__number,
.pricing-card__price,
.hero__kicker,
.hero__field,
.hero__trace {
  font-family: var(--mono-font);
}

.brand__mark {
  color: var(--c-text);
}

body .brand {
  gap: 0.7rem;
  color: var(--c-text);
}

body .brand__name {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: none;
}

body .brand__dev {
  font-family: var(--mono-font);
  font-size: 0.84em;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-left: 0.08em;
}

body .brand__lockup {
  display: block;
  height: 3.8rem;
  width: auto;
}

@media (max-width: 782px) {
  body .brand__lockup { height: 2.88rem; }
}

.header__menu a {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header .btn--primary,
.btn--agent {
  background: var(--c-text);
  color: var(--c-bg);
  border-radius: 2px;
  box-shadow: none;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn--agent span,
.header .btn--primary {
  color: var(--c-bg);
}

.btn--agent:hover,
.header .btn--primary:hover {
  transform: none;
  filter: none;
  background: #fff;
}

.btn--telegram {
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: 2px;
  color: var(--c-text);
  backdrop-filter: none;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero--instrument {
  text-align: left;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.hero--instrument .hero__container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero--instrument .hero__content {
  max-width: none;
  margin: 0;
  align-items: flex-start;
  text-align: left;
}

.hero__kicker {
  margin: 0 0 1rem;
  color: var(--c-ok);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__title,
.features__title,
.steps__title,
.portfolio__title,
.pricing__title,
.price-calc__title,
.blog-section__title,
.contact-form__title {
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.hero__accent {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--c-ok);
  font-style: normal;
}

.hero--instrument .hero__description {
  margin: 0;
  max-width: 36rem;
  text-align: left;
  color: var(--c-muted);
}

.hero--instrument .hero__buttons {
  justify-content: flex-start;
}

.hero__field {
  border: 1px solid var(--c-border);
  background: #10110f;
  padding: 0.85rem;
}

.hero__field-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.hero__field-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--c-muted);
}

.hero__field-dot.is-fault { background: var(--c-fault); }
.hero__field-dot.is-ok { background: var(--c-ok); }

.hero__field-label { color: var(--c-text); }
.hero__field-meta { margin-left: auto; }

.hero__grid {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 4px;
}

.hero__cell {
  aspect-ratio: 1;
  border-radius: 2px;
  background: #1c1d19;
  transition: background-color 80ms linear;
}

.hero__cell.is-dim { background: #2a2b26; }
.hero__cell.is-on { background: var(--c-muted); }
.hero__cell.is-cursor { background: var(--c-text); }
.hero__cell.is-fault { background: var(--c-fault); }
.hero__cell.is-ok { background: var(--c-ok); }
.hero__cell.is-ok-1 { background: color-mix(in srgb, var(--c-ok) 32%, #141513); }
.hero__cell.is-ok-2 { background: color-mix(in srgb, var(--c-ok) 52%, #141513); }
.hero__cell.is-ok-3 { background: color-mix(in srgb, var(--c-ok) 74%, #141513); }
.hero__cell.is-ok-4 { background: color-mix(in srgb, var(--c-ok) 40%, var(--c-text)); }

.hero__slogan {
  margin: 0.7rem 0 0;
  min-height: 1.2em;
  color: var(--c-text);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.hero__slogan.is-in {
  animation: hero-line 0.4s ease;
}

@keyframes hero-line {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: none; }
}


.hero__trace {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  min-height: 5.2rem;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--c-muted);
}

.hero__trace li:last-child { color: var(--c-text); }

.feature-card,
.pricing-card,
.portfolio-card,
.price-calc__controls,
.price-calc__result {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 2px;
  box-shadow: none;
}

.feature-card__number,
.portfolio-card__stack,
.pricing-card__name {
  font-family: var(--mono-font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-card__number { color: var(--c-ok); }

.pricing-card--featured,
.pricing-card.featured {
  outline: 1px solid var(--c-text);
}

@media (max-width: 860px) {
  .hero--instrument .hero__container {
    grid-template-columns: 1fr;
  }
}


/* Sections read as a report, not a stack of equal cards. */

body .features__header,
body .steps__container,
body .portfolio .container,
body .pricing__container,
body .price-calc .container,
body .contact-form .container {
  text-align: left;
}

body .features__title,
body .steps__title,
body .portfolio__title,
body .pricing__title,
body .price-calc__title,
body .contact-form__title,
body .section__title {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  font-weight: 400;
}

.features__description,
.portfolio__description,
.pricing__description,
.price-calc__description {
  max-width: 38rem;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

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

.feature-card {
  min-height: 0;
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 2px;
  gap: 0.85rem;
}

.feature-card__icon,
.step-card__image,
.step-slide__image {
  display: none;
}

.feature-card__header {
  height: auto;
}

.feature-card__number,
.step-card__num,
.step-slide__num {
  font-family: var(--mono-font);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--c-ok);
}

.feature-card__title,
.step-card__title,
.portfolio-card__title,
.pricing-card__name,
.post-card__title {
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.feature-card:hover,
.portfolio-card:hover,
.post-card:hover,
.pricing-card:hover,
.step-card:hover {
  transform: none;
  border-color: var(--c-text);
}

.steps__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card,
.portfolio-card,
.pricing-card,
.post-card {
  border-radius: 2px;
  box-shadow: none;
}

.pricing-card {
  padding: 1.5rem 1.35rem 1.4rem;
}

.pricing-card--featured {
  border-color: var(--c-text);
  box-shadow: none;
}

.pricing-card__price {
  font-family: var(--mono-font);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.pricing-card__cta {
  margin-top: auto;
  align-self: flex-start;
}

.portfolio__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body .portfolio-card__stack {
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--c-muted);
  font-size: 0.68rem;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.contact-form__input,
.newsletter-form__input,
.footer input[type="email"] {
  background: #10110f;
  border: 1px solid var(--c-border);
  border-radius: 2px;
  color: var(--c-text);
  font-family: var(--brand-font);
}

.contact-form__consent {
  grid-column: 1 / -1;
  margin: 0.2rem 0 0;
  color: var(--c-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.contact-form__label,
.footer__col-title {
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.footer {
  background: #0c0d0c;
  border-top: 1px solid var(--c-border);
}

body .footer__container {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.7fr) minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

body .footer__brand,
body .footer__nav,
body .footer__signup,
body .footer__contact {
  min-width: 0;
}

body .footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: start;
  align-content: start;
  gap: 1.75rem 1.5rem;
  min-width: 0;
}

body .footer__col {
  min-width: 0;
}

body .footer__col-title {
  margin-bottom: 1rem;
}

body .footer__list {
  gap: 0.75rem;
}

body .footer__list a {
  display: inline-block;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  body .footer__container { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body .footer__signup,
  body .footer__contact { grid-column: auto; }
}

@media (max-width: 900px) {
  body .footer__container {
    align-items: start;
    justify-items: start;
    text-align: left;
  }
  body .footer__brand,
  body .footer__nav,
  body .footer__signup,
  body .footer__contact,
  body .footer__col,
  body .footer__bottom,
  body .footer__copyright,
  body .footer__built {
    text-align: left;
  }
  body .footer__contact { justify-items: start; }
  body .footer__cta { justify-self: start; }
}

@media (max-width: 800px) {
  body .footer__container { grid-template-columns: minmax(0, 1fr); }
  body .footer__nav {
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    justify-items: start;
    width: 100%;
  }
  body .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

body .page-nav {
  position: sticky;
  top: 6.0625rem;
  z-index: 90;
  background: #0c0d0c;
  border-bottom: 1px solid var(--c-border);
}

body.admin-bar .page-nav { top: calc(32px + 6.0625rem); }

@media (max-width: 782px) {
  body .page-nav { top: 4.6rem; }
  body.admin-bar .page-nav { top: calc(46px + 4.6rem); }
}

body.page:not(.home) [id] { scroll-margin-top: 11rem; }

body .stat-row__list li,
body .path-row__list li,
body .check-split__col li {
  display: block;
}

body .stat-row__value { white-space: nowrap; }

body .page-nav__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
  padding-block: 0.75rem;
}

body .page-nav__label,
body .page-nav a {
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .page-nav__label { color: var(--c-muted); }
body .page-nav a { color: var(--c-text); text-decoration: none; }
body .page-nav a:hover { color: var(--c-ok); }

body .stat-row { padding-block: 1.5rem 2.5rem; }
body .stat-row__title,
body .path-row__title,
body .check-split__title,
body .faq__title {
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 1.25rem;
}

body .stat-row__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

body .stat-row__list li {
  container-type: inline-size;
  padding: 1.25rem 1rem 1.35rem 0;
  border-right: 1px solid var(--c-border);
}

body .stat-row__list li:last-child { border-right: 0; padding-right: 0; }

body .stat-row__value {
  display: block;
  font-family: var(--display-font);
  font-size: clamp(1.35rem, 16cqi, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

body .stat-row__label {
  display: block;
  margin-top: 0.45rem;
  color: var(--c-muted);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .path-row { padding-block: 1rem 2.5rem; }
body .path-row__lead { max-width: 42rem; color: var(--c-muted); margin: 0 0 1.25rem; }

body .path-row__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: path;
}

body .path-row__list li {
  counter-increment: path;
  border-top: 1px solid var(--c-text);
  padding-top: 0.85rem;
}

body .path-row__list li::before {
  content: counter(path, decimal-leading-zero);
  display: block;
  margin-bottom: 0.65rem;
  color: var(--c-ok);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

body .path-row__label {
  display: block;
  font-family: var(--display-font);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

body .path-row__text {
  display: block;
  margin-top: 0.4rem;
  color: var(--c-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

body .check-split { padding-block: 1rem 2.5rem; }

body .check-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

body .check-split__col {
  border-top: 1px solid var(--c-border);
  padding-top: 1rem;
}

body .check-split__col h3 {
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0 0 0.8rem;
}

body .check-split__col--in h3 { color: var(--c-ok); }

body .check-split__col ul { list-style: none; margin: 0; padding: 0; }
body .check-split__col li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--c-border);
}

body .faq { padding-block: 1rem 2.5rem; }
body .faq__item {
  border-top: 1px solid var(--c-border);
  padding: 0.85rem 0;
}
body .faq__item:last-child { border-bottom: 1px solid var(--c-border); }
body .faq__item summary {
  cursor: pointer;
  font-family: var(--display-font);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
body .faq__item p { margin: 0.6rem 0 0; color: var(--c-muted); max-width: 46rem; }

@media (max-width: 800px) {
  body .path-row__list,
  body .check-split__grid { grid-template-columns: 1fr; }
  body .stat-row__list { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
  body .stat-row__list li { border-right: 0; border-bottom: 1px solid var(--c-border); }
  body .page-nav { position: static; }
}

html {
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #3a3832 #0c0d0c;
}

html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: #0c0d0c; }
html::-webkit-scrollbar-thumb {
  background: #3a3832;
  border: 2px solid #0c0d0c;
  border-radius: 99px;
}
html::-webkit-scrollbar-thumb:hover { background: #9a9488; }

.footer__tagline,
.footer__copyright,
.footer__built {
  color: var(--c-muted);
}

.footer__cta,
.footer .btn--primary {
  background: var(--c-text);
  color: var(--c-bg);
  border-radius: 2px;
  box-shadow: none;
}

@media (max-width: 980px) {
  .steps__grid,
  .portfolio__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .features__grid,
  .steps__grid,
  .portfolio__grid {
    grid-template-columns: 1fr;
  }
}

/* Editorial index: one offer leads, the rest is a contents page. */

body #features .features__title,
body #steps .steps__title,
body #why-us .features__title,
body #portfolio .portfolio__title,
body #pricing .pricing__title,
body #blog .section__title,
body #contact-form .contact-form__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body #features .features__title::before,
body #steps .steps__title::before,
body #portfolio .portfolio__title::before,
body #pricing .pricing__title::before,
body #blog .section__title::before,
body #contact-form .contact-form__title::before {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ok);
}

body #features .features__title::before { content: "01  /  start here"; }
body #steps .steps__title::before { content: "02  /  the path"; }
body #questions .faq__title::before {
  content: "08  /  the limits";
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ok);
}

body #why-us .features__title::before {
  content: "03  /  who you talk to";
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ok);
}
body #portfolio .portfolio__title::before { content: "04  /  products I run"; }
body #pricing .pricing__title::before { content: "05  /  the fee"; }
body #blog .section__title::before { content: "07  /  field notes"; }
body #contact-form .contact-form__title::before { content: "09  /  write to me"; }

body #features .features__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body #features .feature-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background:
    linear-gradient(90deg, rgba(157, 190, 166, 0.08), transparent 18rem),
    #10110f;
}

body #features .feature-card:first-child .feature-card__number {
  font-family: var(--display-font);
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--c-text);
}

body #features .feature-card:first-child .feature-card__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  max-width: 14ch;
}

body #why-us .features__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body #why-us .feature-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--c-border);
  border-radius: 0;
  padding: 1.4rem 1.25rem 1rem;
}

body .steps__slider { display: none; }

body .steps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

body .step-card {
  min-height: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--c-text);
  border-radius: 0;
  padding: 1.1rem 1.15rem 0;
}

body .step-card__num {
  font-family: var(--display-font);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--c-text);
}

body .portfolio__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid var(--c-border);
}

body .portfolio-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--c-border);
  border-radius: 0;
  padding: 0;
}

body .portfolio-card:hover { border-color: var(--c-border); }

body .portfolio-card__body {
  display: grid;
  grid-template-columns: minmax(8rem, 14rem) minmax(0, 1.15fr) minmax(0, 1.5fr);
  gap: 1.25rem 2rem;
  align-items: baseline;
  padding: 1.4rem 1.25rem;
}

body .portfolio-card__title { margin: 0; font-size: clamp(1.45rem, 2vw, 1.9rem); }
body .portfolio-card__desc { margin: 0; color: var(--c-muted); }

body .post-grid--three {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

body .post-grid--three .post-card--featured {
  grid-column: 1 / -1;
  background: #10110f;
  border: 1px solid var(--c-border);
  border-radius: 2px;
}

body .post-grid--three .post-card--featured .post-card__link {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
  padding: 0;
}

body .post-grid--three .post-card--featured .post-card__thumb {
  flex: none;
  aspect-ratio: 16 / 10;
  min-height: 0;
}

body .post-grid--three .post-card--featured .post-card__body {
  flex: none;
  padding: clamp(1.15rem, 2vw, 1.6rem);
  padding-left: 0;
}

body .post-grid--three .post-card--featured .post-card__excerpt {
  flex: none;
}

body .post-grid--three .post-card--featured .post-card__more {
  margin-top: 0.75rem;
}

body .post-card {
  background: #10110f;
  border-radius: 2px;
}

body .post-card__title {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

body .contact-form__form {
  border: 1px solid var(--c-border);
  background: #10110f;
  padding: clamp(1.4rem, 2.4vw, 2.2rem);
}

body .contact-form__container {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  border-radius: 2px;
}

body .contact-form__input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-border);
  border-radius: 0;
  padding-inline: 0;
}

body .contact-form__form .btn {
  width: 100%;
  border-radius: 2px;
}

body .pricing-card__name {
  font-family: var(--display-font);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body .pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--display-font);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

body .pricing-card__period {
  font-family: var(--brand-font);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-muted);
  opacity: 1;
}

@media (max-width: 980px) {
  body .steps__grid,
  body #why-us .features__grid,
  body #features .features__grid {
    grid-template-columns: 1fr 1fr;
  }

  body #features .feature-card:first-child { grid-column: 1 / -1; }

  body .portfolio-card__body,
  body .post-grid--three {
    grid-template-columns: 1fr;
  }

  body .post-grid--three .post-card--featured .post-card__link {
    grid-template-columns: 1fr;
  }

  body .post-grid--three .post-card--featured .post-card__body {
    padding-left: clamp(1.15rem, 2vw, 1.6rem);
  }
}

@media (max-width: 640px) {
  body .steps__grid,
  body #why-us .features__grid,
  body #features .features__grid,
  body #features .feature-card:first-child {
    grid-template-columns: 1fr;
  }
}

/* Quote sheet: the calculator is a range, not a widget. */

body #price-calc .price-calc__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body #price-calc .price-calc__title::before {
  content: "06  /  a range, not a quote";
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ok);
}

body .price-calc__grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

body .price-calc__controls,
body .price-calc__result {
  border-radius: 2px;
  box-shadow: none;
}

body .price-calc__controls {
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

body .price-calc__row {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--c-border);
  border-radius: 0;
  padding: 1.25rem 0;
}

body .price-calc__row:first-child { border-top: 0; padding-top: 0; }

body .price-calc__label,
body .price-calc__result-label {
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
}

body .price-calc__choices {
  display: flex;
  flex-direction: column;
  margin-top: 0.85rem;
}

body .price-calc__choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 1.25rem;
  align-items: center;
  padding: 1.05rem 0.65rem;
  border-top: 1px solid var(--c-border);
  cursor: pointer;
}

body .price-calc__choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body .price-calc__choice-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

body .price-calc__choice-name {
  font-family: var(--display-font);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--c-muted);
}

body .price-calc__choice-name::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.55rem;
  border: 1px solid var(--c-border);
  vertical-align: 0.12em;
}

body .price-calc__choice:has(input:checked) .price-calc__choice-name {
  color: var(--c-text);
}

body .price-calc__choice:has(input:checked) .price-calc__choice-name::before {
  background: var(--c-ok);
  border-color: var(--c-ok);
}

body .price-calc__choice:has(input:focus-visible) .price-calc__choice-name {
  outline: 1px solid var(--c-text);
  outline-offset: 8px;
}

body .price-calc__choice-desc,
body .price-calc__choice-meta {
  color: var(--c-muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

body .price-calc__choice-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  font-family: var(--mono-font);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

body .price-calc__choice:has(input:checked) .price-calc__choice-meta {
  color: var(--c-text);
}

body .price-calc__row--toggle { position: relative; }

body .price-calc__switch {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 24px;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--c-muted);
}

body .price-calc__switch::after {
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 0;
  background: var(--c-muted);
}

body .price-calc__toggle:checked + .price-calc__switch {
  background: transparent;
  border-color: var(--c-ok);
}

body .price-calc__toggle:checked + .price-calc__switch::after {
  transform: translateX(20px);
  background: var(--c-ok);
}

body .price-calc__lines {
  list-style: none;
  margin: 0;
  padding: 0 0 0.85rem;
  border-bottom: 1px solid var(--c-border);
}

body .price-calc__lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  font-family: var(--mono-font);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--c-muted);
}

body .price-calc__lines strong {
  color: var(--c-text);
  font-weight: 500;
}

body .price-calc__lines .is-credit,
body .price-calc__lines .is-credit strong {
  color: var(--c-ok);
}

body .price-calc__result {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.3rem, 2vw, 1.8rem);
  background: #10110f;
  border: 1px solid var(--c-text);
}

body .price-calc__price,
body .price-calc__weeks {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

body .price-calc__price { font-size: clamp(3.2rem, 5vw, 4.6rem); }

body .price-calc__weeks {
  margin-top: 0.7rem;
  font-family: var(--mono-font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--c-muted);
}

body .price-calc__cta { align-self: flex-start; margin-top: auto; }

body .price-calc__note {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

@media (max-width: 860px) {
  body .price-calc__grid { grid-template-columns: 1fr; }
  body .price-calc__result { position: static; }
}

body .lang-switch__btn {
  border-radius: 2px;
  background: transparent;
  border-color: var(--c-border);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

body .lang-switch__menu {
  border-radius: 2px;
  background: #10110f;
  border-color: var(--c-border);
  min-width: 220px;
  scrollbar-width: thin;
  scrollbar-color: #3a3832 transparent;
}

body .lang-switch__menu::-webkit-scrollbar {
  width: 8px;
}

body .lang-switch__menu::-webkit-scrollbar-track {
  background: transparent;
  margin-block: 6px;
}

body .lang-switch__menu::-webkit-scrollbar-thumb {
  background: #3a3832;
  border: 2px solid #10110f;
  border-radius: 99px;
}

body .lang-switch__menu::-webkit-scrollbar-thumb:hover {
  background: #9a9488;
}

body .lang-switch__code {
  display: inline-block;
  width: 2.2rem;
  color: var(--c-muted);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

body .lang-switch__item.is-current .lang-switch__code { color: var(--c-ok); }

[dir="rtl"] .lang-switch__menu { right: auto; left: 0; }

/* Publications: same voice as the front page. */

body .blog__head,
body .article__head,
body .error404__inner {
  text-align: left;
}

body .blog__head {
  padding-block: clamp(2.4rem, 6vw, 4.2rem) 1.6rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}

body .section__eyebrow,
body .article__cat,
body .post-card__cat,
body .post-card__meta,
body .article__meta,
body .article__nav-item span,
body .pagination .nav-links,
body .review__fact-label {
  font-family: var(--mono-font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body .section__eyebrow,
body .article__cat,
body .post-card__cat {
  color: var(--c-ok);
  font-size: 0.72rem;
  font-weight: 500;
}

body .blog__title,
body .article__title,
body .error404__title,
body.page:not(.home) .page-article__title,
body .article__content h2,
body .article__cta h2,
body .newsletter__title,
body .article__related .section__title {
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

body .blog__title,
body .article__title,
body .error404__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 0.8rem;
}

body .blog__intro,
body .article__lead {
  margin: 0;
  max-width: 40rem;
  color: var(--c-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

body .blog__head .container,
body .article__head-inner {
  max-width: var(--maxw, 1180px);
  margin-inline: 0;
  text-align: left;
}

body .article__head {
  padding-block: clamp(2.4rem, 6vw, 4rem) 1.4rem;
}

body .article__meta,
body .post-card__meta {
  justify-content: flex-start;
  color: var(--c-muted);
  font-size: 0.72rem;
  gap: 0.85rem;
}

body .article__cover { max-width: none; }
body .article__cover img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
}

body .article__author { color: var(--c-text); font-weight: 500; }

body .article__cover { margin-top: 0.4rem; }
body .article__cover img,
body .post-card__thumb img,
body .article__content img {
  border-radius: 2px;
}

body .article__body {
  max-width: none;
  margin-inline: 0;
  padding-top: 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

body .article__side {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 1rem;
}

.admin-bar body .article__side { top: 8.5rem; }

body .article__side-label {
  margin: 0 0 0.7rem;
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ok);
}

body .article__toc,
body .article__side-offer {
  border: 1px solid var(--c-border);
  background: #10110f;
  padding: 1rem 1.05rem 1.1rem;
}

body .article__side-offer { border-color: var(--c-text); }

body .article__toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

body .article__toc a {
  color: var(--c-muted);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.35;
}

body .article__toc a:hover { color: var(--c-text); }

body .article__side-title {
  margin: 0 0 0.9rem;
  font-family: var(--display-font);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

body .article__content {
  font-size: 1.05rem;
  line-height: 1.7;
}

body .article__content h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-top: 1.6em; }
body .article__content h3 { font-family: var(--display-font); font-weight: 500; letter-spacing: -0.02em; }
body .article__content a { color: var(--c-text); text-decoration-color: var(--c-ok); }
body .article__content li::marker { color: var(--c-ok); }

body .article__content blockquote {
  margin-left: 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 2px solid var(--c-ok);
  border-radius: 0;
  background: transparent;
  color: var(--c-text);
  font-family: var(--display-font);
}

body .note-figure {
  margin: 1.8rem 0;
  padding: 1rem 0 0.2rem;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

body .note-figure figcaption {
  margin-bottom: 0.9rem;
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ok);
}

body .note-bars {
  display: grid;
  gap: 0.55rem;
}

body .note-bar {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.92rem;
}

body .note-bar em {
  font-style: normal;
  color: var(--c-muted);
}

body .note-bar b {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

body .note-bar span {
  display: block;
  height: 0.45rem;
  background: var(--c-ok);
}

body .note-bar.is-fault span { background: var(--c-fault, #e07a5f); }

body .article__content .wp-block-table.note-sheet,
body table.note-sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

body .article__content .wp-block-table.note-sheet th,
body .article__content .wp-block-table.note-sheet td,
body table.note-sheet th,
body table.note-sheet td {
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid var(--c-border);
  text-align: left;
  vertical-align: top;
}

body .article__content .wp-block-table.note-sheet th,
body table.note-sheet th {
  font-family: var(--mono-font);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ok);
}

@media (max-width: 640px) {
  body .note-bar {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

body .blog .post-grid {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

body .post-card {
  background: #10110f;
  border: 1px solid var(--c-border);
  border-radius: 2px;
  box-shadow: none;
}

body .post-card--featured {
  grid-column: 1 / -1;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-border);
  border-radius: 0;
}

body .post-card--featured .post-card__link {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: end;
}

body .post-card--featured .post-card__thumb { aspect-ratio: 16 / 10; }
body .post-card--featured .post-card__body { padding: 0 0 1.2rem; }
body .post-card--featured .post-card__title { font-size: clamp(1.8rem, 3vw, 2.6rem); }

body .post-card__more {
  margin-top: auto;
  color: var(--c-text);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body .post-card:hover .post-card__thumb img { transform: none; }
body .post-card:hover .post-card__more { color: var(--c-ok); }

body .btn--primary {
  background: var(--c-text);
  color: var(--c-bg);
  border-radius: 2px;
  box-shadow: none;
  font-family: var(--mono-font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body .btn--primary:hover {
  background: #fff;
  color: var(--c-bg);
  transform: none;
  filter: none;
}

body .newsletter__input {
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: 2px;
  color: var(--c-text);
  font-family: var(--brand-font);
}

body .article__cta,
body .newsletter--card,
body .review__facts {
  text-align: left;
  border-radius: 2px;
  background: #10110f;
  border: 1px solid var(--c-text);
  box-shadow: none;
}

body .article__cta h2,
body .newsletter__title { font-size: clamp(1.4rem, 2vw, 1.8rem); }

body .article__tags a,
body .article__nav-item,
body .pagination .page-numbers {
  border-radius: 2px;
  border-color: var(--c-border);
  background: transparent;
}

body .article__nav-item strong {
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -0.02em;
}

body .article__nav-item:hover,
body .article__tags a:hover,
body .pagination .page-numbers:hover,
body .pagination .page-numbers.current {
  border-color: var(--c-text);
  color: var(--c-text);
}

body .error404__inner {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 4rem;
}

body .error404__code {
  font-family: var(--display-font);
  font-weight: 500;
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--c-ok);
  margin: 0;
}

body .error404__actions { justify-content: flex-start; }

body.page:not(.home) main.page {
  padding-top: 1.75rem;
  padding-bottom: 3.5rem;
}

body.page:not(.home) .page__container {
  max-width: none;
  padding: 0;
}

body.page:not(.home) .page-article__title,
body.page:not(.home) .page-article__content > :where(p, h2, h3, ul, ol) {
  max-width: var(--maxw, 1320px);
  margin-inline: auto;
  padding-inline: var(--gutter, 1.25rem);
}

body.page:not(.home) .page-article {
  max-width: none;
  padding-bottom: 0;
}

body.page:not(.home) .page-article__title {
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-align: left;
}

body.page:not(.home) .page-lead {
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--c-text);
}

body.page:not(.home) .page-article__content h2,
body.page:not(.home) .page-article__content h3 {
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-align: left;
}

body.page:not(.home) .page-article__content ul {
  margin: 0 0 1.2rem;
  padding-left: 1.1rem;
}

body.page:not(.home) .page-article__content li {
  margin: 0.35rem 0;
}

body.page:not(.home) .page-article__content .btn {
  margin-top: 0.5rem;
}

@media (max-width: 800px) {
  body .blog .post-grid,
  body .post-card--featured .post-card__link,
  body .article__body,
  body .article__nav {
    grid-template-columns: 1fr;
  }

  body .article__side { position: static; }
  body .article__nav-item--next { text-align: left; }

  body .stage-rail { display: none; }
  body .hero__signals { grid-template-columns: 1fr; }
}

body .read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 100000;
  pointer-events: none;
  background: transparent;
}

.admin-bar .read-progress { top: 32px; }

@media (max-width: 782px) {
  .admin-bar .read-progress { top: 46px; }
}

body .read-progress__bar {
  display: block;
  height: 100%;
  background: var(--c-ok);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

body .stage-rail {
  position: sticky;
  top: 3.8rem;
  z-index: 90;
  background: #0c0d0c;
  border-bottom: 1px solid var(--c-border);
}

.admin-bar body .stage-rail { top: calc(3.8rem + 32px); }

@media (max-width: 782px) {
  body .stage-rail { top: 2.88rem; }
  .admin-bar body .stage-rail { top: calc(2.88rem + 46px); }
}

body .stage-rail__track {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.35rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.65rem 1.5rem 0.8rem;
}

body .stage-rail a {
  font-family: var(--mono-font);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
  text-decoration: none;
}

body .stage-rail a.is-current { color: var(--c-text); }

body .stage-rail__mark {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--c-ok);
}

body .hero__signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}

body .hero__signals li {
  border-top: 1px solid var(--c-border);
  padding-top: 0.75rem;
}

body .hero__signal-value {
  display: block;
  font-family: var(--display-font);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

body .hero__signal-value span {
  margin-left: 0.28rem;
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

body .hero__signal-label {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ok);
}

html.has-motion .hero__signals li,
html.has-motion .feature-card,
html.has-motion .step-card,
html.has-motion .portfolio-card,
html.has-motion .pricing-card,
html.has-motion .post-card {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.2s ease;
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
}

html.has-motion .hero__signals li.is-in,
html.has-motion .feature-card.is-in,
html.has-motion .step-card.is-in,
html.has-motion .portfolio-card.is-in,
html.has-motion .pricing-card.is-in,
html.has-motion .post-card.is-in {
  opacity: 1;
  transform: none;
}

body .article__content { counter-reset: note; }

body .article__content h2::before {
  counter-increment: note;
  content: counter(note, decimal-leading-zero);
  margin-right: 0.7rem;
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--c-ok);
}

body .article__content h2.is-current { color: var(--c-text); }

body .article__toc ol { counter-reset: toc; }

body .article__toc li { counter-increment: toc; }

body .article__toc a::before {
  content: counter(toc, decimal-leading-zero);
  margin-right: 0.55rem;
  font-family: var(--mono-font);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--c-ok);
}

body .article__toc a.is-current { color: var(--c-text); }

body .article__read-left {
  margin: -0.15rem 0 0.85rem;
  font-family: var(--mono-font);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

body .article__read-left:empty { display: none; }

body .post-card__thumb { overflow: hidden; }

body .stage-rail__mark { transition: transform 0.35s ease, width 0.35s ease; }

  body .post-card__thumb img { transition: transform 0.6s ease; }
  body .post-card:hover .post-card__thumb img { transform: scale(1.04); }

  body .portfolio-card { position: relative; }
  body .portfolio-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: color-mix(in srgb, var(--c-ok) 10%, transparent);
    transition: width 0.45s ease;
    pointer-events: none;
  }
  body .portfolio-card:hover::before { width: 100%; }
  body .portfolio-card__body { position: relative; z-index: 1; }

  body .pricing-card--featured { position: relative; overflow: hidden; }
  body .pricing-card--featured::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 28%;
    height: 2px;
    background: var(--c-ok);
    animation: price-scan 2.8s ease-in-out infinite;
  }

body .price-calc__price.is-tick { animation: price-tick 0.45s ease; }

@media (prefers-reduced-motion: reduce) {
  .hero__cell,
  .stage-rail__mark,
  .post-card__thumb img,
  .portfolio-card::before,
  .hero__signals li,
  .feature-card,
  .step-card,
  .portfolio-card,
  .pricing-card,
  .post-card {
    transition-duration: 0.45s !important;
  }

  .hero__slogan.is-in {
    animation-duration: 0.4s !important;
    animation-iteration-count: 1 !important;
  }

  .pricing-card--featured::after {
    animation-duration: 2.8s !important;
    animation-iteration-count: infinite !important;
  }

  .price-calc__price.is-tick {
    animation-duration: 0.45s !important;
    animation-iteration-count: 1 !important;
  }
}

@keyframes price-scan {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(420%); }
}

@keyframes price-tick {
  0% { color: var(--c-ok); }
  100% { color: var(--c-text); }
}
