body.content-page {
  background: linear-gradient(180deg, #e7f5fd 0%, #ffffff 42%, #fcebe0 100%);
  color: #101010;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: #101010;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.content-main {
  overflow: clip;
}

.content-hero {
  --hero-image: url("../trepixel-seo-website-design-showreel-poster.webp");
  isolation: isolate;
  position: relative;
  display: flex;
  align-items: flex-end;
  width: min(1180px, calc(100% - 2 * max(24px, 4.5vw)));
  min-height: clamp(520px, 72svh, 760px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px);
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  box-shadow: 0 32px 80px -52px rgba(15, 23, 42, 0.72);
}

.content-main > .content-hero:first-child {
  margin-top: clamp(112px, 9vw, 142px);
}

.hero-services {
  --hero-image: url("../trepixel-seo-website-design-showreel-poster.webp");
}

.hero-website-design {
  --hero-image: url("../website-design-service-page-strategy.webp");
}

.hero-seo {
  --hero-image: url("../seo-website-design-trust-signals.webp");
}

.hero-ai-automation {
  --hero-image: url("../ai-automation-website-motion-guide.webp");
}

.hero-app-development {
  --hero-image: url("../ufl-trepixel-website-design-user-interface-project.png");
}

.hero-brand-identity {
  --hero-image: url("../trepixel-website-design-strategy-book.webp");
}

.hero-portfolio {
  --hero-image: url("../yam-trepixel-seo-website-design-restaurant-project.png");
}

.hero-blog {
  --hero-image: url("../trepixel-digital-marketing-hero-panel.webp");
}

.hero-faq {
  --hero-image: url("../trepixel-app-development-interface-watch.webp");
}

.hero-404 {
  --hero-image: url("../trepixel-seo-performance-metrics-background.webp");
}

.content-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 20, 0.06) 18%, rgba(6, 10, 20, 0.84) 100%);
}

.content-hero__copy {
  width: min(820px, 100%);
}

.content-hero__eyebrow,
.content-kicker {
  margin: 0 0 14px;
  font-family: var(--font-rounded);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.2;
}

.content-hero__eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.content-hero h1 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--font-rounded);
  font-size: clamp(46px, 6.2vw, 86px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.96;
  text-wrap: balance;
}

.content-hero__lede {
  max-width: 64ch;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}

.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.content-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 7px;
  color: #101010;
  background: #fff;
  font-family: var(--font-rounded);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.content-button:hover {
  transform: translateY(-2px);
}

.content-button--ghost {
  color: #fff;
  background: rgba(10, 10, 10, 0.22);
  backdrop-filter: blur(12px);
}

.content-button--dark {
  border-color: #101010;
  color: #fff;
  background: #101010;
}

.content-band {
  width: 100%;
  padding: clamp(64px, 8vw, 116px) max(24px, 4.5vw);
}

.content-band--white {
  background: rgba(255, 255, 255, 0.72);
}

.content-band--blue {
  background: #e7f5fd;
}

.content-band--peach {
  background: #fcebe0;
}

.content-band__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.content-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.content-kicker {
  color: #4b6bff;
}

.content-head h2,
.content-cta h2,
.guide-body h2 {
  margin: 0;
  font-family: var(--font-rounded);
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1;
  text-wrap: balance;
}

.content-head p,
.content-copy p,
.content-card p,
.process-item p,
.proof-item p,
.guide-body p,
.guide-body li {
  color: rgba(10, 10, 10, 0.68);
  font-size: clamp(16px, 1.08vw, 18px);
  line-height: 1.68;
  text-wrap: pretty;
}

.content-head p {
  margin: 0;
}

.content-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
}

.content-copy p {
  margin: 0;
}

.content-copy p + p {
  margin-top: 18px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.content-card {
  min-height: 240px;
  padding: clamp(24px, 2.7vw, 38px);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 54px -46px rgba(15, 23, 42, 0.58);
}

.content-card__number {
  display: block;
  margin-bottom: 30px;
  color: #4b6bff;
  font-family: var(--font-rounded);
  font-size: 14px;
  font-weight: 700;
}

.content-card h2,
.content-card h3,
.process-item h3,
.proof-item h3,
.guide-body h3 {
  margin: 0;
  font-family: var(--font-rounded);
  font-size: clamp(23px, 2vw, 32px);
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.content-card p,
.process-item p,
.proof-item p {
  margin: 14px 0 0;
}

.content-card a {
  display: inline-flex;
  margin-top: 22px;
  color: #101010;
  font-weight: 700;
  text-underline-offset: 4px;
}

.portfolio-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 24px;
  border-radius: 6px;
  object-fit: cover;
  object-position: top;
}

.process-list {
  counter-reset: step;
  border-top: 1px solid rgba(10, 10, 10, 0.14);
}

.process-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 72px minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.14);
}

.process-item::before {
  content: counter(step, decimal-leading-zero);
  color: #4b6bff;
  font-family: var(--font-rounded);
  font-size: 15px;
  font-weight: 700;
}

.process-item p {
  margin-top: 0;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof-item {
  padding: 26px 0;
  border-top: 2px solid #101010;
}

.content-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  width: min(1120px, calc(100% - 2 * max(24px, 4.5vw)));
  margin: clamp(40px, 6vw, 88px) auto;
  padding: clamp(34px, 5vw, 70px);
  border-radius: 8px;
  color: #fff;
  background: #111827;
}

.content-cta p {
  max-width: 60ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.6;
}

.content-cta .content-button {
  min-width: 190px;
}

.guide-head {
  width: min(960px, calc(100% - 2 * max(24px, 4.5vw)));
  margin: 0 auto;
  padding: clamp(134px, 11vw, 170px) 0 clamp(44px, 6vw, 76px);
}

.guide-head__category {
  color: #4b6bff;
  font-family: var(--font-rounded);
  font-size: 14px;
  font-weight: 700;
}

.guide-head h1 {
  max-width: 18ch;
  margin: 16px 0 0;
  font-family: var(--font-rounded);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

.guide-head__lede {
  max-width: 70ch;
  margin: 24px 0 0;
  color: rgba(10, 10, 10, 0.68);
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.62;
}

.guide-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  color: rgba(10, 10, 10, 0.54);
  font-size: 14px;
}

.guide-media {
  display: block;
  width: min(1120px, calc(100% - 2 * max(24px, 4.5vw)));
  aspect-ratio: 16 / 8;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.guide-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: clamp(36px, 6vw, 92px);
  width: min(1060px, calc(100% - 2 * max(24px, 4.5vw)));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 100px) 0;
}

.guide-toc {
  position: sticky;
  top: 120px;
  align-self: start;
  padding-top: 6px;
}

.guide-toc strong {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-rounded);
  font-size: 14px;
}

.guide-toc a {
  display: block;
  padding: 7px 0;
  color: rgba(10, 10, 10, 0.62);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.guide-toc a:hover {
  color: #101010;
}

.guide-body h2 {
  margin-top: 58px;
  font-size: clamp(30px, 3.4vw, 46px);
  scroll-margin-top: 130px;
}

.guide-body h2:first-child {
  margin-top: 0;
}

.guide-body h3 {
  margin-top: 34px;
  font-size: clamp(22px, 2vw, 28px);
}

.guide-body p,
.guide-body ul,
.guide-body ol {
  margin: 18px 0 0;
}

.guide-body ul,
.guide-body ol {
  padding-left: 1.25em;
}

.guide-body li + li {
  margin-top: 10px;
}

.guide-callout {
  margin: 34px 0;
  padding: 26px;
  border-left: 4px solid #4b6bff;
  border-radius: 0 8px 8px 0;
  background: #e7f5fd;
}

.guide-callout strong {
  font-family: var(--font-rounded);
  font-size: 19px;
}

.simple-footer {
  width: min(1120px, calc(100% - 2 * max(24px, 4.5vw)));
  margin: 0 auto 24px;
  padding: 40px 0 24px;
  border-top: 1px solid rgba(10, 10, 10, 0.14);
}

.simple-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
}

.simple-footer__brand {
  font-family: var(--font-rounded);
  font-size: 30px;
  font-weight: 800;
}

.simple-footer__tagline {
  max-width: 54ch;
  margin-top: 12px;
  color: rgba(10, 10, 10, 0.6);
  font-size: 15px;
  line-height: 1.55;
}

.simple-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  max-width: 520px;
}

.simple-footer a {
  color: #101010;
  font-size: 14px;
  text-decoration: none;
}

.simple-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
  color: rgba(10, 10, 10, 0.5);
  font-size: 13px;
}

@media (width <= 900px) {
  .content-grid,
  .proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-card:last-child:nth-child(odd),
  .proof-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .process-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .process-item p {
    grid-column: 2;
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    padding: 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
  }

  .guide-toc strong {
    grid-column: 1 / -1;
  }
}

@media (width <= 768px) {
  .content-main > .content-hero:first-child {
    margin-top: 100px;
  }

  .content-hero {
    width: calc(100% - 2 * var(--side-pad));
    min-height: 560px;
    padding: 28px;
    background-position: 58% center;
  }

  .content-hero h1 {
    max-width: 13ch;
    font-size: clamp(42px, 10.5vw, 64px);
  }

  .content-hero__lede {
    font-size: 17px;
  }

  .content-band {
    padding: 62px var(--side-pad);
  }

  .content-head,
  .content-copy {
    grid-template-columns: 1fr;
  }

  .content-head {
    gap: 20px;
  }

  .content-cta {
    grid-template-columns: 1fr;
    width: calc(100% - 2 * var(--side-pad));
    align-items: start;
  }

  .content-cta .content-button {
    width: 100%;
  }

  .guide-head,
  .guide-media,
  .guide-layout,
  .simple-footer {
    width: calc(100% - 2 * var(--side-pad));
  }

  .guide-head {
    padding-top: 120px;
  }

  .guide-head h1 {
    font-size: clamp(40px, 10vw, 60px);
  }

  .guide-media {
    aspect-ratio: 4 / 3;
  }

  .simple-footer__top {
    grid-template-columns: 1fr;
  }

  .simple-footer__nav {
    justify-content: flex-start;
  }
}

@media (width < 560px) {
  .content-hero {
    min-height: 500px;
    padding: 24px;
  }

  .content-hero h1 {
    font-size: clamp(36px, 10.5vw, 48px);
    line-height: 1;
  }

  .content-actions,
  .content-grid,
  .proof-row {
    grid-template-columns: 1fr;
  }

  .content-actions {
    display: grid;
  }

  .content-button {
    width: 100%;
  }

  .content-card,
  .content-card:last-child:nth-child(odd),
  .proof-item:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-item p {
    grid-column: auto;
  }

  .guide-toc {
    grid-template-columns: 1fr;
  }

  .simple-footer__bottom {
    flex-direction: column;
  }
}

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