﻿@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-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: "Unbounded";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/unbounded-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;
}

:root {
  --bg: #f5f1e8;
  --bg-soft: #ebe3d4;
  --ink: #101315;
  --muted: #555851;
  --line: rgba(16, 19, 21, 0.12);
  --line-strong: rgba(16, 19, 21, 0.22);
  --paper: #fffaf0;
  --paper-strong: #ffffff;
  --red: #97292b;
  --red-dark: #671a1f;
  --gold: #81511f;
  --green: #173f38;
  --shadow: 0 24px 70px rgba(16, 19, 21, 0.14);
  --radius: 8px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 250, 240, 0.14);
  background: rgba(16, 19, 21, 0.68);
  color: #fffaf0;
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.38);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.1);
  color: #fffaf0;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  color: rgba(255, 250, 240, 0.8);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fffaf0;
}

.nav-action {
  padding: 10px 14px;
  border: 1px solid rgba(255, 250, 240, 0.3);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: var(--radius);
  background: transparent;
  color: #fffaf0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 88svh;
  overflow: hidden;
  background: #101315;
  color: #fffaf0;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(110deg, rgba(16, 19, 21, 0.98) 0%, rgba(16, 19, 21, 0.88) 40%, rgba(16, 19, 21, 0.42) 73%, rgba(16, 19, 21, 0.7) 100%),
    linear-gradient(180deg, rgba(185, 49, 50, 0.2), rgba(23, 63, 56, 0.2));
  content: "";
}

.hero-photo {
  position: absolute;
  z-index: -2;
  right: max(0px, calc((100vw - var(--container)) / 2 - 20px));
  bottom: 0;
  width: min(46vw, 560px);
  min-width: 360px;
  opacity: 0.86;
}

.hero-photo img {
  width: 100%;
  max-height: 86svh;
  object-fit: contain;
  object-position: bottom right;
  filter: saturate(0.96) contrast(1.03);
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 26%;
  background: linear-gradient(180deg, rgba(16, 19, 21, 0), #101315);
}

.hero-content {
  display: flex;
  min-height: 88svh;
  max-width: var(--container);
  flex-direction: column;
  justify-content: center;
  padding: 112px 0 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #efc37a;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Unbounded", "Manrope", sans-serif;
  letter-spacing: 0;
  line-height: 1.05;
  text-wrap: pretty;
}

h1 {
  max-width: 720px;
  font-size: 68px;
}

h2 {
  max-width: 760px;
  font-size: 36px;
}

h3 {
  font-size: 20px;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  background: var(--red);
  color: #fffaf0;
  box-shadow: 0 14px 38px rgba(185, 49, 50, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #cf3c3e;
}

.button-secondary {
  border-color: rgba(255, 250, 240, 0.28);
  background: rgba(255, 250, 240, 0.08);
  color: #fffaf0;
}

.hero-facts {
  display: grid;
  width: min(100%, 800px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 48px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.14);
  list-style: none;
}

.hero-facts li {
  min-height: 104px;
  padding: 20px;
  background: rgba(16, 19, 21, 0.54);
}

.hero-facts strong {
  display: block;
  color: #fffaf0;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.2;
}

.hero-facts span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 14px;
  line-height: 1.4;
}

.section {
  padding: 92px 0;
}

.intro-section {
  background: var(--bg);
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 38px;
}

.section-head p:not(.eyebrow),
.proof-copy p,
.contact-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.split-head {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  align-items: end;
}

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

.service-card,
.case-card,
.process-list article,
.lead-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 12px 30px rgba(16, 19, 21, 0.06);
}

.service-card {
  min-height: 286px;
  padding: 28px;
}

.service-number {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--gold);
  font-family: "Unbounded", "Manrope", sans-serif;
  font-weight: 700;
}

.service-card h3,
.process-list h3 {
  margin-bottom: 14px;
}

.service-card p,
.case-body p,
.case-points,
.process-list p,
.faq-list p {
  margin: 0;
  color: var(--muted);
}

.cases-section {
  background: #fffaf0;
}

.case-list {
  display: grid;
  gap: 22px;
}

.fx-card {
  --fx-rgb: 96, 174, 255;
  --fx-x: 50%;
  --fx-y: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
  transform-style: preserve-3d;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.fx-card::before {
  position: absolute;
  inset: -35%;
  z-index: 0;
  background:
    radial-gradient(circle at var(--fx-x) var(--fx-y), rgba(var(--fx-rgb), 0.34), transparent 24%),
    linear-gradient(110deg, transparent 35%, rgba(var(--fx-rgb), 0.16) 47%, rgba(255, 255, 255, 0.1) 50%, transparent 64%);
  content: "";
  filter: blur(18px);
  opacity: 0.38;
  pointer-events: none;
  transform: translate3d(-10%, -4%, 0) rotate(8deg);
  animation: fx-card-glow 8s ease-in-out infinite alternate;
}

.fx-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.13), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.06));
  content: "";
  opacity: 0.36;
  pointer-events: none;
}

.fx-card > * {
  position: relative;
  z-index: 2;
}

.fx-card:hover,
.fx-card.is-pointer-active {
  border-color: rgba(var(--fx-rgb), 0.42);
  box-shadow:
    0 22px 70px rgba(var(--fx-rgb), 0.1),
    0 20px 70px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.fx-card--cyan {
  --fx-rgb: 74, 222, 255;
}

.fx-card--blue {
  --fx-rgb: 96, 174, 255;
}

.fx-card--violet {
  --fx-rgb: 170, 130, 255;
}

.fx-card--gold {
  --fx-rgb: 255, 190, 90;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  overflow: hidden;
  background: var(--paper-strong);
}

.case-media {
  display: block;
  min-height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: #ece5d8;
}

.case-media picture {
  display: block;
  height: 100%;
}

.case-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.case-media:hover img {
  transform: scale(1.025);
}

.case-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.case-kicker {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.case-body h3 {
  margin-bottom: 16px;
  font-size: 30px;
}

.case-points {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--red-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(103, 26, 31, 0.18);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.text-link::after {
  content: "â";
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--red);
  text-decoration-color: currentColor;
}

.proof-section {
  background: var(--ink);
  color: #fffaf0;
}

.proof-grid,
.faq-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.proof-section h2 {
  color: #fffaf0;
}

.proof-copy p {
  color: rgba(255, 250, 240, 0.78);
}

.proof-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.proof-metrics span,
.contact-tags span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: var(--radius);
  padding: 7px 12px;
  color: rgba(255, 250, 240, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.process-section {
  background: var(--bg-soft);
}

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

.process-list article {
  min-height: 270px;
  padding: 24px;
  background: rgba(255, 250, 240, 0.62);
}

.process-list span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 52px;
  border-radius: var(--radius);
  background: var(--green);
  color: #fffaf0;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 14px;
}

.faq-section {
  background: #fffaf0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  background: var(--paper-strong);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 900;
}

.faq-list p {
  padding: 0 22px 22px;
}

.contact-section {
  background: var(--green);
  color: #fffaf0;
}

.contact-section .eyebrow {
  color: #efc37a;
}

.contact-copy h2 {
  color: #fffaf0;
}

.contact-copy p {
  margin-top: 22px;
  color: rgba(255, 250, 240, 0.78);
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: #fffaf0;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #2f3430;
  font-size: 14px;
  font-weight: 900;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form textarea {
  min-height: 142px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(185, 49, 50, 0.13);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.agree {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.agree input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}

.form-button {
  width: 100%;
  cursor: pointer;
}

.form-button:disabled {
  cursor: progress;
  opacity: 0.7;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.form-status.is-ok {
  color: #17633f;
}

.form-status.is-error {
  color: var(--red-dark);
}

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: rgba(255, 250, 240, 0.72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  display: block;
  color: #fffaf0;
}

.footer-inner p {
  margin: 4px 0 0;
}

.footer-inner a {
  color: #fffaf0;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    top: 74px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 250, 240, 0.18);
    border-radius: var(--radius);
    background: rgba(16, 19, 21, 0.96);
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-action {
    border-color: rgba(255, 250, 240, 0.2);
  }

  .nav-toggle {
    display: block;
  }

  .hero-photo {
    right: -120px;
    width: 520px;
    min-width: 0;
    opacity: 0.54;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .service-grid,
  .process-list,
  .split-head,
  .proof-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-media {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px;
    background: #eee7da;
  }

  .case-media img {
    height: auto;
    border-radius: 6px;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .process-list article,
  .service-card {
    min-height: 0;
  }

  .process-list span {
    margin-bottom: 30px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 66px;
  }

  .site-nav {
    top: 66px;
    right: 14px;
    left: 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-content {
    min-height: 82svh;
    padding: 78px 0 24px;
  }

  .hero-photo {
    top: 122px;
    right: 14px;
    bottom: auto;
    width: 132px;
    height: 178px;
    overflow: hidden;
    border: 1px solid rgba(255, 250, 240, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.08);
    opacity: 0.72;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  }

  .hero-photo img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center top;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 29px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-lead {
    max-width: 460px;
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: row;
  }

  .hero .button {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
  }

  .hero-facts li {
    min-height: 82px;
    padding: 10px;
  }

  .hero-facts strong {
    font-size: 15px;
  }

  .hero-facts span {
    font-size: 11px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .service-card,
  .case-body,
  .lead-form {
    padding: 22px;
  }

  .case-media {
    padding: 10px;
  }

  .case-media picture {
    height: auto;
  }

  .case-media:hover img {
    transform: none;
  }

  .case-body h3 {
    font-size: 25px;
  }

  .proof-grid,
  .faq-grid,
  .contact-grid {
    gap: 32px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* SEO landing pages and missing homepage blocks, v3. */
.button-ghost {
  border-color: rgba(16, 19, 21, 0.14);
  background: rgba(255, 250, 240, 0.56);
  color: var(--ink);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 250, 240, 0.86);
}

.button-small {
  min-height: 42px;
  padding: 11px 15px;
  font-size: 14px;
}

.bullet-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card p {
  margin: 0;
}

.service-actions {
  margin-top: auto;
}

.strategy-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.84), rgba(240, 230, 215, 0.84)),
    #f1e7d8;
}

.insight-grid,
.fit-grid,
.related-grid,
.step-grid {
  display: grid;
  gap: 18px;
}

.insight-grid,
.related-grid,
.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.insight-card,
.fit-card,
.detail-card,
.mini-card,
.step-card,
.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 16px 38px rgba(16, 19, 21, 0.08);
}

.insight-card,
.fit-card,
.detail-card,
.mini-card,
.step-card {
  padding: 24px;
}

.insight-card h3,
.fit-card h3,
.detail-card h3,
.mini-card h3,
.step-card h3 {
  margin-bottom: 12px;
}

.insight-card p,
.fit-card p,
.detail-card p,
.mini-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
}

.fit-section {
  background: #fffaf0;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.case-actions .button {
  width: auto;
}

.page-body {
  background:
    linear-gradient(180deg, #0d1117 0, #0d1117 520px, #f4efe5 520px, #f4efe5 100%);
}

.page-hero {
  padding: 114px 0 54px;
  background: #0d1117;
  color: #fffaf0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  color: rgba(255, 250, 240, 0.6);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs a {
  color: rgba(255, 250, 240, 0.78);
  text-decoration: underline;
  text-decoration-color: rgba(239, 195, 122, 0);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: #fffaf0;
  text-decoration-color: rgba(239, 195, 122, 0.65);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.78fr);
  gap: 22px;
  align-items: stretch;
}

.page-hero-copy,
.page-summary-card,
.page-media-frame {
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.14), rgba(255, 250, 240, 0.05)),
    rgba(255, 250, 240, 0.04);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.page-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 46px);
}

.page-hero-copy h1 {
  max-width: 13.2ch;
  font-size: clamp(28px, 3.7vw, 50px);
  line-height: 1.04;
  text-wrap: balance;
}

.page-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 250, 240, 0.84);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.58;
}

.page-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.page-pills li {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.08);
  padding: 8px 12px;
  color: rgba(255, 250, 240, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.page-hero-side {
  display: grid;
  gap: 18px;
}

.page-summary-card {
  padding: 26px;
}

.page-summary-card h2,
.page-summary-card h3 {
  margin-bottom: 14px;
  color: #fffaf0;
  font-size: 24px;
}

.page-summary-card p {
  margin: 0;
  color: rgba(255, 250, 240, 0.76);
}

.summary-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 250, 240, 0.14);
  color: rgba(255, 250, 240, 0.72);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 250, 240, 0.82);
}

.check-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #efc37a;
  content: "";
}

.summary-metrics {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.summary-metrics div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 250, 240, 0.14);
}

.summary-metrics span {
  display: block;
  margin-bottom: 4px;
  color: #efc37a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-metrics strong {
  display: block;
  color: #fffaf0;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 18px;
  line-height: 1.3;
}

.page-media-frame {
  overflow: hidden;
  padding: 14px;
}

.page-media-frame img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #ece5d8;
}

.detail-section {
  padding: 78px 0;
}

.detail-surface {
  background: #ece1d2;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.74fr);
  gap: 22px;
  align-items: start;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sticky-card {
  position: sticky;
  top: 96px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.7);
  padding: 20px;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.2;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

.page-faq {
  display: grid;
  gap: 12px;
}

.page-faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 16px 38px rgba(16, 19, 21, 0.08);
}

.page-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

.page-faq p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.mini-card .eyebrow {
  margin-bottom: 10px;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-color: rgba(255, 250, 240, 0.08);
  background: #0f241f;
  color: #fffaf0;
  padding: 28px 30px;
}

.cta-band h2 {
  max-width: 720px;
  color: #fffaf0;
  font-size: clamp(28px, 4vw, 44px);
}

.cta-band p {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 250, 240, 0.76);
}

.section-tail {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin-top: 22px;
  color: var(--muted);
}

.section-tail p {
  margin: 0;
}

.section-tail a {
  color: var(--red-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(103, 26, 31, 0.16);
  text-underline-offset: 5px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.section-tail a:hover,
.section-tail a:focus-visible {
  color: var(--red);
  text-decoration-color: currentColor;
}

@media (max-width: 1040px) {
  .fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero-grid,
  .detail-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .sticky-card {
    position: static;
  }
}

@media (max-width: 980px) {
  .insight-grid,
  .related-grid,
  .step-grid,
  .card-grid.two-col,
  .metric-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 92px 0 40px;
  }

  .breadcrumbs {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .page-hero-copy,
  .page-summary-card,
  .page-media-frame,
  .insight-card,
  .fit-card,
  .detail-card,
  .mini-card,
  .step-card,
  .cta-band {
    padding: 22px;
  }

  .page-hero-copy h1 {
    max-width: 14ch;
    font-size: 27px;
  }

  .page-lead {
    font-size: 16px;
  }

  .page-pills {
    margin-top: 22px;
  }

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

  .detail-section {
    padding: 62px 0;
  }

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

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

  .fx-card,
  .fx-card::before {
    transform: none !important;
    animation: none !important;
  }
}

@keyframes fx-card-glow {
  from {
    opacity: 0.3;
    transform: translate3d(-14%, -6%, 0) rotate(8deg);
  }

  to {
    opacity: 0.5;
    transform: translate3d(14%, 6%, 0) rotate(8deg);
  }
}

@media (max-width: 768px) {
  .fx-card {
    transform: none !important;
  }

  .fx-card::before {
    filter: blur(14px);
    opacity: 0.3;
    animation-duration: 10s;
  }
}

/* Lead-focused adaptive layout, v2. */
body {
  background: #f4efe5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  background: rgba(13, 17, 23, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
  color: #fffaf0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 250, 240, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.06);
  padding: 6px;
}

.site-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 6px;
  padding: 9px 12px;
  color: rgba(255, 250, 240, 0.82);
  line-height: 1;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 250, 240, 0.09);
  color: #fffaf0;
}

.site-nav .nav-action {
  border: 0;
  background: var(--red);
  color: #fffaf0;
  box-shadow: 0 12px 28px rgba(185, 49, 50, 0.24);
}

.hero {
  min-height: auto;
  overflow: hidden;
  background: #0d1117;
  color: #fffaf0;
}

.hero::before,
.hero-shade {
  display: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.74fr);
  gap: 34px;
  align-items: stretch;
  padding: 76px 0 82px;
}

.hero-copy-panel {
  display: flex;
  min-height: 610px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.12), rgba(255, 250, 240, 0.045)),
    rgba(255, 250, 240, 0.03);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  padding: clamp(28px, 4vw, 52px);
}

.hero .eyebrow {
  color: #efc37a;
}

.hero h1 {
  max-width: none;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.04;
  text-wrap: pretty;
}

.hero-lead {
  max-width: 760px;
  color: rgba(255, 250, 240, 0.84);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.56;
}

.hero-actions {
  gap: 12px;
  margin-top: 32px;
}

.hero .button {
  min-height: 54px;
  padding: 15px 19px;
  border-radius: var(--radius);
}

.button-primary {
  background: linear-gradient(135deg, #cf3439, #a9252d);
}

.button-secondary {
  border-color: rgba(255, 250, 240, 0.24);
  background: rgba(255, 250, 240, 0.08);
}

.hero-facts {
  width: 100%;
  margin-top: 34px;
  border-color: rgba(255, 250, 240, 0.14);
  background: rgba(255, 250, 240, 0.12);
}

.hero-facts li {
  background: rgba(13, 17, 23, 0.62);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 610px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.15), rgba(255, 250, 240, 0.04)),
    rgba(255, 250, 240, 0.06);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  padding: 14px;
}

.hero-photo {
  position: static;
  z-index: auto;
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
  opacity: 1;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.98) contrast(1.02);
}

.hero-visual-badge {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: var(--radius);
  background: rgba(13, 17, 23, 0.78);
  padding: 16px 18px;
  backdrop-filter: blur(14px);
}

.hero-visual-badge span {
  display: block;
  margin-bottom: 4px;
  color: #efc37a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-visual-badge strong {
  display: block;
  color: #fffaf0;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 18px;
  line-height: 1.22;
}

.intro-section,
.cases-section,
.faq-section {
  background: #f4efe5;
}

.case-card {
  scroll-margin-top: 96px;
}

.contact-section {
  background: #0f241f;
}

.contact-grid {
  align-items: center;
}

.contact-copy {
  border: 1px solid rgba(255, 250, 240, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.055);
  padding: clamp(24px, 4vw, 42px);
}

.contact-copy h2 {
  max-width: 600px;
}

.contact-tags span {
  background: rgba(255, 250, 240, 0.06);
}

.lead-form {
  display: grid;
  width: 100%;
  gap: 16px;
  border: 1px solid rgba(16, 19, 21, 0.12);
  border-radius: var(--radius);
  background: #fffaf0;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #202521;
}

.lead-form input,
.lead-form textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(16, 19, 21, 0.18);
  border-radius: 6px;
  background: #fff;
  padding: 13px 14px;
}

.lead-form textarea {
  min-height: 140px;
}

.lead-form .agree {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
}

.lead-form .agree input {
  min-height: auto;
  padding: 0;
}

.lead-form .hidden-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
}

.site-footer {
  border-top: 1px solid rgba(255, 250, 240, 0.08);
  background:
    linear-gradient(135deg, rgba(185, 49, 50, 0.14), transparent 34%),
    linear-gradient(215deg, rgba(82, 176, 154, 0.12), transparent 34%),
    #0d1117;
  color: #fffaf0;
  padding: clamp(44px, 6vw, 78px) 0 28px;
}

.footer-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  border-top: 1px solid rgba(255, 250, 240, 0.12);
  border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  padding: clamp(30px, 5vw, 56px) 0;
}

.footer-cta h2 {
  max-width: 620px;
  color: #fffaf0;
  font-size: clamp(34px, 4.7vw, 62px);
}

.footer-cta p:not(.eyebrow) {
  max-width: 600px;
  margin: 18px 0 0;
  color: rgba(255, 250, 240, 0.74);
  font-size: 18px;
}

.footer-button {
  margin-top: 28px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.footer-col {
  min-height: 178px;
  border-left: 1px solid rgba(255, 250, 240, 0.14);
  padding-left: 18px;
}

.footer-col h3 {
  margin: 0 0 18px;
  color: #efc37a;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-top: 11px;
  color: rgba(255, 250, 240, 0.82);
  font-weight: 750;
  line-height: 1.38;
}

.footer-col a {
  text-decoration: underline;
  text-decoration-color: rgba(239, 195, 122, 0);
  text-underline-offset: 5px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #fffaf0;
  text-decoration-color: rgba(239, 195, 122, 0.7);
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  padding-top: 24px;
}

.footer-brand strong {
  color: #fffaf0;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 18px;
}

.footer-brand p,
.footer-meta {
  margin: 8px 0 0;
  color: rgba(255, 250, 240, 0.64);
}

.footer-brand p {
  max-width: 520px;
}

.footer-meta {
  margin: 0;
  white-space: nowrap;
}

.footer-top {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 6px;
  padding: 8px 13px;
  color: #fffaf0;
  font-weight: 850;
}

@media (min-width: 1041px) {
  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 18px;
  }

  .hero h1 {
    max-width: 14.4ch;
    font-size: clamp(28px, 3vw, 42px);
  }

  .page-hero-copy h1 {
    max-width: 14.4ch;
    font-size: clamp(24px, 2.6vw, 38px);
  }

  .case-body h3 {
    font-size: 24px;
  }

  .footer-cta h2 {
    font-size: clamp(28px, 3.2vw, 40px);
  }

  .cta-band h2 {
    font-size: clamp(24px, 3vw, 34px);
  }
}

@media (max-width: 1040px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 42px 0 64px;
  }

  .hero-copy-panel,
  .hero-visual {
    min-height: 0;
  }

  .hero-visual {
    height: min(74vw, 620px);
  }

  .footer-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    border-radius: var(--radius);
    background: rgba(13, 17, 23, 0.98);
    padding: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 66px;
  }

  .brand span:last-child {
    display: inline;
  }

  .brand {
    font-size: 14px;
  }

  .site-nav {
    top: 66px;
    right: 14px;
    left: 14px;
  }

  .hero-layout {
    padding: 26px 0 48px;
  }

  .hero-copy-panel {
    padding: 22px;
  }

  .hero h1 {
    max-width: 13.6ch;
    font-size: 34px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts li {
    min-height: 74px;
  }

  .hero-visual {
    height: auto;
    aspect-ratio: 4 / 5;
    padding: 10px;
  }

  .hero-visual-badge {
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 13px 14px;
  }

  .hero-visual-badge strong {
    font-size: 15px;
  }

  .contact-copy {
    padding: 22px;
  }

  .footer-panel {
    gap: 26px;
    padding: 30px 0;
  }

  .footer-cta h2 {
    font-size: 32px;
  }

  .footer-cta p:not(.eyebrow) {
    font-size: 16px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-col {
    min-height: 0;
    border-top: 1px solid rgba(255, 250, 240, 0.12);
    border-left: 0;
    padding: 18px 0;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-top {
    justify-content: center;
  }
}

