/* Unconventional Patient — warm, hopeful, modern patient-education */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

:root {
  --bg: #fff6ee;
  --bg-soft: #fffaf5;
  --ink: #1c1917;
  --muted: #5c534c;
  --brand: #0f766e;
  --brand-mid: #14b8a6;
  --brand-d: #0b5c56;
  --brand-soft: #ccfbf1;
  --accent: #e85d4c;
  --accent-d: #c2410c;
  --accent-soft: #ffedd5;
  --peach: #fdba74;
  --lavender: #e0e7ff;
  --card: #ffffff;
  --line: #f0e4d6;
  --shadow: 0 4px 6px -1px rgba(28, 25, 23, 0.06), 0 10px 24px -4px rgba(15, 118, 110, 0.1);
  --shadow-lg: 0 12px 32px -8px rgba(15, 118, 110, 0.18), 0 4px 12px rgba(232, 93, 76, 0.08);
  --radius: 1.15rem;
  --radius-sm: 0.75rem;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font: 1.0625rem/1.7 var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(20, 184, 166, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at -5% 30%, rgba(232, 93, 76, 0.08), transparent 45%),
    var(--bg);
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: #134e4a;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); margin: 0.35em 0 0.5em; }
h2 { font-size: clamp(1.45rem, 3.5vw, 1.9rem); margin: 1.4em 0 0.55em; }
h3 { font-size: 1.2rem; margin: 0.8em 0 0.4em; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; }
.skip:focus {
  left: 1rem; top: 1rem; z-index: 99;
  background: #fff; color: var(--ink);
  padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); font-weight: 600;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 720px; }
section.wrap { margin: 2.75rem auto; }

/* —— Header —— */
header.site {
  background: rgba(255, 250, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.bar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand::before {
  content: "";
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand));
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.35);
  flex-shrink: 0;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
}
nav a {
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  display: inline-block;
  min-height: 44px;
  line-height: 1.8;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.15s, color 0.15s;
}
nav a:hover {
  background: var(--brand-soft);
  color: var(--brand-d);
}
nav a[aria-current] {
  background: linear-gradient(135deg, var(--brand), #0d9488);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3);
}
nav a[aria-current]:hover { color: #fff; background: var(--brand-d); }

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(204, 251, 241, 0.9) 0%, rgba(255, 237, 213, 0.85) 45%, rgba(254, 226, 226, 0.7) 100%);
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  right: -8rem;
  top: -10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.28), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  left: -6rem;
  bottom: -8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 76, 0.2), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.lead {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 1.5rem;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--accent-d);
  font-weight: 700;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(232, 93, 76, 0.25);
  border-radius: 999px;
}

/* —— Buttons —— */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand));
  color: #fff !important;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 600;
  margin: 0.3rem 0.4rem 0.3rem 0;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  border: none;
}
.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.4);
  color: #fff !important;
}
.btn.alt {
  background: #fff;
  color: var(--brand-d) !important;
  border: 2px solid var(--brand-mid);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.1);
}
.btn.alt:hover {
  background: var(--brand-soft);
  color: var(--brand-d) !important;
  filter: none;
}

/* —— Cards —— */
.card {
  background: var(--card);
  border: 1px solid rgba(240, 228, 214, 0.9);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin: 1.35rem 0;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
}
.card img { border-radius: var(--radius-sm); }
.feature {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}
.feature img {
  max-width: 260px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border-radius: 0.85rem;
}
.sub { font-style: italic; color: var(--muted); }
.grid { display: grid; gap: 1.35rem; }
.grid .card { margin: 0; height: 100%; }
.grid .card img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

/* —— Placeholders —— */
.ph {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, var(--brand-soft), var(--accent-soft));
  border-radius: var(--radius-sm);
  color: var(--brand-d);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  border: 2px dashed rgba(15, 118, 110, 0.25);
}
.video { position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.video img { width: 100%; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.badge {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  background: linear-gradient(135deg, rgba(28, 25, 23, 0.88), rgba(15, 118, 110, 0.9));
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* —— Callouts & bands —— */
.callout {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border-left: 5px solid var(--accent);
  padding: 1.1rem 1.25rem;
  border-radius: 0 0.85rem 0.85rem 0;
  margin: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(232, 93, 76, 0.08);
}
.urgent {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-color: #dc2626;
  color: #7f1d1d;
}
.band {
  background:
    linear-gradient(120deg, rgba(204, 251, 241, 0.7), rgba(224, 231, 255, 0.5), rgba(255, 237, 213, 0.65));
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 1rem;
}

/* —— Forms —— */
form label { font-weight: 600; display: block; margin-bottom: 0.25rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.45rem; }
input[type="email"] {
  flex: 1 1 220px;
  padding: 0.8rem 1rem;
  border: 2px solid #99b8b2;
  border-radius: 0.85rem;
  font: inherit;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input[type="email"]:focus {
  border-color: var(--brand-mid);
  outline: none;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.2);
}
button {
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: #fff;
  border: 0;
  border-radius: 0.85rem;
  padding: 0.8rem 1.4rem;
  font: 600 1rem var(--font-sans);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(232, 93, 76, 0.35);
  transition: filter 0.15s, transform 0.15s;
}
button:hover { filter: brightness(1.06); transform: translateY(-1px); }

.small { font-size: 0.9rem; color: var(--muted); }

ul.avail {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
ul.avail li {
  background: var(--brand-soft);
  color: var(--brand-d);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  border: 1px solid rgba(15, 118, 110, 0.15);
}
.desc ul { padding-left: 1.2rem; }
.desc li { margin: 0.4rem 0; }

/* —— Page intro (inner pages) —— */
main > section.wrap:first-child > h1:first-child,
main > section.wrap.narrow > h1:first-child {
  position: relative;
  padding-bottom: 0.5rem;
}
main > section.wrap:first-child > h1:first-child::after,
main > section.wrap.narrow > h1:first-child::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin-top: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-mid), var(--accent));
}

/* —— Footer —— */
footer.site {
  background:
    linear-gradient(160deg, #0f3d3a 0%, #134e4a 40%, #1a3a4a 100%);
  color: #e7f5f3;
  padding: 2.25rem 0 2rem;
  margin-top: 3.5rem;
}
footer.site a {
  color: #99f6e4;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
footer.site a:hover {
  color: #fff;
  border-bottom-color: var(--peach);
}
footer .small { color: #a7c4bf; }
footer.site p { margin: 0.55rem 0; }

@media (min-width: 760px) {
  .bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .feature { grid-template-columns: 260px 1fr; }
  .feature img { margin: 0; }
  .grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 5rem 0 5.5rem; }
}

.hero-cta { margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
