:root {
  color-scheme: light;
  --ink: #153055;
  --muted: #5a7694;
  --line: rgba(27, 77, 140, 0.12);
  --page-top: #edf5ff;
  --page-bottom: #f8fbff;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --accent: #174b92;
  --accent-soft: #dcecff;
  --accent-strong: #0f3e7d;
  --success: #2c6ac9;
  --shadow: 0 20px 60px rgba(21, 48, 85, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "SF Pro Display", "SF Pro Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(147, 197, 255, 0.42), transparent 32%),
    radial-gradient(circle at 88% 16%, rgba(99, 164, 255, 0.18), transparent 28%),
    linear-gradient(180deg, var(--page-top) 0%, var(--page-bottom) 100%);
}

a {
  color: var(--accent);
}

.shell {
  width: min(980px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #1c5db0 0%, #113d78 100%);
  color: #fff;
  font-size: 28px;
  box-shadow: 0 16px 34px rgba(17, 61, 120, 0.24);
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-title {
  margin: 0;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 700;
}

.nav a.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.hero {
  padding: 34px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(244, 249, 255, 0.76) 100%);
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  max-width: 9ch;
}

.hero-copy p {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  min-height: 280px;
}

.orb {
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.95) 0%, rgba(225, 238, 255, 0.82) 44%, rgba(201, 223, 252, 0.4) 100%);
  border: 1px solid rgba(37, 90, 157, 0.08);
}

.orb::before,
.orb::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(28, 93, 176, 0.12);
}

.orb::before {
  width: 86%;
  height: 70%;
  left: 7%;
  top: 15%;
}

.orb::after {
  width: 66%;
  height: 54%;
  left: 17%;
  top: 23%;
}

.hero-dog {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(88px, 14vw, 148px);
}

.float-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--panel-strong);
  border: 1px solid rgba(31, 84, 153, 0.12);
  box-shadow: 0 16px 28px rgba(34, 74, 126, 0.12);
  font-size: 24px;
}

.pill-a { top: 14%; left: 10%; }
.pill-b { top: 12%; right: 12%; }
.pill-c { bottom: 20%; left: 12%; }
.pill-d { bottom: 16%; right: 10%; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 20px;
  margin-top: 20px;
}

.panel {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.panel-main {
  padding: 28px;
}

.panel-side {
  padding: 24px;
}

.panel h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.panel p,
.panel li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.stack {
  display: grid;
  gap: 14px;
}

.stack-tight {
  display: grid;
  gap: 10px;
}

.list {
  margin: 0;
  padding-left: 20px;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(219, 235, 255, 0.55);
  border: 1px solid rgba(31, 84, 153, 0.12);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1d5bad 0%, #153f7b 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(21, 63, 123, 0.24);
}

.meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .topbar,
  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    flex: 1 1 auto;
  }

  .hero,
  .panel-main,
  .panel-side {
    padding: 22px;
  }

  .hero-visual {
    min-height: 250px;
  }

  .hero-copy h1 {
    max-width: none;
  }
}
