:root {
  --ink: #182b56;
  --bg: #f3eef0;
  --line: #d8d3d6;
  --cta: #111f63;
  --cta-text: #ffffff;
  --accent: #f2c63f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.top-line {
  height: 10px;
  background: var(--accent);
}

.hero-page {
  width: min(1320px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.4rem 0 2rem;
}

.hero-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.42rem;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.hero-block {
  margin-top: 2.1rem;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 2.2rem;
}

h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 6.1vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero-copy p {
  margin: 1rem 0 0;
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 60ch;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.35rem;
  background: var(--cta);
  color: var(--cta-text) !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.12rem;
  border-radius: 999px;
  padding: 1rem 2rem;
  min-width: 320px;
  border: 2px solid var(--cta);
}

.cta-btn:hover {
  filter: brightness(1.08);
}

.hero-art {
  display: flex;
  justify-content: center;
  perspective: 900px;
}

.hero-art img {
  width: min(100%, 510px);
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 28px #00000020;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  transition: transform 320ms ease, box-shadow 320ms ease, filter 320ms ease;
  will-change: transform;
}

.hero-art:hover img {
  transform: translate3d(0, -10px, 0) rotate(1.2deg) scale(1.02);
  box-shadow: 0 24px 46px #0000002f;
  filter: saturate(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .hero-art img {
    transition: none;
  }

  .hero-art:hover img {
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-block {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    width: min(100%, 440px);
  }
}

@media (max-width: 640px) {
  .hero-page {
    width: calc(100% - 1.3rem);
    padding-top: 1rem;
  }

  .hero-block {
    margin-top: 1.3rem;
  }

  .cta-btn {
    width: 100%;
    min-width: 0;
    font-size: 1.02rem;
    padding: 0.9rem 1.2rem;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3.25rem);
    line-height: 1;
  }

  .brand {
    font-size: 1.2rem;
  }
}
