:root {
  --blue: #3180cf;
  --blue-2: #8ec4f5;
  --ink: #e8eef6;
  --muted: #a9b7c9;
  --bg: #070b14;
  --panel: rgba(8, 14, 26, 0.82);
  --line: rgba(232, 238, 246, 0.12);
  --header: 76px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Montserrat, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #071018;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue-2); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
main, .site-footer { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.6rem 4vw;
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
}
.brand img { height: 46px; width: auto; display: block; }
.nav-toggle {
  margin-left: auto;
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.3rem 1rem;
  margin-left: auto;
}
.nav a, .drop > button {
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
}
.header-cta { margin-left: 0.4rem; }

.drop { position: relative; }
.drop-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(440px, 78vw);
  padding: 0.8rem;
  background: rgba(8, 12, 22, 0.96);
  border: 1px solid rgba(49, 128, 207, 0.4);
  border-radius: 16px;
  display: grid;
  gap: 0.25rem;
}
.drop-panel[hidden] { display: none; }
.drop-label {
  margin: 0.55rem 0.4rem 0.15rem;
  color: var(--blue-2);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.drop-panel a {
  display: grid;
  gap: 0.1rem;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
}
.drop-panel a:hover { background: rgba(49, 128, 207, 0.14); }
.drop-panel a span { color: var(--muted); font-size: 0.82rem; font-weight: 400; }
.drop-panel a.sub { margin-left: 0.7rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.05rem 1.8rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.08rem;
  border: 0;
  cursor: pointer;
  line-height: 1.2;
}
.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.header-cta { padding: 0.85rem 1.25rem; font-size: 1rem; }

main { position: relative; z-index: 1; }
.wrap {
  width: min(1080px, calc(100% - 8vw));
  margin-inline: auto;
}
.section { padding: 5.5rem 0; }
#allitas {
  min-height: calc(100vh - var(--header));
  display: flex;
  align-items: flex-end;
  padding-bottom: 7vh;
}
.section h1, .section h2 { line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 0.8rem; }
.section h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); max-width: 16ch; }
#allitas h1 { max-width: none; }
.section h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.lead { font-size: 1.12rem; max-width: 42rem; }
.muted { color: var(--muted); }
.kicker {
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.3rem 1.35rem;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.section.is-lit .panel {
  border-color: rgba(49, 128, 207, 0.65);
  box-shadow: 0 0 36px rgba(49, 128, 207, 0.16);
}
.product-grid .panel:hover,
.addon-row .panel:hover,
.result-grid .panel:hover,
.guarantee .panel:hover,
.bonus-grid .panel:hover,
.price-grid .panel:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 128, 207, 0.9);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 44px rgba(49, 128, 207, 0.22);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.07s; }
.reveal:nth-child(3) { transition-delay: 0.14s; }
.reveal:nth-child(4) { transition-delay: 0.21s; }
.reveal:nth-child(5) { transition-delay: 0.28s; }

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

.marquee { overflow: hidden; margin-top: 1.4rem; }
.marquee-track {
  display: flex;
  gap: 0.8rem;
  width: max-content;
  animation: slide 64s linear infinite;
}
.logo-tile {
  width: 176px;
  height: 96px;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 6px;
}
.logo-tile img {
  max-width: 164px;
  max-height: 76px;
  object-fit: contain;
  background: transparent;
}
@keyframes slide { to { transform: translateX(-50%); } }

.product-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.9rem;
  margin-top: 1.2rem;
}
.product-main { grid-row: span 2; }
.addon-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 0.9rem;
}
.tag {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(49, 128, 207, 0.18);
  color: var(--blue-2);
  font-size: 0.75rem;
  font-weight: 600;
}
.price { font-size: 1.35rem; font-weight: 700; margin: 0.4rem 0; }

.result-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.9rem;
  margin-top: 1.2rem;
}
.result-grid article:nth-child(-n+3) { grid-column: span 2; }
.result-grid article:nth-child(4) { grid-column: 2 / span 2; }
.result-grid article:nth-child(5) { grid-column: 4 / span 2; }
.result-grid h3 {
  margin: 0 0 0.35rem;
  color: var(--blue-2);
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}
.result-grid p { margin: 0; }
.result-line {
  margin: 0.9rem 0 0;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: rgba(49, 128, 207, 0.14);
  border: 1px solid rgba(49, 128, 207, 0.32);
  font-weight: 600;
}

.price-single { margin-top: 1.1rem; }
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1rem;
}
.bonus h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.bonus p { margin: 0; }
.price-free {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: rgba(49, 128, 207, 0.2);
  border: 1px solid rgba(49, 128, 207, 0.45);
  color: var(--blue-2);
  font-weight: 700;
  font-size: 0.9rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1rem;
}
.quote {
  margin: 1rem 0 0;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--blue);
  border-radius: 0 16px 16px 0;
  background: rgba(8, 14, 26, 0.7);
}
.quote-grid .quote { margin-top: 0; }
.quote blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
}
.quote blockquote::before { content: "„"; }
.quote blockquote::after { content: "”"; }
.quote figcaption {
  margin-top: 0.6rem;
  color: var(--blue-2);
  font-size: 0.88rem;
  font-weight: 600;
}

.lead-form { margin-top: 1.2rem; }
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0.9rem;
}
.field-wide { display: block; }
.lead-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
  resize: vertical;
  min-height: 6rem;
}
.lead-form .actions { margin-top: 0.4rem; }
.form-note { font-size: 0.85rem; margin: 0.9rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ioe-mark { width: 72px; height: 72px; float: right; }

.calc-grid, .two, .people, .price-grid, .guarantee {
  display: grid;
  gap: 0.9rem;
}
.calc-grid, .two, .price-grid { grid-template-columns: 1fr 1fr; margin-top: 1rem; }
.guarantee { grid-template-columns: 1fr 1fr; }
.people { grid-template-columns: 180px 1fr; align-items: center; }
.people img { width: 180px; height: 132px; object-fit: cover; border-radius: 14px; }

label { display: grid; gap: 0.35rem; margin-bottom: 0.75rem; font-size: 0.92rem; }
input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
}
.calc-out {
  min-height: 4.5rem;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.faq { display: grid; gap: 0.55rem; }
.faq button {
  width: 100%;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 600;
}
.faq .answer {
  padding: 0 0.2rem 0.4rem;
  color: var(--muted);
}
.faq .answer[hidden] { display: none; }

.contact-line { font-size: 1.15rem; }
.contact-line a { color: var(--ink); text-decoration: none; }

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  padding: 3.2rem 4vw 1.4rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(4, 6, 12, 0.72);
}
.footer-grid {
  width: min(1080px, calc(100% - 8vw));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 2rem 2.4rem;
  align-items: start;
}
.footer-contact h2 {
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-size: 1.7rem;
}
.footer-contact p { margin: 0.35rem 0; }
.footer-contact a { color: var(--ink); text-decoration: none; }
.social-row { display: flex; gap: 0.6rem; margin: 1rem 0 1.1rem; }
.social-row a {
  height: 44px;
  padding: 0 0.85rem 0 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}
.social-row a:hover { border-color: var(--blue); color: var(--blue-2); }
.social-row svg { width: 18px; height: 18px; fill: currentColor; }
.legal-links { display: grid; gap: 0.35rem; margin-top: 1.2rem; }
.legal-links a { color: var(--muted); letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 600; }
.footer-copy {
  width: min(1080px, calc(100% - 8vw));
  margin: 1.8rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.footer-form h2 { margin: 0 0 0.35rem; color: var(--ink); font-size: 1.7rem; }
.footer-form .lead-form { margin-top: 0.8rem; padding: 1rem 1.05rem; }
.footer-form .calendly-inline-widget {
  width: 100%;
  min-width: 0;
  height: 504px;
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #080e1a;
}
.other-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1.2rem;
}
.other-card {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  text-decoration: none;
  color: inherit;
}
.other-card h3 { margin: 0.2rem 0; }
.other-card p { margin: 0; color: var(--muted); }
.story { display: grid; gap: 0.85rem; margin-top: 1.2rem; }
.story article h3 { margin: 0 0 0.45rem; color: var(--blue-2); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.story article p { margin: 0; }
.story article .story-title {
  margin: 0 0 0.7rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-transform: none;
}
.story article .list { margin: 0.8rem 0 0; }
.cta-note { max-width: 42rem; margin: 0.75rem 0 0; }

.prose { max-width: 48rem; }
.prose h2 { font-size: 1.35rem; margin: 1.6rem 0 0.5rem; }
.prose h3 { font-size: 1.05rem; margin: 1.2rem 0 0.4rem; }
.prose p { margin: 0.35rem 0; }
.banner {
  border-left: 3px solid var(--blue);
  padding-left: 0.9rem;
  margin: 0 0 1rem;
}

.list { margin: 0.3rem 0 0.8rem; padding-left: 1.1rem; }
.list li { margin: 0.25rem 0; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    padding: 0.8rem 4vw 1rem;
    background: rgba(7, 11, 20, 0.96);
    flex-direction: column;
    align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .drop-panel { position: static; width: auto; }
  .header-cta { margin: 0.3rem 0 0; }
  .product-grid, .addon-row, .calc-grid, .two, .price-grid, .guarantee, .people, .result-grid,
  .bonus-grid, .quote-grid, .field-grid, .footer-grid, .other-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid, .footer-copy { width: min(1080px, calc(100% - 2rem)); }
  .result-grid article:nth-child(n) { grid-column: 1 / -1; }
  .product-main { grid-row: auto; }
  .wrap { width: min(1080px, calc(100% - 2rem)); margin-inline: auto; }
  .people img { width: 100%; height: auto; }
  .footer-form .calendly-inline-widget { height: 828px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .panel, .reveal { transition: none; }
  .reveal { opacity: 1; transform: none; }
}
