:root {
  --background: 217 100% 98%;
  --foreground: 221 65% 15%;
  --card: 0 0% 100%;
  --card-foreground: 221 65% 15%;
  --border: 219 70% 89%;
  --input: 219 70% 89%;
  --primary: 244 76% 59%;
  --primary-foreground: 210 40% 98%;
  --secondary: 217 75% 96%;
  --secondary-foreground: 222 47% 11%;
  --muted: 217 75% 96%;
  --muted-foreground: 217 31% 48%;
  --ring: 244 76% 59%;
  --radius: 0.75rem;
}

* {
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 100px;
}

body {
  background: linear-gradient(180deg, #eef4ff 0%, #f5f9ff 45%, #edf3ff 100%);
  color: hsl(var(--foreground));
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 12%, rgba(99, 91, 255, 0.17), transparent 42%),
    radial-gradient(circle at 84% 8%, rgba(18, 184, 255, 0.16), transparent 44%),
    radial-gradient(circle at 70% 88%, rgba(100, 227, 206, 0.13), transparent 50%);
}

#site-header {
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#site-header.is-scrolled {
  background: rgba(8, 23, 45, 0.5);
  border-color: rgba(205, 220, 245, 0.28);
  box-shadow: 0 10px 24px rgba(4, 16, 34, 0.2);
}

#site-header.is-scrolled a,
#site-header.is-scrolled summary,
#site-header.is-scrolled button {
  text-shadow: 0 1px 3px rgba(2, 8, 18, 0.72);
}

#site-header.is-scrolled img {
  filter: drop-shadow(0 1px 2px rgba(2, 8, 18, 0.66));
}

.nav-summary {
  list-style: none;
}

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

.nav-summary {
  color: rgba(239, 245, 255, 0.94);
}

.nav-summary:hover,
.nav-summary:focus-visible {
  color: #ffffff;
}

#services-menu > div {
  min-width: 290px;
  border: 1px solid #d8e3ff;
  background: #ffffff;
  color: #203d64;
  border-radius: 0.9rem;
  box-shadow: 0 12px 28px rgba(8, 23, 45, 0.14);
}

#services-menu > div a {
  display: block;
  border-radius: 0.55rem;
  padding: 0.58rem 0.72rem;
  color: #203d64;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
}

#site-header.is-scrolled #services-menu > div a {
  text-shadow: none;
}

#services-menu > div a:hover,
#services-menu > div a:focus-visible {
  background: #edf3ff;
  color: #0b2142;
  outline: none;
}

#services-menu > div a.bg-slate-100 {
  background: #edf3ff;
  color: #0b2142;
  font-weight: 700;
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(79, 70, 229, 0.2);
  background: rgba(79, 70, 229, 0.05);
  padding: 0.26rem 0.72rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #4f46e5;
}

.hero-shell .pill,
.cta-panel .pill {
  border-color: rgba(191, 219, 254, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: #dbeafe;
}

.email-link-visible {
  display: inline-block;
  color: #ffffff;
  font-weight: 800;
  border-radius: 0.3rem;
  padding: 0 0 0.05rem;
}

.email-link-visible:hover,
.email-link-visible:focus-visible {
  color: #ffffff;
  outline: none;
}

.btn {
  display: inline-flex;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0 1.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: #4f46e5;
  color: #fff;
}

.btn-primary:hover {
  background: #3530d8;
}

.btn-secondary {
  border: 1px solid rgba(212, 228, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-shell {
  background: linear-gradient(124deg, #091a34 2%, #1f2f7a 42%, #544ef0 100%);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: -14% -16% auto;
  height: 64%;
  background: linear-gradient(105deg, rgba(190, 218, 255, 0.08), rgba(214, 217, 255, 0.2));
  transform: rotate(-5.5deg);
}

.hero-shell::after {
  content: "";
  position: absolute;
  right: -14%;
  bottom: -35%;
  width: 70%;
  height: 78%;
  background: radial-gradient(circle at 40% 40%, rgba(100, 227, 206, 0.34), rgba(100, 227, 206, 0));
}

.breadcrumbs {
  position: relative;
  z-index: 15;
  margin-top: 0;
  margin-bottom: 0;
  border-top: 1px solid rgba(207, 222, 248, 0.9);
  border-bottom: 1px solid rgba(207, 222, 248, 0.9);
  background: linear-gradient(90deg, rgba(238, 244, 255, 0.92), rgba(228, 239, 252, 0.92));
}

.breadcrumbs > div {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.breadcrumbs-list {
  list-style: none;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.15rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4a6285;
}

.breadcrumbs-list a {
  color: #36527b;
  text-decoration: none;
}

.breadcrumbs-list a:hover,
.breadcrumbs-list a:focus-visible {
  color: #1f3f70;
}

.breadcrumbs-sep {
  color: #7c93b8;
}

.panel {
  border-radius: 0.9rem;
  border: 1px solid hsl(var(--border));
  background: #fff;
  box-shadow: 0 4px 12px rgba(10, 33, 67, 0.06);
}

#services .panel ul,
#about .panel ul {
  list-style: disc;
  padding-left: 1.2rem;
}

#services .panel li,
#about .panel li {
  margin-top: 0.25rem;
}

#feedback blockquote {
  position: relative;
  padding-left: 1.1rem;
}

#feedback blockquote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -0.2rem;
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(79, 70, 229, 0.35);
  font-weight: 700;
}

#feedback blockquote p::after {
  content: "\201D";
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(79, 70, 229, 0.35);
  font-weight: 700;
  margin-left: 0.08rem;
  vertical-align: -0.35em;
}

.cta-panel {
  background: linear-gradient(140deg, #10294c 0%, #17355f 55%, #24456f 100%);
}

.prose p {
  margin-top: 0.9rem;
  color: #35547d;
  line-height: 1.7;
}

.prose ul,
.prose ol {
  margin-top: 0.9rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
  color: #35547d;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  line-height: 1.6;
}

.form-input {
  width: 100%;
  border: 1px solid #c6d6ff;
  border-radius: 0.6rem;
  background: #fff;
  color: #0b2142;
  padding: 0.72rem 0.8rem;
  font: inherit;
  font-size: 0.95rem;
}

.form-input:focus {
  outline: none;
  border-color: #97b4ff;
  box-shadow: 0 0 0 3px rgba(79, 91, 255, 0.14);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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