:root {
  --canvas: #ffffff;
  --soft: #f7f7f7;
  --card: #fafafa;
  --line: #e6e6e6;
  --line-strong: #cccccc;
  --ink: #262626;
  --body: #3c3c3c;
  --muted: #6b6b6b;
  --muted-soft: #9a9a9a;
  --dark: #1a2129;
  --dark-raised: #262e38;
  --blue: #1c69d4;
  --blue-active: #0653b6;
  --green: #35ff14;
  --purple: #8d29ff;
  --white: #ffffff;
  --section: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 48px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(38, 38, 38, 0.08);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.site-header.scrolled,
.site-header.open {
  border-color: var(--line);
}

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

.brand {
  width: 144px;
  display: inline-flex;
  align-items: center;
}

.brand-logo-light {
  display: none;
}

.brand-logo-dark {
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.desktop-nav a {
  position: relative;
  padding: 22px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 0 32px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-active);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: var(--canvas);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.method .btn-secondary,
.contact .btn-secondary,
.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
  color: var(--white);
}

.menu-button {
  width: 48px;
  height: 48px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--canvas);
}

.menu-button span {
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.open .menu-button span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.open .menu-button span:nth-child(2) {
  opacity: 0;
}

.site-header.open .menu-button span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding: 128px 0 80px;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 33, 41, 0.98) 0%, rgba(26, 33, 41, 0.9) 42%, rgba(26, 33, 41, 0.42) 74%, rgba(26, 33, 41, 0.2) 100%),
    url("assets/wallpaper-onmid.jpg") center / cover;
}

.hero-person {
  position: absolute;
  right: max(-80px, calc((100vw - 1440px) / 2 - 120px));
  bottom: 0;
  width: min(51vw, 760px);
  min-width: 520px;
  z-index: 1;
}

.hero-shade {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow,
.method .eyebrow,
.split-band .eyebrow,
.contact .eyebrow {
  color: var(--green);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  max-width: 860px;
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 400;
}

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

.hero-metrics {
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-metrics span {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px 24px 20px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.hero-metrics span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 24px;
}

.hero-metrics strong {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
}

.clients-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

.clients-inner {
  display: grid;
  gap: 18px;
}

.clients-inner > p {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-marquee {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.client-marquee span {
  min-height: 64px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0 12px;
  color: var(--body);
  background: var(--canvas);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.section {
  padding: var(--section) 0;
}

.intro-section,
.proof,
.faq {
  background: var(--canvas);
  color: var(--ink);
}

.intro-grid,
.method-grid,
.faq-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 20px;
  color: var(--body);
  font-size: 1.06rem;
  font-weight: 400;
}

.section-header {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}

.section-header.compact {
  margin-bottom: 32px;
}

.services {
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.services-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card,
.quote-card,
.result-panel {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 24px;
  background: var(--canvas);
}

.service-card span {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-top: auto;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.service-card p,
.timeline p,
.quote-card p,
.faq-list p,
.split-grid p,
.contact-grid p {
  color: var(--body);
}

.method {
  background: var(--dark);
  color: var(--white);
}

.method-copy {
  position: sticky;
  top: 96px;
}

.method-copy p {
  max-width: 520px;
  margin: 20px 0 32px;
  color: rgba(255, 255, 255, 0.74);
}

.timeline {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline article {
  display: grid;
  grid-template-columns: 72px 1fr;
  column-gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 28px 0;
}

.timeline span {
  color: var(--green);
  font-size: 1.4rem;
  font-weight: 900;
}

.timeline p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.quote-card {
  background: var(--canvas);
}

.quote-card p {
  font-size: 1.05rem;
}

.quote-card strong {
  margin-top: auto;
  padding-top: 32px;
}

.quote-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.result-panel {
  justify-content: center;
  background: var(--card);
}

.result-panel span {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-panel strong {
  margin: 14px 0;
  color: var(--ink);
  font-size: clamp(4rem, 7vw, 6.6rem);
  font-weight: 900;
  line-height: 0.9;
}

.result-panel p {
  max-width: 340px;
}

.split-band {
  border-block: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--dark);
  color: var(--white);
}

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

.split-grid p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
}

.faq-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 22px 0;
  background: transparent;
}

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

.faq-list p {
  margin-top: 14px;
}

.contact {
  padding: var(--section) 0;
  background:
    linear-gradient(90deg, rgba(26, 33, 41, 0.96), rgba(26, 33, 41, 0.7)),
    url("assets/wallpaper-onmid.jpg") center / cover;
  color: var(--white);
}

.contact-grid {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 48px;
  background: rgba(26, 33, 41, 0.82);
}

.contact-grid h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.contact-grid p {
  max-width: 580px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  padding: 0 16px;
  background: var(--canvas);
  color: var(--ink);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.footer {
  padding: 64px 0;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 32px;
  align-items: center;
}

.footer img {
  width: 150px;
  filter: invert(1);
}

.footer p {
  max-width: 560px;
  color: var(--body);
}

.footer-links {
  display: flex;
  gap: 24px;
  color: var(--body);
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--blue);
}

@media (max-width: 1040px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .mobile-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--canvas);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .site-header.open .mobile-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav a {
    min-height: 54px;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 0 24px;
    color: var(--ink);
    font-weight: 900;
  }

  .mobile-nav .btn {
    margin: 16px 24px 24px;
    color: var(--white);
  }

  .hero {
    min-height: auto;
  }

  .hero-person {
    right: -190px;
    width: 650px;
    min-width: 0;
    opacity: 0.36;
  }

  .hero-metrics,
  .intro-grid,
  .method-grid,
  .faq-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .method-copy {
    position: static;
  }

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

  .services-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 20px;
  }

  .brand {
    width: 124px;
  }

  .hero {
    padding: 104px 0 64px;
  }

  .hero-person {
    right: -260px;
    width: 610px;
    opacity: 0.22;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-actions,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-metrics {
    margin-top: 40px;
  }

  .hero-metrics span {
    min-height: 88px;
    padding: 18px 0;
  }

  .hero-metrics span + span {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding-left: 0;
  }

  .client-marquee,
  .services-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .contact {
    padding: 64px 0;
  }

  .timeline article {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .contact-grid {
    padding: 28px 20px;
  }
}
