:root {
  --md-sys-color-primary: #415f91;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #d6e3ff;
  --md-sys-color-on-primary-container: #001b3e;
  --md-sys-color-secondary: #565f71;
  --md-sys-color-secondary-container: #dae2f9;
  --md-sys-color-tertiary-container: #dfeada;
  --md-sys-color-surface: #f8f9ff;
  --md-sys-color-surface-container: #ecedf4;
  --md-sys-color-surface-container-high: #e3e5ec;
  --md-sys-color-surface-container-highest: #dde3ea;
  --md-sys-color-outline: #73777f;
  --md-sys-color-outline-variant: #c3c7cf;
  --md-sys-color-on-surface: #191c20;
  --md-sys-color-on-surface-variant: #43474e;
  --md-sys-shadow-1: 0 1px 3px rgba(14, 18, 27, 0.08), 0 4px 12px rgba(14, 18, 27, 0.05);
  --md-sys-shadow-2: 0 12px 32px rgba(38, 50, 56, 0.08);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--md-sys-color-on-surface);
  background:
    radial-gradient(circle at top left, rgba(214, 227, 255, 0.8), transparent 30%),
    linear-gradient(180deg, #fdfcff 0%, var(--md-sys-color-surface) 60%, #f4f6fb 100%);
}

a {
  color: inherit;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.22rem rgba(65, 95, 145, 0.18);
}

.top-app-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  backdrop-filter: blur(12px);
}

.top-app-bar__surface {
  background: rgba(248, 249, 255, 0.88);
  border: 1px solid rgba(115, 119, 127, 0.16);
  border-radius: 1.5rem;
  box-shadow: var(--md-sys-shadow-1);
  padding: 0.85rem 1.1rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--md-sys-color-on-surface);
  text-decoration: none;
}

.brand-lockup__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.95rem;
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  font-weight: 800;
}

.brand-lockup__text {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.top-app-bar__link {
  color: var(--md-sys-color-on-surface-variant);
  font-weight: 600;
}

.top-app-bar__link:hover,
.top-app-bar__link:focus,
.brand-lockup:hover,
.brand-lockup:focus {
  color: var(--md-sys-color-primary);
}

.nav-cta,
.btn-filled,
.btn-tonal {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.82rem 1.25rem;
}

.nav-cta,
.btn-filled {
  background: var(--md-sys-color-primary);
  border: 1px solid var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}

.nav-cta:hover,
.nav-cta:focus,
.btn-filled:hover,
.btn-filled:focus {
  background: #36527e;
  border-color: #36527e;
  color: var(--md-sys-color-on-primary);
}

.btn-tonal {
  background: var(--md-sys-color-primary-container);
  border: 1px solid transparent;
  color: var(--md-sys-color-on-primary-container);
}

.btn-tonal:hover,
.btn-tonal:focus {
  background: #c7d8fb;
  color: var(--md-sys-color-on-primary-container);
}

.app-shell {
  overflow: hidden;
}

.hero-section,
.content-section {
  padding: 4.5rem 0;
}

.hero-section {
  padding-top: 2.25rem;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  align-items: stretch;
}

.surface-card {
  background: rgba(248, 249, 255, 0.82);
  border: 1px solid rgba(115, 119, 127, 0.16);
  border-radius: 1.75rem;
  box-shadow: var(--md-sys-shadow-1);
}

.surface-card--hero {
  background: linear-gradient(180deg, rgba(248, 249, 255, 0.92) 0%, rgba(236, 237, 244, 0.95) 100%);
}

.hero-copy,
.hero-panel,
.process-shell,
.contact-banner,
.service-tile {
  padding: 2rem;
}

.hero-copy__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.info-chip,
.process-step {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--md-sys-color-secondary-container);
  color: #243041;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.5rem 0.85rem;
}

.section-label {
  margin-bottom: 0.9rem;
  color: var(--md-sys-color-primary);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.contact-banner h2,
.hero-panel h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.25rem);
}

.hero-copy__lead,
.hero-panel p,
.service-tile p,
.process-grid p,
.contact-banner p {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 1.03rem;
  line-height: 1.72;
}

.hero-copy__lead {
  max-width: 42rem;
  margin: 1.35rem 0 0;
}

.hero-copy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-panel {
  background: linear-gradient(180deg, var(--md-sys-color-primary-container) 0%, rgba(236, 237, 244, 0.88) 100%);
}

.hero-panel__list {
  display: grid;
  gap: 1.4rem;
}

.hero-panel__list > div {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(115, 119, 127, 0.18);
}

.hero-panel__list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero-panel__metric {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--md-sys-color-primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero-panel h2 {
  font-size: 1.35rem;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 1.8rem;
}

.section-heading--compact {
  margin-bottom: 1.5rem;
}

.section-heading h2,
.contact-banner h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.services-grid,
.process-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-tile {
  background: rgba(248, 249, 255, 0.78);
}

.service-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: var(--md-sys-color-tertiary-container);
  color: #21402e;
  font-weight: 800;
}

.service-tile h3,
.process-grid h3 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.process-shell {
  background: linear-gradient(180deg, rgba(236, 237, 244, 0.95) 0%, rgba(248, 249, 255, 0.92) 100%);
  box-shadow: var(--md-sys-shadow-2);
}

.process-grid article {
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(115, 119, 127, 0.14);
  border-radius: 1.35rem;
  padding: 1.5rem;
}

.contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(180deg, rgba(214, 227, 255, 0.84) 0%, rgba(248, 249, 255, 0.94) 100%);
}

.contact-banner__email {
  color: var(--md-sys-color-on-primary-container);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.contact-banner__email:hover,
.contact-banner__email:focus {
  text-decoration: underline;
}

.app-footer {
  padding: 0 0 2rem;
}

.app-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.95rem;
}

.guide-shell {
  padding-bottom: 1.4rem;
}

.guide-hero {
  padding: 2.25rem;
}

.guide-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.04em;
}

.guide-hero__lead {
  max-width: 64ch;
  margin: 1.1rem 0 0;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.72;
}

.guide-content-shell {
  padding-top: 1rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.guide-nav {
  position: sticky;
  top: 6.6rem;
  padding: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.guide-nav a {
  color: var(--md-sys-color-on-surface-variant);
  text-decoration: none;
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.45rem 0.55rem;
}

.guide-nav a:hover,
.guide-nav a:focus {
  color: var(--md-sys-color-primary);
  background: rgba(214, 227, 255, 0.55);
}

.guide-content {
  display: grid;
  gap: 1.2rem;
}

.guide-section {
  padding: 1.65rem;
}

.guide-section h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  letter-spacing: -0.032em;
}

.guide-section h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.1rem;
}

.guide-section p,
.guide-section li {
  line-height: 1.7;
  color: var(--md-sys-color-on-surface-variant);
}

.guide-section ul,
.guide-section ol {
  margin-top: 1rem;
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.guide-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.guide-grid section {
  border: 1px solid rgba(115, 119, 127, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.54);
  padding: 1rem;
}

.guide-note {
  margin-top: 1rem;
  border-left: 4px solid var(--md-sys-color-primary);
  padding: 0.75rem 0.9rem;
  background: rgba(214, 227, 255, 0.33);
  border-radius: 0.6rem;
}

.guide-faq {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.guide-faq details {
  border: 1px solid rgba(115, 119, 127, 0.22);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.64);
  padding: 0.75rem 0.9rem;
}

.guide-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
}

.guide-faq p {
  margin: 0.6rem 0 0;
}

@media (max-width: 991.98px) {
  .hero-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .guide-layout,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-nav {
    position: static;
  }

  .contact-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .hero-panel,
  .process-shell,
  .contact-banner,
  .service-tile {
    padding: 1.6rem;
  }
}

@media (max-width: 767.98px) {
  .top-app-bar {
    padding: 0.75rem 0;
  }

  .top-app-bar__surface {
    border-radius: 1.2rem;
  }

  .hero-section,
  .content-section {
    padding: 3rem 0;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .app-footer__inner {
    flex-direction: column;
  }
}