:root {
  --ink: #061a17;
  --ink-soft: #1a3531;
  --paper: #eef3f0;
  --paper-deep: #d7e4de;
  --mist: #c5d9d1;
  --teal: #00c2a0;
  --teal-deep: #0a7a66;
  --signal: #ff4d1c;
  --signal-soft: #ff7a52;
  --line: rgba(6, 26, 23, 0.12);
  --glow: rgba(0, 194, 160, 0.28);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --space: clamp(1rem, 2.5vw, 2rem);
  --max: 1120px;
  --radius: 2px;

  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 80% -10%, var(--glow), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 20%, rgba(255, 77, 28, 0.08), transparent 50%),
    linear-gradient(165deg, #f4f8f6 0%, var(--paper) 40%, var(--paper-deep) 100%);
  background-attachment: fixed;
}

#root {
  min-height: 100svh;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--teal);
  color: var(--ink);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site {
  position: relative;
  z-index: 1;
}

.shell {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(255, 77, 28, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.85);
    opacity: 0.7;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 14px 30px rgba(6, 26, 23, 0.18);
}

.btn-primary:hover {
  background: #0d2e29;
}

.btn-ghost {
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0;
  min-height: auto;
  padding: 0.35rem 0;
  font-weight: 600;
}

.btn-ghost:hover {
  color: var(--teal-deep);
  border-color: var(--teal-deep);
}

.section {
  padding: clamp(4.5rem, 12vw, 8rem) 0;
}

.section-head {
  max-width: 34rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section-head h2 {
  margin: 0.7rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-head p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: clip;
}

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

.hero-atmosphere {
  position: absolute;
  inset: 0;
}

.hero-stripe {
  position: absolute;
  inset: auto -10% 12% -10%;
  height: 64px;
  opacity: 0.07;
  background: repeating-linear-gradient(
    -18deg,
    var(--ink) 0 14px,
    transparent 14px 28px
  );
  transform: rotate(-2deg);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}

.orb-teal {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  right: 5%;
  top: 8%;
  background: var(--glow);
}

.orb-signal {
  width: min(34vw, 280px);
  height: min(34vw, 280px);
  left: 4%;
  bottom: 8%;
  background: rgba(255, 77, 28, 0.14);
}

.hero-tank {
  position: absolute;
  right: max(-4%, calc(50% - 560px));
  bottom: -4%;
  width: min(58vw, 560px);
  opacity: 0.95;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.nav-mark {
  width: 0.85rem;
  height: 1.15rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--signal) 0 28%, var(--teal) 28%);
  box-shadow: inset 0 -2px 0 rgba(6, 26, 23, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a {
  opacity: 0.78;
  transition: opacity 160ms ease, color 160ms ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--teal-deep);
}

.nav-cta {
  opacity: 1 !important;
  padding: 0.55rem 0.8rem;
  background: var(--ink);
  color: var(--paper) !important;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: #0d2e29 !important;
  color: var(--paper) !important;
}

.hero-stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(2rem, 8vw, 5rem);
  padding-bottom: clamp(2.5rem, 8vw, 5rem);
}

.hero-copy {
  max-width: 38rem;
}

.brand {
  display: flex;
  flex-wrap: wrap;
  gap: 0.02em;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 14vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.86;
  color: var(--ink);
  text-shadow: 0 0 40px rgba(238, 243, 240, 0.65);
}

.brand span {
  display: inline-block;
}

.hero-line {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--signal);
}

.hero-support {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.5rem;
  margin-top: 1.85rem;
}

@media (max-width: 900px) {
  .hero-tank {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 10%;
    width: min(78vw, 340px);
    margin-left: calc(min(78vw, 340px) / -2);
    opacity: 0.55;
    mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  }

  .hero-stage {
    align-items: flex-end;
    padding-top: 42vw;
  }

  .brand {
    font-size: clamp(4rem, 18vw, 6.2rem);
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }
}
.definition {
  border-top: 1px solid var(--line);
}

.definition-quote {
  margin: 0;
  max-width: 48rem;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 0;
  border-top: 3px solid var(--ink);
}

.definition-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.definition-quote footer {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.dosage {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent, rgba(0, 194, 160, 0.06) 40%, transparent);
}

.dose-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.dose-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 1rem 1.5rem;
  align-items: baseline;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
}

.dose-strength {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--signal);
}

.dose-copy h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dose-copy p {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.dose-index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

@media (max-width: 700px) {
  .dose-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "strength index"
      "copy copy";
  }

  .dose-strength {
    grid-area: strength;
  }

  .dose-copy {
    grid-area: copy;
  }

  .dose-index {
    grid-area: index;
  }
}
.dose {
  border-top: 1px solid var(--line);
}

.dose-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.75rem, 5vw, 3.5rem);
  align-items: end;
  padding: clamp(2rem, 5vw, 3.25rem);
  background:
    linear-gradient(135deg, rgba(6, 26, 23, 0.94), #0a2c27 55%, #0d3d35),
    radial-gradient(circle at 90% 10%, rgba(0, 194, 160, 0.35), transparent 40%);
  color: var(--paper);
  border-radius: 4px;
  overflow: hidden;
}

.dose-panel .eyebrow {
  color: rgba(238, 243, 240, 0.72);
}

.dose-panel .eyebrow::before {
  background: var(--signal);
}

.dose-panel h2 {
  margin: 0.7rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: var(--paper);
}

.dose-support {
  margin: 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(238, 243, 240, 0.78);
}

.dose-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dose-form input {
  flex: 1 1 14rem;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(238, 243, 240, 0.18);
  border-radius: var(--radius);
  background: rgba(238, 243, 240, 0.08);
  color: var(--paper);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.dose-form input::placeholder {
  color: rgba(238, 243, 240, 0.45);
}

.dose-form input:focus {
  border-color: var(--teal);
  background: rgba(238, 243, 240, 0.12);
}

.dose-form .btn-primary {
  background: var(--teal);
  color: var(--ink);
  box-shadow: none;
}

.dose-form .btn-primary:hover {
  background: #1ad4b0;
}

.dose-thanks {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--teal);
}

.dose-fine {
  margin: 0.9rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(238, 243, 240, 0.45);
}

.dose-error {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ffb4a2;
}

.dose-form .btn-primary:disabled,
.dose-form input:disabled {
  opacity: 0.7;
  cursor: wait;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 800px) {
  .dose-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
.footer {
  padding: 2.5rem 0 2.75rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-brand span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.footer-note {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.footer-copy {
  margin: 0.5rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(6, 26, 23, 0.45);
}
.tank {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  aspect-ratio: 420 / 520;
}

.tank-float {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.tank-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(6, 26, 23, 0.18));
}

.tank-shadow {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 2%;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(6, 26, 23, 0.28), transparent 70%);
  filter: blur(2px);
  animation: shadow-breathe 5.5s ease-in-out infinite;
}

.tank-mist {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 160, 0.45), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.mist-a {
  width: 70px;
  height: 70px;
  left: 58%;
  top: 18%;
  animation: mist-drift 4.8s ease-in-out infinite;
}

.mist-b {
  width: 48px;
  height: 48px;
  left: 68%;
  top: 28%;
  animation: mist-drift 5.6s ease-in-out infinite 0.6s;
}

.mist-c {
  width: 36px;
  height: 36px;
  left: 52%;
  top: 12%;
  opacity: 0.7;
  animation: mist-drift 4.2s ease-in-out infinite 1.1s;
}

@keyframes mist-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(18px, -22px) scale(1.25);
    opacity: 0.15;
  }
}

@keyframes shadow-breathe {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.9;
  }
  50% {
    transform: scaleX(0.86);
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tank-shadow,
  .tank-mist {
    animation: none;
  }
}

/* no-JS motion replacements */
.tank-float {
  animation: tank-float 5.5s ease-in-out infinite;
}
@keyframes tank-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.brand span {
  animation: brand-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.brand span:nth-child(1) { animation-delay: 0.08s; }
.brand span:nth-child(2) { animation-delay: 0.135s; }
.brand span:nth-child(3) { animation-delay: 0.19s; }
.brand span:nth-child(4) { animation-delay: 0.245s; }
.brand span:nth-child(5) { animation-delay: 0.3s; }
.brand span:nth-child(6) { animation-delay: 0.355s; }
@keyframes brand-in {
  from { opacity: 0; transform: translateY(40px) rotate(-4deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
.hero-line, .hero-support, .hero-actions {
  animation: rise-in 0.55s ease both;
}
.hero-line { animation-delay: 0.45s; }
.hero-support { animation-delay: 0.55s; }
.hero-actions { animation-delay: 0.65s; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tank-float, .brand span, .hero-line, .hero-support, .hero-actions {
    animation: none !important;
  }
}

/* 404 page */
.not-found-code {
  margin: 0.35rem 0 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 9.5rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.85;
  color: var(--ink);
}
.not-found .hero-line {
  max-width: 18ch;
}
.not-found-fine {
  margin: 1.75rem 0 0;
  max-width: 28rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(6, 26, 23, 0.45);
  line-height: 1.5;
}
