:root {
  --bg: #E5E9F0;
  --surface: #ECEFF4;
  --text: #2E3440;
  --muted: #4C566A;
  --primary: #5E81AC;
  --secondary: #81A1C1;
  --accent: #BF616A;
  --border: rgba(46, 52, 64, 0.1);
  --nav-bg: #2E3440;
  --max-w: 1200px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
  --hand: "Brush Script MT", "Segoe Script", cursive;
  --mono: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.has-bottom-nav {
  padding-bottom: 52px;
}

body.nav-open {
  overflow: hidden;
}

main {
  flex: 1 0 auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.disclosure-bar {
  width: 100%;
  padding: 6px 16px;
  text-align: center;
}

.disclosure-bar p {
  font-size: 10px;
  line-height: 1.45;
  color: var(--muted);
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero {
  position: relative;
  background: var(--bg);
  padding: 60px 24px;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hero__bg-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 700px);
  max-height: 420px;
  object-fit: contain;
  opacity: 0.18;
  filter: grayscale(100%);
  z-index: 1;
  pointer-events: none;
}

.hero__scribble {
  font-family: var(--hand);
  font-size: 1.4rem;
  color: var(--accent);
  transform: rotate(-4deg);
  display: inline-block;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
}

.hero__subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  font-family: var(--sans);
}

@media (max-width: 768px) {
  .hero {
    padding: 32px 20px;
  }

  .hero__bg-img {
    display: none;
  }
}

.offers-section {
  padding: 64px 24px;
  background-image: url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  position: relative;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46, 52, 64, 0.82);
}

.offers-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
}

.offers-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--surface);
  margin-bottom: 8px;
  font-family: var(--serif);
}

.offers-intro {
  color: #D8DEE9;
  font-size: 0.875rem;
  margin-bottom: 32px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #1e1b1b 0%, #0f172a 100%);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.offer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 100px;
  margin: 16px auto 0;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.offer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.offer-body {
  padding: 16px 20px 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offer-name {
  font-size: 1.125rem;
  color: #f8fafc;
  margin-bottom: 8px;
}

.offer-bonus-wrap {
  margin-bottom: 12px;
}

.offer-bonus {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fde047;
  line-height: 1.4;
  word-break: break-word;
}

.offer-terms {
  display: block;
  font-size: 0.6875rem;
  color: #94a3b8;
  margin-top: 4px;
}

.offer-desc {
  font-size: 0.6875rem;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 12px;
  text-align: left;
}

.offer-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #e0f2fe;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.2s ease;
}

.offer-cta:hover {
  background: rgba(14, 165, 233, 0.35);
  opacity: 1;
}

.info-section {
  padding: 56px 24px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.info-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.info-section h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 14px;
  color: var(--text);
}

.info-section p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.zine-tag {
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: inline-block;
  background: var(--surface);
  padding: 2px 8px;
  border: 1px dashed var(--border);
  transform: rotate(-1deg);
}

.decor-wrap {
  max-width: 500px;
  max-height: 320px;
  overflow: hidden;
  position: relative;
}

.decor-wrap img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.info-1__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.info-1__visual {
  position: relative;
}

.info-1__visual .decor-wrap {
  transform: rotate(2deg);
  box-shadow: 8px 12px 0 var(--secondary);
  border: 2px solid var(--text);
}

.info-1__note {
  position: absolute;
  bottom: -12px;
  right: -8px;
  font-family: var(--hand);
  font-size: 1.1rem;
  color: var(--accent);
  transform: rotate(6deg);
  background: var(--surface);
  padding: 4px 10px;
}

.info-2__band {
  background: var(--surface);
  padding: 32px;
  border-left: 5px solid var(--accent);
  position: relative;
}

.info-2__band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(46, 52, 64, 0.03) 3px, rgba(46, 52, 64, 0.03) 4px);
  pointer-events: none;
}

.info-2__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.info-2__list li {
  list-style: none;
  padding: 10px 14px;
  background: var(--bg);
  font-size: 0.8125rem;
  border: 1px solid var(--border);
}

.info-3__split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.info-3__split .decor-wrap {
  transform: rotate(-3deg);
  filter: contrast(1.1);
  border: 1px solid var(--border);
}

.info-4__mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.info-4__aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-4__chip {
  padding: 12px;
  background: var(--surface);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  border: 1px solid var(--border);
  transform: rotate(var(--r, 0deg));
}

.info-4__chip:nth-child(1) { --r: -2deg; }
.info-4__chip:nth-child(2) { --r: 1deg; }
.info-4__chip:nth-child(3) { --r: -1deg; }

.info-5__quote {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  align-items: center;
}

.info-5__big {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  opacity: 0.25;
}

.info-6__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.info-6__step {
  flex: 1;
  min-width: 140px;
  padding: 14px;
  background: var(--surface);
  border: 1px dashed var(--primary);
  font-size: 0.8125rem;
  text-align: center;
}

.info-7__overlap {
  position: relative;
  padding-top: 20px;
}

.info-7__overlap .decor-wrap {
  float: right;
  margin: 0 0 16px 24px;
  max-width: 320px;
  transform: rotate(2deg);
  shape-outside: margin-box;
}

.info-8__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.info-8__cell {
  padding: 16px;
  background: var(--surface);
  font-size: 0.8125rem;
  border-top: 3px solid var(--accent);
}

.info-9__live {
  display: grid;
  grid-template-columns: auto 1fr 280px;
  gap: 24px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .info-9__live {
    grid-template-columns: 1fr;
  }
}

.info-9__pulse {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.92); }
}

.info-10__phone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.info-10__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.info-10__spec {
  padding: 12px;
  background: var(--bg);
  font-size: 0.75rem;
  border: 1px solid var(--border);
  font-family: var(--mono);
}

@media (max-width: 768px) {
  .info-1__layout,
  .info-3__split,
  .info-4__mosaic,
  .info-5__quote,
  .info-10__phone {
    grid-template-columns: 1fr;
  }

  .info-2__list {
    grid-template-columns: 1fr;
  }

  .info-8__grid {
    grid-template-columns: 1fr;
  }

  .info-7__overlap .decor-wrap {
    float: none;
    margin: 20px auto 0;
  }

  .decor-wrap {
    max-width: 100%;
  }
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 52px;
  background: var(--nav-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 2px;
}

.bottom-nav__logo {
  flex-shrink: 0;
  margin-right: 6px;
}

.bottom-nav__logo img {
  height: 24px;
  width: auto;
}

.bottom-nav__links {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 1px;
  min-width: 0;
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 3px 4px;
  color: #A3BE8C;
  font-size: 10px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.bottom-nav__item:hover {
  color: var(--secondary);
  opacity: 1;
}

.bottom-nav__item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.bottom-nav__item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.bottom-nav__item--more {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  color: #A3BE8C;
}

.bottom-nav__item--hidden-mobile {
  display: none;
}

.nav-more-menu {
  display: none;
  position: fixed;
  bottom: 52px;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px 16px;
  z-index: 199;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.nav-more-menu.open {
  display: grid;
}

.nav-more-menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  color: #A3BE8C;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-more-menu a:hover {
  color: var(--secondary);
}

.nav-more-menu svg {
  width: 16px;
  height: 16px;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(46, 52, 64, 0.5);
  z-index: 198;
}

.nav-overlay.open {
  display: block;
}

@media (min-width: 901px) {
  .bottom-nav__item--hidden-mobile {
    display: flex;
  }

  .bottom-nav__item--more,
  .nav-more-menu {
    display: none !important;
  }
}

.site-footer {
  background: var(--nav-bg);
  color: #D8DEE9;
  padding: 40px 24px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.8125rem;
  color: #A3BE8C;
  max-width: 380px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-nav a {
  font-size: 0.8125rem;
  color: #A3BE8C;
}

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

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-badges img {
  height: 40px;
  width: auto;
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.75rem;
  color: #4C566A;
}

.footer-cookie-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--secondary);
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(46, 52, 64, 0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(46, 52, 64, 0.2);
}

.modal-box h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.modal-box p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(46, 52, 64, 0.12);
  padding: 16px 24px;
}

body.has-bottom-nav .cookie-banner.active {
  bottom: 52px;
}

.cookie-banner.active {
  display: block;
}

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-inner p {
  flex: 1;
  min-width: 220px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.subpage-header {
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 24px;
}

.subpage-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.subpage-header__logo img {
  height: 30px;
  width: auto;
}

.content-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.content-page h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.content-page h2 {
  font-size: 1.125rem;
  margin: 28px 0 10px;
}

.content-page p,
.content-page li {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 12px;
}

.content-page ul {
  padding-left: 1.25rem;
  margin-bottom: 16px;
}

.contact-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 0.9375rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  display: none;
  color: var(--accent);
  font-size: 0.8125rem;
}

.form-error.visible {
  display: block;
}

.contact-success {
  display: none;
  padding: 24px;
  background: rgba(94, 129, 172, 0.1);
  border: 1px solid var(--primary);
  text-align: center;
}

.contact-success.visible {
  display: block;
}

.contact-success p {
  color: var(--text);
  font-weight: 600;
}

body.go-redirect {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.go-page {
  text-align: center;
  padding: 48px 24px;
  max-width: 520px;
}

.go-ad {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.go-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.go-page h1 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.go-page > p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 8px;
}

.go-compliance {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.go-compliance p {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.error-page {
  text-align: center;
  padding: 80px 24px;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--primary);
  font-family: var(--mono);
}

.error-page p {
  color: var(--muted);
  margin: 16px 0 28px;
}

@media (max-width: 768px) {
  .offer-logo {
    width: 180px;
    height: 90px;
  }

  .offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .offer-bonus {
    font-size: 0.8125rem;
  }
}

@media (max-width: 375px) {
  .info-1__note {
    right: 0;
    bottom: -8px;
    font-size: 0.95rem;
  }

  .info-1__visual .decor-wrap {
    transform: none;
    box-shadow: 4px 6px 0 var(--secondary);
    max-width: 100%;
  }

  .info-3__split .decor-wrap,
  .info-7__overlap .decor-wrap,
  .info-9__live .decor-wrap,
  .info-10__phone .decor-wrap {
    max-width: 100%;
    transform: none;
  }

  .info-7__overlap .decor-wrap {
    float: none;
    margin: 16px auto 0;
  }

  .decor-wrap img {
    max-width: 100%;
    max-height: 240px;
    object-fit: cover;
  }

  .info-section {
    overflow-x: hidden;
  }
}

@media (max-width: 700px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}
