:root { color-scheme: light dark; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; --logo-filter: invert(1) hue-rotate(180deg); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --logo-filter: invert(1) hue-rotate(180deg); }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: light-dark(#fff, #101824);
  color: light-dark(#142744, #eef3fa);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
.wrap {
  max-width: 1240px;
  margin: auto;
  padding: 0 32px;
}
header {
  border-bottom: 1px solid light-dark(#edf0f5, #304058);
}
.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand img, .footer-logo {
  display: block;
  width: clamp(85px, 15vw, 132px);
  filter: var(--logo-filter, none);
}
.theme-picker {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: light-dark(#f5f7fa, #26354a);
  font-size: 20px;
  flex-shrink: 0;
}
.theme-picker:focus-within { outline: 2px solid #5285fc; }
.theme-picker select {
  position: absolute;
  inset: 0;
  width: 100%;
  cursor: pointer;
  opacity: 0;
}
.links,
.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.links {
  color: light-dark(#617087, #b5c2d4);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: #2860ed;
  color: #fff;
  padding: 14px 23px;
  font-weight: 600;
}
.btn:hover {
  background: #194ed1;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
  padding: 75px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: light-dark(#eff4ff, #1c3258);
  color: light-dark(#3263de, #aac6ff);
  border: 1px solid light-dark(#e3ebff, #314b72);
  border-radius: 30px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
}
.dot {
  width: 6px;
  height: 6px;
  background: #3467ef;
  border-radius: 50%;
}
h1 {
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: -2.7px;
  margin: 23px 0 22px;
  font-weight: 750;
}
.intro {
  font-size: 17px;
  line-height: 1.8;
  color: light-dark(#758196, #b2bed0);
  max-width: 390px;
}
.ctas {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-top: 30px;
  font-size: 14px;
}
.ctas .btn {
  padding: 17px 23px;
}
.textlink {
  font-weight: 600;
}
.hero-art {
  position: relative;
  height: 485px;
  background: radial-gradient(ellipse, light-dark(#edf3ff, #253b60), transparent 70%);
}
.background-chart {
  position: absolute;
  inset: 75px -10px 0;
  width: 100%;
  height: 230px;
  opacity: 0.45;
}
.floating {
  position: absolute;
  background: light-dark(white, #1a2738);
  border: 1px solid light-dark(#e7ecf4, #31425c);
  box-shadow: 0 15px 45px #254e9b12;
  border-radius: 14px;
  padding: 22px;
}
.main-card {
  top: 35px;
  left: 40px;
  width: 330px;
  z-index: 2;
  transform: rotate(-3deg);
}
.floating-top {
  display: flex;
  gap: 12px;
  align-items: center;
}
.icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}
.orange {
  background: #fff1df;
  color: #f69a24;
}
.blue {
  background: #edf2ff;
  color: #4268df;
}
.purple {
  background: #f2edff;
  color: #9173d8;
}
.green {
  background: #e8f6ef;
  color: #3b9872;
}
.question {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}
.micro {
  font-size: 10px;
  color: light-dark(#99a4b3, #b1bfd0);
  margin-top: 4px;
}
.percentage {
  font-size: 43px;
  font-weight: 700;
  letter-spacing: -2px;
  margin: 15px 0 2px;
}
.prob-label {
  font-size: 11px;
  color: light-dark(#98a2b1, #b1bfd0);
}
.forecast-link {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 11px 8px;
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: light-dark(#3263de, #aac6ff);
  background: light-dark(#eff4ff, #1c3258);
}
.small-card {
  width: 248px;
  padding: 17px;
  z-index: 3;
}
.small-card .question {
  font-size: 12px;
}
.small-card .icon {
  width: 34px;
  height: 34px;
  font-size: 17px;
}
.small-card .percentage {
  font-size: 29px;
  margin: 10px 0 0;
}
.small-card .bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.card-two {
  right: -3px;
  top: 260px;
  transform: rotate(4deg);
}
.card-three {
  left: 8px;
  top: 375px;
  width: 260px;
  transform: rotate(-5deg);
}
.card-three .floating-top {
  align-items: start;
}
.card-three .percentage {
  font-size: 26px;
  margin: 0;
}
.section {
  padding: 16px 0 48px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
h2 {
  font-size: 27px;
  letter-spacing: -0.8px;
  margin: 0;
}
.demo {
  font-size: 12px;
  color: light-dark(#9aa4b2, #afbdce);
}
.filters {
  display: flex;
  gap: 10px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.filter {
  background: light-dark(#f5f7fa, #28364b);
  color: light-dark(#718096, #bbcadb);
  border: 0;
  border-radius: 7px;
  padding: 9px 17px;
  font-size: 12px;
}
.filter.active {
  background: #2860ed;
  color: white;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}
.forecast {
  border: 1px solid light-dark(#e5eaf1, #31425c);
  border-radius: 12px;
  padding: 18px;
  background: light-dark(white, #1a2738);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.forecast:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px #183d7410;
}
.forecast .floating-top {
  align-items: start;
  min-height: 62px;
  gap: 10px;
}
.forecast .question {
  font-size: 12px;
}
.forecast .icon {
  width: 36px;
  height: 36px;
  font-size: 19px;
}
.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.metric strong {
  font-size: 30px;
  letter-spacing: -1px;
}
.metric span {
  color: light-dark(#9ca6b3, #b1bfd0);
  font-size: 10px;
  display: block;
  margin-top: 3px;
}
.spark {
  width: 90px;
  height: 40px;
}
.forecast-footer {
  border-top: 1px solid light-dark(#f0f2f6, #304058);
  margin-top: 15px;
  padding-top: 11px;
  font-size: 10px;
  color: light-dark(#9da7b4, #b1bfd0);
  display: flex;
  justify-content: space-between;
}
.info {
  border-top: 1px solid light-dark(#edf0f5, #304058);
  padding: 42px 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 25px;
}
.step {
  font-size: 13px;
  line-height: 1.7;
  color: light-dark(#7a8698, #b2bed0);
}
.step strong {
  display: block;
  font-size: 15px;
  color: light-dark(#263a56, #edf2f8);
  margin-bottom: 7px;
}
.step b {
  color: #2860ed;
  margin-right: 8px;
}
footer {
  border-top: 1px solid light-dark(#edf0f5, #304058);
  padding: 24px 0;
  color: light-dark(#9ba5b4, #b1bfd0);
  font-size: 11px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.notice {
  font-size: 11px;
  margin-top: 12px;
  line-height: 1.7;
}
@media (min-width: 1400px) {
  .hero {
    padding: 95px 0;
  }
}
@media (max-width: 1050px) {
  h1 {
    font-size: 47px;
  }
  .links {
    gap: 18px;
  }
  .main-card {
    left: 5px;
    width: 295px;
  }
  .card-two {
    right: -5px;
    width: 220px;
  }
  .card-three {
    left: 0;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-art {
    transform: scale(0.93);
  }
  .wrap {
    padding: 0 24px;
  }
}
@media (max-width: 740px) {
  .nav {
    height: 73px;
  }
  .links {
    display: none;
  }
  .actions {
    gap: 15px;
  }
  .actions .btn {
    padding: 11px 17px;
  }
  .brand {
    font-size: 24px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0;
    gap: 25px;
  }
  h1 {
    font-size: 47px;
    max-width: 500px;
  }
  .intro {
    font-size: 16px;
  }
  .hero-art {
    width: 100%;
    max-width: 480px;
    margin: auto;
    transform: none;
  }
  .main-card {
    left: 20px;
    top: 25px;
    width: 300px;
  }
  .card-two {
    right: 0;
  }
  .card-three {
    left: 8px;
  }
  .section-head {
    align-items: start;
  }
  h2 {
    font-size: 23px;
  }
  .demo {
    max-width: 100px;
    text-align: right;
    font-size: 10px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .foot {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 420px) {
  .wrap {
    padding: 0 18px;
  }
  h1 {
    font-size: 42px;
    letter-spacing: -1.8px;
  }
  .ctas {
    gap: 17px;
    font-size: 12px;
  }
  .ctas .btn {
    padding: 15px 18px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .main-card {
    left: 0;
    width: 280px;
  }
  .card-two {
    width: 218px;
  }
  .card-three {
    width: 250px;
  }
  .actions {
    gap: 10px;
  }
  .filters {
    gap: 6px;
  }
  .filter {
    padding: 8px 12px;
  }
}

@media (max-width: 420px) {
  .nav { gap: 8px; }
}
