:root {
  --bg: #07162c;
  --bg-deep: #041020;
  --ink: #0a1730;
  --muted: #667085;
  --cream: #f7f6f1;
  --white: #ffffff;
  --lime: #b8f43d;
  --line: rgba(255, 255, 255, 0.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--white);
  background: var(--bg);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.page-glow {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
}

.page-glow--one {
  width: 520px;
  height: 520px;
  right: -170px;
  top: 80px;
  background: radial-gradient(circle, rgba(74, 143, 255, 0.16), transparent 68%);
}

.page-glow--two {
  width: 360px;
  height: 360px;
  left: -140px;
  top: 350px;
  background: radial-gradient(circle, rgba(184, 244, 61, 0.09), transparent 68%);
}

.site-header,
.hero,
.catalog,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--lime);
  border: 1px solid rgba(184, 244, 61, 0.5);
  border-radius: 12px;
  background: rgba(184, 244, 61, 0.08);
}

.brand__mark svg { width: 29px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.brand__text { display: grid; font-family: "Sora", sans-serif; line-height: 1; }
.brand__text strong { font-size: 17px; letter-spacing: -0.04em; }
.brand__text span { margin-top: 4px; color: var(--lime); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }

.site-header__tag {
  color: #9cabbe;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  min-height: 510px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 82px 0 94px;
  text-align: center;
}

.hero__eyebrow,
.section-label {
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.hero__eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(184, 244, 61, 0.1); }

.hero h1 {
  margin: 23px 0 20px;
  font-family: "Sora", sans-serif;
  font-size: clamp(48px, 7.2vw, 86px);
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.hero h1 span { color: var(--lime); }

.hero > p {
  max-width: 660px;
  margin: 0;
  color: #aeb9c8;
  font-size: 17px;
  line-height: 1.75;
}

.hero__shortcut {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  color: #e5ebf3;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.hero__shortcut svg { width: 18px; fill: none; stroke: var(--lime); stroke-width: 1.8; transition: transform 0.2s ease; }
.hero__shortcut:hover svg { transform: translateY(3px); }

.catalog {
  width: 100%;
  max-width: none;
  padding: 86px max(24px, calc((100vw - 1160px) / 2)) 100px;
  color: var(--ink);
  background: var(--cream);
}

.catalog__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 35px;
}

.section-label { display: block; margin-bottom: 9px; color: #557400; }

.catalog h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(30px, 4vw, 45px);
  letter-spacing: -0.045em;
}

.catalog__heading > p { margin: 0 0 5px; color: var(--muted); font-size: 13px; font-weight: 700; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  --accent: #0d63ce;
  --accent-soft: #eaf3ff;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #e1e4e8;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 7px 26px rgba(15, 28, 47, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 32%, white); box-shadow: 0 18px 36px rgba(15, 28, 47, 0.12); }
.product-card--ocean { --accent: #057c91; --accent-soft: #e4f6f7; }
.product-card--green { --accent: #17784d; --accent-soft: #e5f6ed; }
.product-card--purple { --accent: #6a4bc1; --accent-soft: #f0ebff; }

.product-card__top { display: flex; align-items: center; justify-content: space-between; }
.product-card__number { color: #a1a9b5; font-family: "Sora", sans-serif; font-size: 12px; font-weight: 700; }
.product-card__status { padding: 6px 9px; color: #426000; border-radius: 99px; background: #effbd7; font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

.product-card__icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 27px 0 23px;
  color: var(--accent);
  border-radius: 18px;
  background: var(--accent-soft);
}

.product-card__icon svg { width: 42px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.product-card__body { flex: 1; }
.product-card__category { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.product-card h3 { margin: 8px 0 10px; font-family: "Sora", sans-serif; font-size: 25px; line-height: 1.12; letter-spacing: -0.04em; }
.product-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.product-card__button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
  padding: 0 17px;
  color: #fff;
  border-radius: 11px;
  background: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.product-card__button:hover { filter: brightness(1.11); }
.product-card__button svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: transform 0.2s ease; }
.product-card__button:hover svg { transform: translateX(3px); }

.site-footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: #8493a7;
  font-size: 12px;
}

.site-footer > span { justify-self: end; }
.site-footer p { text-align: center; }
.brand--footer { color: #fff; }

@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card { min-height: 400px; }
}

@media (max-width: 640px) {
  .site-header, .hero, .site-footer { width: min(100% - 32px, 1160px); }
  .site-header { height: 86px; }
  .site-header__tag { display: none; }
  .hero { min-height: 470px; padding: 65px 0 78px; }
  .hero__eyebrow { max-width: 320px; justify-content: center; line-height: 1.6; }
  .hero h1 { max-width: 100%; font-size: clamp(40px, 12.5vw, 56px); }
  .hero > p { font-size: 15px; }
  .catalog { padding-top: 66px; padding-bottom: 70px; }
  .catalog__heading { align-items: start; flex-direction: column; gap: 10px; }
  .catalog__heading > p { margin: 0; }
  .card-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card { min-height: 390px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; padding: 40px 0; text-align: center; }
  .site-footer > span { justify-self: center; }
  .site-footer p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
