:root {
  --ink: #101114;
  --ink-2: #24272d;
  --muted: #6c717c;
  --line: #e6e8ec;
  --paper: #f8f8f5;
  --white: #ffffff;
  --red: #e72752;
  --red-dark: #be1439;
  --teal: #0fa3a0;
  --lime: #c8f05d;
  --shadow: 0 24px 70px rgba(16, 17, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(248, 248, 245, 0.9);
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  backdrop-filter: blur(18px);
  transition: min-height 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  box-shadow: 0 12px 40px rgba(16, 17, 20, 0.08);
}

.brand img {
  width: clamp(190px, 23vw, 330px);
  height: auto;
}

.nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta {
  background: var(--ink);
  color: var(--white);
  font-size: 0.92rem;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 150px clamp(20px, 5vw, 72px) 92px;
  color: var(--white);
  background: var(--ink);
}

#power-grid,
.hero-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-noise {
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 940px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1020px;
  margin: 0;
  font-size: clamp(3rem, 9vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.06rem, 2vw, 1.32rem);
}

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

.button.primary {
  min-height: 54px;
  padding: 0 24px;
  background: var(--red);
  color: var(--white);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.primary.dark {
  background: var(--ink);
}

.button.secondary {
  min-height: 54px;
  padding: 0 24px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 28px;
  left: clamp(20px, 5vw, 72px);
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-metrics div {
  min-height: 84px;
  padding: 18px 22px 0 0;
}

.hero-metrics span {
  display: block;
  margin-bottom: 6px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-metrics strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.94rem, 1.4vw, 1.08rem);
}

.section-band {
  background: var(--white);
}

.intro {
  padding: 82px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(260px, 1.5fr) minmax(260px, 1fr);
  gap: 34px;
  align-items: start;
}

.intro h2,
.section-heading h2,
.ai-panel h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro p:last-child,
.ai-panel p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.services {
  padding: 106px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(280px, 2fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 44px;
}

.section-heading.compact {
  display: block;
  margin-bottom: 0;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(16, 17, 20, 0.06);
}

.service-card.featured {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.service-card.featured p,
.service-card.featured li {
  color: rgba(255, 255, 255, 0.76);
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 50%;
  background: rgba(231, 39, 82, 0.1);
  color: var(--red);
}

.featured .service-icon {
  background: rgba(200, 240, 93, 0.13);
  color: var(--lime);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 1.5rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 26px 0 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-2);
  font-weight: 700;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.featured li::before {
  background: var(--lime);
}

.method {
  padding: 104px 0;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.25fr);
  gap: 70px;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.timeline span {
  color: var(--teal);
  font-weight: 950;
}

.timeline h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.ai-section {
  padding: 108px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 16% 12%, rgba(15, 163, 160, 0.36), transparent 28%),
    radial-gradient(circle at 88% 88%, rgba(231, 39, 82, 0.34), transparent 30%),
    var(--ink);
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 0.85fr);
  gap: 60px;
  align-items: center;
}

.ai-panel {
  max-width: 690px;
}

.ai-panel p {
  max-width: 620px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.76);
}

.signal-list {
  display: grid;
  gap: 14px;
}

.signal-list div {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.signal-list span {
  grid-row: span 2;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 8px rgba(200, 240, 93, 0.12);
}

.signal-list strong {
  font-size: 1.13rem;
}

.signal-list p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.contact {
  padding: 104px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.contact p {
  max-width: 620px;
  margin-top: 22px;
}

.contact-mail {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 20px;
  border-radius: 8px;
  color: var(--white);
  background: var(--red);
  box-shadow: var(--shadow);
  font-size: clamp(1.02rem, 2.2vw, 1.45rem);
  font-weight: 900;
  overflow-wrap: anywhere;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease;
}

.contact-mail:hover {
  transform: translateY(-3px);
  background: var(--red-dark);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #090a0c;
}

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

.site-footer img {
  width: min(290px, 56vw);
  height: auto;
  padding: 12px;
  background: var(--white);
}

address {
  margin: 0;
  font-style: normal;
  text-align: right;
}

address strong {
  color: var(--white);
}

address a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .brand img {
    width: min(260px, 58vw);
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto;
    padding-top: 4px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 900px;
    padding-top: 164px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 6.4rem);
  }

  .hero-metrics,
  .intro-grid,
  .section-heading,
  .service-grid,
  .method-layout,
  .ai-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 56px;
  }

  .hero-metrics div {
    min-height: auto;
    padding: 16px 0;
  }

  .service-card {
    min-height: 360px;
  }

  .method-layout,
  .ai-layout {
    gap: 42px;
  }

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

  address {
    text-align: left;
  }
}

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

  .site-header {
    padding: 12px 14px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 13px;
  }

  .hero {
    min-height: auto;
    padding: 148px 16px 42px;
  }

  .hero h1 {
    font-size: clamp(2.86rem, 15vw, 5rem);
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-actions {
    display: grid;
  }

  .button,
  .button.primary,
  .button.secondary {
    width: 100%;
    min-height: 52px;
    white-space: normal;
    text-align: center;
  }

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

  .intro,
  .services,
  .method,
  .ai-section,
  .contact {
    padding: 70px 0;
  }

  .intro h2,
  .section-heading h2,
  .ai-panel h2,
  .contact h2 {
    font-size: clamp(2.05rem, 11vw, 3.3rem);
  }

  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .timeline li {
    grid-template-columns: 54px 1fr;
  }
}

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