:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #f2f5fb;
  --text: #1f2937;
  --muted: #5f6b7a;
  --primary: #1f4f8a;
  --primary-dark: #173d6b;
  --accent: #cf7a45;
  --accent-dark: #b96735;
  --line: #dde3ee;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

.content-max {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  background: #133760;
  color: #dbe9f8;
  border-bottom: 1px solid #2a4e77;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.brand-chip {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #edf3fb;
  border: 1px solid #d7e3f4;
  flex-shrink: 0;
}

.brand-title {
  font-size: 0.82rem;
  color: #6a7685;
  margin: 0;
}

.brand-subtitle {
  margin: 2px 0 0;
  font-weight: 700;
  font-size: 1rem;
  color: #1d2d43;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-link {
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #2c3f56;
}

.nav-link:hover { background: #eef4fb; }
.nav-link.is-active {
  background: #e4eefb;
  color: #163a65;
  font-weight: 600;
}

.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f3f7fd 60%, #eef4fb 100%);
  border: 1px solid #dbe6f5;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(17, 52, 95, 0.08);
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #17283e;
}

.hero p {
  color: #44566d;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef4ff;
  color: #1d4372;
  border: 1px solid #d7e4fa;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 18px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover { background: var(--accent-dark); }

.btn-ghost {
  background: #fff;
  border-color: #cfd8e6;
  color: #1f3550;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(18, 40, 66, 0.05);
}

.card h2, .card h3 {
  color: #1d3049;
  letter-spacing: -0.01em;
}

.section-title {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.muted { color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}

.service-item {
  display: block;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #dbe3f1;
}

.service-item:hover {
  border-color: #bfd0eb;
  background: #f9fbff;
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #e9f1fe;
  color: #1c4a80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
}

.feature-list li { margin: 6px 0; color: #41556e; }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
}

.kpi {
  border: 1px solid #dbe4f2;
  border-radius: 12px;
  background: #f6f9ff;
  padding: 12px;
}

.kpi strong {
  display: block;
  font-size: 1.1rem;
  color: #1f4f8a;
}

.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.trust-strip {
  border: 1px solid #d6e2f3;
  background: linear-gradient(90deg, #123764 0%, #1f4f8a 52%, #cf7a45 100%);
  color: #edf5ff;
  box-shadow: 0 14px 30px rgba(12, 44, 80, 0.18);
}

.trust-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(237, 245, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.trust-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.trust-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.trust-note {
  display: block;
  font-size: 0.84rem;
  color: #cfe2ff;
  line-height: 1.3;
}

.faq-item + .faq-item {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e3e8f2;
}

.faq-accordion {
  display: grid;
  gap: 8px;
}

.faq-panel {
  border: 1px solid #d9e4f5;
  border-radius: 12px;
  background: #f8fbff;
  overflow: hidden;
}

.faq-panel summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #183a62;
}

.faq-panel summary::-webkit-details-marker { display: none; }

.faq-panel summary::after {
  content: "+";
  font-size: 1.15rem;
  line-height: 1;
  color: #234f82;
  flex-shrink: 0;
}

.faq-panel[open] summary::after { content: "−"; }

.faq-answer {
  margin: 0;
  padding: 0 14px 11px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4c6077;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 360px at 20% -30%, rgba(83, 143, 219, 0.24), transparent 60%),
    radial-gradient(900px 300px at 92% -40%, rgba(207, 122, 69, 0.22), transparent 55%),
    #0f2f52;
  color: #d7e4f4;
  border-top: 1px solid #2f4f74;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, #5aa1ff 0%, #9ac6ff 45%, #efb187 100%);
  opacity: 0.85;
}

.site-footer .content-max {
  position: relative;
  z-index: 1;
}

.site-footer a {
  color: #f3f8ff;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: none;
}

.utility-bar {
  border: 1px solid #d5deed;
  background: #f3f7ff;
  border-radius: 13px;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.policy-links a {
  font-weight: 600;
  color: #1d4575;
}

.site-footer .policy-links a {
  color: #edf4ff;
}

.footer-main {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.footer-card {
  border: 1px solid rgba(211, 229, 248, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 8px 22px rgba(7, 26, 47, 0.22);
  backdrop-filter: blur(2px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(231, 241, 255, 0.36);
  box-shadow: 0 14px 28px rgba(7, 26, 47, 0.28);
}

.footer-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #f4f8ff;
  letter-spacing: 0.01em;
}

.footer-note {
  margin: 8px 0 0;
  color: #cfe0f4;
  font-size: 0.9rem;
}

.footer-ctas {
  margin-top: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(237, 245, 255, 0.24);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.84rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #8cc2ff;
  box-shadow: 0 0 0 3px rgba(140, 194, 255, 0.2);
}

.footer-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(237, 245, 255, 0.38);
}

.footer-pill strong {
  color: #ffffff;
}

.footer-quick {
  margin-top: 0;
}

.footer-quick p {
  margin: 0;
  color: #f2f7ff;
  font-weight: 600;
}

.footer-quick ul {
  margin: 8px 0 0;
  padding-left: 0;
  list-style: none;
}

.footer-quick li {
  margin: 5px 0;
  color: #d8e6f8;
  position: relative;
  padding-left: 17px;
}

.footer-quick li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #9dccff, #72aef3);
}

.footer-links {
  margin-top: 10px;
  gap: 8px;
}

.footer-links a {
  border: 1px solid rgba(229, 241, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(240, 247, 255, 0.4);
  color: #ffffff;
}

.footer-bottom {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(224, 237, 255, 0.2);
  display: grid;
  gap: 6px;
  color: #d5e5f8;
  font-size: 0.84rem;
}

.footer-bottom p {
  margin: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-accordion.faq-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1.1fr 1fr 0.9fr; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
  .footer-links { display: flex; flex-wrap: wrap; }
}

@media (min-width: 1024px) {
  .service-grid.service-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1.15fr 0.85fr; }
}
