*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: #111820;
  background: #f4f6f8;
  line-height: 1.6;
}

a {
  color: #095394;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4 {
  margin-top: 0;
  color: #0c1b2a;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

p {
  margin: 0 0 0.75rem;
}

ul {
  padding-left: 1.2rem;
  margin: 0 0 0.75rem;
}

.site-header {
  background: linear-gradient(90deg, #020b14, #0b2642);
  color: #f5f7fa;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-weight: 600;
}

.logo-mark {
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: linear-gradient(135deg, #cfd4da, #8d949c);
  color: #050608;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.logo-text {
  font-size: 1rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: #e3e9f2;
  padding: 0.2rem 0.35rem;
  border-radius: 3px;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.hero {
  padding: 2.5rem 0 2rem;
  background: radial-gradient(circle at top left, #dde3eb 0, #f4f6f8 45%, #eef1f5 100%);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.lead {
  font-size: 1.05rem;
}

.hero-usps {
  list-style: none;
  padding: 0;
}

.hero-usps li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.35rem;
}

.hero-usps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #0b4d8a;
  box-shadow: 0 0 0 2px rgba(11, 77, 138, 0.15);
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0b4d8a, #0a2f51);
  color: #f5f7fa;
  box-shadow: 0 6px 14px rgba(5, 22, 40, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-image {
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

.feature-image {
  max-width: 260px;
  width: 100%;
  height: auto;
  margin-top: 0.75rem;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

.peli-placeholder {
  width: 280px;
  max-width: 100%;
  background: linear-gradient(145deg, #d4d9df, #a4abb3);
  border-radius: 12px;
  padding: 0.3rem;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.peli-lid {
  height: 20px;
  border-radius: 9px 9px 4px 4px;
  background: linear-gradient(145deg, #c0c6ce, #8d949c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.peli-body {
  margin-top: 0.4rem;
  border-radius: 4px 4px 9px 9px;
  background: linear-gradient(145deg, #989fa7, #6a727a);
  padding: 1.1rem 0.75rem;
  text-align: center;
  color: #f4f6f8;
  font-size: 0.85rem;
}

.peli-label {
  display: inline-block;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  background: rgba(5, 10, 15, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section {
  padding: 2.5rem 0 2.25rem;
}

.section-light {
  background: #edf0f4;
}

.section-accent {
  background: linear-gradient(120deg, #0a2740, #050b12);
  color: #e5edf7;
}

.section-accent h2 {
  color: #ffffff;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
}

.feature {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.1rem 1rem;
  box-shadow: 0 8px 20px rgba(2, 10, 20, 0.06);
}

.two-column {
  display: grid;
  gap: 1.5rem;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.85rem;
  color: #0b4d8a;
}

.use-case-grid {
  display: grid;
  gap: 1.5rem;
}

.use-case {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.1rem 1rem;
  border-left: 3px solid #0b4d8a;
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
}

.pricing-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.25rem 1.1rem;
  box-shadow: 0 10px 24px rgba(5, 12, 24, 0.08);
  border: 1px solid #d1d5db;
}

.pricing-card .price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0b4d8a;
  margin-bottom: 0.6rem;
}

.section-accent .pricing-card {
  background: rgba(6, 16, 30, 0.9);
  border-color: rgba(204, 214, 224, 0.18);
}

.form-grid {
  display: grid;
  gap: 1.75rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.quote-form {
  background: rgba(4, 13, 24, 0.9);
  border-radius: 10px;
  padding: 1.2rem 1.1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.quote-form label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.form-row {
  display: grid;
  gap: 0.75rem;
}

.form-field {
  margin-bottom: 0.75rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 0.45rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #505764;
  background: #050b13;
  color: #ecf1f8;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #7a828f;
}

select {
  background-color: #050b13;
}

textarea {
  resize: vertical;
}

.quote-form .btn-primary {
  margin-top: 0.25rem;
}

.contact-block {
  font-size: 0.9rem;
}

.contact-details {
  margin-bottom: 0.7rem;
}

.site-footer {
  background: #050b12;
  color: #cdd3dd;
  padding: 1.8rem 0 1.5rem;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.footer-grid h3 {
  color: #f4f6fa;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-meta a {
  color: #9fb6d3;
  font-size: 0.8rem;
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .two-column {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .form-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .main-nav {
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 2rem;
  }
}

/* CMS rebuild additions: accessibility, validation and structured content. */
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  border-radius: 4px;
  background: #ffffff;
  color: #0c1b2a;
}

.skip-link:focus {
  top: 1rem;
}

.logo,
.logo:hover,
.logo:focus {
  color: #f5f7fa;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #65a9e8;
  outline-offset: 3px;
}

.main-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
}

.breadcrumbs {
  padding-top: 1rem;
  padding-bottom: 0.25rem;
  font-size: 0.85rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: #6b7280;
}

.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.has-error input,
.has-error textarea {
  border-color: #ef8d8d;
}

.field-error,
.form-error {
  color: #ffd2d2;
  font-size: 0.82rem;
}

.field-error {
  margin-top: 0.25rem;
}

.form-error,
.form-success {
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  border-radius: 6px;
}

.form-error {
  background: rgba(153, 27, 27, 0.45);
  border: 1px solid rgba(254, 202, 202, 0.45);
}

.form-success {
  background: #ecfdf5;
  color: #064e3b;
  border: 1px solid #a7f3d0;
}

.form-success h3 {
  color: #064e3b;
}

.form-note {
  margin-top: 0.75rem;
  color: #b9c5d3;
  font-size: 0.8rem;
}

.quote-form button[disabled] {
  cursor: wait;
  opacity: 0.75;
}

.faq-list details {
  padding: 0.8rem 0;
  border-bottom: 1px solid #d1d5db;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list details > div {
  padding-top: 0.65rem;
}

.article-list {
  display: grid;
  gap: 1rem;
}

.prose > :first-child,
.contact-block > :first-child {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
