:root {
  --cream: #dff3ff;
  --sky-deep: #7dd3fc;
  --ink: #1f2a4a;
  --ink-soft: #3b4a72;
  --paper: #ffffff;
  --sunshine: #facc15;
  --coral: #fb7185;
  --mint: #2dd4bf;
  --grape: #7c3aed;
  --ocean: #2563eb;
  --shadow: 0 24px 60px rgba(31, 42, 74, 0.18);
  --font-display: 'Fredoka', 'Trebuchet MS', sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 12% 18%, rgba(250, 204, 21, 0.28), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(124, 58, 237, 0.18), transparent 32%),
    linear-gradient(180deg, #b9e7ff 0%, var(--cream) 42%, #fff7cc 100%);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-mark img {
  height: clamp(2.75rem, 6vw, 4.25rem);
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(31, 42, 74, 0.18));
  animation: brand-float 4.5s ease-in-out infinite;
}

.header-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  appearance: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  box-shadow: 0 10px 24px rgba(31, 42, 74, 0.12);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px) scale(1.02);
  outline: none;
}

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

.btn-primary {
  background: var(--grape);
  color: var(--paper);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #6d28d9;
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.hero-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(185, 231, 255, 0.18) 0%, rgba(31, 42, 74, 0.08) 48%, rgba(31, 42, 74, 0.55) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto 7vh;
  padding: 0 1rem;
  text-align: center;
  color: var(--paper);
  animation: rise-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 30px rgba(31, 42, 74, 0.35);
}

.hero-copy p {
  margin: 1rem auto 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 6px 18px rgba(31, 42, 74, 0.35);
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.92);
}

.section {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.section-inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section .lede {
  margin: 0.9rem 0 0;
  max-width: 40rem;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.about {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.82));
}

.feature-row {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.feature {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.1rem;
  display: grid;
  place-items: center;
  background: var(--paper);
  box-shadow: var(--shadow);
  animation: icon-pop 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.feature:nth-child(2) .feature-icon {
  animation-delay: 120ms;
}

.feature:nth-child(3) .feature-icon {
  animation-delay: 220ms;
}

.feature-icon img {
  width: 2.1rem;
  height: 2.1rem;
}

.feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.contact {
  background:
    radial-gradient(circle at 80% 20%, rgba(45, 212, 191, 0.22), transparent 30%),
    linear-gradient(180deg, #fff8d6, #e8f8ff);
}

.contact a {
  color: var(--ocean);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-footer {
  padding: 1.5rem clamp(1rem, 4vw, 3rem) 2.25rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

.site-footer .company {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

@keyframes brand-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes icon-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 800px) {
  .feature-row {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    margin-bottom: 5.5rem;
  }

  .site-header {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
