:root {
  --ink: #3F407D;
  --sky: #BFE6F7;
  --mint: #D5F6E3;
  --peach: #F5B7A8;
  --butter: #F7E49A;
  --lilac: #CDBCF6;
  --bg: #FFF9F2;
  --card: #FFFFFF;
  --text: #2A2B3A;
  --muted: #6B6D86;
  --line: rgba(63, 64, 125, 0.12);
  --line-strong: rgba(63, 64, 125, 0.22);
  --shadow-soft: 0 12px 30px rgba(63, 64, 125, 0.10);
  --shadow-hover: 0 16px 36px rgba(63, 64, 125, 0.14);
  --radius-card: 22px;
  --radius-pill: 999px;
  --logo-primary: var(--ink);
  --logo-primary-dark: #31326a;
  --logo-secondary: var(--sky);
  --logo-secondary-dark: #9fd8f0;
  --logo-accent: var(--peach);
  --logo-accent-dark: #ea9a88;
  --surface-tint: rgba(255, 255, 255, 0.82);
  --success: #38a169;
  --warning: #d69e2e;
  --danger: #e86b7e;
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snappy: cubic-bezier(0.2, 0.8, 0.2, 1);
  --motion-fast: 160ms;
  --motion-medium: 260ms;
  --motion-slow: 340ms;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  position: relative;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background-image: none;
  z-index: -2;
}

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

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

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

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.1;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

.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;
}

.font-display {
  font-family: "Nunito", system-ui, sans-serif;
}

.playful {
  font-family: "Baloo 2", "Nunito", sans-serif;
  letter-spacing: 0.02em;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.page-shell {
  padding-top: 156px;
}

.section {
  padding: 72px 0;
}

.section-tight {
  padding: 48px 0;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.section-title .accent {
  color: var(--ink);
  position: relative;
}

.section-title .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.32em;
  border-radius: 999px;
  background: rgba(245, 183, 168, 0.65);
  z-index: -1;
}

.section-kicker {
  display: none !important;
}

.section-kicker::before {
  content: none;
}

.section-head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.section-head.center {
  text-align: center;
  justify-items: center;
}

.section-copy {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 62ch;
}

.soft-card,
.panel,
.card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.soft-card:hover,
.card-hover:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card-hover {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.surface {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(63, 64, 125, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

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

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  box-shadow: 0 4px 0 rgba(63, 64, 125, 0.06);
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 22px rgba(63, 64, 125, 0.12);
}

.btn:active {
  transform: translateY(0) scale(0.995);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--logo-primary-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-color: rgba(63, 64, 125, 0.18);
}

.btn-secondary:hover {
  background: #fff;
  border-color: rgba(63, 64, 125, 0.28);
}

.btn-peach {
  background: var(--peach);
  color: #3b3140;
}

.btn-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-circle {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(191, 230, 247, 0.6);
  border: 1px solid rgba(63, 64, 125, 0.08);
  color: var(--ink);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(213, 246, 227, 0.65);
  color: var(--ink);
  border: 1px solid rgba(63, 64, 125, 0.07);
  font-size: 0.78rem;
  font-weight: 700;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.partner-pill:hover {
  background: transparent;
  color: var(--ink);
  opacity: 0.9;
  transform: none;
  box-shadow: none;
}

.partner-pill:active {
  transform: none;
}

.partner-logo-mini {
  width: auto;
  height: 0.95rem;
  object-fit: contain;
  display: block;
  opacity: 0.92;
}

.partner-logo-badge {
  height: 4.25rem;
  opacity: 1;
}

.partner-tech-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.75rem;
  border-radius: 14px;
  background: rgba(63, 64, 125, 0.08);
  border: 1px solid rgba(63, 64, 125, 0.12);
  color: var(--ink);
  line-height: 1.15;
}

.hero .partner-pill .partner-logo-badge,
.thanks-card .partner-pill .partner-logo-badge {
  background: var(--ink);
  border-radius: 18px;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 18px rgba(63, 64, 125, 0.16);
}

.hero .partner-pill .partner-tech-badge,
.thanks-card .partner-pill .partner-tech-badge {
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 18px rgba(63, 64, 125, 0.16);
}

.partner-logo-footer {
  height: 5.25rem;
}

.partner-pill strong {
  color: inherit;
}

.partner-pill .dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(213, 246, 227, 0.55);
}

.site-nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.85rem 0;
  pointer-events: none;
}

.site-nav {
  width: min(1180px, calc(100% - 1rem));
  margin-inline: auto;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(63, 64, 125, 0.1);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(63, 64, 125, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0.85rem;
}

.site-nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 16px;
  background: rgba(191, 230, 247, 0.85);
  border: 2px solid rgba(63, 64, 125, 0.08);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35);
}

.brand-mark-img {
  width: 4.75rem;
  height: 4.75rem;
  object-fit: contain;
  display: block;
  border-radius: 16px;
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.brand-wordmark {
  display: block;
  width: auto;
  height: 2.9rem;
  object-fit: contain;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nav-link {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-weight: 800;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink);
  background: rgba(191, 230, 247, 0.4);
  border-color: rgba(63, 64, 125, 0.08);
}

.nav-link.is-active,
.nav-link[aria-current="page"],
.nav-link[aria-current="location"] {
  color: var(--ink);
  background: rgba(205, 188, 246, 0.26);
  border-color: rgba(63, 64, 125, 0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(63, 64, 125, 0.12);
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  transition:
    transform var(--motion-fast) var(--ease-standard),
    background-color var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(42, 43, 58, 0.18);
  backdrop-filter: blur(8px);
  padding: 1rem;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--motion-medium) ease,
    visibility 0s linear var(--motion-medium);
}

.mobile-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mobile-menu-panel {
  width: min(440px, 100%);
  margin-left: auto;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(63, 64, 125, 0.12);
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(63, 64, 125, 0.15);
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
  opacity: 0;
  transform: translateX(18px) scale(0.985);
  transform-origin: top right;
  transition:
    transform var(--motion-medium) var(--ease-standard),
    opacity var(--motion-fast) ease;
  will-change: transform, opacity;
  max-height: calc(100dvh - 2rem);
  overflow: auto;
}

.mobile-menu[aria-hidden="false"] .mobile-menu-panel {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.mobile-menu-links {
  display: grid;
  gap: 0.35rem;
}

.mobile-menu-links .nav-link {
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  opacity: 0;
  transform: translateX(10px);
  transition:
    transform var(--motion-medium) var(--ease-standard),
    opacity var(--motion-fast) ease,
    background-color 150ms ease,
    color 150ms ease,
    border-color 150ms ease;
}

.mobile-menu[aria-hidden="false"] .mobile-menu-links .nav-link {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-links .mobile-menu-cta {
  width: 100%;
  justify-content: center;
  min-height: 46px;
  margin-top: 0.35rem;
  text-align: center;
}

.mobile-menu[aria-hidden="false"] .mobile-menu-links .nav-link:nth-child(1) { transition-delay: 40ms; }
.mobile-menu[aria-hidden="false"] .mobile-menu-links .nav-link:nth-child(2) { transition-delay: 70ms; }
.mobile-menu[aria-hidden="false"] .mobile-menu-links .nav-link:nth-child(3) { transition-delay: 100ms; }
.mobile-menu[aria-hidden="false"] .mobile-menu-links .nav-link:nth-child(4) { transition-delay: 130ms; }
.mobile-menu[aria-hidden="false"] .mobile-menu-links .nav-link:nth-child(5) { transition-delay: 160ms; }
.mobile-menu[aria-hidden="false"] .mobile-menu-links .nav-link:nth-child(6) { transition-delay: 190ms; }

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
  background: rgba(191, 230, 247, 0.35);
  border-color: rgba(63, 64, 125, 0.2);
  box-shadow: 0 8px 18px rgba(63, 64, 125, 0.12);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 1rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -6% 2% auto;
  width: min(32vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(205, 188, 246, 0.18);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1rem;
}

.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 4.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 0.96;
}

.hero-title .line-mark {
  display: inline;
  position: relative;
}

.hero-title .line-mark::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: 0.03em;
  height: 0.24em;
  border-radius: 999px;
  background: rgba(247, 228, 154, 0.85);
  z-index: -1;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 58ch;
}

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

.hero-visual {
  position: relative;
  padding: 0.65rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(63, 64, 125, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(63, 64, 125, 0.08);
  background: white;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3.5;
  object-fit: cover;
}

.hero-card-caption {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(63, 64, 125, 0.08);
  box-shadow: 0 8px 20px rgba(63, 64, 125, 0.12);
  backdrop-filter: blur(6px);
  display: grid;
  gap: 0.2rem;
}

.hero-card-caption strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.hero-card-caption span {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-floating {
  position: absolute;
  display: grid;
  gap: 0.25rem;
  padding: 0.7rem 0.8rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(63, 64, 125, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-floating strong {
  font-size: 0.8rem;
  color: var(--ink);
}

.hero-floating span {
  font-size: 0.72rem;
  color: var(--muted);
}

.hero-floating.one {
  top: 1rem;
  right: -0.5rem;
  transform: rotate(2deg);
}

.hero-floating.two {
  left: -0.4rem;
  top: 1.1rem;
  bottom: auto;
  transform: rotate(-3deg);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.6;
  pointer-events: none;
}

.blob.sky { background: rgba(191, 230, 247, 0.8); }
.blob.mint { background: rgba(213, 246, 227, 0.9); }
.blob.peach { background: rgba(245, 183, 168, 0.65); }
.blob.lilac { background: rgba(205, 188, 246, 0.65); }

.list-check {
  display: grid;
  gap: 0.75rem;
}

.list-check li {
  list-style: none;
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--text);
  line-height: 1.55;
}

.list-check li::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 8px;
  margin-top: 0.15rem;
  background: var(--mint);
  border: 1px solid rgba(63, 64, 125, 0.09);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35);
}

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

.feature-card {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(63,64,125,0.08);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.55rem;
}

.feature-card h3 {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(63,64,125,0.12);
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(63,64,125,0.2);
}

.chip[role="tab"] {
  outline: none;
}

.chip.is-active,
.chip[aria-selected="true"] {
  background: rgba(63, 64, 125, 0.96);
  color: #fff;
  border-color: rgba(63,64,125,0.85);
  box-shadow: 0 8px 18px rgba(63, 64, 125, 0.18);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-preview-stack {
  display: grid;
  gap: 1rem;
}

.project-teaser-row {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  max-height: 220px;
}

.project-grid.project-grid-fade {
  opacity: 0.52;
  filter: saturate(0.5);
  pointer-events: none;
}

.project-teaser-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 249, 242, 0.2) 0%,
      rgba(255, 249, 242, 0.62) 28%,
      rgba(255, 249, 242, 0.95) 58%,
      rgba(255, 249, 242, 1) 100%
    );
  pointer-events: none;
  z-index: 1;
}

.project-teaser-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  pointer-events: none;
  padding: 0.75rem;
}

.project-teaser-overlay-content {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
}

.project-teaser-overlay .btn {
  pointer-events: auto;
  box-shadow: 0 10px 24px rgba(63, 64, 125, 0.14);
}

.project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(63,64,125,0.08);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(63,64,125,0.16);
}

.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(191, 230, 247, 0.22);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-theme-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(63,64,125,0.08);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ink);
}

.project-body {
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.project-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
}

.project-desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
}

.project-actions .btn-link {
  padding: 0.55rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(63,64,125,0.14);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 18px rgba(63, 64, 125, 0.14);
}

.project-actions .btn-link:hover {
  background: var(--logo-primary-dark);
  border-color: rgba(63,64,125,0.2);
}

.project-empty {
  padding: 1rem;
  color: var(--muted);
  text-align: center;
  border-radius: 18px;
  border: 1px dashed rgba(63,64,125,0.16);
  background: rgba(255,255,255,0.75);
}

.preview-dialog {
  border: 0;
  padding: 0;
  border-radius: 22px;
  width: min(92vw, 900px);
  box-shadow: 0 26px 56px rgba(63, 64, 125, 0.2);
  overflow: hidden;
  background: #fff;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition:
    transform var(--motion-medium) var(--ease-standard),
    opacity var(--motion-fast) ease;
  will-change: transform, opacity;
}

.preview-dialog.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.preview-dialog::backdrop {
  background: rgba(63, 64, 125, 0.28);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--motion-medium) ease;
}

.preview-dialog.is-open::backdrop {
  opacity: 1;
}

.preview-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  opacity: 0;
  transform: translateY(10px);
  transition:
    transform var(--motion-medium) var(--ease-standard),
    opacity 200ms ease;
}

.preview-dialog.is-open .preview-layout {
  opacity: 1;
  transform: translateY(0);
}

.preview-image {
  background: rgba(191, 230, 247, 0.2);
}

.preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-content {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.preview-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.preview-close {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 14px;
  border: 1px solid rgba(63,64,125,0.12);
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  font-weight: 800;
  transition:
    transform var(--motion-fast) var(--ease-standard),
    background-color var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.preview-close:hover,
.preview-close:focus-visible {
  background: rgba(191, 230, 247, 0.35);
  border-color: rgba(63,64,125,0.18);
  box-shadow: 0 8px 16px rgba(63, 64, 125, 0.1);
  transform: translateY(-1px) scale(1.02);
}

.preview-dialog[data-theme="meisjes"] {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 251, 0.98));
  box-shadow: 0 26px 56px rgba(227, 72, 147, 0.18);
}

.preview-dialog[data-theme="meisjes"]::backdrop {
  background: rgba(227, 72, 147, 0.22);
}

.preview-dialog[data-theme="meisjes"] .preview-image {
  background: rgba(255, 186, 220, 0.18);
}

.preview-dialog[data-theme="meisjes"] .preview-content {
  background: linear-gradient(180deg, rgba(255, 251, 253, 0.96), rgba(255, 243, 250, 0.96));
}

.preview-dialog[data-theme="meisjes"] .preview-close {
  border-color: rgba(227, 72, 147, 0.16);
  background: rgba(255,255,255,0.92);
  color: #bf2f79;
}

.preview-dialog[data-theme="meisjes"] .preview-close:hover,
.preview-dialog[data-theme="meisjes"] .preview-close:focus-visible {
  background: rgba(255, 206, 231, 0.42);
  border-color: rgba(227, 72, 147, 0.24);
  box-shadow: 0 8px 16px rgba(227, 72, 147, 0.12);
}

.preview-dialog[data-theme="meisjes"] #preview-theme {
  color: #bf2f79;
}

.preview-dialog[data-theme="meisjes"] #preview-title {
  color: #bf2f79 !important;
}

.preview-dialog[data-theme="meisjes"] #preview-desc {
  color: #8f5875;
}

.preview-dialog[data-theme="meisjes"] .tag {
  background: rgba(255, 206, 231, 0.62);
  border-color: rgba(227, 72, 147, 0.12);
  color: #bf2f79;
}

.preview-dialog[data-theme="meisjes"] #preview-cta {
  background: #e34893;
  border-color: rgba(227, 72, 147, 0.95);
  box-shadow: 0 10px 22px rgba(227, 72, 147, 0.16);
}

.preview-dialog[data-theme="meisjes"] #preview-cta:hover {
  background: #cd367f;
  border-color: rgba(205, 54, 127, 0.95);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.metric-pill {
  border-radius: 16px;
  border: 1px solid rgba(63,64,125,0.08);
  background: rgba(255,255,255,0.85);
  padding: 0.8rem;
  display: grid;
  gap: 0.15rem;
}

.metric-pill strong {
  color: var(--ink);
  font-size: 1rem;
}

.metric-pill span {
  color: var(--muted);
  font-size: 0.78rem;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.package-preview-stack {
  display: grid;
  gap: 1rem;
}

.package-teaser-row {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  max-height: 210px;
}

.package-grid.package-grid-fade {
  opacity: 0.66;
  filter: saturate(0.62);
  pointer-events: none;
}

.package-teaser-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 249, 242, 0) 0%,
      rgba(255, 249, 242, 0.48) 34%,
      rgba(255, 249, 242, 0.92) 70%,
      rgba(255, 249, 242, 1) 100%
    );
  pointer-events: none;
  z-index: 1;
}

.package-teaser-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  pointer-events: none;
  padding: 0.75rem;
}

.package-teaser-overlay .btn {
  pointer-events: auto;
  box-shadow: 0 10px 24px rgba(63, 64, 125, 0.14);
}

.package-card {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.package-card-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.package-thumb {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(63,64,125,0.08);
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow-soft);
}

.package-thumb img {
  width: 100%;
  aspect-ratio: 8 / 3;
  object-fit: cover;
}

.package-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(191,230,247,0.55);
  border: 1px solid rgba(63,64,125,0.1);
  color: var(--ink);
}

.package-price {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(213,246,227,0.6);
  border: 1px solid rgba(63,64,125,0.08);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.8rem;
}

.package-card h3 {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.08rem;
}

.package-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.package-list {
  display: grid;
  gap: 0.45rem;
}

.package-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.45rem;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.45;
}

.package-list li::before {
  content: "✓";
  color: var(--ink);
  font-weight: 900;
}

.chip[data-theme="meisjes"] {
  border-color: rgba(227, 72, 147, 0.2);
  background: rgba(255, 245, 250, 0.95);
  color: #bf2f79;
}

.chip[data-theme="meisjes"]:hover {
  border-color: rgba(227, 72, 147, 0.32);
}

.chip[data-theme="meisjes"].is-active,
.chip[data-theme="meisjes"][aria-selected="true"] {
  background: rgba(227, 72, 147, 0.96);
  color: #fff;
  border-color: rgba(227, 72, 147, 0.88);
  box-shadow: 0 8px 18px rgba(227, 72, 147, 0.2);
}

.project-card[data-theme="meisjes"] {
  border-color: rgba(227, 72, 147, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 252, 0.96));
}

.project-card[data-theme="meisjes"]:hover {
  border-color: rgba(227, 72, 147, 0.24);
  box-shadow: 0 14px 28px rgba(227, 72, 147, 0.12);
}

.project-card[data-theme="meisjes"] .project-media {
  background: rgba(255, 186, 220, 0.18);
}

.project-card[data-theme="meisjes"] .project-theme-badge {
  border-color: rgba(227, 72, 147, 0.14);
  background: rgba(255, 248, 252, 0.95);
  color: #bf2f79;
}

.project-card[data-theme="meisjes"] .project-title {
  color: #bf2f79;
}

.project-card[data-theme="meisjes"] .project-desc {
  color: #8f5875;
}

.project-card[data-theme="meisjes"] .tag {
  background: rgba(255, 206, 231, 0.62);
  border-color: rgba(227, 72, 147, 0.12);
  color: #bf2f79;
}

.project-card[data-theme="meisjes"] .project-actions .btn-link {
  background: #e34893;
  border-color: rgba(227, 72, 147, 0.9);
  box-shadow: 0 8px 18px rgba(227, 72, 147, 0.16);
}

.project-card[data-theme="meisjes"] .project-actions .btn-link:hover {
  background: #cd367f;
  border-color: rgba(205, 54, 127, 0.95);
}

.soft-card.package-card.is-girls-package {
  border-color: rgba(227, 72, 147, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 243, 250, 0.97));
  box-shadow: 0 14px 28px rgba(227, 72, 147, 0.1);
}

.soft-card.package-card.is-girls-package .package-thumb {
  border-color: rgba(227, 72, 147, 0.14);
  background: rgba(255, 239, 248, 0.9);
}

.soft-card.package-card.is-girls-package .package-price {
  background: rgba(255, 206, 231, 0.56);
  border-color: rgba(227, 72, 147, 0.14);
  color: #bf2f79;
}

.soft-card.package-card.is-girls-package h3 {
  color: #bf2f79;
}

.soft-card.package-card.is-girls-package p,
.soft-card.package-card.is-girls-package .package-list li {
  color: #8f5875;
}

.soft-card.package-card.is-girls-package .package-list li::before {
  color: #e34893;
}

.soft-card.package-card.is-girls-package .package-card-cta {
  background: #e34893;
  border-color: rgba(227, 72, 147, 0.95);
  color: #fff;
}

.soft-card.package-card.is-girls-package .package-card-cta:hover {
  background: #cd367f;
  border-color: rgba(205, 54, 127, 0.95);
  color: #fff;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(63,64,125,0.08);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-soft);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid rgba(63,64,125,0.08);
  text-align: left;
  font-size: 0.9rem;
}

.compare-table th {
  color: var(--ink);
  font-weight: 800;
  background: rgba(191,230,247,0.25);
}

.compare-table td {
  color: var(--text);
}

.compare-table td.muted {
  color: var(--muted);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.step-card {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 12px;
  background: rgba(205,188,246,0.45);
  border: 1px solid rgba(63,64,125,0.1);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 900;
}

.step-card h3 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.step-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid rgba(63,64,125,0.08);
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-medium) var(--ease-standard),
    transform var(--motion-medium) var(--ease-standard),
    background-color var(--motion-fast) ease;
}

.faq-item[open] {
  border-color: rgba(63,64,125,0.14);
  box-shadow: 0 16px 34px rgba(63, 64, 125, 0.12);
  transform: translateY(-1px);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  font-weight: 800;
  color: var(--ink);
  transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease;
}

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

.faq-item summary::after {
  content: "+";
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(191,230,247,0.4);
  border: 1px solid rgba(63,64,125,0.08);
  transition:
    transform var(--motion-medium) var(--ease-standard),
    background-color var(--motion-fast) ease,
    border-color var(--motion-fast) ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: rgba(213,246,227,0.55);
  border-color: rgba(63,64,125,0.12);
  transform: rotate(180deg);
}

.faq-item[open] summary {
  background: rgba(191, 230, 247, 0.14);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 1rem;
  color: var(--muted);
  line-height: 1.65;
  opacity: 0;
  overflow: hidden;
  transition:
    grid-template-rows var(--motion-medium) var(--ease-standard),
    padding-bottom var(--motion-medium) var(--ease-standard),
    opacity var(--motion-fast) ease;
}

.faq-answer > .faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
  padding-bottom: 1rem;
  opacity: 1;
}

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

.about-card p {
  color: var(--muted);
  line-height: 1.7;
}

.about-highlight {
  border-radius: 18px;
  padding: 0.9rem;
  background: rgba(191,230,247,0.35);
  border: 1px solid rgba(63,64,125,0.07);
  color: var(--ink);
  font-weight: 700;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(63,64,125,0.08);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,0.9);
  padding: 1.1rem;
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.65;
}

.cta-banner::before {
  width: 180px;
  height: 180px;
  background: rgba(191,230,247,0.75);
  top: -40px;
  right: -20px;
}

.cta-banner::after {
  width: 160px;
  height: 160px;
  background: rgba(245,183,168,0.6);
  bottom: -50px;
  left: -30px;
}

.cta-banner.cta-banner-clean::before,
.cta-banner.cta-banner-clean::after {
  content: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
  align-items: center;
}

.cta-banner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-banner p {
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  margin-top: 3rem;
  padding: 2.3rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #2a2c61;
  color: rgba(255, 255, 255, 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.footer-col {
  display: grid;
  gap: 0.7rem;
}

.footer-brand-logo {
  display: block;
  width: auto;
  height: 3.25rem;
  object-fit: contain;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
}

.footer-links {
  display: grid;
  gap: 0.4rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.footer-links a:hover {
  color: #fff;
}

.footer-meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.footer-note {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.footer-note a {
  color: #fff;
  font-weight: 800;
}

.footer-partner-block {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.15rem;
}

.footer-partner-pill {
  width: fit-content;
  gap: 0.55rem;
  color: #fff;
}

.footer-partner-pill a {
  display: inline-flex;
  align-items: center;
}

.site-footer .partner-pill:hover {
  color: #fff;
  opacity: 0.95;
}

.site-footer .brand-sub {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .badge-soft {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer .badge-soft.sky { background: rgba(191,230,247,0.16); }
.site-footer .badge-soft.mint { background: rgba(213,246,227,0.16); }
.site-footer .badge-soft.peach { background: rgba(245,183,168,0.16); }
.site-footer .badge-soft.butter { background: rgba(247,228,154,0.16); }
.site-footer .badge-soft.lilac { background: rgba(205,188,246,0.16); }

.footer-meta-partner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-meta-partner a {
  display: inline-flex;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

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

.stat-card {
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(63,64,125,0.08);
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.2rem;
}

.stat-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-card-icon {
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: rgba(191,230,247,0.45);
  border: 1px solid rgba(63,64,125,0.08);
  color: var(--ink);
  flex: 0 0 auto;
}

.stat-card-icon svg {
  display: block;
}

.stat-card strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.notice {
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(63,64,125,0.1);
  background: rgba(255,255,255,0.92);
  color: var(--text);
}

.notice.error {
  border-color: rgba(232, 107, 126, 0.3);
  background: rgba(232, 107, 126, 0.08);
}

.notice.success {
  border-color: rgba(56, 161, 105, 0.25);
  background: rgba(56, 161, 105, 0.08);
}

.form-page {
  padding-top: 156px;
}

.form-shell {
  display: grid;
  gap: 1rem;
}

.form-header-card {
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.form-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.form-main,
.form-side {
  display: grid;
  gap: 1rem;
}

.form-stepper {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.step-progress {
  display: grid;
  gap: 0.4rem;
}

.step-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.84rem;
}

.step-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(63,64,125,0.08);
  overflow: hidden;
}

.step-progress-bar > span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ink);
  border-radius: inherit;
  transition: width 180ms ease;
}

.step-panel {
  display: none;
  gap: 0.95rem;
}

.step-panel.is-active {
  display: grid;
}

.step-title {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.step-copy {
  color: var(--muted);
  line-height: 1.65;
}

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

.theme-option {
  position: relative;
}

.theme-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.theme-card {
  height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(63,64,125,0.09);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: grid;
  grid-template-columns: 92px 1fr;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.theme-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-card-body {
  padding: 0.75rem;
  display: grid;
  gap: 0.35rem;
  align-content: center;
}

.theme-card-body strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.theme-card-body span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.theme-option input:checked + .theme-card {
  border-color: rgba(63,64,125,0.22);
  box-shadow: 0 12px 28px rgba(63,64,125,0.14);
  transform: translateY(-1px);
}

.theme-option input:focus-visible + .theme-card {
  outline: 3px solid rgba(191,230,247,0.9);
  outline-offset: 2px;
}

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

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 800;
  color: var(--ink);
  font-size: 0.88rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(63,64,125,0.14);
  background: rgba(255,255,255,0.95);
  padding: 0.75rem 0.85rem;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field .hint {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.toggle-list {
  display: grid;
  gap: 0.6rem;
}

.toggle-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(63,64,125,0.08);
  background: rgba(255,255,255,0.9);
}

.toggle-item input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--ink);
}

.deadline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.deadline-chip {
  position: relative;
}

.deadline-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.deadline-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(63,64,125,0.12);
  background: rgba(255,255,255,0.94);
  font-weight: 700;
  color: var(--ink);
}

.deadline-chip input:checked + span {
  background: rgba(191,230,247,0.5);
  border-color: rgba(63,64,125,0.2);
}

.range-wrap {
  display: grid;
  gap: 0.7rem;
}

.range-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.range-display {
  padding: 0.5rem 0.8rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(63,64,125,0.09);
  color: var(--ink);
  font-weight: 900;
}

.range-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--ink);
}

.range-wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
}

.range-wrap input[type="range"]::-webkit-slider-thumb {
  margin-top: -4px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.form-actions .btn {
  min-width: 150px;
}

.summary-card {
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
  position: sticky;
  top: 112px;
}

.summary-card h3 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.summary-rows {
  display: grid;
  gap: 0.5rem;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(63,64,125,0.06);
}

.summary-row span {
  color: var(--muted);
  font-size: 0.84rem;
}

.summary-row strong {
  color: var(--ink);
  font-size: 0.9rem;
  text-align: right;
}

.summary-row.total {
  background: rgba(191,230,247,0.36);
}

.summary-note {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.inline-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid rgba(63,64,125,0.08);
  background: rgba(255,255,255,0.9);
}

.badge-soft.sky { background: rgba(191,230,247,0.4); }
.badge-soft.mint { background: rgba(213,246,227,0.45); }
.badge-soft.peach { background: rgba(245,183,168,0.35); }
.badge-soft.butter { background: rgba(247,228,154,0.42); }
.badge-soft.lilac { background: rgba(205,188,246,0.35); }

.redirect-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.redirect-card {
  width: min(520px, 100%);
  padding: 1rem;
  text-align: center;
  display: grid;
  gap: 0.75rem;
}

.redirect-card p {
  color: var(--muted);
}

.thanks-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.thanks-card {
  width: min(760px, 100%);
  padding: 1.1rem;
  display: grid;
  gap: 1rem;
}

.thanks-top {
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  text-align: center;
}

.thanks-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.thanks-copy {
  color: var(--muted);
  line-height: 1.7;
  max-width: 60ch;
}

.thanks-steps {
  display: grid;
  gap: 0.7rem;
}

.thanks-step {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.8rem;
  border-radius: 16px;
  border: 1px solid rgba(63,64,125,0.08);
  background: rgba(255,255,255,0.82);
}

.thanks-step-index {
  width: 2rem;
  height: 2rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(205,188,246,0.4);
  border: 1px solid rgba(63,64,125,0.08);
  color: var(--ink);
  font-weight: 900;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.embed-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.image-stack {
  position: relative;
  display: grid;
  gap: 0.7rem;
}

.image-stack-main,
.image-stack-mini {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(63,64,125,0.08);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,0.85);
}

.image-stack-main img {
  width: 100%;
  aspect-ratio: 4/3.1;
  object-fit: cover;
}

.image-stack-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.image-stack-mini img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.ladybug-runway {
  margin-top: 5px;
  margin-bottom: 5px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  pointer-events: none;
}

.hero-ladybug-roamer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 1;
  transition: opacity 220ms ease;
}

.hero-ladybug-roamer.is-hidden {
  opacity: 0;
}

.hero-ladybug-sprite {
  --bug-scale: 0.9;
  position: absolute;
  top: 0;
  left: 0;
  animation: none;
  will-change: transform;
}

.hero-ladybug-roamer .ladybug-shape {
  filter: drop-shadow(0 3px 8px rgba(31, 32, 48, 0.14));
  animation-duration: 360ms;
}

.screen-roamer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 1;
  transition: opacity 220ms ease;
}

.screen-roamer.is-hidden {
  opacity: 0;
}

.screen-roamer-sprite {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

.ladybug-track {
  position: relative;
  height: 156px;
  overflow: hidden;
}

.ladybug {
  position: absolute;
  top: var(--bug-y, 50%);
  left: -8rem;
  transform: translateY(-50%);
  animation: ladybug-run var(--bug-duration, 17s) linear infinite;
  animation-delay: var(--bug-delay, 0s);
  will-change: left;
}

.ladybug-shape {
  position: relative;
  width: 72px;
  height: 52px;
  transform: scale(var(--bug-scale, 1));
  transform-origin: left center;
  animation: ladybug-bob 420ms ease-in-out infinite alternate;
  filter: drop-shadow(0 2px 4px rgba(31, 32, 48, 0.12));
}

.ladybug-shape::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 16px;
  width: 11px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  box-shadow: 8px 3px 0 rgba(255,255,255,0.42);
  transform: rotate(-10deg);
}

.ladybug-shape::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 31px;
  width: 38px;
  height: 7px;
  border-radius: 999px;
  background: rgba(31, 32, 48, 0.08);
}

.ladybug-shell {
  position: absolute;
  left: 16px;
  top: 12px;
  width: 36px;
  height: 26px;
  border-radius: 65% 58% 56% 52% / 62% 62% 48% 48%;
  background: #e84a4f;
  border: 2px solid #1f2030;
  box-shadow: inset -2px -2px 0 rgba(0,0,0,0.08), inset 2px 2px 0 rgba(255,255,255,0.2);
}

.ladybug-shell::before {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: #1f2030;
  border-radius: 999px;
  opacity: 0.9;
}

.ladybug-shell::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #1f2030;
  box-shadow:
    2px 10px 0 #1f2030,
    12px 2px 0 #1f2030,
    12px 15px 0 #1f2030,
    20px 5px 0 #1f2030,
    20px 17px 0 #1f2030,
    25px 11px 0 #1f2030;
}

.ladybug-head {
  position: absolute;
  right: 14px;
  top: 15px;
  width: 15px;
  height: 15px;
  border-radius: 55% 55% 48% 48%;
  background: #1f2030;
}

.ladybug-head::before,
.ladybug-head::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.ladybug-head::before {
  width: 9px;
  height: 1.4px;
  background: #1f2030;
  top: -4px;
  left: 1px;
  transform-origin: right center;
  transform: rotate(-28deg);
  box-shadow: 6px 1px 0 #1f2030;
}

.ladybug-head::after {
  width: 2.4px;
  height: 2.4px;
  background: rgba(255,255,255,0.95);
  top: 5px;
  left: 4px;
  border-radius: 999px;
  box-shadow: 4px 0 0 rgba(255,255,255,0.9);
}

.ladybug-legs {
  display: none;
}

@keyframes ladybug-run {
  from { left: -8rem; }
  to { left: calc(100% + 8rem); }
}

@keyframes ladybug-bob {
  from { transform: scale(var(--bug-scale, 1)) translateY(0); }
  to { transform: scale(var(--bug-scale, 1)) translateY(-1.5px) rotate(1deg); }
}

.page-roamer-butterfly .screen-roamer-sprite {
  --roamer-scale: 0.94;
}

.butterfly-shape {
  position: relative;
  width: 76px;
  height: 56px;
  transform: scale(var(--roamer-scale, 1));
  transform-origin: center;
  filter: drop-shadow(0 3px 10px rgba(31, 32, 48, 0.14));
  animation: butterfly-hover 340ms ease-in-out infinite alternate;
}

.butterfly-wing {
  position: absolute;
  top: 8px;
  width: 28px;
  height: 32px;
  border: 1.5px solid rgba(63, 44, 90, 0.28);
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.85), rgba(255,255,255,0) 42%),
    linear-gradient(160deg, rgba(142, 205, 255, 0.92), rgba(233, 147, 255, 0.92));
  box-shadow: inset 0 -3px 0 rgba(255,255,255,0.18);
}

.butterfly-wing::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 16px;
  bottom: -6px;
  left: 5px;
  border-radius: 55% 45% 65% 45% / 60% 55% 45% 40%;
  border: 1.3px solid rgba(63, 44, 90, 0.22);
  background:
    radial-gradient(circle at 38% 30%, rgba(255,255,255,0.72), rgba(255,255,255,0) 44%),
    linear-gradient(155deg, rgba(255, 211, 123, 0.9), rgba(255, 157, 214, 0.92));
}

.butterfly-wing::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(63, 44, 90, 0.46);
  top: 10px;
  left: 8px;
  box-shadow:
    8px 6px 0 rgba(63, 44, 90, 0.30),
    3px 14px 0 rgba(63, 44, 90, 0.22);
}

.butterfly-wing.left {
  left: 12px;
  border-radius: 75% 40% 70% 35% / 70% 55% 62% 44%;
  transform-origin: right center;
  animation: butterfly-flap-left 220ms ease-in-out infinite;
}

.butterfly-wing.right {
  right: 12px;
  border-radius: 40% 75% 35% 70% / 55% 70% 44% 62%;
  transform-origin: left center;
  animation: butterfly-flap-right 220ms ease-in-out infinite;
  background:
    radial-gradient(circle at 66% 28%, rgba(255,255,255,0.85), rgba(255,255,255,0) 42%),
    linear-gradient(200deg, rgba(142, 205, 255, 0.92), rgba(233, 147, 255, 0.92));
}

.butterfly-body {
  position: absolute;
  left: 34px;
  top: 8px;
  width: 8px;
  height: 34px;
  border-radius: 999px;
  border: 1.4px solid rgba(31, 32, 48, 0.85);
  background: linear-gradient(180deg, rgba(76, 68, 96, 0.98), rgba(34, 36, 56, 0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}

.butterfly-body::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 2px;
  width: 4px;
  height: 1.4px;
  background: rgba(31, 32, 48, 0.9);
  transform-origin: left center;
  transform: rotate(-24deg);
  box-shadow: 0 0 0 transparent, 0 0 0 transparent, 0 0 0 transparent;
}

.butterfly-body::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 2px;
  width: 4px;
  height: 1.4px;
  background: rgba(31, 32, 48, 0.9);
  transform-origin: left center;
  transform: rotate(24deg);
}

@keyframes butterfly-hover {
  from { transform: scale(var(--roamer-scale, 1)) translateY(0); }
  to { transform: scale(var(--roamer-scale, 1)) translateY(-2px); }
}

@keyframes butterfly-flap-left {
  0%, 100% { transform: rotate(6deg) scaleX(1); }
  50% { transform: rotate(-18deg) scaleX(0.92); }
}

@keyframes butterfly-flap-right {
  0%, 100% { transform: rotate(-6deg) scaleX(1); }
  50% { transform: rotate(18deg) scaleX(0.92); }
}

.page-roamer-spaceship .screen-roamer-sprite {
  --roamer-scale: 0.98;
}

.spaceship-shape {
  position: relative;
  width: 92px;
  height: 54px;
  transform: scale(var(--roamer-scale, 1));
  transform-origin: center;
  filter: drop-shadow(0 3px 10px rgba(31, 32, 48, 0.16));
  animation: spaceship-hover 420ms ease-in-out infinite alternate;
}

.spaceship-thruster {
  position: absolute;
  left: 5px;
  top: 22px;
  width: 18px;
  height: 11px;
  border-radius: 8px 0 0 8px;
  background: linear-gradient(90deg, rgba(255, 177, 83, 0.98), rgba(255, 99, 71, 0.9));
  box-shadow: 0 0 10px rgba(255, 148, 77, 0.24);
  animation: spaceship-thruster-pulse 170ms ease-in-out infinite alternate;
}

.spaceship-thruster::after {
  content: "";
  position: absolute;
  left: -8px;
  top: 1px;
  width: 10px;
  height: 9px;
  border-radius: 8px 2px 2px 8px;
  background: linear-gradient(90deg, rgba(255, 240, 154, 0.98), rgba(255, 163, 79, 0.9));
  filter: blur(0.2px);
}

.spaceship-hull {
  position: absolute;
  left: 18px;
  top: 19px;
  width: 58px;
  height: 18px;
  border-radius: 999px 44% 44% 999px / 60% 54% 54% 60%;
  border: 2px solid rgba(50, 74, 122, 0.92);
  background: linear-gradient(180deg, rgba(236, 247, 255, 0.96), rgba(180, 208, 232, 0.96));
  box-shadow: inset 0 -2px 0 rgba(70, 92, 139, 0.12);
}

.spaceship-hull::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 24px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(121, 196, 255, 0.96);
  box-shadow:
    9px 0 0 rgba(121, 196, 255, 0.88),
    18px 0 0 rgba(121, 196, 255, 0.8);
}

.spaceship-hull::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 6px;
  bottom: -5px;
  height: 6px;
  border-radius: 999px;
  background: rgba(121, 196, 255, 0.24);
  filter: blur(0.5px);
}

.spaceship-dome {
  position: absolute;
  left: 40px;
  top: 10px;
  width: 21px;
  height: 13px;
  border-radius: 11px 11px 8px 8px;
  border: 1.5px solid rgba(50, 74, 122, 0.88);
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.9), rgba(255,255,255,0) 40%),
    linear-gradient(180deg, rgba(169, 231, 255, 0.95), rgba(119, 178, 233, 0.95));
}

.spaceship-wing {
  position: absolute;
  left: 28px;
  width: 16px;
  height: 8px;
  border-radius: 4px 10px 3px 4px;
  border: 1.4px solid rgba(50, 74, 122, 0.85);
  background: linear-gradient(180deg, rgba(173, 197, 241, 0.92), rgba(118, 143, 210, 0.9));
}

.spaceship-wing.top {
  top: 15px;
  transform: rotate(-16deg);
}

.spaceship-wing.bottom {
  top: 32px;
  transform: rotate(16deg);
}

@keyframes spaceship-hover {
  from { transform: scale(var(--roamer-scale, 1)) translateY(0); }
  to { transform: scale(var(--roamer-scale, 1)) translateY(-1.6px); }
}

@keyframes spaceship-thruster-pulse {
  from { transform: scaleX(0.9); opacity: 0.9; }
  to { transform: scaleX(1.08); opacity: 1; }
}

/* SVG roamers override the earlier CSS-only shapes for clearer silhouettes */
.page-roamer-butterfly .screen-roamer-sprite {
  --roamer-scale: 0.98;
}

.butterfly-svg {
  display: block;
  width: 76px;
  height: auto;
  transform: scale(var(--roamer-scale, 1)) rotate(90deg);
  transform-origin: center;
  filter: drop-shadow(0 4px 12px rgba(31, 32, 48, 0.16));
  animation: butterfly-svg-hover 320ms ease-in-out infinite alternate;
}

.butterfly-wing-group {
  transform-box: view-box;
}

.butterfly-wing-group-left {
  transform-origin: 70px 50px;
  animation: butterfly-svg-wing-left 170ms ease-in-out infinite;
}

.butterfly-wing-group-right {
  transform-origin: 70px 50px;
  animation: butterfly-svg-wing-right 170ms ease-in-out infinite;
}

.butterfly-wing-top {
  fill: rgba(173, 131, 255, 0.94);
  stroke: rgba(71, 48, 109, 0.58);
  stroke-width: 2;
}

.butterfly-wing-bottom {
  fill: rgba(255, 165, 214, 0.94);
  stroke: rgba(71, 48, 109, 0.46);
  stroke-width: 1.8;
}

.butterfly-wing-spot {
  fill: rgba(255, 243, 176, 0.92);
  stroke: rgba(71, 48, 109, 0.24);
  stroke-width: 1;
}

.butterfly-wing-spot.soft {
  fill: rgba(186, 235, 255, 0.92);
}

.butterfly-body {
  fill: rgba(56, 43, 76, 0.98);
  stroke: rgba(31, 32, 48, 0.94);
  stroke-width: 1.6;
}

.butterfly-head {
  fill: rgba(39, 30, 56, 0.98);
  stroke: rgba(31, 32, 48, 0.94);
  stroke-width: 1.2;
}

.butterfly-antenna {
  fill: none;
  stroke: rgba(39, 30, 56, 0.92);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.butterfly-antenna-tip {
  fill: rgba(255, 178, 112, 0.96);
  stroke: rgba(39, 30, 56, 0.7);
  stroke-width: 0.9;
}

.butterfly-body-highlight {
  fill: none;
  stroke: rgba(255,255,255,0.22);
  stroke-width: 1.2;
  stroke-linecap: round;
}

@keyframes butterfly-svg-hover {
  from { transform: scale(var(--roamer-scale, 1)) rotate(90deg) translateY(0); }
  to { transform: scale(var(--roamer-scale, 1)) rotate(90deg) translateY(-2px); }
}

@keyframes butterfly-svg-wing-left {
  0%, 100% { transform: rotate(9deg) scaleY(1); }
  50% { transform: rotate(-17deg) scaleY(0.97); }
}

@keyframes butterfly-svg-wing-right {
  0%, 100% { transform: rotate(-9deg) scaleY(1); }
  50% { transform: rotate(17deg) scaleY(0.97); }
}

.page-roamer-spaceship .screen-roamer-sprite {
  --roamer-scale: 1.02;
}

.spaceship-svg {
  display: block;
  width: 88px;
  height: auto;
  transform: scale(var(--roamer-scale, 1));
  transform-origin: center;
  filter: drop-shadow(0 4px 13px rgba(31, 32, 48, 0.17));
  animation: spaceship-svg-hover 420ms ease-in-out infinite alternate;
}

.spaceship-flame-group {
  transform-box: view-box;
  transform-origin: 48px 50px;
  animation: spaceship-flame-flicker 145ms ease-in-out infinite alternate;
}

.spaceship-flame-outer {
  fill: rgba(255, 126, 79, 0.95);
  stroke: rgba(226, 90, 56, 0.62);
  stroke-width: 1.5;
}

.spaceship-flame-inner {
  fill: rgba(255, 231, 153, 0.98);
  stroke: rgba(255, 179, 84, 0.48);
  stroke-width: 1;
}

.spaceship-fin,
.spaceship-tail {
  fill: rgba(132, 156, 224, 0.95);
  stroke: rgba(59, 82, 136, 0.82);
  stroke-width: 1.7;
}

.spaceship-body {
  fill: rgba(233, 242, 255, 0.98);
  stroke: rgba(65, 90, 148, 0.9);
  stroke-width: 2;
}

.spaceship-hull-line {
  fill: none;
  stroke: rgba(140, 168, 223, 0.72);
  stroke-width: 2;
}

.spaceship-window {
  fill: rgba(162, 229, 255, 0.95);
  stroke: rgba(57, 97, 164, 0.9);
  stroke-width: 2;
}

.spaceship-window-inner {
  fill: rgba(116, 197, 255, 0.95);
  opacity: 0.88;
}

.spaceship-window-glint {
  fill: rgba(255,255,255,0.92);
}

.spaceship-light {
  fill: rgba(255, 216, 118, 0.96);
  stroke: rgba(74, 96, 148, 0.5);
  stroke-width: 1;
}

.spaceship-nose-line {
  fill: none;
  stroke: rgba(65, 90, 148, 0.72);
  stroke-width: 2;
  stroke-linecap: round;
}

@keyframes spaceship-svg-hover {
  from { transform: scale(var(--roamer-scale, 1)) translateY(0); }
  to { transform: scale(var(--roamer-scale, 1)) translateY(-1.8px); }
}

@keyframes spaceship-flame-flicker {
  from { transform: scaleX(0.92) scaleY(0.96); opacity: 0.94; }
  to { transform: scaleX(1.08) scaleY(1.04); opacity: 1; }
}


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

.callout-card {
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(63,64,125,0.08);
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.4rem;
}

.callout-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}

.callout-card p {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}

.form-alert {
  display: grid;
  gap: 0.25rem;
}

.form-alert strong {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(191, 230, 247, 0.92);
  outline-offset: 2px;
}

::selection {
  background: rgba(191, 230, 247, 0.9);
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .ladybug {
    left: var(--bug-static-x, 8%) !important;
    transform: translateY(-50%);
  }

  .ladybug-shape {
    transform: scale(var(--bug-scale, 1));
  }
}

@media (min-width: 1101px) {
  .site-nav {
    width: calc(100% - clamp(3.5rem, 10vw, 12rem));
    margin-inline: auto;
    border-radius: 22px;
    border-left: 1px solid rgba(63, 64, 125, 0.1);
    border-right: 1px solid rgba(63, 64, 125, 0.1);
    padding-inline: clamp(0.9rem, 2vw, 1.5rem);
  }
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .site-nav-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-layout,
  .embed-split,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }

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

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

  .preview-layout {
    grid-template-columns: 1fr;
  }

  .preview-image img {
    max-height: 46vh;
  }
}

@media (max-width: 760px) {
  .page-shell,
  .form-page {
    padding-top: 132px;
  }

  .hero-ladybug-roamer,
  .screen-roamer {
    opacity: 0.92;
  }

  .hero-ladybug-sprite {
    --bug-scale: 0.72;
  }

  .butterfly-svg {
    width: 58px;
  }

  .spaceship-svg {
    width: 66px;
  }

  .site-nav {
    width: calc(100% - 0.8rem);
    padding: 0.7rem;
    border-radius: 18px;
  }

  .mobile-menu-links .nav-link {
    opacity: 1;
    transform: none;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-wordmark {
    height: 1.95rem;
    max-width: 220px;
  }

  .brand-sub {
    display: none;
  }

  .brand-mark-img {
    width: 3.7rem;
    height: 3.7rem;
  }

  .partner-logo-badge {
    height: 3.15rem;
  }

  .partner-logo-footer {
    height: 4rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .ladybug-track {
    height: 128px;
  }

  .feature-grid,
  .field-grid,
  .callout-grid,
  .stats-grid,
  .project-grid,
  .package-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .theme-grid {
    grid-template-columns: 1fr;
  }

  .theme-card {
    grid-template-columns: 84px 1fr;
  }

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

  .cta-banner-row,
  .thanks-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn {
    min-width: 0;
    width: 100%;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .hero-floating.one,
  .hero-floating.two {
    position: static;
    transform: none;
    margin-top: 0.6rem;
  }

  .hero-visual {
    padding: 0.55rem;
  }
}
