/* Domnia pages on mywellmate.com. Self-contained: fonts and images are
   served from this folder, nothing loads from other sites. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  --bg: #f5fbf7;
  --surface: #ffffff;
  --surface-2: #e9f1ec;
  --text: #171d1a;
  --muted: #3f4944;
  --line: #d6e1db;
  --accent: #1f6f5c;
  --accent-ink: #ffffff;
  --accent-soft: #a7f2d8;
  --accent-soft-ink: #002019;
  --amber: #f5b83d;
  --hero-1: #176150;
  --hero-2: #0d4639;
  --radius: 24px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1512;
    --surface: #171d1a;
    --surface-2: #212b26;
    --text: #dee4df;
    --muted: #bfc9c3;
    --line: #2f3a35;
    --accent: #8bd6bc;
    --accent-ink: #00382c;
    --accent-soft: #005141;
    --accent-soft-ink: #a7f2d8;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
}

a {
  color: var(--accent);
  font-weight: 700;
  text-underline-offset: 3px;
}

a:focus-visible,
summary:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: min(1080px, 100% - 32px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 12px;
  z-index: 10;
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.3px;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.top nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.top nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}
.top nav a:hover,
.top nav a[aria-current="page"] {
  color: var(--text);
}

/* Hero */
.hero {
  background: linear-gradient(140deg, var(--hero-1), var(--hero-2));
  color: #ffffff;
  border-radius: 32px;
  padding: clamp(28px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 0 0 16px;
  font-weight: 800;
}
.hero p {
  font-size: clamp(17px, 2.2vw, 20px);
  margin: 0 0 24px;
  color: #d6f0e8;
  max-width: 34ch;
}
.hero .phones {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.hero .phones img {
  width: min(46%, 230px);
  height: auto;
  border-radius: 28px;
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.35);
}
.hero .phones img:nth-child(2) {
  transform: translateY(28px);
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  background: rgb(255 255 255 / 0.14);
  border: 1px solid rgb(255 255 255 / 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
}

/* Sections */
section {
  margin-block: 56px;
}
h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin: 0 0 8px;
  font-weight: 800;
}
.lead {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 60ch;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 {
  margin: 12px 0 6px;
  font-size: 19px;
  letter-spacing: -0.2px;
}
.card p {
  margin: 0;
  color: var(--muted);
}
.card,
details {
  overflow-wrap: anywhere;
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-soft-ink);
}
.icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Wall panel */
.panel {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: center;
}
.panel img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgb(0 0 0 / 0.18);
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.ticks li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 8px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
    center / 14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

/* Questions */
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 10px;
  padding: 0 20px;
}
summary {
  cursor: pointer;
  font-weight: 800;
  padding-block: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
}
details[open] summary::after {
  content: "–";
}
details p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* Guides */
.guide ol {
  padding-left: 22px;
  margin: 8px 0 0;
}
.guide li {
  margin-bottom: 6px;
}
.guide .tip {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}

/* Contact */
.contact {
  background: var(--surface-2);
  border-radius: 32px;
  padding: clamp(24px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}
.contact ol {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

/* Small layout helpers (no inline styles, for a strict security policy) */
.note {
  margin-top: 16px;
}
.tight {
  margin-bottom: 0;
}
.faq-title {
  margin: 40px 0 12px;
  font-size: 22px;
}
.direct {
  margin: 0 0 12px;
  font-weight: 800;
}
.small {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* Policy text */
.prose {
  max-width: 70ch;
}
.prose h1 {
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 24px 0 8px;
}
.prose h2 {
  margin-top: 36px;
  font-size: 24px;
}
.prose .updated {
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-block: 28px 40px;
  color: var(--muted);
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
footer a {
  color: var(--muted);
}

@media (max-width: 820px) {
  .hero,
  .panel,
  .contact {
    grid-template-columns: 1fr;
  }
  .hero .phones img:nth-child(2) {
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
