/* In-Viro Care: temporary page, business card version (November 2026)
   Colors come from the logo: navy #18427e, periwinkle #aeb4d2. */

@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #18427e;
  --navy-deep: #0f2d59;
  --ink: #13294b;
  --muted: #555f70;
  --peri: #aeb4d2;
  --line: #dde1ee;
  --white: #ffffff;
  --on-navy: #dfe4f1;
  --radius: 6px;
  --font: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

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

body {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

h1,
p {
  margin: 0;
}

/* Background graphic */

.backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Four copies of the logo molecule: an overlapping pair at upper left and one at lower right */

.molecule {
  position: absolute;
  height: auto;
}

.m1 {
  top: -9%;
  left: -7%;
  width: clamp(15rem, 46vw, 34rem);
  opacity: 0.11;
  transform: rotate(-12deg);
}

.m2 {
  top: 20%;
  left: 7%;
  width: clamp(8rem, 22vw, 17rem);
  opacity: 0.2;
  transform: rotate(18deg);
}

.m3 {
  right: -8%;
  bottom: -11%;
  width: clamp(16rem, 50vw, 36rem);
  opacity: 0.1;
  transform: rotate(168deg);
}

.m4 {
  right: 9%;
  bottom: 18%;
  width: clamp(8rem, 21vw, 16rem);
  opacity: 0.18;
  transform: rotate(-26deg);
}

/* Card */

.page {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.25rem;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(1.25rem, 5vw, 3rem) clamp(1rem, 4vw, 3rem);
}

.card {
  width: 100%;
  max-width: 34rem;
  padding: clamp(2rem, 6vw, 3.25rem) clamp(1.5rem, 6vw, 3.25rem);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 32px 80px -24px rgb(6 20 45 / 0.6);
  text-align: center;
}

.card-logo {
  width: min(100%, 21rem);
  margin: 0 auto;
}

.card h1 {
  margin-top: 2.25rem;
  color: var(--navy);
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.card-lede {
  max-width: 26rem;
  margin: 0.9rem auto 0;
  color: var(--muted);
  text-wrap: pretty;
}

/* Buttons */

.actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
}

.btn-secondary:hover {
  background: #eef0f7;
}

/* Address and social */

.card-address {
  margin-top: 1.75rem;
  font-style: normal;
}

.card-social {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  margin: 1.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.page-footer {
  color: var(--on-navy);
  font-size: 0.9375rem;
}
