:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #55607a;
  --border: #d9dfec;
  --primary: #0f4de1;
  --primary-dark: #0b3db4;
  --shadow: 0 10px 24px rgba(17, 35, 74, 0.08);
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(860px, 92%);
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: #eef3ff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus {
  left: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 20px rgba(17, 35, 74, 0.08);
  border-bottom-color: #cfd9ef;
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo {
  max-height: 52px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #ecf2ff 100%);
}

.homepage-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eef3ff 0%, #dde8ff 45%, #f7f8fb 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #d9e7ff;
  color: #204890;
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
}

.hero-shape-one {
  width: 280px;
  height: 280px;
  top: -40px;
  right: 4%;
  background: rgba(15, 77, 225, 0.2);
}

.hero-shape-two {
  width: 360px;
  height: 360px;
  left: -80px;
  bottom: -140px;
  background: rgba(41, 98, 255, 0.16);
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.25;
}

h3 {
  margin-top: 0;
  font-size: 1.12rem;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 20px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: #eef3ff;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  font-size: 1.35rem;
}

.hero-panel p {
  margin-bottom: 18px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-stat-grid div {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: #f9fbff;
}

.hero-stat-grid strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.hero-stat-grid span {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
  margin: 18px 0 0;
}

.hero-trust-list li {
  font-weight: 600;
  color: #33476a;
  position: relative;
  padding-left: 18px;
}

.hero-trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.trust-strip {
  padding-top: 36px;
  padding-bottom: 36px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-label {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6785;
  text-align: center;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.trust-items span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fbfcff;
  font-weight: 600;
  color: #3a4868;
}

.vertical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.vertical-card {
  box-shadow: none;
  background: #fff;
}

.vertical-card h3 {
  margin: 0;
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  box-shadow: none;
  border: 1px solid #d5def2;
  background: #fff;
}

.pricing-table td:last-child,
.pricing-table th:last-child {
  font-weight: 700;
  color: #1f3970;
}

.check-list {
  padding-left: 20px;
  margin: 0;
}

.check-list li {
  margin-bottom: 10px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
}

thead th {
  background: #ecf2ff;
}

tbody tr:last-child td {
  border-bottom: none;
}

.steps,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-band {
  background: #112855;
  color: #fff;
}

.cta-band p,
.cta-band h2 {
  color: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 18px;
  align-items: start;
}

.contact-card p {
  color: var(--text);
}

.contact-form h2 {
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-inner nav {
  display: flex;
  gap: 14px;
}

.footer-inner a {
  color: var(--text);
  text-decoration: none;
}

.footer-inner p {
  margin: 0;
  color: var(--text);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #103a1f;
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 50;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .vertical-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section {
    padding: 56px 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 4%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .service-grid,
  .form-grid,
  .hero-stat-grid,
  .vertical-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .trust-items {
    justify-content: flex-start;
  }
}
