/* Exhale Digital - one-page site styles.
   Colours live in the :root block so light/dark mode is easy to tweak. */

:root {
  --bg: #f7f9f9;
  --bg-alt: #ffffff;
  --text: #14243b;
  --muted: #4b5b6e;
  --accent: #00665f;
  --accent-text: #ffffff;
  --border: #d9e2e4;
  --card: #ffffff;
  --logo-bg: #ffffff; /* the logo has dark lettering, so it always sits on a white patch (works in light, dark and phone "force dark" modes) */
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1a28;
    --bg-alt: #13222f;
    --text: #e8eef2;
    --muted: #a9b8c4;
    --accent: #3fbfb0;
    --accent-text: #08201d;
    --border: #243646;
    --card: #162636;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.wrap { max-width: 60rem; margin: 0 auto; padding: 0 1rem; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }

section { padding: 3rem 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Header */
header.site {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: .6rem; padding-bottom: .6rem;
}
.logo-link { display: inline-block; background: var(--logo-bg); border-radius: 8px; padding: 4px 8px; line-height: 0; }
.logo-link img { height: 48px; width: auto; display: block; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent); color: var(--accent-text);
  font-weight: 700; text-decoration: none;
  padding: .8rem 1.3rem; border-radius: 8px;
  min-height: 44px;
}
.btn.small { padding: .55rem 1rem; }
.btn.outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* Hero */
.hero { padding: 3rem 0 3.5rem; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }

/* Cards and grids */
.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.25rem;
}
.card p:last-child { margin-bottom: 0; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.25rem 1.25rem 1.25rem 4rem;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 1.1rem; top: 1.15rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--accent); color: var(--accent-text);
  font-weight: 700; display: grid; place-items: center;
}
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; }

.note { color: var(--muted); font-size: .95rem; }

/* Video placeholder */
.video-box {
  aspect-ratio: 16 / 9; width: 100%;
  border: 2px dashed var(--border); border-radius: 12px;
  display: grid; place-items: center; text-align: center;
  color: var(--muted); padding: 1rem; background: var(--card);
}
.video-box video, .video-box iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; }

.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; font-size: 1.2rem; }
.contact-list li { margin-bottom: .5rem; }

footer.site { padding: 2rem 0; color: var(--muted); font-size: .95rem; border-top: 1px solid var(--border); }
footer.site a { color: var(--muted); }

/* Wider screens */
@media (min-width: 40rem) {
  .grid.two { grid-template-columns: 1fr 1fr; }
  .grid.four { grid-template-columns: 1fr 1fr; }
  section { padding: 4rem 0; }
}
@media (min-width: 56rem) {
  .grid.four { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 4rem 1.25rem 1.25rem; }
  .steps li::before { left: 1.25rem; top: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Privacy page text */
.prose { max-width: 42rem; }
.prose h2 { margin-top: 1.8em; font-size: 1.3rem; }
