:root {
  --navy-950: #06263b;
  --navy-900: #0b3552;
  --navy-700: #0e578b;
  --cyan: #12b8e0;
  --ink: #0b3552;
  --paper: #f4f9fc;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--paper);
  background: var(--navy-950);
  overflow-x: hidden;
}
a { color: inherit; }

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 120% at 15% 10%, var(--navy-700) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: none;
  opacity: .55;
}
.blob-1 {
  width: 46vmax; height: 46vmax;
  top: -18vmax; right: -14vmax;
  background: radial-gradient(circle, rgba(18,184,224,.35), transparent 70%);
}
.blob-2 {
  width: 38vmax; height: 38vmax;
  bottom: -16vmax; left: -10vmax;
  background: radial-gradient(circle, rgba(14,87,139,.55), transparent 70%);
}
.blob-3 {
  width: 26vmax; height: 26vmax;
  top: 30%; left: 55%;
  background: radial-gradient(circle, rgba(18,184,224,.2), transparent 70%);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem 1rem;
  gap: .75rem;
}

.icon-wrap { width: 128px; }
.brand-icon { width: 100%; height: auto; display: block; }
/* lighter than the logo's original navy so it reads on the dark background */
.brand-icon .ring { fill: #3d93d4; }
.brand-icon .liquid { fill: #2f86c8; }
.brand-icon .bubble, .brand-icon .vapor { fill: #8fd6f0; }

.wordmark { width: min(280px, 70vw); height: auto; margin-top: .25rem; }

.tagline {
  max-width: 34ch;
  margin: 0;
  font-size: 1.02rem;
  color: #cfe7f4;
}

.card {
  margin-top: 1.25rem;
  width: min(420px, 92vw);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  text-align: left;
}
.row {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem 0;
  font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
}
.row:last-of-type { border-bottom: none; }
.row-link:hover { color: var(--cyan); }
.ico { display: flex; align-items: center; justify-content: center; width: 1.4em; flex-shrink: 0; }
.ico svg { width: 20px; height: 20px; }

.actions { display: flex; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; }
.btn {
  flex: 1;
  text-align: center;
  padding: .7rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  background: var(--cyan);
  color: var(--navy-950);
  white-space: nowrap;
}
.btn:hover { background: #3fd0ee; }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }

.fb {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  text-decoration: none;
}
.fb:hover { background: rgba(255,255,255,.2); }
.fb svg { width: 18px; height: 18px; }

.foot { text-align: center; padding: 1rem 1rem 1.5rem; font-size: .75rem; color: #7fa8bd; }

/* Entrance + ambient animation, skipped for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .icon-wrap, .wordmark, .tagline, .card, .fb {
    opacity: 0;
    animation: fadeUp .7s ease forwards;
  }
  .icon-wrap { animation-delay: .05s; }
  .wordmark { animation-delay: .2s; }
  .tagline { animation-delay: .35s; }
  .card { animation-delay: .5s; }
  .fb { animation-delay: .7s; }

  .brand-icon path, .flask-g { transform-box: fill-box; transform-origin: center; }
  .ring { animation: ringIn 1s cubic-bezier(.2,.8,.2,1) .1s both; }
  /* pivot near the flask neck so the bulb swings like it's being swirled */
  .flask-g { transform-origin: 77% 21%; animation: swingIn 1.1s cubic-bezier(.3,1.5,.5,1) .35s both, swirl 7s ease-in-out 2.2s infinite; }
  /* liquid counter-rotates against the swirl to stay level */
  .liquid { transform-origin: 50% 100%; animation: fill .6s ease-out 1.1s both, level 7s ease-in-out 2.2s infinite; }
  .bubble { animation: rise 3.4s ease-in-out calc(1.5s + var(--d)) infinite both; }
  .vapor { animation: vapor 3.6s ease-out calc(1.8s + var(--d)) infinite both; }

  .blob-1 { animation: drift1 26s ease-in-out infinite alternate; }
  .blob-2 { animation: drift2 32s ease-in-out infinite alternate; }
  .blob-3 { animation: drift1 20s ease-in-out infinite alternate-reverse; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ringIn {
  from { opacity: 0; transform: rotate(-140deg) scale(.7); }
}
@keyframes swingIn {
  from { opacity: 0; transform: rotate(-38deg); }
}
@keyframes swirl {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(4deg); }
  75% { transform: rotate(-3deg); }
}
@keyframes fill {
  from { transform: scaleY(0); }
}
@keyframes level {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-4deg); }
  75% { transform: rotate(3deg); }
}
@keyframes rise {
  0% { opacity: 0; transform: translateY(3px) scale(.5); }
  30% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-7px) scale(1.1); }
}
@keyframes vapor {
  0% { opacity: 0; transform: translate(-4px, 5px) scale(.4); }
  25% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translate(3px, -12px) scale(1.3); }
}
@keyframes drift1 {
  from { transform: translate(0, 0); }
  to { transform: translate(-6%, 5%); }
}
@keyframes drift2 {
  from { transform: translate(0, 0); }
  to { transform: translate(5%, -6%); }
}

@media (max-width: 480px) {
  .icon-wrap { width: 100px; }
  .card { padding: 1.1rem 1.1rem; }
}
