/* ===== Aquafab — styles ===== */
:root {
  --bg: #f6fbfc;
  --bg-alt: #eef7f9;
  --surface: #ffffff;
  --ink: #0e2a33;
  --ink-soft: #3f5b63;
  --muted: #6b8791;
  --brand: #0a6e8a;
  --brand-2: #12b3b0;
  --accent: #ffb037;
  --line: #d9e8ec;
  --dark: #06222b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(6, 34, 43, 0.25);
  --shadow-lg: 0 24px 60px -20px rgba(6, 34, 43, 0.35);
  --container: 1120px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
img, svg { max-width: 100%; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

.grad {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 .75rem;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brand); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(10, 110, 138, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(10, 110, 138, 0.8); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); background: #fff; }

/* ===== Header / nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 251, 252, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-family: var(--font-head); }
.brand-mark { color: var(--brand); display: inline-flex; }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 1.75rem; margin: 0; padding: 0; }
.nav-menu a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.nav-menu a:hover { color: var(--brand); }
.nav-cta {
  background: var(--ink); color: #fff !important; padding: .55rem 1.1rem; border-radius: 999px;
}
.nav-cta:hover { background: var(--brand); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 7rem); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(18, 179, 176, 0.14), transparent 60%),
    radial-gradient(50% 50% at 10% 20%, rgba(10, 110, 138, 0.12), transparent 60%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
}
.hero-copy .lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 34ch; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.75rem 0 2rem; }
.hero-stats { list-style: none; display: flex; gap: 2rem; padding: 0; margin: 0; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--brand); }
.hero-stats span { font-size: .85rem; color: var(--muted); }

/* Hero visual — stylized filter bottle */
.hero-visual { display: flex; justify-content: center; }
.bottle { position: relative; width: 200px; }
.bottle-neck {
  width: 58px; height: 46px; margin: 0 auto -6px;
  background: linear-gradient(180deg, #d6eef1, #bfe4e8);
  border-radius: 10px 10px 4px 4px; border: 2px solid #a9d6db;
}
.bottle-body {
  position: relative;
  height: 340px; border-radius: 26px 26px 40px 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(230,246,248,0.9));
  border: 2px solid #bfe0e5;
  box-shadow: var(--shadow-lg);
  padding: 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
}
.stage {
  flex: 1; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: #06414f; position: relative;
}
.stage span { position: relative; z-index: 2; }
.stage-1 { background: repeating-linear-gradient(90deg, #cdeef0, #cdeef0 4px, #b6e4e6 4px, #b6e4e6 8px); }
.stage-2 { background-color: #d3e9ec; background-image: radial-gradient(circle at 30% 40%, #b9d3d9 2px, transparent 3px); background-size: 14px 14px; }
.stage-3 { background: linear-gradient(120deg, #dff6f5, #c7eef0); color: #0a6e8a; }
.drop {
  position: absolute; left: 50%; width: 8px; height: 8px; background: var(--brand-2); border-radius: 0 50% 50% 50%;
  transform: rotate(45deg); opacity: 0; animation: drip 2.6s linear infinite;
}
.d1 { animation-delay: 0s; } .d2 { animation-delay: .9s; } .d3 { animation-delay: 1.8s; }
@keyframes drip {
  0% { top: 10px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 300px; opacity: 0; }
}

/* ===== Sections ===== */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; }

/* Stages */
.stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stage-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem; box-shadow: var(--shadow); position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.stage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stage-num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--line); line-height: 1; }
.stage-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  color: var(--brand); background: rgba(18, 179, 176, 0.12); margin: 1rem 0 1.1rem;
}
.stage-icon svg { width: 24px; height: 24px; }
.stage-card p { color: var(--ink-soft); margin: 0; }
.tag {
  font-family: var(--font-body); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em;
  background: var(--accent); color: #4a3200; padding: .18em .6em; border-radius: 999px; vertical-align: middle; font-weight: 600;
}

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { font-size: 1.9rem; margin-bottom: .6rem; }
.feature h3 { margin-bottom: .3rem; }
.feature p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* Impact */
.impact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.impact-copy p { color: var(--ink-soft); }
.impact-copy .btn { margin-top: .5rem; }
.impact-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.impact-cards li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow); display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem; align-items: start;
}
.impact-cards .big { font-size: 1.9rem; grid-row: span 2; }
.impact-cards h3 { margin: 0 0 .2rem; }
.impact-cards p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Learn / dark */
.section-dark { background: var(--dark); color: #dff1f4; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-sub { color: #a9cdd4; }
.section-dark .eyebrow { color: var(--brand-2); }
.path { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.path li {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius);
  padding: 1.5rem 1.25rem; position: relative;
}
.path-step {
  display: inline-block; font-family: var(--font-head); font-weight: 700; color: #06222b;
  background: var(--brand-2); padding: .3rem .8rem; border-radius: 999px; font-size: .85rem; margin-bottom: .8rem;
}
.path p { color: #b7d7dc; margin: 0; font-size: .92rem; }

/* CTA */
.cta-card {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #fff; border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--shadow-lg);
  max-width: 820px; margin: 0 auto;
}
.cta-card h2 { color: #fff; }
.cta-card > p { color: rgba(255,255,255,0.92); max-width: 52ch; }
.cta-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.75rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.cta-form label { font-size: .85rem; font-weight: 600; }
.cta-form input, .cta-form textarea {
  font-family: var(--font-body); font-size: 1rem; padding: .75rem .9rem; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.5); background: rgba(255,255,255,0.14); color: #fff; resize: vertical;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(255,255,255,0.7); }
.cta-form input:focus, .cta-form textarea:focus { outline: 2px solid #fff; outline-offset: 1px; background: rgba(255,255,255,0.2); }
.cta-form .btn-primary { background: #fff; color: var(--brand); box-shadow: none; }
.cta-form .btn-primary:hover { background: var(--accent); color: #4a3200; }
.form-note { margin: .75rem 0 0; font-size: .9rem; font-weight: 500; min-height: 1.2em; }

/* Footer */
.site-footer { background: #041a21; color: #b7d7dc; padding: 3rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem 2rem; align-items: start; }
.footer-brand .brand-name { color: #fff; font-size: 1.4rem; }
.footer-brand p { margin: .4rem 0 0; max-width: 40ch; font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: flex-end; }
.footer-nav a { color: #b7d7dc; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; margin: .5rem 0 0; font-size: .85rem; color: #85adb5; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .bottle { width: 170px; }
  .bottle-body { height: 280px; }
  @keyframes drip { 0%{top:10px;opacity:0} 15%{opacity:1} 85%{opacity:1} 100%{top:250px;opacity:0} }
  .stages { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .impact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .path { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1rem; box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { padding: .3rem 0; }
  .nav-cta { text-align: center; margin-top: .5rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .feature-grid { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; }
  .cta-form { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .hero-stats { gap: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .drop { animation: none; display: none; }
  .btn, .stage-card, .feature { transition: none; }
}
