:root {
  color-scheme: light;
  --ink: #132033;
  --muted: #526073;
  --blue: #4277f0;
  --blue-dark: #1d4fb9;
  --gold: #ffc83d;
  --white: #ffffff;
  --line: #dfe7f4;
  --shadow: 0 24px 60px rgba(11, 32, 71, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #f7f9fc;
  color: var(--ink);
  font-family: Montserrat, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

body.modal-locked {
  height: 100vh;
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
  background: #fff;
}

.site-header {
  position: relative;
  z-index: 8;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(16, 34, 59, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  width: 126px;
}

.header-nav {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
  color: #1d2736;
  font-size: 0.93rem;
  font-weight: 700;
}

.header-nav a {
  text-decoration: none;
}

.header-cta,
.button,
.cookie-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.header-cta,
.button.primary,
.cookie-button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(66, 119, 240, 0.32);
}

.header-cta {
  min-height: 44px;
  padding: 10px 18px;
}

.hero {
  min-height: calc(100vh - 72px);
  background: url("assets/header-bg.jpg") center right / cover no-repeat;
}

.hero-overlay {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 56px 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 32%, rgba(255, 255, 255, 0.28) 64%, rgba(255, 255, 255, 0) 100%);
}

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

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(20, 33, 52, 0.12);
  font-weight: 900;
}

.stars {
  color: var(--gold);
  letter-spacing: 0;
}

.discount {
  display: inline-flex;
  margin-bottom: 10px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  padding: 4px 14px;
  color: var(--blue);
  font-size: 2.2rem;
  font-weight: 950;
  line-height: 1;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: 4.1rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.lead {
  margin-bottom: 24px;
  color: #1b293a;
  font-size: 1.15rem;
  font-weight: 600;
}

.proof-list {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  color: #1b293a;
  font-weight: 800;
}

.proof-list li {
  position: relative;
  padding-left: 30px;
}

.proof-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(66, 119, 240, 0.14);
}

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

.button.secondary,
.cookie-button.secondary {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: inset 0 0 0 2px var(--line);
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(14, 26, 44, 0.58);
  backdrop-filter: blur(6px);
}

.cookie-modal {
  position: relative;
  width: min(520px, 100%);
  border-radius: 12px;
  padding: 30px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.cookie-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eef3ff;
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 900;
}

.cookie-modal h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.12;
}

.cookie-modal p {
  color: var(--muted);
  font-size: 1rem;
}

.cookie-modal a {
  color: var(--blue-dark);
  font-weight: 900;
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .hero {
    background-image: url("assets/header-bg-mobile.webp");
    background-position: center bottom;
  }

  .hero-overlay {
    align-items: start;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 45%, rgba(255, 255, 255, 0.2) 100%);
  }

  h1 {
    font-size: 3rem;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 17px;
  }

  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .header-cta {
    display: none;
  }

  .logo-link {
    width: 112px;
  }

  .hero,
  .hero-overlay {
    min-height: calc(100vh - 64px);
  }

  .hero-overlay {
    padding: 34px 0 46px;
  }

  h1 {
    font-size: 2.15rem;
  }

  .discount {
    font-size: 1.65rem;
  }

  .lead {
    font-size: 1.02rem;
  }

  .hero-actions,
  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .cookie-button {
    width: 100%;
  }

  .cookie-modal {
    padding: 28px 18px 20px;
  }
}
