/* Riverbend Family Health — demo styling.
   An invented family practice built to show TrentApps' intake + client-portal
   work. Clinical without being cold: deep teal, mint, a lot of white space. */
:root {
  --teal: #0f6c73;
  --teal-deep: #0a4b51;
  --mint: #5acec4;
  --mint-bg: #e4f4f2;
  --wash: #f3f7f8;
  --card: #ffffff;
  --ink: #14252a;
  --ink-2: #55666d;
  --ink-3: #617076;   /* 5.0:1 on the off-white field backgrounds, WCAG AA */
  --line: #dde7e9;
  --line-2: #c5d5d8;
  --ok: #157a52;
  --warn: #a2650b;
  --display: 'Sora', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --r: 12px;
  --maxw: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--card); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 38px); }
.eyebrow { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 11px; }
.sec { padding: clamp(52px, 7vw, 88px) 0; }
.sec h2 { font-size: clamp(26px, 3.8vw, 38px); }
.sec-head { max-width: 58ch; margin-bottom: 34px; }
.sec-head p { color: var(--ink-2); margin-top: 12px; }

.note { background: var(--teal-deep); color: #cdeae7; font-size: 13.5px; padding: 9px 18px; text-align: center; }
.note b { color: var(--mint); }
.note a { color: var(--mint); text-decoration: underline; text-underline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .12s ease; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost { border-color: var(--line-2); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--wash); }
.btn-ghost-lite { border-color: rgba(255,255,255,.32); color: #fff; }
.btn-ghost-lite:hover { border-color: var(--mint); color: var(--mint); }
.btn-sm { padding: 8px 15px; font-size: 13.5px; }
.btn[disabled] { opacity: .42; cursor: not-allowed; }

.site-head { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.96); backdrop-filter: blur(9px); border-bottom: 1px solid var(--line); }
.site-head .inner { max-width: var(--maxw); margin: 0 auto; padding: 12px clamp(18px,4vw,38px); display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mk { width: 34px; height: 34px; flex-shrink: 0; }
.brand .nm { font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.1; }
.brand .nm small { display: block; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin-top: 2px; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.site-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.site-nav a:hover { color: var(--teal); }
.site-nav a.btn { color: #fff; }
@media (max-width: 820px) { .site-nav .hide-sm { display: none; } }

footer.site { background: var(--teal-deep); color: rgba(255,255,255,.68); padding: 40px 0 38px; font-size: 14.5px; }
footer.site .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site strong { display: block; color: #fff; margin-bottom: 5px; }
footer.site a { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { * { transition-duration: .001ms !important; } }
