/* BYOZ Lifesciences — holding page
   White ground and the logo's own blue and green. Same family as the
   Life Stages holding page (coming-soon/), so both read as one company. */

:root {
  --paper:     #FFFFFF;
  --tint:      #F5F8FB;
  --ink:       #14202E;
  --ink-soft:  #586474;
  --hairline:  rgba(20, 32, 46, .10);

  --blue:      #0072C8;
  --blue-deep: #005A9E;
  --green:     #6EAD2C;

  --body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.32, .72, 0, 1);
  --gut:  clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--blue-deep); }

a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus { top: 12px; }

/* --- page shell ---------------------------------------------------- */

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) var(--gut) clamp(24px, 3vw, 34px);
}

/* --- masthead ------------------------------------------------------ */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: clamp(14px, 2vw, 20px);
  border-bottom: 1px solid var(--hairline);
}

.masthead__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.masthead__logo img { width: 32px; height: 32px; }

.wordmark,
.status {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.8s var(--ease) infinite;
}

@keyframes pulse {
  0%        { box-shadow: 0 0 0 0   rgba(110, 173, 44, .5); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(110, 173, 44, 0); }
}

/* --- hero ---------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: min(72dvh, 640px);
  padding: clamp(36px, 6vw, 72px) 0;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--ink-soft);
  animation: rise .8s .05s var(--ease) both;
}

h1 {
  margin: 0 0 22px;
  font-weight: 600;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.04;
  letter-spacing: -.03em;
  color: var(--ink);
  text-wrap: balance;
  animation: rise .9s .12s var(--ease) both;
}

h1 em {
  font-style: normal;
  color: var(--blue);
}

.lede {
  margin: 0 0 32px;
  max-width: 48ch;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.72;
  color: var(--ink-soft);
  animation: rise .9s .2s var(--ease) both;
}

.links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  animation: rise .9s .28s var(--ease) both;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(0, 90, 158, .8);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .5s var(--ease);
}

.cta__pip {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  transition: transform .5s var(--ease), background-color .5s var(--ease);
}

.cta__pip svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta:hover { transform: translateY(-2px); background: var(--blue-deep); box-shadow: 0 16px 30px -12px rgba(0, 90, 158, .85); }
.cta:hover .cta__pip { transform: translate(2px, -2px); background: rgba(255, 255, 255, .26); }
.cta:active { transform: translateY(0) scale(.985); }

.quiet {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14.5px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  transition: color .4s var(--ease), border-color .4s var(--ease);
}

.quiet:hover { color: var(--ink); border-bottom-color: var(--ink); }

.hero__mark img {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  margin-left: auto;
  animation: markIn 1.1s .1s var(--ease) both;
}

/* --- content blocks ------------------------------------------------ */

.block {
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--hairline);
}

.block__title {
  margin: 0 0 clamp(18px, 2.4vw, 26px);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -.02em;
}

/* brands */

.brands {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.brand {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--tint);
}

.brand__status {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green);
  filter: brightness(.82);
}

.brand__name {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: -.015em;
}

.brand__text {
  margin: 0 0 18px;
  max-width: 44ch;
  color: var(--ink-soft);
}

.brand__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}

.brand__link:hover { background-size: 100% 1px; }

.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.cats li {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--hairline);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

/* company facts */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--hairline);
}

.fact {
  padding: 16px 18px 16px 0;
  border-bottom: 1px solid var(--hairline);
}

.fact--wide { grid-column: span 2; }

.fact dt {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.fact dd {
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.fact address { font-style: normal; }

.mono { font-family: var(--mono); font-size: 15px; letter-spacing: .02em; }

/* --- colophon ------------------------------------------------------ */

.colophon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  flex-wrap: wrap;
  padding-top: clamp(14px, 2vw, 20px);
  border-top: 1px solid var(--hairline);
}

.colophon p { margin: 0; font-size: 13px; color: var(--ink-soft); }
.colophon strong { color: var(--ink); font-weight: 600; }
.colophon a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); }
.colophon a:hover { color: var(--ink); }

/* --- privacy page -------------------------------------------------- */

.doc {
  max-width: 70ch;
  padding: clamp(32px, 5vw, 64px) 0;
}

.doc h1 { font-size: clamp(34px, 5vw, 52px); animation: none; }
.doc h2 { margin: 36px 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 20px; }
.doc .updated { margin: 0 0 28px; font-size: 14px; }

/* --- motion -------------------------------------------------------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@keyframes markIn {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

/* --- responsive ---------------------------------------------------- */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: clamp(24px, 5vw, 40px);
  }

  .hero__mark { order: -1; }
  .hero__mark img { margin: 0; max-width: 420px; }

  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .brands { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact--wide { grid-column: auto; }
  .cta, .quiet { width: 100%; }
  .cta { justify-content: space-between; }
  .quiet { justify-content: center; }
  .hero__mark img { max-width: 300px; }
  .status { font-size: 10px; letter-spacing: .14em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
