:root {
  --bg-dark: #060d1c;
  --bg-light: #f6f7fb;
  --panel: #ffffff;
  --text: #151f33;
  --muted: #7b879c;
  --blue: #2d66f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Sora', sans-serif;
  color: var(--text);
  background: var(--bg-light);
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(980px, 92%);
}

.topbar {
  height: 54px;
  background: #fff;
  border-bottom: 1px solid #e7ebf3;
  display: flex;
  align-items: center;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  text-decoration: none;
}

.logo-img {
  height: 58px;
  width: auto;
  display: block;
  margin-left: -10px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  text-decoration: none;
  color: #2d374d;
  font-size: 12px;
  font-weight: 500;
}

.nav-links a.active {
  color: #0f172a;
  font-weight: 700;
}

.dark {
  background: var(--bg-dark);
}

.light {
  background: var(--bg-light);
}

.hero {
  padding: 42px 0 60px;
  text-align: center;
}

.hero-wrap {
  max-width: 960px;
}

.eyebrow,
.mini {
  margin: 0 0 18px;
  text-align: center;
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 2.2px;
  font-weight: 600;
}

.eyebrow {
  display: inline-block;
  border: 1px solid #24324f;
  border-radius: 999px;
  padding: 8px 14px;
  color: #4f86ff;
  background: rgba(45, 102, 246, 0.08);
  font-size: 11px;
}

h1 {
  margin: 0;
  color: #f5f8ff;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -1.4px;
}

h1 span {
  color: var(--blue);
}

.lead {
  margin: 22px auto 0;
  max-width: 780px;
  color: #9ba9c1;
  font-size: 14px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-solid {
  background: linear-gradient(90deg, #3276ff, #2b5cf0);
  color: #fff;
}

.btn-outline {
  border: 1px solid #3c4a64;
  color: #dde6ff;
  background: transparent;
}

.section {
  padding: 72px 0;
}

h2 {
  margin: 0;
  text-align: center;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.sub {
  margin: 18px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

.card-grid {
  margin-top: 48px;
  display: grid;
  gap: 20px;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.pill-card {
  background: #fff;
  border: 1px solid #e1e8f4;
  border-radius: 14px;
  padding: 26px;
}

.icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: transparent;
  color: #2e63f3;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.info-card h3,
.pill-card h3 {
  margin: 16px 0 8px;
  font-size: 19px;
  letter-spacing: -0.3px;
}

.info-card p {
  margin: 0;
  color: #647288;
  font-size: 12px;
  line-height: 1.7;
}

.info-card a {
  margin-top: 16px;
  display: inline-block;
  color: #2d66f6;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.form-section {
  padding-top: 90px;
  padding-bottom: 96px;
}

.white {
  color: #fff;
}

.dark-sub {
  color: #93a4c2;
}

.contact-form {
  margin: 38px auto 0;
  max-width: 760px;
  background: #fff;
  border: 1px solid #e3e7f0;
  border-radius: 14px;
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #2b364d;
  margin-bottom: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8dfeb;
  border-radius: 8px;
  background: #fff;
  color: #1d273d;
  padding: 12px 14px;
  margin-top: 8px;
  font: inherit;
  font-size: 13px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-btn {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  margin: 14px 0 0;
  text-align: center;
  color: #8a95a8;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-note::before {
  content: "";
  width: 13px;
  height: 13px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b98ad' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 5-3.5 8.5-7 9-3.5-.5-7-4-7-9V6l7-3z'/%3E%3C/svg%3E");
}

.pill-card {
  text-align: center;
  padding: 28px 22px;
}

.pill-card .icon-box {
  margin: 0 auto;
}

.presence {
  background: #f0f2f7;
  padding: 90px 0;
}

.presence-row {
  margin: 42px auto 0;
  max-width: 980px;
  background: #fff;
  border: 1px solid #e1e8f4;
  border-radius: 14px;
  padding: 20px 26px;
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  align-items: center;
  column-gap: 28px;
  row-gap: 12px;
}

.presence-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2a354d;
  font-size: 13px;
  font-weight: 500;
  min-width: 0;
}

.presence-item:nth-child(2),
.presence-item:nth-child(3) {
  white-space: nowrap;
}

.presence-item:nth-child(3) {
  justify-self: end;
}

.presence-item .icon-box {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  font-size: 12px;
  flex-shrink: 0;
}

.footer {
  padding: 52px 0 26px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer p {
  margin: 10px 0 0;
  color: #647289;
  font-size: 11px;
  line-height: 1.7;
}

.footer .small {
  color: #8a96ab;
}

.footer h5 {
  margin: 0 0 12px;
  font-size: 12px;
}

.footer a {
  display: block;
  color: #647289;
  text-decoration: none;
  font-size: 11px;
  margin-bottom: 8px;
}

.policy-row {
  margin-top: 20px;
  display: flex;
  gap: 24px;
}

.policy-row a {
  color: #97a3b8;
  margin: 0;
}

.demo-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 24, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1400;
}

.demo-modal.is-open {
  display: flex;
}

.demo-modal-card {
  position: relative;
  width: min(740px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #eff2f7;
  border-radius: 20px;
  padding: 34px 38px 28px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.demo-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #061127;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  z-index: 2;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.demo-modal-title {
  margin: 0;
  text-align: center;
  color: #2a60df;
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: -1px;
}

.demo-modal-subtitle {
  margin: 8px 0 0;
  text-align: center;
  color: #2a60df;
  font-size: 16px;
  font-weight: 600;
}

.demo-form-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.demo-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-form-field label {
  font-size: 13px;
  color: #1a2437;
  font-weight: 600;
  margin: 0;
}

.demo-form-field input,
.demo-form-field textarea {
  width: 100%;
  border: 1px solid #c8d0dc;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 13px;
  font-family: inherit;
  color: #1b2538;
  background: #fff;
}

.demo-form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.demo-form-field.full-width {
  grid-column: 1 / -1;
}

.demo-submit-btn {
  margin-top: 16px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #2a7bff, #245eff);
  color: #fff;
  padding: 12px 14px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
}

.demo-form-note {
  margin: 14px 0 0;
  color: #6a7891;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.demo-form-note::before {
  content: "";
  width: 13px;
  height: 13px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b98ad' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 5-3.5 8.5-7 9-3.5-.5-7-4-7-9V6l7-3z'/%3E%3C/svg%3E");
}

.demo-success {
  min-height: 220px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 12px 8px 8px;
}

.demo-success-title {
  margin: 0;
  color: #2e63db;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.demo-form[hidden],
.demo-form-note[hidden],
#demoModalTitle[hidden],
#demoModalSubtitle[hidden],
.demo-success[hidden] {
  display: none !important;
}

@media (max-width: 1200px) {
  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 40px;
  }

  .lead {
    font-size: 13px;
  }

  .sub {
    font-size: 12px;
  }

  .info-card h3,
  .pill-card h3 {
    font-size: 18px;
  }
}

@media (max-width: 980px) {
  .card-grid.four,
  .card-grid.three,
  .foot-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  .lead,
  .sub {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: min(280px, 100%);
    text-align: center;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .presence-row {
    grid-template-columns: 1fr;
    padding: 16px 18px;
    row-gap: 10px;
  }

  .presence-item:nth-child(2),
  .presence-item:nth-child(3) {
    white-space: normal;
  }

  .presence-item:nth-child(3) {
    justify-self: start;
  }

  .policy-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .demo-modal-card {
    padding: 26px 20px 22px;
  }

  .demo-modal-close {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .demo-modal-title {
    font-size: 40px;
  }

  .demo-modal-subtitle {
    font-size: 16px;
  }

  .demo-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .demo-form-field label {
    font-size: 13px;
  }

  .demo-form-field input,
  .demo-form-field textarea {
    font-size: 13px;
    border-radius: 10px;
  }

  .demo-submit-btn {
    font-size: 20px;
    border-radius: 10px;
  }

  .demo-form-note {
    font-size: 13px;
  }

  .demo-form-note::before {
    width: 13px;
    height: 13px;
  }

  .demo-success {
    min-height: 180px;
  }

  .demo-success-title {
    font-size: 20px;
  }
}
