:root {
  --ink: #0c1614;
  --ink-soft: #132420;
  --mist: #e8f2ef;
  --mist-dim: rgba(232, 242, 239, 0.78);
  --sea: #1a5c52;
  --sea-bright: #2a8f7e;
  --sand: #c4a574;
  --line: rgba(232, 242, 239, 0.14);
  --glow: rgba(42, 143, 126, 0.32);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--mist);
  background: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 12% 8%, var(--glow), transparent 55%),
    radial-gradient(ellipse 60% 50% at 88% 18%, rgba(196, 165, 116, 0.16), transparent 48%),
    radial-gradient(ellipse 70% 55% at 70% 90%, rgba(26, 92, 82, 0.35), transparent 55%),
    linear-gradient(165deg, #07110f 0%, #10221e 42%, #0c1614 100%);
  animation: drift 20s ease-in-out infinite alternate;
}

.product-glow {
  position: fixed;
  inset: auto -10% 20% 40%;
  height: 55vh;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(42, 143, 126, 0.12), transparent 60%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 28px,
      rgba(232, 242, 239, 0.025) 28px,
      rgba(232, 242, 239, 0.025) 29px
    );
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 72%);
  animation: sheen 14s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.05) translate(-1.2%, 1%); }
}

@keyframes sheen {
  from { opacity: 0.55; transform: translateY(0); }
  to { opacity: 0.9; transform: translateY(-2%); }
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3.5rem);
}

.top-brand {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  font-size: 0.92rem;
}

.top-nav a {
  text-decoration: none;
  color: var(--mist-dim);
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--mist);
}

.hero {
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 7vh, 4rem) clamp(1.25rem, 4vw, 3.5rem) clamp(3rem, 8vh, 5rem);
  max-width: 44rem;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1rem;
  animation: rise 0.85s ease-out both;
}

.brand {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 5.25rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: #f6fbf9;
  animation: rise 0.9s ease-out 0.06s both;
}

.tagline {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: clamp(1.45rem, 3.6vw, 2.15rem);
  line-height: 1.2;
  margin-top: 1.35rem;
  color: var(--sand);
  animation: rise 0.9s ease-out 0.14s both;
}

.lede {
  margin-top: 1rem;
  font-size: 1.08rem;
  color: var(--mist-dim);
  max-width: 34rem;
  animation: rise 0.9s ease-out 0.22s both;
}

.cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  animation: rise 0.9s ease-out 0.3s both;
}

.btn-primary,
.btn-ghost {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 0.72rem 1.3rem;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  color: var(--ink);
  background: var(--sea-bright);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #3aa994;
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--mist);
  border: 1px solid var(--line);
  background: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(232, 242, 239, 0.35);
  transform: translateY(-1px);
}

.section {
  padding: clamp(3.5rem, 10vh, 6.5rem) clamp(1.25rem, 4vw, 3.5rem);
  max-width: 48rem;
  border-top: 1px solid var(--line);
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.85rem;
}

.section h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #f4faf8;
}

.section-lede {
  margin-top: 1rem;
  color: var(--mist-dim);
  max-width: 38rem;
  font-size: 1.05rem;
}

.pillars {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.75rem;
}

.pillars li {
  padding: 0.4rem 0.75rem;
  border-bottom: 1px solid rgba(42, 143, 126, 0.55);
  color: var(--mist);
  font-size: 0.95rem;
}

.journey {
  list-style: none;
  margin-top: 2.25rem;
  display: grid;
  gap: 1.5rem;
}

.journey li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
}

.step {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  color: var(--sea-bright);
  min-width: 2rem;
}

.journey h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.journey p,
.capability p,
.capability ul,
.patient-list,
.plain-list,
.ops-list p,
.faq p {
  color: var(--mist-dim);
}

.capability {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.capability:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.capability h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 560;
  color: #f4faf8;
}

.capability-lede {
  margin: 0.35rem 0 0.75rem;
  color: var(--sand) !important;
}

.capability ul,
.plain-list,
.patient-list {
  margin-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.patient-list {
  margin-top: 1.5rem;
  list-style: none;
  margin-left: 0;
  gap: 1rem;
}

.patient-list li {
  padding-left: 0;
  border-left: 2px solid var(--sea-bright);
  padding-left: 1rem;
}

.patient-list strong {
  display: block;
  color: #f4faf8;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.ops-list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.ops-list h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.who {
  margin-top: 2rem;
  color: var(--mist-dim);
  font-size: 0.98rem;
}

.faq {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.35rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  color: #f4faf8;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--sand);
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin-top: 0.65rem;
  padding-right: 1.5rem;
}

.close {
  max-width: 42rem;
}

.foot {
  padding: 2rem clamp(1.25rem, 4vw, 3.5rem) 3rem;
  border-top: 1px solid var(--line);
  color: var(--mist-dim);
  font-size: 0.92rem;
  display: grid;
  gap: 0.45rem;
}

.foot a {
  color: var(--mist);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.foot strong {
  color: #f4faf8;
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .top-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }
}

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

  .atmosphere,
  .product-glow,
  .eyebrow,
  .brand,
  .tagline,
  .lede,
  .cta {
    animation: none;
  }
}
