:root {
  color-scheme: light;
  --ink: #121212;
  --muted: #535b66;
  --paper: #f7fbfd;
  --panel: #ffffff;
  --line: #d5eaf1;
  --blue: #21a9d2;
  --blue-dark: #087ea2;
  --yellow: #ffe23a;
  --red: #df2029;
  --shadow: 0 24px 70px rgba(18, 18, 18, 0.14);
  --header-offset: 108px;
}

* {
  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.55;
  overflow-x: hidden;
}

main,
section,
header,
footer {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px clamp(20px, 5vw, 72px);
  background: rgba(247, 251, 253, 0.92);
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(86px, 10vw, 112px);
  height: auto;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--yellow);
}

.nav {
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--red);
}

.hero {
  position: relative;
  background:
    radial-gradient(circle at 83% 16%, rgba(255, 226, 58, 0.42), transparent 24%),
    linear-gradient(135deg, rgba(33, 169, 210, 0.17), rgba(255, 226, 58, 0.08) 42%, rgba(223, 32, 41, 0.08));
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(46px, 7vw, 86px) clamp(20px, 5vw, 72px) clamp(38px, 5vw, 70px);
  overflow: hidden;
}

.hero-copy {
  min-width: 0;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0.045em 0.045em 0 var(--yellow);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 2.15rem;
  line-height: 1;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 5px 5px 0 var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: clamp(430px, 47vw, 690px);
  margin: 0;
}

.hero-visual::before {
  position: absolute;
  inset: 12% 2% 9% 7%;
  content: "";
  background:
    linear-gradient(135deg, var(--yellow), rgba(255, 226, 58, 0.62) 42%, var(--blue));
  border: 3px solid var(--ink);
  border-radius: 999px 90px 999px 120px;
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(-7deg);
}

.hero-visual::after {
  content: none;
}

.hero-character {
  position: relative;
  display: block;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 30px 34px rgba(18, 18, 18, 0.24));
}

.hero-character-red {
  z-index: 2;
  width: min(92%, 660px);
  margin-left: auto;
}

.hero-character-blue {
  position: absolute;
  right: 44%;
  bottom: 0;
  z-index: 1;
  width: min(46%, 330px);
  transform: rotate(-8deg);
}

.section {
  position: relative;
  scroll-margin-top: var(--header-offset);
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

.section-intro {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.section-character {
  position: absolute;
  z-index: 0;
  display: block;
  width: clamp(150px, 21vw, 280px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 24px 28px rgba(18, 18, 18, 0.18));
}

.products-character {
  top: 12px;
  right: clamp(12px, 5vw, 72px);
  width: clamp(132px, 18vw, 240px);
  opacity: 0.84;
  transform: rotate(-4deg);
}

.product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.product-card {
  min-width: 0;
  min-height: 250px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 38px rgba(18, 18, 18, 0.06);
}

.product-card.accent {
  background: var(--blue);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.product-card p {
  color: var(--muted);
}

.product-card.accent p,
.product-card.accent .product-tag {
  color: rgba(255, 255, 255, 0.76);
}

.product-tag {
  display: block;
  margin-bottom: 48px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  background: #fff4a8;
}

.split > div {
  position: relative;
  z-index: 1;
}

.split-character {
  right: clamp(10px, 3vw, 42px);
  bottom: -80px;
  width: clamp(170px, 24vw, 340px);
  opacity: 0.78;
  transform: rotate(-11deg);
}

.benefits {
  display: grid;
  gap: 16px;
}

.benefits p {
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid rgba(18, 18, 18, 0.15);
  color: var(--muted);
}

.benefits strong {
  color: var(--ink);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  color: #fff;
  background:
    linear-gradient(100deg, var(--blue-dark), var(--blue) 58%, #14bddb);
}

.contact-band > div,
.contact-band .contact-link {
  position: relative;
  z-index: 1;
}

.contact-character {
  right: clamp(112px, 24vw, 380px);
  bottom: -104px;
  width: clamp(180px, 20vw, 310px);
  opacity: 0.34;
  transform: rotate(4deg);
}

.contact-band .eyebrow,
.contact-band p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-band h2 {
  max-width: 760px;
}

.contact-link {
  padding: 18px 22px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 5px 5px 0 var(--ink);
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 5vw, 72px);
  color: var(--muted);
}

.legal-grid strong {
  color: var(--ink);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer p {
  margin: 0;
}

.footer a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .legal-grid,
  .contact-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: auto;
  }

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

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

@media (max-width: 640px) {
  :root {
    --header-offset: 114px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .brand-logo {
    width: 86px;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    font-size: 0.86rem;
  }

  .nav a {
    margin-right: 12px;
  }

  .hero {
    padding-top: 36px;
    padding-right: 20px;
    padding-left: 20px;
    width: 100%;
    max-width: 100%;
    display: block;
  }

  .hero-copy,
  .hero-visual {
    width: 100%;
    max-width: min(100%, 350px);
  }

  .lead,
  .hero-actions,
  .button {
    max-width: min(100%, 350px);
  }

  .hero-visual {
    margin-top: 28px;
    min-height: 330px;
  }

  .hero-visual::before {
    inset: 18% 2% 8% 0;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .hero-character-red {
    width: min(104%, 380px);
    margin-left: -5%;
  }

  .hero-character-blue {
    right: -3%;
    bottom: 10px;
    width: min(44%, 150px);
  }

  .eyebrow {
    font-size: 0.72rem;
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(2.15rem, 13vw, 3.2rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

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

  .button {
    width: 100%;
  }

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

  .products-character {
    top: 18px;
    right: -28px;
    width: 118px;
    opacity: 0.2;
  }

  .product-card {
    min-height: 210px;
  }

  .split-character {
    right: -36px;
    bottom: -34px;
    width: 150px;
    opacity: 0.2;
  }

  .contact-character {
    right: -18px;
    bottom: -38px;
    width: 138px;
    opacity: 0.2;
  }

  .contact-link {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .footer {
    flex-direction: column;
  }
}
