:root {
  --bg: #ffffff;
  --fg: #0f172a;
  --muted: #475569;
  --card: #ffffff;
  --stroke: #e2e8f0;
  --brand1: #2563eb;
  --brand2: #06b6d4;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: Inter, system-ui, Arial, sans-serif;
  color: var(--fg);
  background: #f8fafc;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-name {
  font-weight: 700;
}
.logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-image: url("./favicon.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding: 8px 0;
}
.nav .cta {
  color: white;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  padding: 8px 12px;
  border-radius: 8px;
}
.hero {
  padding: 64px 0 40px;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  margin-top: 40px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}
.hero-copy h1 {
  margin: 0 0 10px;
  font-size: 36px;
  line-height: 1.15;
}
.hero-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-ctas .cta {
  text-align: center;
}

.cta {
  display: inline-block;
  border: 1px solid #ffffff1a;
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--fg);
  text-decoration: none;
}
.cta.primary {
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  border: none;
  color: #fff;
}
.cta.ghost {
  background: transparent;
  border: 1px solid var(--stroke);
  color: var(--muted);
}
.hero-visual {
  display: flex;
  justify-content: center;
}
.visual-card {
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}
.bars {
  display: flex;
  gap: 6px;
  height: 40px;
  margin-bottom: 12px;
}
.bars span {
  flex: 1;
  border-radius: 8px;
  background: #e2e8f0;
}
.bars span:nth-child(odd) {
  background: #e9eef6;
}
.note {
  font-weight: 700;
  margin-bottom: 10px;
}
.gauge {
  position: relative;
  height: 18px;
  background: #eef2f7;
  border-radius: 999px;
}
.gauge .center {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #cbd5e1;
  transform: translateX(-1px);
}
.gauge .indicator {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 55%;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
}
.section {
  padding: 48px 0;
}
.section-alt {
  background: #f1f5f9;
}
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.card h3 {
  margin: 0 0 8px;
}
.card p {
  margin: 0;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.footer {
  border-top: 1px solid var(--stroke);
  padding: 18px 0;
  background: #fff;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.links {
  display: flex;
  gap: 14px;
}
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 {
    font-size: 32px;
  }
  .visual-card {
    margin-top: 8px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .container {
    padding: 0 14px;
  }
  .hero {
    padding: 28px 0 24px;
    margin-top: 40px;
  }
  .brand-name {
    font-size: 16px;
  }
  .cta {
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    border: none;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 14px;
  }
  /* Header layout tweaks */
  .header {
    flex-wrap: wrap;
    row-gap: 10px;
    padding-top: 8px;
    padding-bottom: 6px;
  }
  .nav {
    width: 100%;
    justify-content: flex-end;
    gap: 10px;
  }
  #fb-btn {
    display: none;
  }
  .nav .cta {
    width: auto;
  } /* remove full-width CTA that caused overlap */
  /* Hero CTAs responsive */
  .hero-ctas .cta {
    flex: 1 1 48%;
  }
  .hero-copy h1 {
    font-size: 28px;
    line-height: 1.2;
  }
}
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  background: #fffffff2;
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--stroke);
  display: none;
}
.consent-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}
.consent .consent-text {
  color: var(--muted);
  font-size: 14px;
}
.consent .small {
  padding: 8px 10px;
  border-radius: 8px;
}
/* Feedback banner spacing */
#feedback {
  bottom: 64px;
}
