:root {
  --bg: #070707;
  --ink: #f4f4f4;
  --muted: #b9b9b9;
  --line: rgba(255, 255, 255, 0.18);
  --wa: #2fce62;
  --wa-ink: #04150c;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Golos Text", "Segoe UI", sans-serif;
}

body.has-dock {
  padding-bottom: 84px;
}

a {
  color: inherit;
}

::selection {
  background: #fff;
  color: #000;
}

.nav {
  position: fixed;
  z-index: 4;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 28px;
}

.nav-side {
  display: flex;
  gap: 22px;
}

.nav-side-right {
  justify-content: flex-end;
}

.nav a {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav a:hover {
  opacity: 0.55;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav-side-right a:first-child {
  display: none;
}

.stage {
  position: relative;
  min-height: 100svh;
  padding: 108px 7vw 88px;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: min(52vw, 720px);
  height: 100%;
  margin: 0;
  pointer-events: none;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #070707 0%, rgba(7, 7, 7, 0.55) 18%, transparent 42%);
}

.stage-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Unbounded, Impact, sans-serif;
  font-size: clamp(40px, 4.5vw, 62px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.lead {
  max-width: 28rem;
  margin: 28px 0 0;
  color: #dedede;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 28px;
}

.wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 0;
  background: var(--wa);
  color: var(--wa-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.wa svg {
  width: 18px;
  height: 18px;
}

.wa:hover {
  background: #49db78;
}

.wa:focus-visible,
.nav a:focus-visible,
.phone:focus-visible,
.scroll:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.phone {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.phone:hover {
  opacity: 0.6;
}

.spine {
  position: absolute;
  top: 50%;
  right: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll:hover {
  color: #fff;
}

.reviews {
  padding: 88px 7vw 40px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 76px;
}

.reviews-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.reviews h2 {
  margin: 0;
  font-family: Unbounded, Impact, sans-serif;
  font-size: clamp(52px, 8vw, 112px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.reviews h2 a {
  color: inherit;
  text-decoration: none;
}

.reviews h2 a:hover {
  color: #4c8dff;
}

.review-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.review-link:hover img {
  outline: 1px solid #4c8dff;
  outline-offset: 4px;
}

.reviews-top p {
  max-width: 16rem;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  text-align: right;
}

.quotes,
.spread {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quotes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 28px;
  margin-bottom: 42px;
}

.quotes li {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.quotes p {
  margin: 0;
  color: #e6e6e6;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.spread {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

figure {
  margin: 0;
}

.spread img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.closer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding: 28px 0 18px;
  border-top: 1px solid var(--line);
}

.closer-line {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: #070707;
  border-top: 1px solid var(--line);
}

.dock .wa {
  width: 100%;
}

@media (max-width: 980px) {
  .quotes {
    grid-template-columns: 1fr 1fr;
  }

  .spread {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .nav {
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    height: 60px;
    padding: 0 16px;
    padding-top: env(safe-area-inset-top);
    mix-blend-mode: normal;
    background: rgba(7, 7, 7, 0.92);
  }

  .nav-side {
    gap: 14px;
  }

  .nav a {
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .nav-side:not(.nav-side-right) a:last-child {
    display: none;
  }

  .nav-side-right a:first-child {
    display: inline;
  }

  .logo {
    position: absolute;
    left: 50%;
    top: calc(50% + env(safe-area-inset-top) / 2);
    z-index: 1;
    transform: translate(-50%, -50%);
  }

  .logo img {
    height: 32px;
  }

  .stage {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100svh;
    padding: calc(72px + env(safe-area-inset-top)) 18px 28px;
  }

  .hero-photo {
    width: 100%;
  }

  .hero-photo img {
    object-position: center 12%;
  }

  .hero-photo::after {
    background: linear-gradient(180deg, rgba(7, 7, 7, 0.08) 0%, rgba(7, 7, 7, 0.45) 46%, rgba(7, 7, 7, 0.92) 72%, #070707 88%);
  }

  .stage-copy {
    max-width: none;
  }

  .spine,
  .scroll {
    display: none;
  }

  h1 {
    font-size: clamp(34px, 9.2vw, 46px);
  }

  .lead {
    max-width: none;
    margin-top: 16px;
    font-size: 15px;
  }

  .cta {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
  }

  .cta .wa,
  .closer .wa {
    width: 100%;
    min-height: 52px;
  }

  .phone {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .reviews {
    padding: 36px 18px 12px;
  }

  .reviews h2 {
    font-size: clamp(40px, 12vw, 64px);
  }

  .reviews-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .reviews-top p {
    margin: 0;
    text-align: left;
  }

  .quotes {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 28px;
  }

  .spread {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .closer {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
    padding-top: 22px;
  }
}

@media (max-width: 380px) {
  .nav a {
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .logo img {
    height: 26px;
  }

  h1 {
    font-size: clamp(30px, 8.4vw, 36px);
  }

  .spread {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .nav,
  .stage .kicker,
  .stage .lead,
  .stage .cta,
  .spine,
  .scroll {
    animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .nav {
    animation-duration: 0.6s;
  }

  .hero-photo img {
    animation: photo-in 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .stage .line > span {
    animation: line-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .stage .kicker {
    animation-delay: 0.08s;
  }

  .stage .line:nth-child(1) > span { animation-delay: 0.12s; }
  .stage .line:nth-child(2) > span { animation-delay: 0.24s; }
  .stage .line:nth-child(3) > span { animation-delay: 0.36s; }
  .stage .line:nth-child(4) > span { animation-delay: 0.48s; }

  .stage .lead { animation-delay: 0.62s; }
  .stage .cta { animation-delay: 0.78s; }
  .spine { animation-delay: 0.95s; }
  .scroll { animation-delay: 1.05s; }

  .wa {
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .wa:hover {
    transform: translateY(-2px);
  }

  .rise {
    opacity: 0;
    transform: translateY(28px);
  }

  .rise.in {
    animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--d, 0ms);
  }
}

h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

h1 .line > span {
  display: block;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes line-in {
  from {
    transform: translateY(115%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes photo-in {
  from {
    opacity: 0;
    transform: scale(1.08) translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
