body {
  background: linear-gradient(180deg, #f4f8ff 0%, #f5f7fb 52%, #eef3fb 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(196, 211, 239, 0.72);
  backdrop-filter: blur(10px);
  background: rgba(245, 247, 251, 0.86);
}

.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: #415573;
  font-weight: 600;
  font-size: 0.92rem;
}

.topbar-actions {
  display: inline-flex;
  gap: 0.55rem;
}

.hero {
  padding: 3.8rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: center;
}

.hero-side {
  display: grid;
  gap: 0.9rem;
}

.hero-copy h1 {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-copy .lead {
  margin-top: 1rem;
  color: #445673;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 62ch;
}

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

.proof-row {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.proof-row > div {
  padding: 0.9rem;
  border-radius: 14px;
  border: 1px solid #d6e2f6;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.proof-row h3 {
  font-size: 1.15rem;
}

.proof-row p {
  margin-top: 0.2rem;
  color: #5c6d86;
  font-size: 0.82rem;
}

.hero-card {
  background: linear-gradient(170deg, #14203a, #1b2e58);
  border-radius: 20px;
  border: 1px solid #2d4273;
  color: #d4e2ff;
  padding: 1rem;
  box-shadow: 0 24px 40px rgba(12, 22, 46, 0.35);
}

.hero-card-title {
  color: #8eb8ff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.hero-card pre {
  margin: 0.8rem 0 0;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.6;
  overflow-x: auto;
}

.try-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #d6e1f5;
  box-shadow: 0 18px 30px rgba(15, 35, 75, 0.08);
  padding: 1rem;
}

.try-title {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.try-subtle {
  margin-top: 0.35rem;
  color: #5a6d8d;
  font-size: 0.88rem;
}

.try-form {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.5rem;
}

.try-result {
  margin-top: 0.7rem;
  border-radius: 12px;
  border: 1px solid #d7e3f7;
  background: #f8fbff;
  color: #385375;
  padding: 0.72rem;
  font-size: 0.86rem;
  line-height: 1.45;
}

.try-result.loading {
  border-color: #cde0ff;
  background: #eef5ff;
  color: #28558f;
}

.try-result.success {
  border-color: #cae7d8;
  background: #eefaf4;
  color: #1f6a45;
}

.try-result.error {
  border-color: #f0d4d8;
  background: #fff4f6;
  color: #8d3141;
}

.risk-score-line {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.risk-score-value {
  font-family: "Sora", sans-serif;
  font-size: 1.28rem;
}

.risk-score-decision {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.risk-reasons {
  margin: 0.4rem 0 0;
  padding-left: 1rem;
}

.try-json {
  margin: 0.55rem 0 0;
  border-radius: 10px;
  border: 1px solid #cfe0f9;
  background: #ffffff;
  color: #2e4d75;
  padding: 0.62rem;
  font-size: 0.8rem;
  line-height: 1.45;
  overflow-x: auto;
}

.section {
  padding: 3.2rem 0;
}

.section-header {
  max-width: 760px;
}

.section-header h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
}

.feature-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 0.9rem;
}

.product-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.9rem;
}

.product-card {
  border-radius: 16px;
  border: 1px solid #d5e1f5;
  background: linear-gradient(175deg, #ffffff, #f4f8ff);
  box-shadow: 0 18px 34px rgba(13, 38, 81, 0.08);
  padding: 1.1rem;
}

.product-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6182b8;
}

.product-card h3 {
  margin-top: 0.35rem;
}

.product-card p {
  margin-top: 0.45rem;
  color: #566b8d;
}

.product-card code {
  display: inline-block;
  margin-top: 0.7rem;
}

.feature-card {
  border-radius: 14px;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #d9e4f5;
  box-shadow: 0 16px 30px rgba(15, 35, 75, 0.06);
}

.feature-card h3 {
  font-size: 1rem;
}

.feature-card p {
  margin-top: 0.45rem;
  color: #566b8d;
  font-size: 0.9rem;
}

.workflow {
  background: linear-gradient(180deg, #f0f5ff, #ecf2fd);
  border-top: 1px solid #d5e0f5;
  border-bottom: 1px solid #d5e0f5;
}

.workflow-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 0.9rem;
}

.workflow-grid article {
  border: 1px solid #d3def1;
  background: #ffffff;
  border-radius: 14px;
  padding: 1rem;
}

.workflow-grid span {
  width: 38px;
  height: 38px;
  border-radius: 99px;
  background: #1864ff;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.workflow-grid h3 {
  margin-top: 0.65rem;
  font-size: 1rem;
}

.workflow-grid p {
  margin-top: 0.45rem;
  color: #5a6f90;
  font-size: 0.9rem;
}

.pricing .price-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 0.9rem;
}

.price-grid article {
  background: #ffffff;
  border: 1px solid #d4def0;
  border-radius: 14px;
  padding: 1.1rem;
}

.price-grid article.featured {
  border-color: #1f74ff;
  box-shadow: 0 20px 38px rgba(23, 94, 241, 0.18);
}

.price-grid h3 {
  font-size: 1rem;
}

.price {
  margin-top: 0.5rem;
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.price span {
  font-size: 0.95rem;
  color: #596f93;
  margin-left: 0.25rem;
}

.price-grid p:last-child {
  margin-top: 0.45rem;
  color: #5a6f8f;
}

.center {
  text-align: center;
  margin-top: 1.4rem;
}

.footer {
  border-top: 1px solid #d6e0f3;
  background: #ffffff;
  padding: 1rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5b6e8d;
  font-size: 0.88rem;
}

.footer-inner div {
  display: inline-flex;
  gap: 1rem;
}

@media (max-width: 1040px) {
  .hero-grid,
  .product-grid,
  .feature-grid,
  .workflow-grid,
  .pricing .price-grid {
    grid-template-columns: 1fr;
  }

  .proof-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topnav {
    display: none;
  }
}
