:root {
  --ink: #17243b;
  --muted: #5f6f82;
  --blue: #8edbf1;
  --blue-strong: #35b9de;
  --pink: #ff8bbf;
  --pink-strong: #ee4e9a;
  --lavender: #b7b2ff;
  --paper: #fffafd;
  --surface: rgba(255, 255, 255, 0.74);
  --line: rgba(23, 36, 59, 0.12);
  --shadow: 0 24px 80px rgba(44, 89, 120, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    linear-gradient(135deg, rgba(142, 219, 241, 0.34), rgba(255, 139, 191, 0.24) 46%, rgba(255, 250, 253, 0.96) 78%),
    var(--paper);
  overflow-x: hidden;
}

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

.filament-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 0 28px;
}

.site-header,
.site-footer,
.info-grid article,
.logo-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px 14px 12px 16px;
  border-radius: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
  font-size: 1.05rem;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 16px;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-links a {
  min-height: 42px;
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  transition: color 180ms ease, background-color 180ms ease;
}

.header-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100svh - 190px);
  padding: clamp(36px, 6vw, 70px) 0 clamp(24px, 4vw, 42px);
}

.hero-copy {
  max-width: 710px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--pink-strong);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status::before {
  content: "";
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-strong), var(--pink));
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.45rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  max-width: 670px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  line-height: 1.58;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 20px;
  border: 1px solid rgba(23, 36, 59, 0.14);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  font-weight: 900;
  box-shadow: 0 12px 32px rgba(44, 89, 120, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(238, 78, 154, 0.28);
  box-shadow: 0 18px 44px rgba(44, 89, 120, 0.18);
}

.button svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  flex: 0 0 auto;
}

.button-primary {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink-strong), var(--blue-strong));
}

.hero-art {
  display: grid;
  place-items: center;
  perspective: 900px;
}

.logo-card {
  width: min(100%, 400px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 28px);
  border-radius: 34px;
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 160ms ease;
}

.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(23, 36, 59, 0.14));
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 26px;
}

.info-grid article {
  min-height: 210px;
  padding: 24px;
  border-radius: 28px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--blue-strong), var(--pink));
  font-size: 0.82rem;
  font-weight: 950;
}

.info-grid h2 {
  margin: 22px 0 10px;
  font-size: 1.08rem;
  line-height: 1.18;
}

.info-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding: 18px 22px;
  border-radius: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .hero-art {
    order: -1;
  }

  .logo-card {
    width: min(72vw, 340px);
  }

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

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 22px, 1180px);
    padding-top: 12px;
  }

  .site-header {
    min-height: 62px;
    border-radius: 22px;
  }

  .brand span {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .header-links a {
    min-height: 38px;
    padding: 9px 11px;
    font-size: 0.86rem;
  }

  .hero {
    padding: 28px 0 22px;
    gap: 26px;
  }

  .logo-card {
    width: min(66vw, 264px);
  }

  h1 {
    font-size: clamp(2.58rem, 14.2vw, 3.48rem);
    overflow-wrap: anywhere;
  }

  .lead {
    margin-top: 18px;
    font-size: 1.02rem;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .button {
    width: 100%;
  }

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

  .info-grid article {
    min-height: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  .filament-canvas {
    display: none;
  }
}
