:root {
  --ink: #073a34;
  --deep: #0a4f45;
  --mint: #2fdda1;
  --mint-soft: #baf9dc;
  --foam: #edfff7;
  --paper: #fbfffc;
  --line: rgba(7, 58, 52, 0.14);
  --rose: #f08f82;
  --coral: #ffb0a5;
  --shadow: 0 28px 70px rgba(7, 58, 52, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(47, 221, 161, 0.22), transparent 28rem),
    radial-gradient(circle at 86% 8%, rgba(240, 143, 130, 0.18), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #effff7 46%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(circle, rgba(7, 58, 52, 0.08) 2px, transparent 2px),
    linear-gradient(120deg, transparent 0 48%, rgba(47, 221, 161, 0.16) 48% 50%, transparent 50% 100%);
  background-size: 42px 42px, 120px 120px;
  opacity: 0.6;
  pointer-events: none;
}

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

button {
  font: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 255, 252, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-pill {
  position: relative;
  width: 54px;
  height: 30px;
  border: 5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  transform: rotate(-24deg);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(47, 221, 161, 0.22);
}

.brand-pill::before {
  content: "";
  position: absolute;
  inset: -2px 48% -2px -2px;
  background: linear-gradient(135deg, var(--mint), #18a96f);
}

.brand-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 5px solid var(--ink);
  transform: translateX(50%);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-ticker {
  color: rgba(7, 58, 52, 0.58);
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-link,
.mini-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(7, 58, 52, 0.14);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-link:hover,
.mini-button:hover {
  transform: translateY(-2px);
  background: var(--mint-soft);
  box-shadow: 0 12px 28px rgba(7, 58, 52, 0.12);
}

.hero {
  padding: 28px 0 74px;
}

.lab-stage {
  position: relative;
  min-height: clamp(610px, 80vh, 820px);
  overflow: hidden;
  display: grid;
  align-items: end;
  border: 1px solid rgba(7, 58, 52, 0.1);
  border-radius: 42px;
  background: var(--foam);
  box-shadow: var(--shadow);
}

.lab-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(251, 255, 252, 0.96) 0%, rgba(251, 255, 252, 0.6) 39%, rgba(251, 255, 252, 0.08) 70%),
    linear-gradient(0deg, rgba(251, 255, 252, 0.96) 0%, transparent 42%);
  pointer-events: none;
}

.banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  padding: clamp(28px, 5.2vw, 70px);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 13px;
  color: var(--deep);
  border: 1px solid rgba(7, 58, 52, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  font-family: "Courier New", monospace;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(4.4rem, 13vw, 11rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: lowercase;
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(7, 58, 52, 0.72);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.ghost-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.primary-button {
  color: #ffffff;
  border: 0;
  background: linear-gradient(135deg, var(--deep), #12b878);
  box-shadow: 0 18px 44px rgba(18, 184, 120, 0.28);
}

.ghost-button {
  color: var(--ink);
  border: 1px solid rgba(7, 58, 52, 0.16);
  background: #ffffff;
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.floating-label {
  position: absolute;
  right: clamp(20px, 5vw, 64px);
  bottom: clamp(20px, 5vw, 64px);
  z-index: 2;
  width: min(310px, calc(100% - 40px));
  padding: 20px;
  border: 1px solid rgba(7, 58, 52, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(7, 58, 52, 0.16);
}

.floating-label p {
  margin: 0;
  color: rgba(7, 58, 52, 0.58);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.floating-label strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.9rem;
  line-height: 1;
}

.dose-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.dose-pill {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 18px;
  border: 1px solid rgba(7, 58, 52, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 40px rgba(7, 58, 52, 0.08);
}

.dose-pill span:first-child {
  color: var(--deep);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 950;
  line-height: 1;
}

.dose-pill span:last-child {
  color: rgba(7, 58, 52, 0.58);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section {
  padding: 74px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(7, 58, 52, 0.1);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(47, 221, 161, 0.18), transparent 44%),
    #ffffff;
  box-shadow: var(--shadow);
}

.portrait-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
}

.portrait-stamp {
  position: absolute;
  left: 34px;
  bottom: 34px;
  padding: 12px 14px;
  border: 1px solid rgba(7, 58, 52, 0.14);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font-family: "Courier New", monospace;
  font-weight: 900;
}

.kicker {
  margin: 0 0 10px;
  color: var(--rose);
  font-family: "Courier New", monospace;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.65rem, 6.5vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: lowercase;
}

.section-copy {
  margin: 22px 0 0;
  color: rgba(7, 58, 52, 0.68);
  font-size: 1.04rem;
}

.recipe {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.recipe-card {
  --delay: 0ms;
  min-height: 226px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(7, 58, 52, 0.1);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(7, 58, 52, 0.1);
  animation: cardFloat 4.5s ease-in-out infinite;
  animation-delay: var(--delay);
}

.recipe-card:nth-child(2) {
  background: linear-gradient(145deg, rgba(240, 143, 130, 0.16), #ffffff 48%);
}

.recipe-card:nth-child(3) {
  background: linear-gradient(145deg, rgba(47, 221, 161, 0.2), #ffffff 52%);
}

.recipe-card b {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--deep);
}

.recipe-card h3 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.05;
}

.recipe-card p {
  margin: 0;
  color: rgba(7, 58, 52, 0.62);
}

.token-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 26px;
  align-items: end;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid rgba(7, 58, 52, 0.1);
  border-radius: 38px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 176, 165, 0.32), transparent 20rem),
    radial-gradient(circle at 90% 18%, rgba(47, 221, 161, 0.26), transparent 22rem),
    #ffffff;
  box-shadow: var(--shadow);
}

.token-panel::before {
  content: "$wifpill";
  position: absolute;
  right: -0.08em;
  top: -0.18em;
  color: rgba(7, 58, 52, 0.055);
  font-size: clamp(4rem, 13vw, 12rem);
  font-weight: 950;
  line-height: 1;
}

.token-panel > * {
  position: relative;
}

.token-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: 0.85;
  letter-spacing: 0;
  text-transform: lowercase;
}

.token-panel p {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(7, 58, 52, 0.68);
  font-size: 1.04rem;
}

.facts {
  padding: 22px;
  border: 1px solid rgba(7, 58, 52, 0.1);
  border-radius: 24px;
  background: rgba(237, 255, 247, 0.72);
}

.facts dl {
  margin: 0;
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(7, 58, 52, 0.1);
}

.facts div:last-child {
  border-bottom: 0;
}

.facts dt {
  color: rgba(7, 58, 52, 0.55);
}

.facts dd {
  margin: 0;
  color: var(--deep);
  text-align: right;
  font-weight: 950;
}

.footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: rgba(7, 58, 52, 0.58);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 940px) {
  .lab-stage {
    min-height: 720px;
    align-items: start;
  }

  .lab-stage::before {
    background:
      linear-gradient(0deg, rgba(251, 255, 252, 0.98) 0%, rgba(251, 255, 252, 0.72) 52%, rgba(251, 255, 252, 0.16) 100%);
  }

  .hero-content {
    padding-bottom: 210px;
  }

  .floating-label {
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
  }

  .dose-row,
  .split,
  .recipe,
  .token-panel {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 22px, 1180px);
  }

  .hero {
    padding-top: 16px;
  }

  .lab-stage,
  .portrait-card,
  .token-panel {
    border-radius: 24px;
  }

  .hero-content {
    padding: 22px;
    padding-bottom: 230px;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5.5rem);
  }

  .nav-link,
  .mini-button {
    min-height: 38px;
    padding: 0 12px;
  }
}
