:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --slate: #0f172a;
  --muted: #475569;
  --soft: #f8fafc;
  --line: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.34);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--slate);
  color: var(--white);
  padding: 0.7rem 0.95rem;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 232, 240, 0);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 2rem));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate);
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, var(--blue), #0ea5e9);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.brand-wordmark {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.3rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--slate);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  margin: 2px 0;
  border-radius: 99px;
  background: currentColor;
}

.nav-links.is-open {
  position: absolute;
  top: 72px;
  left: 1rem;
  right: 1rem;
  display: grid;
  gap: 0.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0.55rem;
  box-shadow: var(--shadow);
}

.nav-links.is-open a {
  border-radius: 6px;
  padding: 0.75rem 0.85rem;
}

.nav-links.is-open a:hover {
  background: var(--soft);
}

.section {
  padding: 5rem 0;
}

.section-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 2rem));
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 2.2rem 0 3rem;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(37, 99, 235, 0.11), transparent 35%),
    radial-gradient(circle at 85% 8%, rgba(56, 189, 248, 0.18), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 1px;
  background: var(--line);
  content: "";
}

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

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1rem;
  color: var(--slate);
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.8vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-subtitle,
.section-heading p,
.about-text,
.contact-panel p,
.policy-hero p {
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-weight: 760;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
}

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

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--slate);
}

.button-secondary:hover {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.hero-visual {
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff, #eff6ff);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.section-heading {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 2.2rem;
}

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

.services-grid {
  grid-template-columns: 1fr;
}

.service-card {
  min-height: 245px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.035), rgba(255, 255, 255, 0) 44%),
    var(--white);
  padding: 1.25rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
}

.service-card p,
.feature-item p,
.policy-content p {
  color: var(--muted);
}

.icon-badge {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: var(--radius);
  background: #eff6ff;
  color: var(--blue);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.about-band {
  min-height: 100vh;
  border-block: 1px solid var(--line);
  background: var(--soft);
  display: grid;
  align-items: center;
}

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

.about-text {
  margin-bottom: 0;
}

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

.feature-item {
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}

.feature-number {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
}

.contact-section {
  padding-top: 2rem;
}

.contact-panel {
  display: grid;
  gap: 2rem;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(56, 189, 248, 0.08)),
    #ffffff;
  padding: clamp(1.4rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}

address {
  display: grid;
  gap: 0.7rem;
  color: var(--muted);
  font-style: normal;
}

address a {
  color: var(--blue);
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 820;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner p {
  margin-bottom: 0;
}

.policy-main {
  background:
    linear-gradient(180deg, #f8fbff 0, #ffffff 320px);
}

.policy-hero {
  padding-bottom: 2rem;
}

.policy-hero h1 {
  margin-bottom: 1rem;
}

.policy-date {
  color: var(--blue);
  font-weight: 760;
}

.policy-content {
  padding-top: 1rem;
}

.policy-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.policy-content a {
  color: var(--blue);
  font-weight: 750;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 720px) {
  .section {
    padding: 6.5rem 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .hero {
    padding: 3.1rem 0 4.2rem;
  }

  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
  }

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

  .about-grid,
  .contact-panel {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

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

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1020px) {
  .services-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .service-card {
    padding: 1.15rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
