/* SylvCare landing pages — single stylesheet.
   Brand: cyan #10B6D1 and green #73BF55, taken from the SylvCare logo.
   Everything else is grounded on a deep petrol ink so the two brand colours
   stay the only saturated things on the page. */

@font-face {
  font-family: 'Plex Sans';
  src: url('/assets/plex-sans-latin.woff2') format('woff2');
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('/assets/plex-mono-500-latin.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a1d26;
  --ink-raised: #0f2a36;
  --ink-line: rgba(255, 255, 255, 0.13);
  --ink-soft: rgba(255, 255, 255, 0.66);
  --paper: #f4f8f7;
  --white: #ffffff;
  --cyan: #10b6d1;
  --green: #73bf55;
  --slate: #46606c;
  --line: #dae4e2;

  --sans: 'Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: clamp(1.15rem, 4vw, 3.5rem);
  --measure: 68rem;
  --radius: 3px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- top bar */

.topbar {
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 0.85rem 1.5rem;
  min-height: 70px;
  flex-wrap: wrap;
}
.topbar__note {
  margin-left: auto;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 46rem) { .topbar__note { display: none; } }

/* brand lockup: cropped mark plus a typeset wordmark */
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
}
.brand__mark { width: auto; flex: none; }
.brand__word {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.06;
}
.brand__tagline {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cyan);
}
.brand__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.brand--bar .brand__mark { height: 40px; }
.brand--bar .brand__word { font-size: 1.24rem; }
.brand--bar .brand__tagline { font-size: 0.56rem; margin-top: 0.22rem; }
.brand--foot .brand__mark { height: 30px; }
.brand--foot .brand__word { font-size: 1rem; }
.brand--foot .brand__tagline { font-size: 0.5rem; margin-top: 0.18rem; }
.topbar__exit {
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-decoration: none;
  border-bottom: 1px solid var(--ink-line);
  padding-bottom: 1px;
}
.topbar__exit:hover { color: var(--white); border-bottom-color: var(--cyan); }

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

.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 3.25rem);
}
.hero::before {
  /* one restrained brand glow, so the ink panel is not flat black */
  content: '';
  position: absolute;
  inset: -30% 40% 30% -20%;
  background: radial-gradient(closest-side, rgba(16, 182, 209, 0.22), transparent 72%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }

.hero__eyebrow { color: var(--cyan); margin-bottom: 1.5rem; }
.hero__eyebrow span { color: var(--ink-soft); }

.hero__title {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(2.4rem, 1.35rem + 4.6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.033em;
  color: var(--white);
}
.hero__title em {
  font-style: normal;
  display: block;
  color: var(--cyan);
}

.hero__lede {
  margin: 1.6rem 0 0;
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem);
  line-height: 1.6;
}
.hero__lede strong { color: var(--white); font-weight: 500; }

.hero__actions {
  margin-top: 2.35rem;
  display: flex;
  align-items: center;
  gap: 1.25rem 1.75rem;
  flex-wrap: wrap;
}
.hero__micro {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: var(--radius);
  background: var(--cyan);
  color: #04222a;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 1.05rem 1.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--green); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ----------------------------------------------------- pipeline signature */
/* The licence pipeline is the page's argument: a hospital director's real
   question is not "can you find a doctor" but "how long until they are
   licensed and standing in my clinic". The week ranges overlap on purpose. */

.pipeline {
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid var(--ink-line);
  padding-block: clamp(2.75rem, 6vw, 4.25rem) clamp(3rem, 7vw, 5rem);
}
.pipeline__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}
.pipeline__title {
  margin: 0;
  font-size: clamp(1.3rem, 1.1rem + 0.85vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}
.pipeline__note { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

.rail { list-style: none; margin: 0; padding: 0; }

.rail__item { position: relative; }
.rail__num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
}
.rail__weeks {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.rail__name {
  margin: 0.55rem 0 0.3rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--white);
}
.rail__desc { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--ink-soft); }

/* desktop: horizontal rail with a drawn line and square nodes */
@media (min-width: 62rem) {
  .rail {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0 1.4rem;
  }
  .rail__item { padding-top: 2.6rem; }
  .rail__item::before {
    content: '';
    position: absolute;
    top: 1.15rem;
    left: 0;
    right: -1.4rem;
    height: 1px;
    background: var(--ink-line);
  }
  .rail__item:last-child::before { right: 0; }
  .rail__item::after {
    content: '';
    position: absolute;
    top: 0.85rem;
    left: 0;
    width: 9px;
    height: 9px;
    background: var(--cyan);
    transform: rotate(45deg);
    transform-origin: center;
  }
  .rail__item:nth-child(4)::after { background: #3fbaa0; }
  .rail__item:nth-child(5)::after { background: #59bd7b; }
  .rail__item:last-child::after { background: var(--green); }
  .rail__weeks { display: block; margin-top: 0.15rem; }
}

/* mobile: vertical rail down the left */
@media (max-width: 61.999rem) {
  .rail { display: grid; gap: 1.9rem; }
  .rail__item { padding-left: 1.75rem; }
  .rail__item::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 1.3rem;
    bottom: -1.9rem;
    width: 1px;
    background: var(--ink-line);
  }
  .rail__item:last-child::before { display: none; }
  .rail__item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0.42rem;
    width: 9px;
    height: 9px;
    background: var(--cyan);
    transform: rotate(45deg);
  }
  .rail__item:last-child::after { background: var(--green); }
  .rail__weeks { margin-left: 0.75rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .rail__item { animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) backwards; }
  .rail__item:nth-child(1) { animation-delay: 0.02s; }
  .rail__item:nth-child(2) { animation-delay: 0.08s; }
  .rail__item:nth-child(3) { animation-delay: 0.14s; }
  .rail__item:nth-child(4) { animation-delay: 0.2s; }
  .rail__item:nth-child(5) { animation-delay: 0.26s; }
  .rail__item:nth-child(6) { animation-delay: 0.32s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(9px); }
    to { opacity: 1; transform: none; }
  }
}

/* --------------------------------------------------------------- sections */

.band { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.band--paper { background: var(--paper); }
.band--white { background: var(--white); border-block: 1px solid var(--line); }

.band__eyebrow { color: var(--cyan); }
.band__title {
  margin: 0.9rem 0 0;
  max-width: 24ch;
  color: var(--ink);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.028em;
}
.band__lede { margin: 1.1rem 0 0; max-width: 58ch; }

/* specialties: the list is the proof, so it is set as data, not as cards */

.spec {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  border-top: 1px solid var(--line);
}
.spec__row {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--line);
}
.spec__code {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  flex: none;
  width: 3.1rem;
}
.spec__name { color: var(--ink); font-weight: 500; }
.spec__foot { margin: 1.6rem 0 0; font-size: 0.92rem; }

/* what the meeting covers */

.cards {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
}
.cards__item { background: var(--white); padding: 1.75rem 1.6rem; }
.cards__label { color: var(--cyan); }
.cards__head {
  margin: 0.85rem 0 0.55rem;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.cards__body { margin: 0; font-size: 0.93rem; }

/* image band */

.shot { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 52rem) { .shot { grid-template-columns: 1.05fr 1fr; gap: 3.25rem; } }
.shot__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  filter: saturate(0.72) contrast(1.04);
}
.shot__quote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 1rem + 0.75vw, 1.5rem);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: -0.022em;
}
.shot__by { margin: 1.1rem 0 0; font-size: 0.9rem; }

/* ------------------------------------------------------------------- form */

.book {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
}
.book__grid { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .book__grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }

.book__title {
  margin: 0.9rem 0 0;
  color: var(--white);
  font-size: clamp(1.7rem, 1.25rem + 1.7vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.028em;
}
.book__lede { margin: 1.15rem 0 0; color: var(--ink-soft); }
.book__list { margin: 1.6rem 0 0; padding: 0; list-style: none; }
.book__list li {
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.93rem;
}
.book__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 7px;
  height: 7px;
  background: var(--green);
  transform: rotate(45deg);
}

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.45rem; }
.field__label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field__label span { color: var(--cyan); text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 0.78rem; }
.field__input {
  width: 100%;
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.85rem 0.95rem;
  transition: border-color 0.15s ease;
}
.field__input::placeholder { color: rgba(255, 255, 255, 0.32); }
.field__input:focus { border-color: var(--cyan); outline: none; }
.field__input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__note { margin: 0; font-size: 0.82rem; color: var(--ink-soft); }
.form__error {
  margin: 0;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(255, 138, 128, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 138, 128, 0.09);
  color: #ffc9c4;
  font-size: 0.9rem;
}
[hidden] { display: none !important; }

/* ----------------------------------------------------------------- footer */

.foot {
  background: var(--ink);
  border-top: 1px solid var(--ink-line);
  color: var(--ink-soft);
  padding-block: 2.25rem 2.75rem;
  font-size: 0.85rem;
}
.foot__inner { display: flex; gap: 1.25rem 2rem; flex-wrap: wrap; align-items: center; }
.foot__note { margin: 0; max-width: 46ch; }
.foot__link { margin-left: auto; color: var(--cyan); text-decoration: none; }
.foot__link:hover { text-decoration: underline; }

/* --------------------------------------------------------- thank-you page */

.thanks { background: var(--ink); color: var(--white); min-height: 100vh; display: flex; flex-direction: column; }
.thanks__main { flex: 1; padding-block: clamp(3rem, 8vw, 5.5rem); }
.thanks__title {
  margin: 1rem 0 0;
  color: var(--white);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.thanks__lede { margin: 1.2rem 0 0; max-width: 52ch; color: var(--ink-soft); }
.sched {
  margin-top: 2.75rem;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: var(--ink-raised);
  overflow: hidden;
}
.sched iframe { width: 100%; height: 34rem; border: 0; display: block; }

/* what happens next — shown while no booking page is connected */
.next {
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink-line);
  max-width: 46rem;
}
.next__item {
  display: grid;
  gap: 0.2rem 1.75rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--ink-line);
}
@media (min-width: 40rem) { .next__item { grid-template-columns: 13rem 1fr; align-items: baseline; } }
.next__when { color: var(--cyan); }
.next__what { margin: 0; color: var(--ink-soft); }
.next__what b { color: var(--white); font-weight: 500; }
