:root {
  --ink: #12243b;
  --muted: #5d6d80;
  --line: #dfe8ef;
  --paper: #fbfdff;
  --white: #ffffff;
  --blue: #5c8bf2;
  --blue-deep: #2f58ba;
  --turquoise: #6bd8d0;
  --lilac: #b7a7f4;
  --shadow: 0 22px 70px rgba(38, 72, 125, 0.13);
  --shadow-soft: 0 12px 34px rgba(38, 72, 125, 0.08);
  --radius-lg: 30px;
  --radius-md: 18px;
  --container: 1180px;
  --focus: #285fd5;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body::selection { background: rgba(107, 216, 208, .45); }

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

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
}

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(251, 253, 255, .86);
  border-bottom: 1px solid rgba(223, 232, 239, .74);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: -.025em;
  text-decoration: none;
}

.brand-mark { width: 31px; height: 31px; flex: 0 0 31px; }
.brand-mark path { fill: url(#brandGradient); }

.site-nav { display: flex; align-items: center; gap: 4px; }

.site-nav a {
  padding: .6rem .76rem;
  color: #506277;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: 999px;
}

.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: #edf5fb; }

.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle svg { width: 100%; height: 100%; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.12rem;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 12px 25px rgba(18, 36, 59, .12);
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 17px 30px rgba(18, 36, 59, .17); }
.button.secondary { color: var(--ink); background: rgba(255,255,255,.75); border-color: var(--line); box-shadow: none; }
.button.secondary:hover { background: var(--white); }
.button.small { min-height: 41px; padding: .56rem .9rem; font-size: .83rem; }
.button svg { width: 17px; height: 17px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 124px) 0 100px;
  background:
    radial-gradient(circle at 79% 24%, rgba(110, 218, 208, .32), transparent 27%),
    radial-gradient(circle at 17% 6%, rgba(183, 167, 244, .22), transparent 31%),
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.hero::after {
  position: absolute;
  right: -18%;
  bottom: -60%;
  width: 68vw;
  height: 68vw;
  content: "";
  background: radial-gradient(circle, rgba(92, 139, 242, .07), transparent 68%);
  pointer-events: none;
}

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(44px, 8vw, 110px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 22px;
  color: var(--blue-deep);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before { width: 24px; height: 2px; content: ""; background: linear-gradient(90deg, var(--turquoise), var(--blue)); border-radius: 9px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }

h1 { max-width: 670px; margin-bottom: 24px; font-size: clamp(3.3rem, 6vw, 5.9rem); font-weight: 790; }
h1 span { color: var(--blue-deep); }

.hero-lede { max-width: 570px; margin-bottom: 32px; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: #6b7d90; font-size: .88rem; }
.hero-note .note-dot { width: 8px; height: 8px; background: var(--turquoise); border-radius: 50%; box-shadow: 0 0 0 6px rgba(107,216,208,.15); }

.hero-visual { position: relative; min-height: 510px; display: grid; place-items: center; }
.hero-visual::before { position: absolute; inset: 12% 10% 10%; content: ""; background: linear-gradient(140deg, rgba(181, 244, 238, .65), rgba(200, 216, 255, .52) 46%, rgba(231, 222, 255, .66)); border-radius: 40% 60% 58% 42% / 45% 35% 65% 55%; transform: rotate(-9deg); filter: blur(1px); }
.hero-visual::after { position: absolute; inset: 18% 18% 16%; content: ""; border: 1px solid rgba(255,255,255,.76); border-radius: 36% 64% 59% 41% / 54% 42% 58% 46%; transform: rotate(12deg); }

.star-card { position: relative; z-index: 2; display: grid; place-items: center; width: min(76%, 380px); aspect-ratio: 1; background: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.9); border-radius: 36px; box-shadow: var(--shadow); backdrop-filter: blur(18px); transform: rotate(3deg); }
.star-card::after { position: absolute; inset: 16px; content: ""; border: 1px solid rgba(255,255,255,.78); border-radius: 25px; }
.hero-star { position: relative; z-index: 1; width: 42%; color: var(--blue-deep); filter: drop-shadow(0 19px 19px rgba(63, 95, 185, .2)); }
.hero-star path { fill: url(#heroStarGradient); }
.visual-label { position: absolute; right: 4%; bottom: 5%; z-index: 3; max-width: 176px; padding: 13px 15px; color: var(--ink); background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.94); border-radius: 16px; box-shadow: var(--shadow-soft); font-size: .8rem; line-height: 1.4; transform: rotate(-5deg); }
.visual-label strong { display: block; margin-bottom: 3px; font-size: .9rem; }

.section { padding: clamp(78px, 10vw, 130px) 0; }
.section.soft { background: #f3f8fc; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.section-head h2 { max-width: 620px; margin-bottom: 0; font-size: clamp(2.25rem, 4vw, 4rem); }
.section-head p { max-width: 430px; margin-bottom: 0; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card, .info-card { position: relative; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.service-card { min-height: 300px; overflow: hidden; }
.service-card::before { position: absolute; right: -38px; bottom: -74px; width: 160px; height: 160px; content: ""; background: linear-gradient(135deg, rgba(107,216,208,.28), rgba(92,139,242,.2)); border-radius: 50%; }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 28px; color: var(--blue-deep); background: linear-gradient(135deg, #e1fbf8, #e9eeff); border-radius: 14px; }
.card-icon svg { width: 23px; height: 23px; }
.service-card h3, .info-card h3 { position: relative; margin-bottom: 12px; font-size: 1.55rem; }
.service-card p, .info-card p { position: relative; color: var(--muted); }
.text-link { position: relative; display: inline-flex; align-items: center; gap: .45rem; margin-top: 18px; color: var(--blue-deep); font-weight: 780; text-decoration: none; }
.text-link:hover { gap: .7rem; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: steps; }
.process-item { padding: 6px 10px 6px 0; }
.process-number { display: block; margin-bottom: 22px; color: var(--turquoise); font-size: .86rem; font-weight: 850; letter-spacing: .14em; }
.process-item h3 { margin-bottom: 10px; font-size: 1.34rem; }
.process-item p { margin-bottom: 0; color: var(--muted); }

.quote-panel { display: grid; grid-template-columns: .86fr 1.14fr; gap: 38px; align-items: center; padding: clamp(30px, 6vw, 72px); background: linear-gradient(135deg, #e8fcfa, #e7efff 62%, #f2edff); border: 1px solid #d8e9f4; border-radius: var(--radius-lg); }
.quote-panel h2 { margin-bottom: 0; font-size: clamp(2.1rem, 4vw, 3.8rem); }
.quote-panel p { max-width: 520px; margin-bottom: 24px; color: #52677f; }

.page-hero { padding: 90px 0 82px; background: radial-gradient(circle at 77% 10%, rgba(107,216,208,.3), transparent 27%), linear-gradient(180deg, #fff 0%, #f6fbff 100%); }
.page-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: end; }
.page-hero h1 { max-width: 650px; margin-bottom: 18px; font-size: clamp(3rem, 6vw, 5.4rem); }
.page-hero .lede { max-width: 590px; margin-bottom: 0; color: var(--muted); font-size: 1.18rem; }
.page-hero-visual { min-height: 210px; display: flex; align-items: end; justify-content: end; }
.page-hero-badge { width: min(100%, 360px); padding: 24px; background: rgba(255,255,255,.75); border: 1px solid rgba(210,224,238,.92); border-radius: 26px; box-shadow: var(--shadow-soft); }
.page-hero-badge strong { display: block; margin-bottom: 10px; font-size: 1.1rem; }
.page-hero-badge span { color: var(--muted); font-size: .92rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.feature-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-soft); }
.feature-panel.gradient { background: linear-gradient(145deg, #e7fbf8, #eef2ff 70%, #fbf8ff); }
.feature-panel h2 { margin-bottom: 14px; font-size: clamp(2rem, 3vw, 3.1rem); }
.feature-panel > p { color: var(--muted); }
.check-list { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: #4d627a; }
.check-list svg { flex: 0 0 20px; margin-top: 2px; color: var(--blue-deep); }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill { padding: .45rem .7rem; color: #476076; background: rgba(255,255,255,.7); border: 1px solid #d7e6ef; border-radius: 999px; font-size: .78rem; font-weight: 730; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.mini-grid .info-card { padding: 25px; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: start; }
.contact-intro h2 { max-width: 460px; margin-bottom: 18px; font-size: clamp(2.4rem, 4vw, 4rem); }
.contact-intro > p { max-width: 420px; color: var(--muted); }
.contact-points { display: grid; gap: 13px; margin-top: 31px; }
.contact-point { display: flex; gap: 12px; align-items: flex-start; padding: 17px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.contact-point .card-icon { width: 38px; height: 38px; margin: 0; flex: 0 0 38px; border-radius: 11px; }
.contact-point strong { display: block; margin-bottom: 1px; }
.contact-point span { color: var(--muted); font-size: .9rem; }

.form-card { padding: clamp(24px, 4vw, 42px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.form-card h2 { margin-bottom: 26px; font-size: 1.8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--ink); font-size: .88rem; font-weight: 750; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: .83rem .9rem; color: var(--ink); background: #fbfdff; border: 1px solid #cfdae4; border-radius: 12px; }
.form-field textarea { min-height: 142px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #96a5b4; }
.form-help { margin: 17px 0 0; color: var(--muted); font-size: .82rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 24px; }
.form-status { flex: 1 1 240px; color: #49627b; font-size: .83rem; }
.honeypot { position: absolute !important; overflow: hidden !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; clip: rect(0 0 0 0) !important; }

.site-footer { padding: 48px 0 30px; color: #6b7c8f; background: #f0f6fa; border-top: 1px solid #e1ebf2; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 30px; padding-bottom: 44px; }
.footer-grid .brand { margin-bottom: 14px; }
.footer-grid p { max-width: 310px; margin-bottom: 0; font-size: .9rem; }
.footer-col strong { display: block; margin-bottom: 13px; color: var(--ink); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; margin-bottom: 8px; color: #5d7084; font-size: .9rem; text-decoration: none; }
.footer-col a:hover { color: var(--blue-deep); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid #dce7ef; font-size: .78rem; }

.reveal { opacity: 1; transform: none; }
.js-enabled .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js-enabled .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-nav { display: none; position: absolute; top: calc(100% + 1px); right: 20px; left: 20px; padding: 12px; background: rgba(255,255,255,.98); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-soft); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: .75rem .85rem; border-radius: 12px; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
  .page-hero-visual { justify-content: start; min-height: 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .quote-panel { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 70px; }
  .hero { padding-top: 62px; }
  h1 { font-size: clamp(2.9rem, 14vw, 4.4rem); }
  .hero-visual { min-height: 325px; }
  .star-card { width: min(83%, 320px); border-radius: 26px; }
  .visual-label { right: 1%; bottom: 2%; }
  .card-grid, .card-grid.three, .split, .process-grid, .mini-grid, .form-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .form-field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 6px; }
}

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