:root {
  --bg: #eff7ff;
  --bg-deep: #d8ecff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --line: rgba(24, 109, 226, 0.18);
  --text: #0d1b2a;
  --muted: #5f7ea0;
  --primary: #186de2;
  --primary-2: #3b9eff;
  --primary-soft: #d6eeff;
  --shadow: 0 24px 60px rgba(24, 109, 226, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(59, 158, 255, 0.28), transparent 28%),
    radial-gradient(circle at bottom left, rgba(24, 109, 226, 0.22), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #e9f4ff 100%);
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar,
.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

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

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

.hero {
  padding-top: 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
}

.hero-copy,
.phone-card,
.panel,
.feature-card,
.privacy-card,
.legal-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-copy {
  padding: 44px;
}

.eyebrow,
.panel-label {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  line-height: 0.98;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
}

.hero-text,
.feature-card p,
.panel p,
.privacy-card p,
.legal-content p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.hero-actions,
.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff;
}

.button-secondary {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  color: var(--text);
}

.phone-card {
  padding: 26px;
}

.phone-screen {
  position: relative;
  min-height: 640px;
  padding: 24px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(180deg, #2376e6 0%, #1658ba 100%);
}

.phone-header {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.bottle-card {
  display: grid;
  place-items: center;
  margin-top: 34px;
}

.bottle-cap {
  width: 88px;
  height: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.34);
}

.bottle-body {
  position: relative;
  width: 210px;
  height: 300px;
  margin-top: 10px;
  border-radius: 42px;
  overflow: hidden;
  background: rgba(214, 238, 255, 0.18);
  border: 3px solid rgba(255, 255, 255, 0.32);
}

.bottle-water {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background:
    linear-gradient(180deg, rgba(155, 222, 255, 0.95) 0%, rgba(58, 168, 244, 0.96) 100%);
}

.meter-copy {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #fff;
}

.meter-copy strong {
  font-size: 3.8rem;
  line-height: 1;
}

.meter-copy span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.cta-chip {
  margin: 30px auto 0;
  width: min(290px, 100%);
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  color: var(--primary);
  text-align: center;
  font-weight: 800;
}

.feature-strip,
.details-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.feature-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.panel {
  padding: 28px;
}

.details-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.panel-large {
  min-height: 280px;
}

.widget-preview {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(180deg, #edf7ff 0%, #daeefe 100%);
}

.widget-bottle {
  width: 62px;
  height: 92px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(24, 109, 226, 0.18);
}

.widget-bottle-fill {
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, var(--primary-2) 0%, var(--primary) 100%);
}

.widget-preview strong {
  display: block;
  font-size: 2rem;
}

.widget-preview span {
  color: var(--muted);
  font-weight: 700;
}

.privacy-section {
  margin-top: 22px;
}

.privacy-head {
  padding: 12px 6px 0;
}

.privacy-card {
  padding: 30px;
  margin-top: 16px;
}

.legal-shell {
  max-width: 920px;
}

.legal-content {
  margin-top: 20px;
  padding: 36px;
}

.legal-updated {
  margin: 8px 0 28px;
  color: var(--muted);
  font-weight: 700;
}

.legal-content section + section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 920px) {
  .hero-grid,
  .details-grid,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .phone-screen {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 14px;
  }

  .topbar,
  .legal-header,
  .hero-copy,
  .phone-card,
  .feature-card,
  .panel,
  .privacy-card,
  .legal-content {
    border-radius: 24px;
  }

  .topbar,
  .legal-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 12px;
  }

  .hero-copy,
  .feature-card,
  .panel,
  .privacy-card,
  .legal-content {
    padding: 22px;
  }

  .phone-card {
    padding: 16px;
  }

  .phone-screen {
    min-height: 520px;
    padding: 18px;
  }

  .bottle-body {
    width: 180px;
    height: 260px;
  }

  .meter-copy strong {
    font-size: 3.1rem;
  }
}
