:root {
  --sky: #93D7FE;
  --sky-deep: #4FB4E8;
  --navy: #1C3A4D;
  --ink: #22303A;
  --ink-soft: #5C7080;
  --white: #FFFFFF;
  --cloud: #F2FAFF;
  --gold: #FFB648;
  --gold-ink: #3A2200;
  --navy-soft: #8FA6B8;
  --cream-line: #D7E6F0;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  background: linear-gradient(180deg, var(--cloud) 0%, #FFFFFF 40%, var(--cloud) 100%);
}

h1, h2 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  margin: 0;
  color: var(--navy);
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Decorative background blobs for movement */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.blob-1 {
  width: 420px; height: 420px;
  background: var(--sky);
  top: -120px; right: -100px;
  animation: drift1 16s ease-in-out infinite;
}
.blob-2 {
  width: 320px; height: 320px;
  background: var(--gold);
  opacity: 0.18;
  bottom: 10%; left: -120px;
  animation: drift2 20s ease-in-out infinite;
}
.blob-3 {
  width: 260px; height: 260px;
  background: var(--sky-deep);
  opacity: 0.2;
  top: 45%; right: 5%;
  animation: drift1 24s ease-in-out infinite reverse;
}
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.08); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.05); }
}

/* Header */
.site-header {
  padding: 18px 0;
  position: relative;
  z-index: 2;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
}
.wordmark-icon {
  width: 34px;
  height: auto;
}
.site-header nav {
  display: flex;
  gap: 24px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
}
.site-header nav a:hover { color: var(--sky-deep); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-accent {
  background: var(--gold);
  color: var(--gold-ink);
  padding: 10px 20px;
  font-size: 13px;
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--sky-deep);
  color: var(--navy);
}

/* Hero */
.hero {
  padding: 40px 24px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-copy {
  flex: 1 1 420px;
  max-width: 560px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero .lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 24px;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-mascot {
  flex: 0 1 280px;
  display: flex;
  justify-content: center;
}
/* Hippo mascot animation system */
.hippo-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hippo-wrapper:hover {
  transform: scale(1.05) translateY(-8px);
}
.hippo-float {
  width: 100%;
  max-width: 300px;
  display: block;
  animation:
    hippo-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both,
    hippo-idle 4.5s ease-in-out 0.75s infinite;
  will-change: transform;
  transition: filter 0.3s ease;
}
.hippo-wrapper:hover .hippo-float {
  filter: drop-shadow(0 10px 22px rgba(79, 180, 232, 0.42));
}
/* Ground shadow — shrinks as hippo rises */
.hippo-wrapper::after {
  content: '';
  display: block;
  width: 110px;
  height: 14px;
  background: radial-gradient(ellipse at center, rgba(28, 58, 77, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  margin-top: -4px;
  animation:
    shadow-enter 0.75s ease both,
    hippo-shadow 4.5s ease-in-out 0.75s infinite;
}
@keyframes hippo-enter {
  0%   { opacity: 0; transform: translateX(36px) translateY(14px) scale(0.88); }
  65%  { opacity: 1; transform: translateX(-5px) translateY(-5px) scale(1.03); }
  82%  { transform: translateX(1px) translateY(1px) scale(0.99); }
  100% { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}
@keyframes shadow-enter {
  0%   { opacity: 0; transform: scaleX(0.5); }
  100% { opacity: 1; transform: scaleX(1); }
}
@keyframes hippo-idle {
  0%   { transform: translateY(0px)   rotate(-1.5deg) scale(1); }
  25%  { transform: translateY(-10px) rotate(0deg)    scale(1.01); }
  50%  { transform: translateY(-18px) rotate(1.5deg)  scale(1.02); }
  60%  { transform: translateY(-18px) rotate(1.8deg)  scale(1.02); }
  80%  { transform: translateY(-4px)  rotate(0deg)    scale(1.005); }
  92%  { transform: translateY(2px)   rotate(-1deg)   scale(0.985); }
  100% { transform: translateY(0px)   rotate(-1.5deg) scale(1); }
}
@keyframes hippo-shadow {
  0%   { transform: scaleX(1);    opacity: 0.85; }
  50%  { transform: scaleX(0.68); opacity: 0.3; }
  100% { transform: scaleX(1);    opacity: 0.85; }
}

/* Browse / product grid */
.browse { padding: 20px 24px 40px; }
.browse h2 { font-size: 24px; margin-bottom: 6px; }
.section-sub {
  color: var(--ink-soft);
  margin: 0 0 20px;
  font-size: 14px;
}
.browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.browse-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: block;
  box-shadow: 0 4px 14px rgba(28, 58, 77, 0.12);
  transition: transform 0.2s ease;
}
.browse-card:hover { transform: translateY(-4px); }
.browse-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.browse-card span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(28,58,77,0.85), transparent);
  color: var(--white);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 30px 14px 12px;
}
.browse-card-cta {
  background: linear-gradient(135deg, var(--sky-deep), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.browse-cta-text {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  padding-top: 20px;
  padding-bottom: 32px;
}
.pillar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 2px 10px rgba(28, 58, 77, 0.08);
}
.pillar-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--navy);
}
.pillar-text {
  font-size: 13px;
  color: var(--ink-soft);
}

/* Proof */
.proof {
  background: var(--navy);
  padding: 36px 0;
  margin: 0 0 36px;
  position: relative;
  z-index: 1;
}
.proof-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.proof-number {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--sky);
}
.proof-text {
  flex: 1;
  min-width: 260px;
  color: #C9E7F7;
  font-size: 14px;
  margin: 0;
}
.proof-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

/* How it works */
.how { padding-bottom: 40px; }
.how h2 { font-size: 22px; margin-bottom: 20px; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}
.how-step {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 600;
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--gold-ink);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Contact */
.contact {
  padding-bottom: 48px;
  text-align: center;
}
.contact h2 { font-size: 28px; margin-bottom: 10px; }
.contact p { color: var(--ink-soft); margin: 0 0 20px; }
.cta-row-center { justify-content: center; margin-bottom: 32px; }

.quote-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 2px 14px rgba(28, 58, 77, 0.1);
}
.form-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.form-field {
  flex: 1 1 200px;
  margin-bottom: 16px;
}
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--cream-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--cloud);
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--sky-deep);
  outline-offset: 1px;
}
.quote-form .btn {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(28,58,77,0.12);
  padding: 20px 0;
  position: relative;
  z-index: 1;
  background: var(--white);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

@media (max-width: 600px) {
  .hero { padding-top: 28px; flex-direction: column; }
  .hero-mascot { order: -1; max-width: 200px; }
  .proof-inner { text-align: left; }
}
