:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --primary: #0f172a;
  --primary-contrast: #ffffff;
  --accent: #2563eb;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: #1d4ed8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1050;
  background: #111827;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.py-lg-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.site-header .navbar {
  min-height: 72px;
}

.navbar-brand {
  font-weight: 700;
  color: var(--text);
}

.navbar-brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--primary-contrast);
  font-weight: 700;
  font-size: 0.95rem;
}

.brand-text {
  letter-spacing: 0.1px;
}

.nav-link {
  color: #334155;
  font-weight: 500;
}

.nav-link.active {
  color: #0f172a !important;
  font-weight: 600;
}

.btn-primary {
  background: #0f172a;
  border-color: #0f172a;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #111827;
  border-color: #111827;
}

.btn-outline-secondary {
  border-color: #cbd5e1;
  color: #0f172a;
}

.btn-outline-secondary:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-section {
  background:
    radial-gradient(1200px 400px at 100% 0%, rgba(37, 99, 235, 0.06), transparent 60%),
    linear-gradient(to bottom, #fff, #fff);
}

.page-hero {
  background:
    radial-gradient(1000px 300px at 90% 10%, rgba(37, 99, 235, 0.04), transparent 55%),
    #fff;
}

.info-card,
.service-card,
.step-card,
.service-detail-card,
.company-panel,
.contact-box,
.contact-form,
.legal-page {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-card {
  padding: 1rem 1rem;
  box-shadow: var(--shadow);
}

.service-card {
  padding: 1.1rem 1rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.service-card h3 {
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--muted);
  margin: 0;
}

.step-card {
  position: relative;
  padding: 1rem 1rem 1rem 1rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-heading p {
  max-width: 760px;
}

.company-panel {
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}

.contact-box {
  padding: 1rem;
  background: #f8fafc;
}

.contact-form {
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.form-control,
.form-select {
  border-color: #cbd5e1;
  border-radius: 12px;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.form-control:focus,
.form-select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.12);
}

.form-status {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
}

.form-status.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.service-detail-card {
  padding: 1.2rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.service-detail-card p:last-child {
  margin-bottom: 0;
}

.legal-page {
  padding: 1.25rem;
  max-width: 900px;
}

.legal-page h2 {
  font-size: 1.05rem;
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
}

.legal-page p,
.legal-page li {
  color: #334155;
}

.site-footer {
  background: #fff;
}

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

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

.text-lg-end {
  text-align: left;
}
/* Implementation Cases */
.impl-card {
  position: relative;
}

.impl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.impl-meta {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  background: #fff;
}

.impl-row {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.25rem 0;
}

.impl-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.impl-value {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: right;
}

.impl-chart {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  background:
    radial-gradient(900px 220px at 100% 0%, rgba(37, 99, 235, 0.05), transparent 60%),
    #fff;
  color: #0f172a; /* for SVG currentColor */
}

.impl-chart svg {
  display: block;
}

@media (min-width: 992px) {
  .text-lg-end {
    text-align: right;
  }

  .legal-page {
    padding: 1.5rem;
  }

  .service-card,
  .service-detail-card,
  .step-card {
    padding: 1.25rem;
  }
}